diff --git a/.travis.yml b/.travis.yml index f988cb12d..ccc6ff815 100644 --- a/.travis.yml +++ b/.travis.yml @@ -40,7 +40,6 @@ script: cd ../regression ; chmod 755 run.py ; ./run.py ; - echo "==========================================================" ; - echo "REGRESSION TEST FAILURES (results/run_regression_suite_failures.csv)" ; - cat ../results/run_regression_suite_failures.csv; + chmod 755 result_checker.py ; + ./result_checker.py; fi diff --git a/CMakeLists.txt b/CMakeLists.txt index 9829cd306..03073f644 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -5,7 +5,7 @@ PROJECT( Assimp ) option(BUILD_SHARED_LIBS "Build package with shared libraries." ON) if(NOT BUILD_SHARED_LIBS) #set(CMAKE_EXE_LINKER_FLAGS "-static") - set(LINK_SEARCH_START_STATIC TRUE) + set(LINK_SEARCH_START_STATIC TRUE) endif(NOT BUILD_SHARED_LIBS) # Define here the needed parameters @@ -23,7 +23,7 @@ add_definitions( -DOPENDDL_NO_USE_CPP11 ) # Get the current working branch execute_process( COMMAND git rev-parse --abbrev-ref HEAD - WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} + WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} OUTPUT_VARIABLE GIT_BRANCH OUTPUT_STRIP_TRAILING_WHITESPACE ) @@ -31,7 +31,7 @@ execute_process( # Get the latest abbreviated commit hash of the working branch execute_process( COMMAND git log -1 --format=%h - WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} + WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} OUTPUT_VARIABLE GIT_COMMIT_HASH OUTPUT_STRIP_TRAILING_WHITESPACE ) @@ -62,9 +62,9 @@ if( CMAKE_COMPILER_IS_MINGW ) endif() if((CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_GNUCXX) AND NOT CMAKE_COMPILER_IS_MINGW) - set(CMAKE_CXX_FLAGS "-fPIC") # this is a very important switch and some libraries seem now to have it.... + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC") # this is a very important switch and some libraries seem now to have it.... # hide all not-exported symbols - set(CMAKE_CXX_FLAGS "-fvisibility=hidden -Wall" ) + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility=hidden -Wall" ) elseif(MSVC) # enable multi-core compilation with MSVC add_definitions(/MP) @@ -191,46 +191,46 @@ MARK_AS_ADVANCED ( ASSIMP_BUILD_ARCHITECTURE ASSIMP_BUILD_COMPILER ) SET ( ASSIMP_BUILD_NONFREE_C4D_IMPORTER OFF CACHE BOOL - "Build the C4D importer, which relies on the non-free Melange SDK." + "Build the C4D importer, which relies on the non-free Melange SDK." ) IF (ASSIMP_BUILD_NONFREE_C4D_IMPORTER) - IF ( MSVC ) - SET(C4D_INCLUDES "${CMAKE_CURRENT_SOURCE_DIR}/contrib/Melange/_melange/includes") - - # pick the correct prebuilt library - IF(MSVC11) - SET(C4D_LIB_POSTFIX "_2012md") - ELSEIF(MSVC10) - SET(C4D_LIB_POSTFIX "_2010md") - ELSEIF(MSVC90) - SET(C4D_LIB_POSTFIX "_2008md") - ELSE() - MESSAGE( FATAL_ERROR - "C4D is currently only supported with MSVC 9, 10, 11" - ) - ENDIF() - - IF(CMAKE_CL_64) - SET(C4D_LIB_ARCH_POSTFIX "_x64") - ELSE() - SET(C4D_LIB_ARCH_POSTFIX "") - ENDIF() - - SET(C4D_LIB_BASE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/contrib/Melange/_melange/lib/WIN") - - SET(C4D_DEBUG_LIBRARY "${C4D_LIB_BASE_PATH}/debug/_melange_lib${C4D_LIB_ARCH_POSTFIX}${C4D_LIB_POSTFIX}.lib") - SET(C4D_RELEASE_LIBRARY "${C4D_LIB_BASE_PATH}/release/_melange_lib${C4D_LIB_ARCH_POSTFIX}${C4D_LIB_POSTFIX}.lib") - - # winsock and winmm are necessary dependencies of melange (this is undocumented, but true.) - SET(C4D_EXTRA_LIBRARIES WSock32.lib Winmm.lib) - ELSE () - MESSAGE( FATAL_ERROR - "C4D is currently only available on Windows with melange SDK installed in contrib/Melange" - ) - ENDIF ( MSVC ) + IF ( MSVC ) + SET(C4D_INCLUDES "${CMAKE_CURRENT_SOURCE_DIR}/contrib/Melange/_melange/includes") + + # pick the correct prebuilt library + IF(MSVC11) + SET(C4D_LIB_POSTFIX "_2012md") + ELSEIF(MSVC10) + SET(C4D_LIB_POSTFIX "_2010md") + ELSEIF(MSVC90) + SET(C4D_LIB_POSTFIX "_2008md") + ELSE() + MESSAGE( FATAL_ERROR + "C4D is currently only supported with MSVC 9, 10, 11" + ) + ENDIF() + + IF(CMAKE_CL_64) + SET(C4D_LIB_ARCH_POSTFIX "_x64") + ELSE() + SET(C4D_LIB_ARCH_POSTFIX "") + ENDIF() + + SET(C4D_LIB_BASE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/contrib/Melange/_melange/lib/WIN") + + SET(C4D_DEBUG_LIBRARY "${C4D_LIB_BASE_PATH}/debug/_melange_lib${C4D_LIB_ARCH_POSTFIX}${C4D_LIB_POSTFIX}.lib") + SET(C4D_RELEASE_LIBRARY "${C4D_LIB_BASE_PATH}/release/_melange_lib${C4D_LIB_ARCH_POSTFIX}${C4D_LIB_POSTFIX}.lib") + + # winsock and winmm are necessary dependencies of melange (this is undocumented, but true.) + SET(C4D_EXTRA_LIBRARIES WSock32.lib Winmm.lib) + ELSE () + MESSAGE( FATAL_ERROR + "C4D is currently only available on Windows with melange SDK installed in contrib/Melange" + ) + ENDIF ( MSVC ) else (ASSIMP_BUILD_NONFREE_C4D_IMPORTER) - ADD_DEFINITIONS( -DASSIMP_BUILD_NO_C4D_IMPORTER ) + ADD_DEFINITIONS( -DASSIMP_BUILD_NO_C4D_IMPORTER ) ENDIF (ASSIMP_BUILD_NONFREE_C4D_IMPORTER) diff --git a/CodeConventions.md b/CodeConventions.md new file mode 100644 index 000000000..e80e04ec4 --- /dev/null +++ b/CodeConventions.md @@ -0,0 +1,12 @@ + +Open Asset Import Library Coding Conventions +== + +If you want to participate as a developer in the **Open Asset Import Library** please read and respect the following coding conventions. This will ensure consistency throughout the codebase and help all the Open Asset Import Library users. + +Spacing +== + +* Use UNIX-style line endings (LF) +* Remove any trailing whitespace +* Expand tabs to 4 spaces diff --git a/CodeConventions.txt b/CodeConventions.txt deleted file mode 100644 index dcbe17ed6..000000000 --- a/CodeConventions.txt +++ /dev/null @@ -1,14 +0,0 @@ - =============================================== - The Asset-Importer-Library Coding conventions - =============================================== - - If you want to participate to the Asset-Importer_Library please have a look - onto these coding conventions and try to follow them. They are more or less - some kind of guide line to help others coming into the code and help all - the Asset-Importer-Library users. - - Tab width - =========== - The tab width shall be 4 spaces. - - \ No newline at end of file diff --git a/cmake-modules/AddGTest.cmake b/cmake-modules/AddGTest.cmake index 5257148c9..8dd77415d 100644 --- a/cmake-modules/AddGTest.cmake +++ b/cmake-modules/AddGTest.cmake @@ -30,35 +30,43 @@ endif() set(GTEST_PREFIX "${CMAKE_CURRENT_BINARY_DIR}/gtest") -ExternalProject_Add(gtest - GIT_REPOSITORY https://chromium.googlesource.com/external/googletest - TIMEOUT 10 - PREFIX "${GTEST_PREFIX}" - CMAKE_ARGS "${GTEST_CMAKE_ARGS}" - LOG_DOWNLOAD ON - LOG_CONFIGURE ON - LOG_BUILD ON - # Disable install - INSTALL_COMMAND "" -) +# try to find git - if found, setup gtest +find_package(Git) +if(NOT GIT_FOUND) + set(AddGTest_FOUND false CACHE BOOL "Was gtest setup correctly?") +else(NOT GIT_FOUND) + set(AddGTest_FOUND true CACHE BOOL "Was gtest setup correctly?") + + ExternalProject_Add(gtest + GIT_REPOSITORY https://chromium.googlesource.com/external/googletest + TIMEOUT 10 + PREFIX "${GTEST_PREFIX}" + CMAKE_ARGS "${GTEST_CMAKE_ARGS}" + LOG_DOWNLOAD ON + LOG_CONFIGURE ON + LOG_BUILD ON + # Disable install + INSTALL_COMMAND "" + ) -set(LIB_PREFIX "${CMAKE_STATIC_LIBRARY_PREFIX}") -set(LIB_SUFFIX "${CMAKE_STATIC_LIBRARY_SUFFIX}") -set(GTEST_LOCATION "${GTEST_PREFIX}/src/gtest-build") -set(GTEST_DEBUG_LIBRARIES - "${GTEST_LOCATION}/${DEBUG_LIB_DIR}/${LIB_PREFIX}gtest${LIB_SUFFIX}" - "${CMAKE_THREAD_LIBS_INIT}") -SET(GTEST_RELEASE_LIBRARIES - "${GTEST_LOCATION}/${RELEASE_LIB_DIR}/${LIB_PREFIX}gtest${LIB_SUFFIX}" - "${CMAKE_THREAD_LIBS_INIT}") + set(LIB_PREFIX "${CMAKE_STATIC_LIBRARY_PREFIX}") + set(LIB_SUFFIX "${CMAKE_STATIC_LIBRARY_SUFFIX}") + set(GTEST_LOCATION "${GTEST_PREFIX}/src/gtest-build") + set(GTEST_DEBUG_LIBRARIES + "${GTEST_LOCATION}/${DEBUG_LIB_DIR}/${LIB_PREFIX}gtest${LIB_SUFFIX}" + "${CMAKE_THREAD_LIBS_INIT}") + SET(GTEST_RELEASE_LIBRARIES + "${GTEST_LOCATION}/${RELEASE_LIB_DIR}/${LIB_PREFIX}gtest${LIB_SUFFIX}" + "${CMAKE_THREAD_LIBS_INIT}") -if(MSVC_VERSION EQUAL 1700) - add_definitions(-D_VARIADIC_MAX=10) -endif() + if(MSVC_VERSION EQUAL 1700) + add_definitions(-D_VARIADIC_MAX=10) + endif() -ExternalProject_Get_Property(gtest source_dir) -include_directories(${source_dir}/include) -include_directories(${source_dir}/gtest/include) + ExternalProject_Get_Property(gtest source_dir) + include_directories(${source_dir}/include) + include_directories(${source_dir}/gtest/include) -ExternalProject_Get_Property(gtest binary_dir) -link_directories(${binary_dir}) + ExternalProject_Get_Property(gtest binary_dir) + link_directories(${binary_dir}) +endif(NOT GIT_FOUND) diff --git a/code/3DSConverter.cpp b/code/3DSConverter.cpp index d5a83461c..00ea6deda 100644 --- a/code/3DSConverter.cpp +++ b/code/3DSConverter.cpp @@ -757,7 +757,7 @@ void Discreet3DSImporter::GenerateNodeGraph(aiScene* pcOut) pcNode->mNumMeshes = 1; // Build a name for the node - pcNode->mName.length = sprintf(pcNode->mName.data,"3DSMesh_%i",i); + pcNode->mName.length = sprintf(pcNode->mName.data,"3DSMesh_%u",i); } // Build dummy nodes for all cameras diff --git a/code/3DSExporter.cpp b/code/3DSExporter.cpp index b16a3b2c7..1bd341c78 100644 --- a/code/3DSExporter.cpp +++ b/code/3DSExporter.cpp @@ -47,9 +47,9 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include "SceneCombiner.h" #include "SplitLargeMeshes.h" #include "StringComparison.h" -#include "../include/assimp/IOSystem.hpp" -#include "../include/assimp/DefaultLogger.hpp" -#include "../include/assimp/Exporter.hpp" +#include "../include/assimp/IOSystem.hpp" +#include "../include/assimp/DefaultLogger.hpp" +#include "../include/assimp/Exporter.hpp" #include using namespace Assimp; @@ -324,6 +324,7 @@ void Discreet3DSExporter::WriteMaterials() break; default: + shading_mode_out = Discreet3DS::Flat; ai_assert(false); }; writer.PutU2(static_cast(shading_mode_out)); diff --git a/code/ASEParser.cpp b/code/ASEParser.cpp index 7e16c43ed..7c254f8ba 100644 --- a/code/ASEParser.cpp +++ b/code/ASEParser.cpp @@ -143,9 +143,9 @@ void Parser::LogWarning(const char* szWarn) char szTemp[1024]; #if _MSC_VER >= 1400 - sprintf_s(szTemp,"Line %i: %s",iLineNumber,szWarn); + sprintf_s(szTemp,"Line %u: %s",iLineNumber,szWarn); #else - snprintf(szTemp,1024,"Line %i: %s",iLineNumber,szWarn); + snprintf(szTemp,1024,"Line %u: %s",iLineNumber,szWarn); #endif // output the warning to the logger ... @@ -159,9 +159,9 @@ void Parser::LogInfo(const char* szWarn) char szTemp[1024]; #if _MSC_VER >= 1400 - sprintf_s(szTemp,"Line %i: %s",iLineNumber,szWarn); + sprintf_s(szTemp,"Line %u: %s",iLineNumber,szWarn); #else - snprintf(szTemp,1024,"Line %i: %s",iLineNumber,szWarn); + snprintf(szTemp,1024,"Line %u: %s",iLineNumber,szWarn); #endif // output the information to the logger ... @@ -175,9 +175,9 @@ AI_WONT_RETURN void Parser::LogError(const char* szWarn) char szTemp[1024]; #if _MSC_VER >= 1400 - sprintf_s(szTemp,"Line %i: %s",iLineNumber,szWarn); + sprintf_s(szTemp,"Line %u: %s",iLineNumber,szWarn); #else - snprintf(szTemp,1024,"Line %i: %s",iLineNumber,szWarn); + snprintf(szTemp,1024,"Line %u: %s",iLineNumber,szWarn); #endif // throw an exception diff --git a/code/AssbinLoader.cpp b/code/AssbinLoader.cpp index 6818929fb..8788adbd7 100644 --- a/code/AssbinLoader.cpp +++ b/code/AssbinLoader.cpp @@ -51,8 +51,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include "AssbinLoader.h" #include "assbin_chunks.h" #include "MemoryIOWrapper.h" -#include "../include/assimp/mesh.h" -#include "../include/assimp/anim.h" +#include "../include/assimp/mesh.h" +#include "../include/assimp/anim.h" #include "../include/assimp/scene.h" #include @@ -199,7 +199,8 @@ template void ReadBounds( IOStream * stream, T* /*p*/, unsigned int void AssbinImporter::ReadBinaryNode( IOStream * stream, aiNode** node ) { - ai_assert( Read(stream) == ASSBIN_CHUNK_AINODE); + uint32_t chunkID = Read(stream); + ai_assert(chunkID == ASSBIN_CHUNK_AINODE); /*uint32_t size =*/ Read(stream); *node = new aiNode(); @@ -230,7 +231,8 @@ void AssbinImporter::ReadBinaryNode( IOStream * stream, aiNode** node ) // ----------------------------------------------------------------------------------- void AssbinImporter::ReadBinaryBone( IOStream * stream, aiBone* b ) { - ai_assert( Read(stream) == ASSBIN_CHUNK_AIBONE ); + uint32_t chunkID = Read(stream); + ai_assert(chunkID == ASSBIN_CHUNK_AIBONE); /*uint32_t size =*/ Read(stream); b->mName = Read(stream); @@ -253,7 +255,8 @@ void AssbinImporter::ReadBinaryBone( IOStream * stream, aiBone* b ) void AssbinImporter::ReadBinaryMesh( IOStream * stream, aiMesh* mesh ) { - ai_assert( Read(stream) == ASSBIN_CHUNK_AIMESH); + uint32_t chunkID = Read(stream); + ai_assert(chunkID == ASSBIN_CHUNK_AIMESH); /*uint32_t size =*/ Read(stream); mesh->mPrimitiveTypes = Read(stream); @@ -377,7 +380,8 @@ void AssbinImporter::ReadBinaryMesh( IOStream * stream, aiMesh* mesh ) void AssbinImporter::ReadBinaryMaterialProperty(IOStream * stream, aiMaterialProperty* prop) { - ai_assert( Read(stream) == ASSBIN_CHUNK_AIMATERIALPROPERTY); + uint32_t chunkID = Read(stream); + ai_assert(chunkID == ASSBIN_CHUNK_AIMATERIALPROPERTY); /*uint32_t size =*/ Read(stream); prop->mKey = Read(stream); @@ -393,7 +397,8 @@ void AssbinImporter::ReadBinaryMaterialProperty(IOStream * stream, aiMaterialPro // ----------------------------------------------------------------------------------- void AssbinImporter::ReadBinaryMaterial(IOStream * stream, aiMaterial* mat) { - ai_assert( Read(stream) == ASSBIN_CHUNK_AIMATERIAL); + uint32_t chunkID = Read(stream); + ai_assert(chunkID == ASSBIN_CHUNK_AIMATERIAL); /*uint32_t size =*/ Read(stream); mat->mNumAllocated = mat->mNumProperties = Read(stream); @@ -414,7 +419,8 @@ void AssbinImporter::ReadBinaryMaterial(IOStream * stream, aiMaterial* mat) // ----------------------------------------------------------------------------------- void AssbinImporter::ReadBinaryNodeAnim(IOStream * stream, aiNodeAnim* nd) { - ai_assert( Read(stream) == ASSBIN_CHUNK_AINODEANIM); + uint32_t chunkID = Read(stream); + ai_assert(chunkID == ASSBIN_CHUNK_AINODEANIM); /*uint32_t size =*/ Read(stream); nd->mNodeName = Read(stream); @@ -462,7 +468,8 @@ void AssbinImporter::ReadBinaryNodeAnim(IOStream * stream, aiNodeAnim* nd) // ----------------------------------------------------------------------------------- void AssbinImporter::ReadBinaryAnim( IOStream * stream, aiAnimation* anim ) { - ai_assert( Read(stream) == ASSBIN_CHUNK_AIANIMATION); + uint32_t chunkID = Read(stream); + ai_assert(chunkID == ASSBIN_CHUNK_AIANIMATION); /*uint32_t size =*/ Read(stream); anim->mName = Read (stream); @@ -482,7 +489,8 @@ void AssbinImporter::ReadBinaryAnim( IOStream * stream, aiAnimation* anim ) void AssbinImporter::ReadBinaryTexture(IOStream * stream, aiTexture* tex) { - ai_assert( Read(stream) == ASSBIN_CHUNK_AITEXTURE); + uint32_t chunkID = Read(stream); + ai_assert(chunkID == ASSBIN_CHUNK_AITEXTURE); /*uint32_t size =*/ Read(stream); tex->mWidth = Read(stream); @@ -505,7 +513,8 @@ void AssbinImporter::ReadBinaryTexture(IOStream * stream, aiTexture* tex) // ----------------------------------------------------------------------------------- void AssbinImporter::ReadBinaryLight( IOStream * stream, aiLight* l ) { - ai_assert( Read(stream) == ASSBIN_CHUNK_AILIGHT); + uint32_t chunkID = Read(stream); + ai_assert(chunkID == ASSBIN_CHUNK_AILIGHT); /*uint32_t size =*/ Read(stream); l->mName = Read(stream); @@ -531,7 +540,8 @@ void AssbinImporter::ReadBinaryLight( IOStream * stream, aiLight* l ) // ----------------------------------------------------------------------------------- void AssbinImporter::ReadBinaryCamera( IOStream * stream, aiCamera* cam ) { - ai_assert( Read(stream) == ASSBIN_CHUNK_AICAMERA); + uint32_t chunkID = Read(stream); + ai_assert(chunkID == ASSBIN_CHUNK_AICAMERA); /*uint32_t size =*/ Read(stream); cam->mName = Read(stream); @@ -546,7 +556,8 @@ void AssbinImporter::ReadBinaryCamera( IOStream * stream, aiCamera* cam ) void AssbinImporter::ReadBinaryScene( IOStream * stream, aiScene* scene ) { - ai_assert( Read(stream) == ASSBIN_CHUNK_AISCENE); + uint32_t chunkID = Read(stream); + ai_assert(chunkID == ASSBIN_CHUNK_AISCENE); /*uint32_t size =*/ Read(stream); scene->mFlags = Read(stream); diff --git a/code/Assimp.cpp b/code/Assimp.cpp index f8df73415..ec5fd7ab7 100644 --- a/code/Assimp.cpp +++ b/code/Assimp.cpp @@ -423,6 +423,21 @@ const char* aiGetErrorString() return gLastErrorString.c_str(); } +// ----------------------------------------------------------------------------------------------- +// Return the description of a importer given its index +const aiImporterDesc* aiGetImportFormatDescription( size_t pIndex) +{ + return Importer().GetImporterInfo(pIndex); +} + +// ----------------------------------------------------------------------------------------------- +// Return the number of importers +size_t aiGetImportFormatCount(void) +{ + return Importer().GetImporterCount(); +} + + // ------------------------------------------------------------------------------------------------ // Returns the error text of the last failed import process. aiBool aiIsExtensionSupported(const char* szExtension) diff --git a/code/BaseImporter.cpp b/code/BaseImporter.cpp index 1bb0a1cee..6d073c5a7 100644 --- a/code/BaseImporter.cpp +++ b/code/BaseImporter.cpp @@ -155,11 +155,11 @@ void BaseImporter::GetExtensionList(std::set& extensions) boost::scoped_array _buffer (new char[searchBytes+1 /* for the '\0' */]); char* buffer = _buffer.get(); - const unsigned int read = pStream->Read(buffer,1,searchBytes); + const size_t read = pStream->Read(buffer,1,searchBytes); if (!read) return false; - for (unsigned int i = 0; i < read;++i) + for (size_t i = 0; i < read; ++i) buffer[i] = ::tolower(buffer[i]); // It is not a proper handling of unicode files here ... @@ -392,11 +392,11 @@ void BaseImporter::ConvertToUTF8(std::vector& data) // Convert to UTF8 data to ISO-8859-1 void BaseImporter::ConvertUTF8toISO8859_1(std::string& data) { - unsigned int size = data.size(); - unsigned int i = 0, j = 0; + size_t size = data.size(); + size_t i = 0, j = 0; while(i < size) { - if((unsigned char) data[i] < 0x80) { + if ((unsigned char) data[i] < (size_t) 0x80) { data[j] = data[i]; } else if(i < size - 1) { if((unsigned char) data[i] == 0xC2) { @@ -480,7 +480,9 @@ namespace Assimp struct Assimp::BatchData { BatchData() - : next_id(0xffff) + : pIOSystem() + , pImporter() + , next_id(0xffff) {} // IO system to be used for all imports diff --git a/code/CMakeLists.txt b/code/CMakeLists.txt index 55e69f8b2..d4ca754a2 100644 --- a/code/CMakeLists.txt +++ b/code/CMakeLists.txt @@ -157,7 +157,27 @@ IF ( ASSIMP_BUILD_NONFREE_C4D_IMPORTER ) SOURCE_GROUP( C4D FILES ${C4D_SRCS}) ENDIF ( ASSIMP_BUILD_NONFREE_C4D_IMPORTER ) -SET( 3DS_SRCS +# macro to add the CMake Option ADD_ASSIMP_IMPORTER_ which enables compile of loader +# this way selective loaders can be compiled (reduces filesize + compile time) +MACRO(ADD_ASSIMP_IMPORTER name) + OPTION(ASSIMP_BUILD_${name}_IMPORTER "build the ${name} importer" TRUE) + IF(ASSIMP_BUILD_${name}_IMPORTER) + LIST(APPEND ASSIMP_LOADER_SRCS ${ARGN}) + SET(ASSIMP_IMPORTERS_ENABLED "${ASSIMP_IMPORTERS_ENABLED} ${name}") + SET(${name}_SRCS ${ARGN}) + SOURCE_GROUP(${name} FILES ${ARGN}) + ELSE() + SET(${name}_SRC "") + SET(ASSIMP_IMPORTERS_DISABLED "${ASSIMP_IMPORTERS_DISABLED} ${name}") + add_definitions(-DASSIMP_BUILD_NO_${name}_IMPORTER) + ENDIF() +ENDMACRO() + +SET(ASSIMP_LOADER_SRCS "") +SET(ASSIMP_IMPORTERS_ENABLED "") # list of enabled importers +SET(ASSIMP_IMPORTERS_DISABLED "") # disabled list (used to print) + +ADD_ASSIMP_IMPORTER(3DS 3DSConverter.cpp 3DSHelper.h 3DSLoader.cpp @@ -165,49 +185,42 @@ SET( 3DS_SRCS 3DSExporter.h 3DSExporter.cpp ) -SOURCE_GROUP(3DS FILES ${3DS_SRCS}) -SET( AC_SRCS +ADD_ASSIMP_IMPORTER(AC ACLoader.cpp ACLoader.h ) -SOURCE_GROUP( AC FILES ${AC_SRCS}) -SET( ASE_SRCS +ADD_ASSIMP_IMPORTER(ASE ASELoader.cpp ASELoader.h ASEParser.cpp ASEParser.h ) -SOURCE_GROUP( ASE FILES ${ASE_SRCS}) -SET( ASSBIN_SRCS +ADD_ASSIMP_IMPORTER(ASSBIN AssbinExporter.h AssbinExporter.cpp AssbinLoader.h AssbinLoader.cpp ) -SOURCE_GROUP( Assbin FILES ${ASSBIN_SRCS}) -SET( ASSXML_SRCS +ADD_ASSIMP_IMPORTER(ASSXML AssxmlExporter.h AssxmlExporter.cpp ) -SOURCE_GROUP( Assxml FILES ${ASSXML_SRCS}) -SET( B3D_SRCS +ADD_ASSIMP_IMPORTER(B3D B3DImporter.cpp B3DImporter.h ) -SOURCE_GROUP( B3D FILES ${B3D_SRCS}) -SET( BVH_SRCS +ADD_ASSIMP_IMPORTER(BVH BVHLoader.cpp BVHLoader.h ) -SOURCE_GROUP( BVH FILES ${BVH_SRCS}) -SET( Collada_SRCS +ADD_ASSIMP_IMPORTER(COLLADA ColladaHelper.h ColladaLoader.cpp ColladaLoader.h @@ -216,30 +229,27 @@ SET( Collada_SRCS ColladaExporter.h ColladaExporter.cpp ) -SOURCE_GROUP( Collada FILES ${Collada_SRCS}) -SET( DXF_SRCS +ADD_ASSIMP_IMPORTER(DXF DXFLoader.cpp DXFLoader.h DXFHelper.h ) -SOURCE_GROUP( DXF FILES ${DXF_SRCS}) -SET( CSM_SRCS +ADD_ASSIMP_IMPORTER(CSM CSMLoader.cpp CSMLoader.h ) -SOURCE_GROUP( CSM FILES ${CSM_SRCS}) -SET( HMP_SRCS +ADD_ASSIMP_IMPORTER(HMP HMPFileData.h HMPLoader.cpp HMPLoader.h HalfLifeFileData.h ) -SOURCE_GROUP( HMP FILES ${HMP_SRCS}) -SET( Irr_SRCS +#FIXME: allow to set IRRMESH by option +ADD_ASSIMP_IMPORTER(IRR IRRLoader.cpp IRRLoader.h IRRMeshLoader.cpp @@ -247,9 +257,8 @@ SET( Irr_SRCS IRRShared.cpp IRRShared.h ) -SOURCE_GROUP( Irr FILES ${Irr_SRCS}) -SET( LWO_SRCS +ADD_ASSIMP_IMPORTER(LWO LWOAnimation.cpp LWOAnimation.h LWOBLoader.cpp @@ -258,53 +267,46 @@ SET( LWO_SRCS LWOLoader.h LWOMaterial.cpp ) -SOURCE_GROUP( LWO FILES ${LWO_SRCS}) -SET( LWS_SRCS +ADD_ASSIMP_IMPORTER(LWS LWSLoader.cpp LWSLoader.h ) -SOURCE_GROUP( LWS FILES ${LWS_SRCS}) -SET( MD2_SRCS +ADD_ASSIMP_IMPORTER(MD2 MD2FileData.h MD2Loader.cpp MD2Loader.h MD2NormalTable.h ) -SOURCE_GROUP( MD2 FILES ${MD2_SRCS}) -SET( MD3_SRCS +ADD_ASSIMP_IMPORTER(MD3 MD3FileData.h MD3Loader.cpp MD3Loader.h ) -SOURCE_GROUP( MD3 FILES ${MD3_SRCS}) -SET( MD5_SRCS +ADD_ASSIMP_IMPORTER(MD5 MD5Loader.cpp MD5Loader.h MD5Parser.cpp MD5Parser.h ) -SOURCE_GROUP( MD5 FILES ${MD5_SRCS}) -SET( MDC_SRCS +ADD_ASSIMP_IMPORTER(MDC MDCFileData.h MDCLoader.cpp MDCLoader.h MDCNormalTable.h ) -SOURCE_GROUP( MDC FILES ${MDC_SRCS}) -SET( MDL_SRCS +ADD_ASSIMP_IMPORTER(MDL MDLDefaultColorMap.h MDLFileData.h MDLLoader.cpp MDLLoader.h MDLMaterialLoader.cpp ) -SOURCE_GROUP( MDL FILES ${MDL_SRCS}) SET( MaterialSystem_SRCS MaterialSystem.cpp @@ -312,25 +314,22 @@ SET( MaterialSystem_SRCS ) SOURCE_GROUP( MaterialSystem FILES ${MaterialSystem_SRCS}) -SET( NFF_SRCS +ADD_ASSIMP_IMPORTER(NFF NFFLoader.cpp NFFLoader.h ) -SOURCE_GROUP( NFF FILES ${NFF_SRCS}) -SET( NDO_SRCS +ADD_ASSIMP_IMPORTER(NDO NDOLoader.cpp NDOLoader.h ) -SOURCE_GROUP( NDO FILES ${NDO_SRCS}) -SET( OFFFormat_SRCS +ADD_ASSIMP_IMPORTER(OFF OFFLoader.cpp OFFLoader.h ) -SOURCE_GROUP( OFFFormat FILES ${OFFFormat_SRCS}) -SET( Obj_SRCS +ADD_ASSIMP_IMPORTER(OBJ ObjFileData.h ObjFileImporter.cpp ObjFileImporter.h @@ -343,9 +342,8 @@ SET( Obj_SRCS ObjExporter.h ObjExporter.cpp ) -SOURCE_GROUP( Obj FILES ${Obj_SRCS}) -SET( Ogre_SRCS +ADD_ASSIMP_IMPORTER(OGRE OgreImporter.h OgreStructs.h OgreParsingUtils.h @@ -357,16 +355,14 @@ SET( Ogre_SRCS OgreXmlSerializer.cpp OgreMaterial.cpp ) -SOURCE_GROUP( Ogre FILES ${Ogre_SRCS}) -SET( OpenGEX_SRCS +ADD_ASSIMP_IMPORTER(OPENGEX OpenGEXImporter.cpp OpenGEXImporter.h OpenGEXStructs.h ) -SOURCE_GROUP( OpenGEX FILES ${OpenGEX_SRCS}) -SET( Ply_SRCS +ADD_ASSIMP_IMPORTER(PLY PlyLoader.cpp PlyLoader.h PlyParser.cpp @@ -374,22 +370,19 @@ SET( Ply_SRCS PlyExporter.cpp PlyExporter.h ) -SOURCE_GROUP( Ply FILES ${Ply_SRCS}) -SET(MS3D_SRCS +ADD_ASSIMP_IMPORTER(MS3D MS3DLoader.cpp MS3DLoader.h ) -SOURCE_GROUP( MS3D FILES ${MS3D_SRCS}) -SET(COB_SRCS +ADD_ASSIMP_IMPORTER(COB COBLoader.cpp COBLoader.h COBScene.h ) -SOURCE_GROUP( COB FILES ${COB_SRCS}) -SET(BLENDER_SRCS +ADD_ASSIMP_IMPORTER(BLEND BlenderLoader.cpp BlenderLoader.h BlenderDNA.cpp @@ -406,9 +399,8 @@ SET(BLENDER_SRCS BlenderTessellator.h BlenderTessellator.cpp ) -SOURCE_GROUP( BLENDER FILES ${BLENDER_SRCS}) -SET(IFC_SRCS +ADD_ASSIMP_IMPORTER(IFC IFCLoader.cpp IFCLoader.h IFCReaderGen.cpp @@ -427,16 +419,14 @@ SET(IFC_SRCS STEPFileEncoding.cpp STEPFileEncoding.h ) -SOURCE_GROUP( IFC FILES ${IFC_SRCS}) -SET( XGL_SRCS +ADD_ASSIMP_IMPORTER(XGL XGLLoader.cpp XGLLoader.h ) -SOURCE_GROUP( XGL FILES ${XGL_SRCS}) -SET(FBX_SRCS +ADD_ASSIMP_IMPORTER(FBX FBXImporter.cpp FBXCompileConfig.h FBXImporter.h @@ -462,8 +452,6 @@ SET(FBX_SRCS FBXBinaryTokenizer.cpp FBXDocumentUtil.cpp ) -SOURCE_GROUP( FBX FILES ${FBX_SRCS}) - SET( PostProcessing_SRCS CalcTangentsProcess.cpp @@ -520,13 +508,12 @@ SET( PostProcessing_SRCS ) SOURCE_GROUP( PostProcessing FILES ${PostProcessing_SRCS}) -SET( Q3D_SRCS +ADD_ASSIMP_IMPORTER(Q3D Q3DLoader.cpp Q3DLoader.h ) -SOURCE_GROUP( Q3D FILES ${Q3D_SRCS}) -SET( Q3BSP_SRCS +ADD_ASSIMP_IMPORTER(Q3BSP Q3BSPFileData.h Q3BSPFileParser.h Q3BSPFileParser.cpp @@ -535,41 +522,35 @@ SET( Q3BSP_SRCS Q3BSPZipArchive.h Q3BSPZipArchive.cpp ) -SOURCE_GROUP( Q3BSP FILES ${Q3BSP_SRCS}) -SET( Raw_SRCS +ADD_ASSIMP_IMPORTER(RAW RawLoader.cpp RawLoader.h ) -SOURCE_GROUP( Raw FILES ${Raw_SRCS}) -SET( SMD_SRCS +ADD_ASSIMP_IMPORTER(SMD SMDLoader.cpp SMDLoader.h ) -SOURCE_GROUP( SMD FILES ${SMD_SRCS}) -SET( STL_SRCS +ADD_ASSIMP_IMPORTER(STL STLLoader.cpp STLLoader.h STLExporter.h STLExporter.cpp ) -SOURCE_GROUP( STL FILES ${STL_SRCS}) -SET( Terragen_SRCS +ADD_ASSIMP_IMPORTER(TERRAGEN TerragenLoader.cpp TerragenLoader.h ) -SOURCE_GROUP( Terragen FILES ${Terragen_SRCS}) -SET( Unreal_SRCS +ADD_ASSIMP_IMPORTER(3D UnrealLoader.cpp UnrealLoader.h ) -SOURCE_GROUP( Unreal FILES ${Unreal_SRCS}) -SET( XFile_SRCS +ADD_ASSIMP_IMPORTER(X XFileHelper.h XFileImporter.cpp XFileImporter.h @@ -578,7 +559,6 @@ SET( XFile_SRCS XFileExporter.h XFileExporter.cpp ) -SOURCE_GROUP( XFile FILES ${XFile_SRCS}) SET( Step_SRCS StepExporter.h @@ -680,6 +660,9 @@ else (UNZIP_FOUND) SET (unzip_compile_SRCS ${unzip_SRCS}) endif (UNZIP_FOUND) +MESSAGE(STATUS "Enabled formats:${ASSIMP_IMPORTERS_ENABLED}") +MESSAGE(STATUS "Disabled formats:${ASSIMP_IMPORTERS_DISABLED}") + SET( assimp_src # Assimp Files ${Core_SRCS} @@ -687,51 +670,11 @@ SET( assimp_src ${Logging_SRCS} ${Exporter_SRCS} ${PostProcessing_SRCS} + ${MaterialSystem_SRCS} + ${Step_SRCS} # Model Support - ${3DS_SRCS} - ${AC_SRCS} - ${ASE_SRCS} - ${ASSBIN_SRCS} - ${ASSXML_SRCS} - ${B3D_SRCS} - ${BVH_SRCS} - ${Collada_SRCS} - ${DXF_SRCS} - ${CSM_SRCS} - ${HMP_SRCS} - ${Irr_SRCS} - ${LWO_SRCS} - ${LWS_SRCS} - ${MD2_SRCS} - ${MD3_SRCS} - ${MD5_SRCS} - ${MDC_SRCS} - ${MDL_SRCS} - ${MaterialSystem_SRCS} - ${NFF_SRCS} - ${OFFFormat_SRCS} - ${Obj_SRCS} - ${Ogre_SRCS} - ${OpenGEX_SRCS} - ${Ply_SRCS} - ${Q3D_SRCS} - ${Q3BSP_SRCS} - ${Raw_SRCS} - ${SMD_SRCS} - ${STL_SRCS} - ${Terragen_SRCS} - ${Unreal_SRCS} - ${XFile_SRCS} - ${Step_SRCS} - ${Extra_SRCS} - ${MS3D_SRCS} - ${COB_SRCS} - ${BLENDER_SRCS} - ${NDO_SRCS} - ${IFC_SRCS} - ${XGL_SRCS} - ${FBX_SRCS} + ${ASSIMP_LOADER_SRCS} # Third-party libraries ${IrrXML_SRCS} @@ -739,7 +682,7 @@ SET( assimp_src ${unzip_compile_SRCS} ${Poly2Tri_SRCS} ${Clipper_SRCS} - ${openddl_parser_SRCS} + ${openddl_parser_SRCS} # Necessary to show the headers in the project when using the VC++ generator: ${Boost_SRCS} diff --git a/code/ColladaExporter.cpp b/code/ColladaExporter.cpp index 078ac0a56..6c87c3de8 100644 --- a/code/ColladaExporter.cpp +++ b/code/ColladaExporter.cpp @@ -51,7 +51,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include "XMLTools.h" #include "../include/assimp/IOSystem.hpp" #include "../include/assimp/Exporter.hpp" -#include "../include/assimp/scene.h" +#include "../include/assimp/scene.h" #include "Exceptional.h" @@ -127,6 +127,8 @@ void ColladaExporter::WriteFile() WriteTextures(); WriteHeader(); + WriteCamerasLibrary(); + WriteLightsLibrary(); WriteMaterials(); WriteGeometryLibrary(); @@ -165,8 +167,6 @@ void ColladaExporter::WriteHeader() std::time_t date = std::time(NULL); std::strftime(date_str, date_nb_chars, "%Y-%m-%dT%H:%M:%S", std::localtime(&date)); - std::string scene_name = mScene->mRootNode->mName.C_Str(); - aiVector3D scaling; aiQuaternion rotation; aiVector3D position; @@ -286,6 +286,201 @@ void ColladaExporter::WriteTextures() { } } +// ------------------------------------------------------------------------------------------------ +// Write the embedded textures +void ColladaExporter::WriteCamerasLibrary() { + if(mScene->HasCameras()) { + + mOutput << startstr << "" << endstr; + PushTag(); + + for( size_t a = 0; a < mScene->mNumCameras; ++a) + WriteCamera( a); + + PopTag(); + mOutput << startstr << "" << endstr; + + } +} + +void ColladaExporter::WriteCamera(size_t pIndex){ + + const aiCamera *cam = mScene->mCameras[pIndex]; + const std::string idstrEscaped = XMLEscape(cam->mName.C_Str()); + + mOutput << startstr << "" << endstr; + PushTag(); + mOutput << startstr << "" << endstr; + PushTag(); + mOutput << startstr << "" << endstr; + PushTag(); + //assimp doesn't support the import of orthographic cameras! se we write + //always perspective + mOutput << startstr << "" << endstr; + PushTag(); + mOutput << startstr << ""<< + AI_RAD_TO_DEG(cam->mHorizontalFOV) + <<"" << endstr; + mOutput << startstr << "" + << cam->mAspect + << "" << endstr; + mOutput << startstr << "" + << cam->mClipPlaneNear + << "" << endstr; + mOutput << startstr << "" + << cam->mClipPlaneFar + << "" << endstr; + PopTag(); + mOutput << startstr << "" << endstr; + PopTag(); + mOutput << startstr << "" << endstr; + PopTag(); + mOutput << startstr << "" << endstr; + PopTag(); + mOutput << startstr << "" << endstr; + +} + + +// ------------------------------------------------------------------------------------------------ +// Write the embedded textures +void ColladaExporter::WriteLightsLibrary() { + if(mScene->HasLights()) { + + mOutput << startstr << "" << endstr; + PushTag(); + + for( size_t a = 0; a < mScene->mNumLights; ++a) + WriteLight( a); + + PopTag(); + mOutput << startstr << "" << endstr; + + } +} + +void ColladaExporter::WriteLight(size_t pIndex){ + + const aiLight *light = mScene->mLights[pIndex]; + const std::string idstrEscaped = XMLEscape(light->mName.C_Str()); + + mOutput << startstr << "" << endstr; + PushTag(); + mOutput << startstr << "" << endstr; + PushTag(); + switch(light->mType){ + case aiLightSource_AMBIENT: + WriteAmbienttLight(light); + break; + case aiLightSource_DIRECTIONAL: + WriteDirectionalLight(light); + break; + case aiLightSource_POINT: + WritePointLight(light); + break; + case aiLightSource_SPOT: + WriteSpotLight(light); + break; + case aiLightSource_UNDEFINED: + case _aiLightSource_Force32Bit: + break; + } + PopTag(); + mOutput << startstr << "" << endstr; + + PopTag(); + mOutput << startstr << "" << endstr; + +} + +void ColladaExporter::WritePointLight(const aiLight *const light){ + const aiColor3D &color= light->mColorDiffuse; + mOutput << startstr << "" << endstr; + PushTag(); + mOutput << startstr << "" + << color.r<<" "<" << endstr; + mOutput << startstr << "" + << light->mAttenuationConstant + <<"" << endstr; + mOutput << startstr << "" + << light->mAttenuationLinear + <<"" << endstr; + mOutput << startstr << "" + << light->mAttenuationQuadratic + <<"" << endstr; + + PopTag(); + mOutput << startstr << "" << endstr; + +} +void ColladaExporter::WriteDirectionalLight(const aiLight *const light){ + const aiColor3D &color= light->mColorDiffuse; + mOutput << startstr << "" << endstr; + PushTag(); + mOutput << startstr << "" + << color.r<<" "<" << endstr; + + PopTag(); + mOutput << startstr << "" << endstr; + +} +void ColladaExporter::WriteSpotLight(const aiLight *const light){ + + const aiColor3D &color= light->mColorDiffuse; + mOutput << startstr << "" << endstr; + PushTag(); + mOutput << startstr << "" + << color.r<<" "<" << endstr; + mOutput << startstr << "" + << light->mAttenuationConstant + <<"" << endstr; + mOutput << startstr << "" + << light->mAttenuationLinear + <<"" << endstr; + mOutput << startstr << "" + << light->mAttenuationQuadratic + <<"" << endstr; + /* + out->mAngleOuterCone = AI_DEG_TO_RAD (std::acos(std::pow(0.1f,1.f/srcLight->mFalloffExponent))+ + srcLight->mFalloffAngle); + */ + + const float fallOffAngle = AI_RAD_TO_DEG(light->mAngleInnerCone); + mOutput << startstr <<"" + << fallOffAngle + <<"" << endstr; + double temp = light->mAngleOuterCone-light->mAngleInnerCone; + + temp = std::cos(temp); + temp = std::log(temp)/std::log(0.1); + temp = 1/temp; + mOutput << startstr << "" + << temp + <<"" << endstr; + + + PopTag(); + mOutput << startstr << "" << endstr; + +} + +void ColladaExporter::WriteAmbienttLight(const aiLight *const light){ + + const aiColor3D &color= light->mColorAmbient; + mOutput << startstr << "" << endstr; + PushTag(); + mOutput << startstr << "" + << color.r<<" "<" << endstr; + + PopTag(); + mOutput << startstr << "" << endstr; +} + // ------------------------------------------------------------------------------------------------ // Reads a single surface entry from the given material keys void ColladaExporter::ReadMaterialSurface( Surface& poSurface, const aiMaterial* pSrcMat, aiTextureType pTexture, const char* pKey, size_t pType, size_t pIndex) @@ -425,8 +620,6 @@ void ColladaExporter::WriteMaterials() { materials.resize( mScene->mNumMaterials); - std::set material_names; - /// collect all materials from the scene size_t numTextures = 0; for( size_t a = 0; a < mScene->mNumMaterials; ++a ) @@ -847,6 +1040,23 @@ void ColladaExporter::WriteNode(aiNode* pNode) mOutput << mat.d1 << " " << mat.d2 << " " << mat.d3 << " " << mat.d4; mOutput << "" << endstr; + if(pNode->mNumMeshes==0){ + //check if it is a camera node + for(size_t i=0; imNumCameras; i++){ + if(mScene->mCameras[i]->mName == pNode->mName){ + mOutput << startstr <<"" << endstr; + break; + } + } + //check if it is a light node + for(size_t i=0; imNumLights; i++){ + if(mScene->mLights[i]->mName == pNode->mName){ + mOutput << startstr <<"" << endstr; + break; + } + } + + }else // instance every geometry for( size_t a = 0; a < pNode->mNumMeshes; ++a ) { @@ -854,9 +1064,8 @@ void ColladaExporter::WriteNode(aiNode* pNode) // do not instanciate mesh if empty. I wonder how this could happen if( mesh->mNumFaces == 0 || mesh->mNumVertices == 0 ) continue; - - mOutput << startstr << "mMeshes[a])) << "\">" << endstr; - PushTag(); + mOutput << startstr << "mMeshes[a])) << "\">" << endstr; + PushTag(); mOutput << startstr << "" << endstr; PushTag(); mOutput << startstr << "" << endstr; diff --git a/code/ColladaExporter.h b/code/ColladaExporter.h index 9456508ce..1312ab9ce 100644 --- a/code/ColladaExporter.h +++ b/code/ColladaExporter.h @@ -47,6 +47,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include "../include/assimp/ai_assert.h" #include "../include/assimp/material.h" #include "../include/assimp/mesh.h" +#include "../include/assimp/light.h" #include "../include/assimp/Exporter.hpp" #include #include @@ -83,6 +84,22 @@ protected: /// Writes the material setup void WriteMaterials(); + /// Writes the cameras library + void WriteCamerasLibrary(); + + // Write a camera entry + void WriteCamera(size_t pIndex); + + /// Writes the cameras library + void WriteLightsLibrary(); + + // Write a camera entry + void WriteLight(size_t pIndex); + void WritePointLight(const aiLight *const light); + void WriteDirectionalLight(const aiLight *const light); + void WriteSpotLight(const aiLight *const light); + void WriteAmbienttLight(const aiLight *const light); + /// Writes the geometry library void WriteGeometryLibrary(); @@ -144,8 +161,11 @@ protected: struct Property { bool exist; - float value; - Property() { exist = false; } + float value; + Property() + : exist(false) + , value(0.0f) + {} }; // summarize a material in an convinient way. diff --git a/code/ColladaHelper.h b/code/ColladaHelper.h index 71ccd2dfc..8a4e38d53 100644 --- a/code/ColladaHelper.h +++ b/code/ColladaHelper.h @@ -47,7 +47,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include #include #include -#include "../include/assimp/types.h" +#include "../include/assimp/light.h" #include "../include/assimp/mesh.h" #include "../include/assimp/material.h" @@ -134,7 +134,8 @@ struct Camera struct Light { Light() - : mAttConstant (1.f) + : mType (aiLightSource_UNDEFINED) + , mAttConstant (1.f) , mAttLinear (0.f) , mAttQuadratic (0.f) , mFalloffAngle (180.f) @@ -172,13 +173,14 @@ struct Light struct InputSemanticMapEntry { InputSemanticMapEntry() - : mSet (0) + : mSet(0) + , mType(IT_Invalid) {} //! Index of set, optional unsigned int mSet; - //! Name of referenced vertex input + //! Type of referenced vertex input InputType mType; }; @@ -235,7 +237,7 @@ struct Node { std::string mName; std::string mID; - std::string mSID; + std::string mSID; Node* mParent; std::vector mChildren; @@ -384,8 +386,8 @@ struct Controller // accessor URL of the joint names std::string mJointNameSource; - ///< The bind shape matrix, as array of floats. I'm not sure what this matrix actually describes, but it can't be ignored in all cases - float mBindShapeMatrix[16]; + ///< The bind shape matrix, as array of floats. I'm not sure what this matrix actually describes, but it can't be ignored in all cases + float mBindShapeMatrix[16]; // accessor URL of the joint inverse bind matrices std::string mJointOffsetMatrixSource; @@ -609,7 +611,15 @@ struct ChannelEntry const Collada::Accessor* mValueAccessor; ///> Collada accessor to the key value values const Collada::Data* mValueData; ///> Source datat array for the key value values - ChannelEntry() { mChannel = NULL; mSubElement = 0; } + ChannelEntry() + : mChannel() + , mTransformIndex() + , mSubElement() + , mTimeAccessor() + , mTimeData() + , mValueAccessor() + , mValueData() + {} }; } // end of namespace Collada diff --git a/code/ColladaLoader.cpp b/code/ColladaLoader.cpp index 735eede18..3a981b538 100644 --- a/code/ColladaLoader.cpp +++ b/code/ColladaLoader.cpp @@ -81,7 +81,10 @@ static const aiImporterDesc desc = { // ------------------------------------------------------------------------------------------------ // Constructor to be privately used by Importer ColladaLoader::ColladaLoader() -: noSkeletonMesh(), ignoreUpDirection(false), mNodeNameCounter() + : noSkeletonMesh() + , ignoreUpDirection(false) + , invertTransparency(false) + , mNodeNameCounter() {} // ------------------------------------------------------------------------------------------------ @@ -346,8 +349,8 @@ void ColladaLoader::BuildLightsForNode( const ColladaParser& pParser, const Coll { // Need to rely on falloff_exponent. I don't know how to interpret it, so I need to guess .... // epsilon chosen to be 0.1 - out->mAngleOuterCone = AI_DEG_TO_RAD (std::acos(std::pow(0.1f,1.f/srcLight->mFalloffExponent))+ - srcLight->mFalloffAngle); + out->mAngleOuterCone = std::acos(std::pow(0.1f,1.f/srcLight->mFalloffExponent))+ + out->mAngleInnerCone; } else { out->mAngleOuterCone = out->mAngleInnerCone + AI_DEG_TO_RAD( srcLight->mPenumbraAngle ); @@ -916,7 +919,7 @@ void ColladaLoader::StoreAnimations( aiScene* pScene, const ColladaParser& pPars // ------------------------------------------------------------------------------------------------ // Constructs the animations for the given source anim -void ColladaLoader::StoreAnimations( aiScene* pScene, const ColladaParser& pParser, const Collada::Animation* pSrcAnim, const std::string pPrefix) +void ColladaLoader::StoreAnimations( aiScene* pScene, const ColladaParser& pParser, const Collada::Animation* pSrcAnim, const std::string &pPrefix) { std::string animName = pPrefix.empty() ? pSrcAnim->mName : pPrefix + "_" + pSrcAnim->mName; diff --git a/code/ColladaLoader.h b/code/ColladaLoader.h index 4ff0a667d..5e1098727 100644 --- a/code/ColladaLoader.h +++ b/code/ColladaLoader.h @@ -155,7 +155,7 @@ protected: * @param pSrcAnim the source animation to process * @param pPrefix Prefix to the name in case of nested animations */ - void StoreAnimations( aiScene* pScene, const ColladaParser& pParser, const Collada::Animation* pSrcAnim, const std::string pPrefix); + void StoreAnimations( aiScene* pScene, const ColladaParser& pParser, const Collada::Animation* pSrcAnim, const std::string& pPrefix); /** Constructs the animation for the given source anim */ void CreateAnimation( aiScene* pScene, const ColladaParser& pParser, const Collada::Animation* pSrcAnim, const std::string& pName); diff --git a/code/ComputeUVMappingProcess.cpp b/code/ComputeUVMappingProcess.cpp index 172268b66..3ed8f9a9e 100644 --- a/code/ComputeUVMappingProcess.cpp +++ b/code/ComputeUVMappingProcess.cpp @@ -412,7 +412,7 @@ void ComputeUVMappingProcess::Execute( aiScene* pScene) { if (!DefaultLogger::isNullLogger()) { - sprintf(buffer, "Found non-UV mapped texture (%s,%i). Mapping type: %s", + sprintf(buffer, "Found non-UV mapped texture (%s,%u). Mapping type: %s", TextureTypeToString((aiTextureType)prop->mSemantic),prop->mIndex, MappingTypeToString(mapping)); diff --git a/code/DeboneProcess.cpp b/code/DeboneProcess.cpp index 025a2ca76..05d33a464 100644 --- a/code/DeboneProcess.cpp +++ b/code/DeboneProcess.cpp @@ -147,7 +147,7 @@ void DeboneProcess::Execute( aiScene* pScene) if(!DefaultLogger::isNullLogger()) { char buffer[1024]; - ::sprintf(buffer,"Removed %i bones. Input bones: %i. Output bones: %i",in-out,in,out); + ::sprintf(buffer,"Removed %u bones. Input bones: %u. Output bones: %u",in-out,in,out); DefaultLogger::get()->info(buffer); } diff --git a/code/DefaultLogger.cpp b/code/DefaultLogger.cpp index b78b2abd6..f1bbd0c9f 100644 --- a/code/DefaultLogger.cpp +++ b/code/DefaultLogger.cpp @@ -258,7 +258,7 @@ void DefaultLogger::OnDebug( const char* message ) return; char msg[MAX_LOG_MESSAGE_LENGTH + 16]; - ::sprintf(msg,"Debug, T%i: %s", GetThreadID(), message ); + ::sprintf(msg,"Debug, T%u: %s", GetThreadID(), message ); WriteToStreams( msg, Logger::Debugging ); } @@ -268,7 +268,7 @@ void DefaultLogger::OnDebug( const char* message ) void DefaultLogger::OnInfo( const char* message ) { char msg[MAX_LOG_MESSAGE_LENGTH + 16]; - ::sprintf(msg,"Info, T%i: %s", GetThreadID(), message ); + ::sprintf(msg,"Info, T%u: %s", GetThreadID(), message ); WriteToStreams( msg , Logger::Info ); } @@ -278,7 +278,7 @@ void DefaultLogger::OnInfo( const char* message ) void DefaultLogger::OnWarn( const char* message ) { char msg[MAX_LOG_MESSAGE_LENGTH + 16]; - ::sprintf(msg,"Warn, T%i: %s", GetThreadID(), message ); + ::sprintf(msg,"Warn, T%u: %s", GetThreadID(), message ); WriteToStreams( msg, Logger::Warn ); } @@ -288,7 +288,7 @@ void DefaultLogger::OnWarn( const char* message ) void DefaultLogger::OnError( const char* message ) { char msg[MAX_LOG_MESSAGE_LENGTH + 16]; - ::sprintf(msg,"Error, T%i: %s", GetThreadID(), message ); + ::sprintf(msg,"Error, T%u: %s", GetThreadID(), message ); WriteToStreams( msg, Logger::Err ); } diff --git a/code/FBXParser.cpp b/code/FBXParser.cpp index f77c24a8d..4e4668902 100644 --- a/code/FBXParser.cpp +++ b/code/FBXParser.cpp @@ -86,27 +86,6 @@ namespace { } - // ------------------------------------------------------------------------------------------------ - // print warning, do return - void ParseWarning(const std::string& message, const Token& token) - { - if(DefaultLogger::get()) { - DefaultLogger::get()->warn(Util::AddTokenText("FBX-Parser",message,&token)); - } - } - - // ------------------------------------------------------------------------------------------------ -/* void ParseWarning(const std::string& message, const Element* element = NULL) - { - if(element) { - ParseWarning(message,element->KeyToken()); - return; - } - if(DefaultLogger::get()) { - DefaultLogger::get()->warn("FBX-Parser: " + message); - } - } -*/ // ------------------------------------------------------------------------------------------------ void ParseError(const std::string& message, TokenPtr token) { diff --git a/code/FindInvalidDataProcess.cpp b/code/FindInvalidDataProcess.cpp index 450c5f873..e82aedc36 100644 --- a/code/FindInvalidDataProcess.cpp +++ b/code/FindInvalidDataProcess.cpp @@ -58,6 +58,7 @@ using namespace Assimp; // ------------------------------------------------------------------------------------------------ // Constructor to be privately used by Importer FindInvalidDataProcess::FindInvalidDataProcess() + : configEpsilon(0.0f) { // nothing to do here } diff --git a/code/FixNormalsStep.cpp b/code/FixNormalsStep.cpp index d3d53ac15..608a145e0 100644 --- a/code/FixNormalsStep.cpp +++ b/code/FixNormalsStep.cpp @@ -158,7 +158,7 @@ bool FixInfacingNormalsProcess::ProcessMesh( aiMesh* pcMesh, unsigned int index) if (!DefaultLogger::isNullLogger()) { char buffer[128]; // should be sufficiently large - ::sprintf(buffer,"Mesh %i: Normals are facing inwards (or the mesh is planar)",index); + ::sprintf(buffer,"Mesh %u: Normals are facing inwards (or the mesh is planar)",index); DefaultLogger::get()->info(buffer); } diff --git a/code/IFCCurve.cpp b/code/IFCCurve.cpp index 0625ea631..aca350fc9 100644 --- a/code/IFCCurve.cpp +++ b/code/IFCCurve.cpp @@ -173,7 +173,6 @@ public: // -------------------------------------------------- Line(const IfcLine& entity, ConversionData& conv) : Curve(entity,conv) - , entity(entity) { ConvertCartesianPoint(p,entity.Pnt); ConvertVector(v,entity.Dir); @@ -221,7 +220,6 @@ public: } private: - const IfcLine& entity; IfcVector3 p,v; }; @@ -238,7 +236,6 @@ public: // -------------------------------------------------- CompositeCurve(const IfcCompositeCurve& entity, ConversionData& conv) : BoundedCurve(entity,conv) - , entity(entity) , total() { curves.reserve(entity.Segments.size()); @@ -331,7 +328,6 @@ public: } private: - const IfcCompositeCurve& entity; std::vector< CurveEntry > curves; IfcFloat total; @@ -349,8 +345,6 @@ public: // -------------------------------------------------- TrimmedCurve(const IfcTrimmedCurve& entity, ConversionData& conv) : BoundedCurve(entity,conv) - , entity(entity) - , ok() { base = boost::shared_ptr(Curve::Convert(entity.BasisCurve,conv)); @@ -448,11 +442,9 @@ private: private: - const IfcTrimmedCurve& entity; ParamRange range; IfcFloat maxval; bool agree_sense; - bool ok; boost::shared_ptr base; }; @@ -469,7 +461,6 @@ public: // -------------------------------------------------- PolyLine(const IfcPolyline& entity, ConversionData& conv) : BoundedCurve(entity,conv) - , entity(entity) { points.reserve(entity.Points.size()); @@ -507,7 +498,6 @@ public: } private: - const IfcPolyline& entity; std::vector points; }; diff --git a/code/IFCLoader.cpp b/code/IFCLoader.cpp index 34f176c89..8ffefcb91 100644 --- a/code/IFCLoader.cpp +++ b/code/IFCLoader.cpp @@ -60,9 +60,9 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include "StreamReader.h" #include "MemoryIOWrapper.h" -#include "../include/assimp/scene.h" -#include "../include/assimp/Importer.hpp" - +#include "../include/assimp/scene.h" +#include "../include/assimp/Importer.hpp" + namespace Assimp { template<> const std::string LogFunctions::log_prefix = "IFC: "; @@ -93,8 +93,6 @@ namespace { void SetUnits(ConversionData& conv); void SetCoordinateSpace(ConversionData& conv); void ProcessSpatialStructures(ConversionData& conv); -aiNode* ProcessSpatialStructure(aiNode* parent, const IfcProduct& el ,ConversionData& conv); -void ProcessProductRepresentation(const IfcProduct& el, aiNode* nd, ConversionData& conv); void MakeTreeRelative(ConversionData& conv); void ConvertUnit(const EXPRESS::DataType& dt,ConversionData& conv); @@ -421,16 +419,6 @@ void ResolveObjectPlacement(aiMatrix4x4& m, const IfcObjectPlacement& place, Con } } -// ------------------------------------------------------------------------------------------------ -void GetAbsTransform(aiMatrix4x4& out, const aiNode* nd, ConversionData& conv) -{ - aiMatrix4x4 t; - if (nd->mParent) { - GetAbsTransform(t,nd->mParent,conv); - } - out = t*nd->mTransformation; -} - // ------------------------------------------------------------------------------------------------ bool ProcessMappedItem(const IfcMappedItem& mapped, aiNode* nd_src, std::vector< aiNode* >& subnodes_src, unsigned int matid, ConversionData& conv) { @@ -682,14 +670,14 @@ aiNode* ProcessSpatialStructure(aiNode* parent, const IfcProduct& el, Conversion // skip over space and annotation nodes - usually, these have no meaning in Assimp's context bool skipGeometry = false; if(conv.settings.skipSpaceRepresentations) { - if(const IfcSpace* const space = el.ToPtr()) { + if(el.ToPtr()) { IFCImporter::LogDebug("skipping IfcSpace entity due to importer settings"); skipGeometry = true; } } if(conv.settings.skipAnnotations) { - if(const IfcAnnotation* const ann = el.ToPtr()) { + if(el.ToPtr()) { IFCImporter::LogDebug("skipping IfcAnnotation entity due to importer settings"); return NULL; } @@ -764,7 +752,7 @@ aiNode* ProcessSpatialStructure(aiNode* parent, const IfcProduct& el, Conversion continue; } BOOST_FOREACH(const IfcProduct& pro, cont->RelatedElements) { - if(const IfcOpeningElement* const open = pro.ToPtr()) { + if(pro.ToPtr()) { // IfcOpeningElement is handled below. Sadly we can't use it here as is: // The docs say that opening elements are USUALLY attached to building storey, // but we want them for the building elements to which they belong. diff --git a/code/IFCProfile.cpp b/code/IFCProfile.cpp index 42d090d9d..9e70c2ac1 100644 --- a/code/IFCProfile.cpp +++ b/code/IFCProfile.cpp @@ -114,7 +114,7 @@ void ProcessParametrizedProfile(const IfcParameterizedProfileDef& def, TempMesh& meshout.vertcnt.push_back(4); } else if( const IfcCircleProfileDef* const circle = def.ToPtr()) { - if( const IfcCircleHollowProfileDef* const hollow = def.ToPtr()) { + if(def.ToPtr()) { // TODO } const size_t segments = 32; diff --git a/code/IRRLoader.cpp b/code/IRRLoader.cpp index b082168c1..d3890b601 100644 --- a/code/IRRLoader.cpp +++ b/code/IRRLoader.cpp @@ -194,7 +194,7 @@ void IRRImporter::BuildSkybox(std::vector& meshes, std::vectorAddProperty(&s,AI_MATKEY_NAME); int shading = aiShadingMode_NoShading; diff --git a/code/ImproveCacheLocality.cpp b/code/ImproveCacheLocality.cpp index 81617cc49..0f2ecc13a 100644 --- a/code/ImproveCacheLocality.cpp +++ b/code/ImproveCacheLocality.cpp @@ -110,7 +110,7 @@ void ImproveCacheLocalityProcess::Execute( aiScene* pScene) } if (!DefaultLogger::isNullLogger()) { char szBuff[128]; // should be sufficiently large in every case - ::sprintf(szBuff,"Cache relevant are %i meshes (%i faces). Average output ACMR is %f", + ::sprintf(szBuff,"Cache relevant are %u meshes (%u faces). Average output ACMR is %f", numm,numf,out/numf); DefaultLogger::get()->info(szBuff); @@ -182,7 +182,7 @@ float ImproveCacheLocalityProcess::ProcessMesh( aiMesh* pMesh, unsigned int mesh // the JoinIdenticalVertices process has not been executed on this // mesh, otherwise this value would normally be at least minimally // smaller than 3.0 ... - sprintf(szBuff,"Mesh %i: Not suitable for vcache optimization",meshNum); + sprintf(szBuff,"Mesh %u: Not suitable for vcache optimization",meshNum); DefaultLogger::get()->warn(szBuff); return 0.f; } @@ -361,7 +361,7 @@ float ImproveCacheLocalityProcess::ProcessMesh( aiMesh* pMesh, unsigned int mesh if ( DefaultLogger::get()->getLogSeverity() == Logger::VERBOSE) { char szBuff[128]; // should be sufficiently large in every case - ::sprintf(szBuff,"Mesh %i | ACMR in: %f out: %f | ~%.1f%%",meshNum,fACMR,fACMR2, + ::sprintf(szBuff,"Mesh %u | ACMR in: %f out: %f | ~%.1f%%",meshNum,fACMR,fACMR2, ((fACMR - fACMR2) / fACMR) * 100.f); DefaultLogger::get()->debug(szBuff); } diff --git a/code/LWOLoader.cpp b/code/LWOLoader.cpp index fd29f23f1..188afc5f4 100644 --- a/code/LWOLoader.cpp +++ b/code/LWOLoader.cpp @@ -209,7 +209,7 @@ void LWOImporter::InternReadFile( const std::string& pFile, // we need to check now whether the requested layer has been found. if (UINT_MAX != configLayerIndex) { unsigned int layerCount = 0; - for(std::list::iterator itLayers=mLayers->begin(); itLayers!=mLayers->end(); itLayers++) + for(std::list::iterator itLayers=mLayers->begin(); itLayers!=mLayers->end(); ++itLayers) if (!itLayers->skip) layerCount++; if (layerCount!=2) diff --git a/code/LWSLoader.cpp b/code/LWSLoader.cpp index cb0daf2e9..161d90fa6 100644 --- a/code/LWSLoader.cpp +++ b/code/LWSLoader.cpp @@ -450,7 +450,7 @@ void LWSImporter::BuildGraph(aiNode* nd, LWS::NodeDesc& src, std::vectormChildren = new aiNode*[src.children.size()]; for (std::list::iterator it = src.children.begin(); it != src.children.end(); ++it) { aiNode* ndd = nd->mChildren[nd->mNumChildren++] = new aiNode(); diff --git a/code/LimitBoneWeightsProcess.cpp b/code/LimitBoneWeightsProcess.cpp index 3f46dd100..53e5ce360 100644 --- a/code/LimitBoneWeightsProcess.cpp +++ b/code/LimitBoneWeightsProcess.cpp @@ -193,7 +193,7 @@ void LimitBoneWeightsProcess::ProcessMesh( aiMesh* pMesh) if (!DefaultLogger::isNullLogger()) { char buffer[1024]; - ::sprintf(buffer,"Removed %i weights. Input bones: %i. Output bones: %i",removed,old_bones,pMesh->mNumBones); + ::sprintf(buffer,"Removed %u weights. Input bones: %u. Output bones: %u",removed,old_bones,pMesh->mNumBones); DefaultLogger::get()->info(buffer); } } diff --git a/code/MD3Loader.cpp b/code/MD3Loader.cpp index a78a5e3f2..cf07f295f 100644 --- a/code/MD3Loader.cpp +++ b/code/MD3Loader.cpp @@ -791,7 +791,7 @@ void MD3Importer::InternReadFile( const std::string& pFile, // Adjust all texture paths in the shader const char* header_name = pcHeader->NAME; - if (shaders.blocks.size()) { + if (!shaders.blocks.empty()) { for (std::list< Q3Shader::ShaderDataBlock >::iterator dit = shaders.blocks.begin(); dit != shaders.blocks.end(); ++dit) { ConvertPath((*dit).name.c_str(),header_name,(*dit).name); @@ -881,7 +881,7 @@ void MD3Importer::InternReadFile( const std::string& pFile, // Now search the current shader for a record with this name ( // excluding texture file extension) - if (shaders.blocks.size()) { + if (!shaders.blocks.empty()) { std::string::size_type s = convertedPath.find_last_of('.'); if (s == std::string::npos) diff --git a/code/MD5Parser.cpp b/code/MD5Parser.cpp index 6be956593..395dedd14 100644 --- a/code/MD5Parser.cpp +++ b/code/MD5Parser.cpp @@ -95,7 +95,7 @@ MD5Parser::MD5Parser(char* _buffer, unsigned int _fileSize ) /*static*/ AI_WONT_RETURN void MD5Parser::ReportError (const char* error, unsigned int line) { char szBuffer[1024]; - ::sprintf(szBuffer,"[MD5] Line %i: %s",line,error); + ::sprintf(szBuffer,"[MD5] Line %u: %s",line,error); throw DeadlyImportError(szBuffer); } @@ -104,7 +104,7 @@ MD5Parser::MD5Parser(char* _buffer, unsigned int _fileSize ) /*static*/ void MD5Parser::ReportWarning (const char* warn, unsigned int line) { char szBuffer[1024]; - ::sprintf(szBuffer,"[MD5] Line %i: %s",line,warn); + ::sprintf(szBuffer,"[MD5] Line %u: %s",line,warn); DefaultLogger::get()->warn(szBuffer); } diff --git a/code/MDLLoader.cpp b/code/MDLLoader.cpp index b2de6bfe5..320956cc1 100644 --- a/code/MDLLoader.cpp +++ b/code/MDLLoader.cpp @@ -264,7 +264,7 @@ void MDLImporter::SizeCheck(const void* szPos, const char* szFile, unsigned int char szBuffer[1024]; ::sprintf(szBuffer,"Invalid MDL file. The file is too small " - "or contains invalid data (File: %s Line: %i)",szFilePtr,iLine); + "or contains invalid data (File: %s Line: %u)",szFilePtr,iLine); throw DeadlyImportError(szBuffer); } @@ -1536,7 +1536,7 @@ void MDLImporter::InternReadFile_3DGS_MDL7( ) // setup the name of the node char* const szBuffer = &aszGroupNameBuffer[i*AI_MDL7_MAX_GROUPNAMESIZE]; if ('\0' == *szBuffer) - pcNode->mName.length = ::sprintf(szBuffer,"Group_%i",p); + pcNode->mName.length = ::sprintf(szBuffer,"Group_%u",p); else pcNode->mName.length = ::strlen(szBuffer); ::strcpy(pcNode->mName.data,szBuffer); ++p; diff --git a/code/MS3DLoader.cpp b/code/MS3DLoader.cpp index 341ee6674..e7ad85881 100644 --- a/code/MS3DLoader.cpp +++ b/code/MS3DLoader.cpp @@ -531,7 +531,7 @@ void MS3DImporter::InternReadFile( const std::string& pFile, } // allocate storage for bones - if(mybones.size()) { + if(!mybones.empty()) { std::vector bmap(joints.size()); m->mBones = new aiBone*[mybones.size()](); for(BoneSet::const_iterator it = mybones.begin(); it != mybones.end(); ++it) { diff --git a/code/NFFLoader.cpp b/code/NFFLoader.cpp index f180ba988..2d8c0d5da 100644 --- a/code/NFFLoader.cpp +++ b/code/NFFLoader.cpp @@ -1115,7 +1115,7 @@ void NFFImporter::InternReadFile( const std::string& pFile, aiNode* nd = *ppcChildren = new aiNode(); nd->mParent = root; - nd->mName.length = ::sprintf(nd->mName.data,"",i); + nd->mName.length = ::sprintf(nd->mName.data,"",i); // allocate the light in the scene data structure aiLight* out = pScene->mLights[i] = new aiLight(); diff --git a/code/ObjExporter.cpp b/code/ObjExporter.cpp index 099b337da..90f4241eb 100644 --- a/code/ObjExporter.cpp +++ b/code/ObjExporter.cpp @@ -288,7 +288,7 @@ int ObjExporter::vecIndexMap::getIndex(const aiVector3D& vec) void ObjExporter::vecIndexMap::getVectors( std::vector& vecs ) { vecs.resize(vecMap.size()); - for(vecIndexMap::dataType::iterator it = vecMap.begin(); it != vecMap.end(); it++){ + for(vecIndexMap::dataType::iterator it = vecMap.begin(); it != vecMap.end(); ++it){ vecs[it->second-1] = it->first; } } diff --git a/code/ObjFileMtlImporter.cpp b/code/ObjFileMtlImporter.cpp index 80d0416d3..244027036 100644 --- a/code/ObjFileMtlImporter.cpp +++ b/code/ObjFileMtlImporter.cpp @@ -263,16 +263,21 @@ void ObjFileMtlImporter::createMaterial() } std::vector token; - const unsigned int numToken = tokenize( line, token, " " ); - std::string name( "" ); - if ( numToken == 1 ) { - name = AI_DEFAULT_MATERIAL_NAME; - } else { - name = token[ 1 ]; - } + const unsigned int numToken = tokenize( line, token, " \t" ); + std::string name( "" ); + if ( numToken == 1 ) { + name = AI_DEFAULT_MATERIAL_NAME; + } else { + // skip newmtl and all following white spaces + std::size_t first_ws_pos = line.find_first_of(" \t"); + std::size_t first_non_ws_pos = line.find_first_not_of(" \t", first_ws_pos); + if (first_non_ws_pos != std::string::npos) { + name = line.substr(first_non_ws_pos); + } + } - std::map::iterator it = m_pModel->m_MaterialMap.find( name ); - if ( m_pModel->m_MaterialMap.end() == it) { + std::map::iterator it = m_pModel->m_MaterialMap.find( name ); + if ( m_pModel->m_MaterialMap.end() == it) { // New Material created m_pModel->m_pCurrentMaterial = new ObjFile::Material(); m_pModel->m_pCurrentMaterial->MaterialName.Set( name ); diff --git a/code/ObjFileParser.cpp b/code/ObjFileParser.cpp index 9c5982861..a185ff249 100644 --- a/code/ObjFileParser.cpp +++ b/code/ObjFileParser.cpp @@ -469,7 +469,7 @@ void ObjFileParser::getMaterialDesc() return; char *pStart = &(*m_DataIt); - while( m_DataIt != m_DataItEnd && !IsSpaceOrNewLine( *m_DataIt ) ) { + while( m_DataIt != m_DataItEnd && !IsLineEnd( *m_DataIt ) ) { ++m_DataIt; } diff --git a/code/ObjFileParser.h b/code/ObjFileParser.h index 1883b7260..8a8a51306 100644 --- a/code/ObjFileParser.h +++ b/code/ObjFileParser.h @@ -122,6 +122,11 @@ private: void reportErrorTokenInFace(); private: + // Copy and assignment constructor should be private + // because the class contains pointer to allocated memory + ObjFileParser(const ObjFileParser& rhs); + ObjFileParser& operator=(const ObjFileParser& rhs); + /// Default material name static const std::string DEFAULT_MATERIAL; //! Iterator to current position in buffer diff --git a/code/OgreImporter.h b/code/OgreImporter.h index 1b4b608f6..b37ec2d75 100644 --- a/code/OgreImporter.h +++ b/code/OgreImporter.h @@ -81,7 +81,7 @@ private: void AssignMaterials(aiScene *pScene, std::vector &materials); /// Reads material - aiMaterial* ReadMaterial(const std::string &pFile, Assimp::IOSystem *pIOHandler, const std::string MaterialName); + aiMaterial* ReadMaterial(const std::string &pFile, Assimp::IOSystem *pIOHandler, const std::string &MaterialName); // These functions parse blocks from a material file from @c ss. Starting parsing from "{" and ending it to "}". bool ReadTechnique(const std::string &techniqueName, std::stringstream &ss, aiMaterial *material); diff --git a/code/OgreMaterial.cpp b/code/OgreMaterial.cpp index cf8951549..a5eb6fb19 100644 --- a/code/OgreMaterial.cpp +++ b/code/OgreMaterial.cpp @@ -120,7 +120,7 @@ void OgreImporter::AssignMaterials(aiScene *pScene, std::vector &ma } } -aiMaterial* OgreImporter::ReadMaterial(const std::string &pFile, Assimp::IOSystem *pIOHandler, const std::string materialName) +aiMaterial* OgreImporter::ReadMaterial(const std::string &pFile, Assimp::IOSystem *pIOHandler, const std::string &materialName) { if (materialName.empty()) { return 0; diff --git a/code/OpenGEXImporter.cpp b/code/OpenGEXImporter.cpp index 6e4fb33af..a5736ce0f 100644 --- a/code/OpenGEXImporter.cpp +++ b/code/OpenGEXImporter.cpp @@ -47,6 +47,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include #include +#include #include static const aiImporterDesc desc = { @@ -83,6 +84,14 @@ namespace Grammar { static const std::string DiffuseColorToken = "diffuse"; static const std::string SpecularColorToken = "specular"; static const std::string EmissionColorToken = "emission"; + + static const std::string DiffuseTextureToken = "diffuse"; + static const std::string DiffuseSpecularTextureToken = "specular"; + static const std::string SpecularPowerTextureToken = "specular_power"; + static const std::string EmissionTextureToken = "emission"; + static const std::string OpacyTextureToken = "opacity"; + static const std::string TransparencyTextureToken = "transparency"; + static const std::string NormalTextureToken = "normal"; static const char *TextureType = "Texture"; @@ -183,12 +192,11 @@ USE_ODDLPARSER_NS //------------------------------------------------------------------------------------------------ OpenGEXImporter::VertexContainer::VertexContainer() : m_numVerts( 0 ) -, m_vertices() +, m_vertices(NULL) , m_numNormals( 0 ) -, m_normals() -, m_textureCoords() -, m_numUVComps() { - // empty +, m_normals(NULL) { + std::fill(&m_numUVComps[0], &m_numUVComps[AI_MAX_NUMBER_OF_TEXTURECOORDS], 0U); + std::fill(&m_textureCoords[0], &m_textureCoords[AI_MAX_NUMBER_OF_TEXTURECOORDS], static_cast(NULL)); } //------------------------------------------------------------------------------------------------ @@ -215,17 +223,18 @@ OpenGEXImporter::RefInfo::~RefInfo() { //------------------------------------------------------------------------------------------------ OpenGEXImporter::OpenGEXImporter() -: m_meshCache() -, m_root( NULL ) +: m_root( NULL ) , m_nodeChildMap() +, m_meshCache() , m_mesh2refMap() , m_ctx( NULL ) , m_currentNode( NULL ) , m_currentMesh( NULL ) , m_currentMaterial( NULL ) +, m_tokenType( Grammar::NoneType ) , m_nodeStack() , m_unresolvedRefStack() { - // empty + std::fill(&m_metrics[0], &m_metrics[MetricInfo::Max], MetricInfo()); } //------------------------------------------------------------------------------------------------ @@ -291,7 +300,7 @@ void OpenGEXImporter::handleNodes( DDLNode *node, aiScene *pScene ) { } DDLNode::DllNodeList childs = node->getChildNodeList(); - for( DDLNode::DllNodeList::iterator it = childs.begin(); it != childs.end(); it++ ) { + for( DDLNode::DllNodeList::iterator it = childs.begin(); it != childs.end(); ++it ) { Grammar::TokenType tokenType( Grammar::matchTokenType( ( *it )->getType().c_str() ) ); switch( tokenType ) { case Grammar::MetricToken: @@ -406,7 +415,12 @@ void OpenGEXImporter::handleNameNode( DDLNode *node, aiScene *pScene ) { } const std::string name( val->getString() ); - m_currentNode->mName.Set( name.c_str() ); + if( m_tokenType == Grammar::GeometryNodeToken ) { + m_currentNode->mName.Set( name.c_str() ); + } else if( m_tokenType == Grammar::MaterialToken ) { + + } + } } @@ -462,6 +476,7 @@ void OpenGEXImporter::handleMaterialRefNode( ODDLParser::DDLNode *node, aiScene void OpenGEXImporter::handleGeometryNode( DDLNode *node, aiScene *pScene ) { aiNode *newNode = new aiNode; pushNode( newNode, pScene ); + m_tokenType = Grammar::GeometryNodeToken; m_currentNode = newNode; handleNodes( node, pScene ); @@ -489,24 +504,25 @@ static void setMatrix( aiNode *node, DataArrayList *transformData ) { } node->mTransformation.a1 = m[ 0 ]; - node->mTransformation.a2 = m[ 1 ]; - node->mTransformation.a3 = m[ 2 ]; - node->mTransformation.a4 = m[ 3 ]; + node->mTransformation.a2 = m[ 4 ]; + node->mTransformation.a3 = m[ 8 ]; + node->mTransformation.a4 = m[ 12 ]; - node->mTransformation.b1 = m[ 4 ]; + node->mTransformation.b1 = m[ 1 ]; node->mTransformation.b2 = m[ 5 ]; - node->mTransformation.b3 = m[ 6 ]; - node->mTransformation.b4 = m[ 7 ]; + node->mTransformation.b3 = m[ 9 ]; + node->mTransformation.b4 = m[ 13 ]; - node->mTransformation.c1 = m[ 8 ]; - node->mTransformation.c2 = m[ 9 ]; + node->mTransformation.c1 = m[ 2 ]; + node->mTransformation.c2 = m[ 6 ]; node->mTransformation.c3 = m[ 10 ]; - node->mTransformation.c4 = m[ 11 ]; + node->mTransformation.c4 = m[ 14 ]; - node->mTransformation.d1 = m[ 12 ]; - node->mTransformation.d2 = m[ 13 ]; - node->mTransformation.d3 = m[ 14 ]; + node->mTransformation.d1 = m[ 3 ]; + node->mTransformation.d2 = m[ 7 ]; + node->mTransformation.d3 = m[ 11 ]; node->mTransformation.d4 = m[ 15 ]; + } //------------------------------------------------------------------------------------------------ @@ -658,7 +674,6 @@ void OpenGEXImporter::handleVertexArrayNode( ODDLParser::DDLNode *node, aiScene } const size_t numItems( countDataArrayListItems( vaList ) ); - Value *next( vaList->m_dataList ); if( Position == attribType ) { m_currentVertices.m_numVerts = numItems; m_currentVertices.m_vertices = new aiVector3D[ numItems ]; @@ -768,9 +783,8 @@ static ColorType getColorType( Identifier *id ) { void OpenGEXImporter::handleMaterialNode( ODDLParser::DDLNode *node, aiScene *pScene ) { m_currentMaterial = new aiMaterial; m_materialCache.push_back( m_currentMaterial ); - + m_tokenType = Grammar::MaterialToken; handleNodes( node, pScene ); - } //------------------------------------------------------------------------------------------------ @@ -802,7 +816,41 @@ void OpenGEXImporter::handleColorNode( ODDLParser::DDLNode *node, aiScene *pScen //------------------------------------------------------------------------------------------------ void OpenGEXImporter::handleTextureNode( ODDLParser::DDLNode *node, aiScene *pScene ) { + if( NULL == node ) { + return; + } + Property *prop = node->findPropertyByName( "attrib" ); + if( NULL != prop ) { + if( NULL != prop->m_value ) { + Value *val( node->getValue() ); + if( NULL != val ) { + aiString tex; + tex.Set( val->getString() ); + if( prop->m_value->getString() == Grammar::DiffuseTextureToken ) { + m_currentMaterial->AddProperty( &tex, AI_MATKEY_TEXTURE_DIFFUSE( 0 ) ); + } else if( prop->m_value->getString() == Grammar::SpecularPowerTextureToken ) { + m_currentMaterial->AddProperty( &tex, AI_MATKEY_TEXTURE_SPECULAR( 0 ) ); + + } else if( prop->m_value->getString() == Grammar::EmissionTextureToken ) { + m_currentMaterial->AddProperty( &tex, AI_MATKEY_TEXTURE_EMISSIVE( 0 ) ); + + } else if( prop->m_value->getString() == Grammar::OpacyTextureToken ) { + m_currentMaterial->AddProperty( &tex, AI_MATKEY_TEXTURE_OPACITY( 0 ) ); + + } else if( prop->m_value->getString() == Grammar::TransparencyTextureToken ) { + // ToDo! + // m_currentMaterial->AddProperty( &tex, AI_MATKEY_TEXTURE_DIFFUSE( 0 ) ); + } else if( prop->m_value->getString() == Grammar::NormalTextureToken ) { + m_currentMaterial->AddProperty( &tex, AI_MATKEY_TEXTURE_NORMALS( 0 ) ); + + } + else { + ai_assert( false ); + } + } + } + } } //------------------------------------------------------------------------------------------------ diff --git a/code/OpenGEXImporter.h b/code/OpenGEXImporter.h index ac72e8224..d187c4ac4 100644 --- a/code/OpenGEXImporter.h +++ b/code/OpenGEXImporter.h @@ -179,6 +179,7 @@ private: VertexContainer m_currentVertices; aiMesh *m_currentMesh; aiMaterial *m_currentMaterial; + int m_tokenType; std::vector m_materialCache; std::vector m_nodeStack; std::vector m_unresolvedRefStack; diff --git a/code/OptimizeGraph.cpp b/code/OptimizeGraph.cpp index d418655bf..22e27bfac 100644 --- a/code/OptimizeGraph.cpp +++ b/code/OptimizeGraph.cpp @@ -71,6 +71,10 @@ using namespace Assimp; // ------------------------------------------------------------------------------------------------ // Constructor to be privately used by Importer OptimizeGraphProcess::OptimizeGraphProcess() + : mScene() + , nodes_in() + , nodes_out() + , count_merged() {} // ------------------------------------------------------------------------------------------------ @@ -122,7 +126,7 @@ void OptimizeGraphProcess::CollectNewChildren(aiNode* nd, std::list& no ++it; } - if (nd->mNumMeshes || child_nodes.size()) { + if (nd->mNumMeshes || !child_nodes.empty()) { nodes.push_back(nd); } else { @@ -172,7 +176,7 @@ void OptimizeGraphProcess::CollectNewChildren(aiNode* nd, std::list& no } ++it; } - if (join_master && join.size()) { + if (join_master && !join.empty()) { join_master->mName.length = sprintf(join_master->mName.data,"$MergedNode_%i",count_merged++); unsigned int out_meshes = 0; @@ -221,7 +225,7 @@ void OptimizeGraphProcess::CollectNewChildren(aiNode* nd, std::list& no delete[] nd->mChildren; - if (child_nodes.size()) + if (!child_nodes.empty()) nd->mChildren = new aiNode*[child_nodes.size()]; else nd->mChildren = NULL; } @@ -331,7 +335,7 @@ void OptimizeGraphProcess::Execute( aiScene* pScene) if ( nodes_in != nodes_out) { char buf[512]; - sprintf(buf,"OptimizeGraphProcess finished; Input nodes: %i, Output nodes: %i",nodes_in,nodes_out); + sprintf(buf,"OptimizeGraphProcess finished; Input nodes: %u, Output nodes: %u",nodes_in,nodes_out); DefaultLogger::get()->info(buf); } else DefaultLogger::get()->debug("OptimizeGraphProcess finished"); diff --git a/code/OptimizeMeshes.cpp b/code/OptimizeMeshes.cpp index cbd5ea693..f17fb5a20 100644 --- a/code/OptimizeMeshes.cpp +++ b/code/OptimizeMeshes.cpp @@ -60,9 +60,10 @@ static const unsigned int DeadBeef = 0xdeadbeef; // ------------------------------------------------------------------------------------------------ // Constructor to be privately used by Importer OptimizeMeshesProcess::OptimizeMeshesProcess() -: pts (false) -, max_verts( NotSet ) -, max_faces( NotSet ) { + : mScene() + , pts(false) + , max_verts( NotSet ) + , max_faces( NotSet ) { // empty } @@ -149,7 +150,7 @@ void OptimizeMeshesProcess::Execute( aiScene* pScene) if (output.size() != num_old) { char tmp[512]; - ::sprintf(tmp,"OptimizeMeshesProcess finished. Input meshes: %i, Output meshes: %i",num_old,pScene->mNumMeshes); + ::sprintf(tmp,"OptimizeMeshesProcess finished. Input meshes: %u, Output meshes: %u",num_old,pScene->mNumMeshes); DefaultLogger::get()->info(tmp); } else { DefaultLogger::get()->debug( "OptimizeMeshesProcess finished" ); diff --git a/code/OptimizeMeshes.h b/code/OptimizeMeshes.h index 88e81629c..38c06e221 100644 --- a/code/OptimizeMeshes.h +++ b/code/OptimizeMeshes.h @@ -164,9 +164,6 @@ private: //! Per mesh info std::vector meshes; - //! Next output mesh - aiMesh* mesh; - //! Output meshes std::vector output; diff --git a/code/PlyExporter.cpp b/code/PlyExporter.cpp index 0a4c94a48..12e59f2b6 100644 --- a/code/PlyExporter.cpp +++ b/code/PlyExporter.cpp @@ -43,14 +43,14 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #if !defined(ASSIMP_BUILD_NO_EXPORT) && !defined(ASSIMP_BUILD_NO_PLY_EXPORTER) #include "PlyExporter.h" -#include +#include #include -#include "Exceptional.h" -#include "../include/assimp/scene.h" -#include "../include/assimp/version.h" -#include "../include/assimp/IOSystem.hpp" +#include "Exceptional.h" +#include "../include/assimp/scene.h" +#include "../include/assimp/version.h" +#include "../include/assimp/IOSystem.hpp" #include "../include/assimp/Exporter.hpp" -#include "qnan.h" +#include "qnan.h" using namespace Assimp; @@ -96,8 +96,7 @@ void ExportScenePlyBinary(const char* pFile, IOSystem* pIOSystem, const aiScene* // ------------------------------------------------------------------------------------------------ PlyExporter::PlyExporter(const char* _filename, const aiScene* pScene, bool binary) : filename(_filename) -, pScene(pScene) -, endl("\n") +, endl("\n") { // make sure that all formatting happens using the standard, C locale and not the user's current locale const std::locale& l = std::locale("C"); diff --git a/code/PlyExporter.h b/code/PlyExporter.h index ec20903d7..64649d7cc 100644 --- a/code/PlyExporter.h +++ b/code/PlyExporter.h @@ -78,7 +78,6 @@ private: private: const std::string filename; - const aiScene* const pScene; // obviously, this endl() doesn't flush() the stream const std::string endl; diff --git a/code/PretransformVertices.cpp b/code/PretransformVertices.cpp index 1c7a9a4e0..c98647c1a 100644 --- a/code/PretransformVertices.cpp +++ b/code/PretransformVertices.cpp @@ -644,7 +644,7 @@ void PretransformVertices::Execute( aiScene* pScene) { aiNode* pcNode = *nodes = new aiNode(); pcNode->mParent = pScene->mRootNode; - pcNode->mName.length = ::sprintf(pcNode->mName.data,"mesh_%i",i); + pcNode->mName.length = ::sprintf(pcNode->mName.data,"mesh_%u",i); // setup mesh indices pcNode->mNumMeshes = 1; @@ -656,7 +656,7 @@ void PretransformVertices::Execute( aiScene* pScene) { aiNode* pcNode = *nodes = new aiNode(); pcNode->mParent = pScene->mRootNode; - pcNode->mName.length = ::sprintf(pcNode->mName.data,"light_%i",i); + pcNode->mName.length = ::sprintf(pcNode->mName.data,"light_%u",i); pScene->mLights[i]->mName = pcNode->mName; } // generate camera nodes @@ -664,7 +664,7 @@ void PretransformVertices::Execute( aiScene* pScene) { aiNode* pcNode = *nodes = new aiNode(); pcNode->mParent = pScene->mRootNode; - pcNode->mName.length = ::sprintf(pcNode->mName.data,"cam_%i",i); + pcNode->mName.length = ::sprintf(pcNode->mName.data,"cam_%u",i); pScene->mCameras[i]->mName = pcNode->mName; } } @@ -707,15 +707,15 @@ void PretransformVertices::Execute( aiScene* pScene) DefaultLogger::get()->debug("PretransformVerticesProcess finished"); - sprintf(buffer,"Removed %i nodes and %i animation channels (%i output nodes)", + sprintf(buffer,"Removed %u nodes and %u animation channels (%u output nodes)", iOldNodes,iOldAnimationChannels,CountNodes(pScene->mRootNode)); DefaultLogger::get()->info(buffer); - sprintf(buffer,"Kept %i lights and %i cameras", + sprintf(buffer,"Kept %u lights and %u cameras", pScene->mNumLights,pScene->mNumCameras); DefaultLogger::get()->info(buffer); - sprintf(buffer,"Moved %i meshes to WCS (number of output meshes: %i)", + sprintf(buffer,"Moved %u meshes to WCS (number of output meshes: %u)", iOldMeshes,pScene->mNumMeshes); DefaultLogger::get()->info(buffer); } diff --git a/code/RemoveRedundantMaterials.cpp b/code/RemoveRedundantMaterials.cpp index 2c760db0c..d3dfb6cae 100644 --- a/code/RemoveRedundantMaterials.cpp +++ b/code/RemoveRedundantMaterials.cpp @@ -180,7 +180,7 @@ void RemoveRedundantMatsProcess::Execute( aiScene* pScene) if (ppcMaterials[idx]) { aiString sz; - sz.length = ::sprintf(sz.data,"JoinedMaterial_#%i",p); + sz.length = ::sprintf(sz.data,"JoinedMaterial_#%u",p); ((aiMaterial*)ppcMaterials[idx])->AddProperty(&sz,AI_MATKEY_NAME); } else @@ -207,7 +207,7 @@ void RemoveRedundantMatsProcess::Execute( aiScene* pScene) else { char szBuffer[128]; // should be sufficiently large - ::sprintf(szBuffer,"RemoveRedundantMatsProcess finished. Removed %i redundant and %i unused materials.", + ::sprintf(szBuffer,"RemoveRedundantMatsProcess finished. Removed %u redundant and %u unused materials.", redundantRemoved,unreferencedRemoved); DefaultLogger::get()->info(szBuffer); } diff --git a/code/RemoveVCProcess.cpp b/code/RemoveVCProcess.cpp index 2b551bacf..9fe4e8de2 100644 --- a/code/RemoveVCProcess.cpp +++ b/code/RemoveVCProcess.cpp @@ -54,7 +54,9 @@ using namespace Assimp; // ------------------------------------------------------------------------------------------------ // Constructor to be privately used by Importer -RemoveVCProcess::RemoveVCProcess() +RemoveVCProcess::RemoveVCProcess() : + configDeleteFlags() + , mScene() {} // ------------------------------------------------------------------------------------------------ diff --git a/code/SMDLoader.cpp b/code/SMDLoader.cpp index 31c8c4fda..78c33e8c2 100644 --- a/code/SMDLoader.cpp +++ b/code/SMDLoader.cpp @@ -208,7 +208,7 @@ void SMDImporter::InternReadFile( const std::string& pFile, aiScene* pScene, IOS void SMDImporter::LogErrorNoThrow(const char* msg) { char szTemp[1024]; - sprintf(szTemp,"Line %i: %s",iLineNumber,msg); + sprintf(szTemp,"Line %u: %s",iLineNumber,msg); DefaultLogger::get()->error(szTemp); } @@ -218,7 +218,7 @@ void SMDImporter::LogWarning(const char* msg) { char szTemp[1024]; ai_assert(strlen(msg) < 1000); - sprintf(szTemp,"Line %i: %s",iLineNumber,msg); + sprintf(szTemp,"Line %u: %s",iLineNumber,msg); DefaultLogger::get()->warn(szTemp); } @@ -647,7 +647,7 @@ void SMDImporter::CreateOutputMaterials() pScene->mMaterials[iMat] = pcMat; aiString szName; - szName.length = (size_t)::sprintf(szName.data,"Texture_%i",iMat); + szName.length = (size_t)::sprintf(szName.data,"Texture_%u",iMat); pcMat->AddProperty(&szName,AI_MATKEY_NAME); if (aszTextures[iMat].length()) diff --git a/code/STEPFileReader.cpp b/code/STEPFileReader.cpp index 113ab50a1..d7780e317 100644 --- a/code/STEPFileReader.cpp +++ b/code/STEPFileReader.cpp @@ -46,7 +46,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include "STEPFileReader.h" #include "STEPFileEncoding.h" #include "TinyFormatter.h" -#include "fast_atof.h" +#include "fast_atof.h" #include @@ -55,28 +55,6 @@ namespace EXPRESS = STEP::EXPRESS; #include -// ------------------------------------------------------------------------------------------------ -// From http://stackoverflow.com/questions/216823/whats-the-best-way-to-trim-stdstring - -// trim from start -static inline std::string <rim(std::string &s) { - s.erase(s.begin(), std::find_if(s.begin(), s.end(), std::not1( std::ptr_fun(Assimp::IsSpace)))); - return s; -} - -// trim from end -static inline std::string &rtrim(std::string &s) { - s.erase(std::find_if(s.rbegin(), s.rend(), std::not1( std::ptr_fun(Assimp::IsSpace))).base(),s.end()); - return s; -} -// trim from both ends -static inline std::string &trim(std::string &s) { - return ltrim(rtrim(s)); -} - - - - // ------------------------------------------------------------------------------------------------ std::string AddLineNumber(const std::string& s,uint64_t line /*= LINE_NOT_SPECIFIED*/, const std::string& prefix = "") { diff --git a/code/STLExporter.cpp b/code/STLExporter.cpp index 1bc631ef7..f1ac8a53c 100644 --- a/code/STLExporter.cpp +++ b/code/STLExporter.cpp @@ -43,13 +43,13 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #if !defined(ASSIMP_BUILD_NO_EXPORT) && !defined(ASSIMP_BUILD_NO_STL_EXPORTER) #include "STLExporter.h" -#include "../include/assimp/version.h" -#include "../include/assimp/IOSystem.hpp" -#include "../include/assimp/scene.h" -#include "../include/assimp/Exporter.hpp" -#include -#include "Exceptional.h" -#include "ByteSwapper.h" +#include "../include/assimp/version.h" +#include "../include/assimp/IOSystem.hpp" +#include "../include/assimp/scene.h" +#include "../include/assimp/Exporter.hpp" +#include +#include "Exceptional.h" +#include "ByteSwapper.h" using namespace Assimp; namespace Assimp { @@ -75,7 +75,7 @@ void ExportSceneSTLBinary(const char* pFile,IOSystem* pIOSystem, const aiScene* STLExporter exporter(pFile, pScene, true); // we're still here - export successfully completed. Write the file. - boost::scoped_ptr outfile (pIOSystem->Open(pFile,"wt")); + boost::scoped_ptr outfile (pIOSystem->Open(pFile,"wb")); if(outfile == NULL) { throw DeadlyExportError("could not open output .stl file: " + std::string(pFile)); } @@ -89,8 +89,7 @@ void ExportSceneSTLBinary(const char* pFile,IOSystem* pIOSystem, const aiScene* // ------------------------------------------------------------------------------------------------ STLExporter :: STLExporter(const char* _filename, const aiScene* pScene, bool binary) : filename(_filename) -, pScene(pScene) -, endl("\n") +, endl("\n") { // make sure that all formatting happens using the standard, C locale and not the user's current locale const std::locale& l = std::locale("C"); diff --git a/code/STLExporter.h b/code/STLExporter.h index 3284650c3..de7fce43e 100644 --- a/code/STLExporter.h +++ b/code/STLExporter.h @@ -75,7 +75,6 @@ private: private: const std::string filename; - const aiScene* const pScene; // this endl() doesn't flush() the stream const std::string endl; diff --git a/code/SortByPTypeProcess.cpp b/code/SortByPTypeProcess.cpp index 096b3fcf1..34bb830fd 100644 --- a/code/SortByPTypeProcess.cpp +++ b/code/SortByPTypeProcess.cpp @@ -397,11 +397,11 @@ void SortByPTypeProcess::Execute( aiScene* pScene) if (!DefaultLogger::isNullLogger()) { char buffer[1024]; - ::sprintf(buffer,"Points: %i%s, Lines: %i%s, Triangles: %i%s, Polygons: %i%s (Meshes, X = removed)", - aiNumMeshesPerPType[0], (configRemoveMeshes & aiPrimitiveType_POINT ? "X" : ""), - aiNumMeshesPerPType[1], (configRemoveMeshes & aiPrimitiveType_LINE ? "X" : ""), - aiNumMeshesPerPType[2], (configRemoveMeshes & aiPrimitiveType_TRIANGLE ? "X" : ""), - aiNumMeshesPerPType[3], (configRemoveMeshes & aiPrimitiveType_POLYGON ? "X" : "")); + ::sprintf(buffer,"Points: %u%s, Lines: %u%s, Triangles: %u%s, Polygons: %u%s (Meshes, X = removed)", + aiNumMeshesPerPType[0], ((configRemoveMeshes & aiPrimitiveType_POINT) ? "X" : ""), + aiNumMeshesPerPType[1], ((configRemoveMeshes & aiPrimitiveType_LINE) ? "X" : ""), + aiNumMeshesPerPType[2], ((configRemoveMeshes & aiPrimitiveType_TRIANGLE) ? "X" : ""), + aiNumMeshesPerPType[3], ((configRemoveMeshes & aiPrimitiveType_POLYGON) ? "X" : "")); DefaultLogger::get()->info(buffer); DefaultLogger::get()->debug("SortByPTypeProcess finished"); } diff --git a/code/StepExporter.cpp b/code/StepExporter.cpp index 0ce273313..58e0aa69e 100644 --- a/code/StepExporter.cpp +++ b/code/StepExporter.cpp @@ -115,21 +115,6 @@ void ExportSceneStep(const char* pFile,IOSystem* pIOSystem, const aiScene* pScen namespace { - inline uint64_t toIndexHash(int32_t id1, int32_t id2) - { - // dont wonder that -1/-1 -> hash=-1 - uint64_t hash = (uint32_t) id1; - hash = (hash << 32); - hash += (uint32_t) id2; - return hash; - } - - inline void fromIndexHash(uint64_t hash, int32_t &id1, int32_t &id2) - { - id1 = (hash & 0xFFFFFFFF00000000) >> 32; - id2 = (hash & 0xFFFFFFFF); - } - // Collect world transformations for each node void CollectTrafos(const aiNode* node, std::map& trafos) { const aiMatrix4x4& parent = node->mParent ? trafos[node->mParent] : aiMatrix4x4(); @@ -152,7 +137,7 @@ namespace { // ------------------------------------------------------------------------------------------------ // Constructor for a specific scene to export -StepExporter::StepExporter(const aiScene* pScene, IOSystem* pIOSystem, const std::string& path, const std::string& file, const ExportProperties* pProperties) : mIOSystem(pIOSystem), mPath(path), mFile(file), mProperties(pProperties) +StepExporter::StepExporter(const aiScene* pScene, IOSystem* pIOSystem, const std::string& path, const std::string& file, const ExportProperties* pProperties) : mProperties(pProperties), mIOSystem(pIOSystem), mFile(file), mPath(path), mScene(pScene), endstr(";\n") { CollectTrafos(pScene->mRootNode, trafos); CollectMeshes(pScene->mRootNode, meshes); @@ -160,11 +145,6 @@ StepExporter::StepExporter(const aiScene* pScene, IOSystem* pIOSystem, const std // make sure that all formatting happens using the standard, C locale and not the user's current locale mOutput.imbue( std::locale("C") ); - mScene = pScene; - - // set up strings - endstr = ";\n"; - // start writing WriteFile(); } @@ -271,7 +251,7 @@ void StepExporter::WriteFile() mOutput << "))" << endstr; // write all the unique transformed CARTESIAN and VERTEX - for (MeshesByNodeMap::const_iterator it2 = meshes.begin(); it2 != meshes.end(); it2++) + for (MeshesByNodeMap::const_iterator it2 = meshes.begin(); it2 != meshes.end(); ++it2) { const aiNode& node = *(*it2).first; unsigned int mesh_idx = (*it2).second; diff --git a/code/TextureTransform.cpp b/code/TextureTransform.cpp index 98e1becb9..29257404d 100644 --- a/code/TextureTransform.cpp +++ b/code/TextureTransform.cpp @@ -54,7 +54,8 @@ using namespace Assimp; // ------------------------------------------------------------------------------------------------ // Constructor to be privately used by Importer -TextureTransformStep::TextureTransformStep() +TextureTransformStep::TextureTransformStep() : + configFlags() { // nothing to do here } diff --git a/code/UnrealLoader.cpp b/code/UnrealLoader.cpp index 163af55a4..19b42b196 100644 --- a/code/UnrealLoader.cpp +++ b/code/UnrealLoader.cpp @@ -377,7 +377,7 @@ void UnrealImporter::InternReadFile( const std::string& pFile, aiColor3D color(1.f,1.f,1.f); aiString s; - ::sprintf(s.data,"mat%i_tx%i_",i,materials[i].tex); + ::sprintf(s.data,"mat%u_tx%u_",i,materials[i].tex); // set the two-sided flag if (materials[i].type == Unreal::MF_NORMAL_TS) { diff --git a/code/ValidateDataStructure.cpp b/code/ValidateDataStructure.cpp index 98d16be5e..2a2e1a0d6 100644 --- a/code/ValidateDataStructure.cpp +++ b/code/ValidateDataStructure.cpp @@ -60,7 +60,8 @@ using namespace Assimp; // ------------------------------------------------------------------------------------------------ // Constructor to be privately used by Importer -ValidateDSProcess::ValidateDSProcess() +ValidateDSProcess::ValidateDSProcess() : + mScene() {} // ------------------------------------------------------------------------------------------------ @@ -690,8 +691,7 @@ void ValidateDSProcess::Validate( const aiMaterial* pMaterial) if (aiPTI_String == prop->mType) { // FIX: strings are now stored in a less expensive way, but we can't use the // validation routine for 'normal' aiStrings - uint32_t len; - if (prop->mDataLength < 5 || prop->mDataLength < 4 + (len=*reinterpret_cast(prop->mData)) + 1) { + if (prop->mDataLength < 5 || prop->mDataLength < 4 + (*reinterpret_cast(prop->mData)) + 1) { ReportError("aiMaterial::mProperties[%i].mDataLength is " "too small to contain a string (%i, needed: %i)", i,prop->mDataLength,sizeof(aiString)); diff --git a/code/XFileExporter.cpp b/code/XFileExporter.cpp index 276b309dd..278bf12a8 100644 --- a/code/XFileExporter.cpp +++ b/code/XFileExporter.cpp @@ -95,17 +95,18 @@ void ExportSceneXFile(const char* pFile,IOSystem* pIOSystem, const aiScene* pSce // ------------------------------------------------------------------------------------------------ // Constructor for a specific scene to export -XFileExporter::XFileExporter(const aiScene* pScene, IOSystem* pIOSystem, const std::string& path, const std::string& file, const ExportProperties* pProperties) : mIOSystem(pIOSystem), mPath(path), mFile(file), mProperties(pProperties) +XFileExporter::XFileExporter(const aiScene* pScene, IOSystem* pIOSystem, const std::string& path, const std::string& file, const ExportProperties* pProperties) + : mProperties(pProperties), + mIOSystem(pIOSystem), + mPath(path), + mFile(file), + mScene(pScene), + mSceneOwned(false), + endstr("\n") { // make sure that all formatting happens using the standard, C locale and not the user's current locale mOutput.imbue( std::locale("C") ); - mScene = pScene; - mSceneOwned = false; - - // set up strings - endstr = "\n"; - // start writing WriteFile(); } diff --git a/code/assbin_chunks.h b/code/assbin_chunks.h index 1c3255fbe..7612601c5 100644 --- a/code/assbin_chunks.h +++ b/code/assbin_chunks.h @@ -47,7 +47,7 @@ in <root>/tools/assimp_cmd/WriteDumb.cpp (yes, the 'b' is no typo ------------------------------------------------------------------------------- ---------------------- -| Header (500 bytes) | +| Header (512 bytes) | ---------------------- | Variable chunks | ---------------------- @@ -100,11 +100,12 @@ byte[64] Reserved for future use integer Magic chunk ID (ASSBIN_CHUNK_XXX) integer Chunk data length, in bytes (unknown chunks are possible, a good reader skips over them) + (chunk-data-length does not include the first two integers) -byte[n] length-of-chunk bytes of data, depending on the chunk type +byte[n] chunk-data-length bytes of data, depending on the chunk type Chunks can contain nested chunks. Nested chunks are ALWAYS at the end of the chunk, -their size is included in length-of-chunk. +their size is included in chunk-data-length. The chunk layout for all ASSIMP data structures is derived from their C declarations. The general 'rule' to get from Assimp headers to the serialized layout is: @@ -133,14 +134,14 @@ The general 'rule' to get from Assimp headers to the serialized layout is: [number of used uv channels times] integer mNumUVComponents[n] - float mTextureCoords[n][mNumUVComponents[n]] + float mTextureCoords[n][3] -> more than AI_MAX_TEXCOORD_CHANNELS can be stored. This allows Assimp builds with different settings for AI_MAX_TEXCOORD_CHANNELS to exchange - data. Unlike the in-memory format, only the used components of the - UV coordinates are written to disk. If mNumUVComponents[0] is 1, the - corresponding mTextureCoords array consists of mNumTextureCoords*1 - single floats. + data. + -> the on-disk format always uses 3 floats to write UV coordinates. + If mNumUVComponents[0] is 1, the corresponding mTextureCoords array + consists of 3 floats. - The array member block of aiMesh is prefixed with an integer that specifies the kinds of vertex components actually present in the mesh. This is a diff --git a/contrib/openddlparser/code/Value.cpp b/contrib/openddlparser/code/Value.cpp index 39f4c32b7..78ae00c92 100644 --- a/contrib/openddlparser/code/Value.cpp +++ b/contrib/openddlparser/code/Value.cpp @@ -27,8 +27,42 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. BEGIN_ODDLPARSER_NS -Value::Value() -: m_type( ddl_none ) +Value::Iterator::Iterator() +: m_start( ddl_nullptr ) +, m_current( ddl_nullptr ) { + // empty +} + +Value::Iterator::Iterator( Value *start ) +: m_start( start ) +, m_current( start ) { + // empty +} + +Value::Iterator::~Iterator() { + // empty +} + +bool Value::Iterator::hasNext() const { + if( ddl_nullptr == m_current ) { + return false; + } + return ( ddl_nullptr != m_current->getNext() ); +} + +Value *Value::Iterator::getNext() { + if( !hasNext() ) { + return ddl_nullptr; + } + + Value *v( m_current->getNext() ); + m_current = v; + + return v; +} + +Value::Value( ValueType type ) +: m_type( type ) , m_size( 0 ) , m_data( ddl_nullptr ) , m_next( ddl_nullptr ) { @@ -46,7 +80,7 @@ void Value::setBool( bool value ) { bool Value::getBool() { assert( ddl_bool == m_type ); - return ( bool ) ( *m_data ); + return ( *m_data ) ? true : false; } void Value::setInt8( int8 value ) { @@ -101,12 +135,11 @@ uint8 Value::getUnsignedInt8() const { void Value::setUnsignedInt16( uint16 value ) { assert( ddl_unsigned_int16 == m_type ); ::memcpy( m_data, &value, m_size ); - } + uint16 Value::getUnsignedInt16() const { assert( ddl_unsigned_int16 == m_type ); return ( uint8 ) ( *m_data ); - } void Value::setUnsignedInt32( uint32 value ) { @@ -135,9 +168,15 @@ void Value::setFloat( float value ) { } float Value::getFloat() const { - float v; - ::memcpy( &v, m_data, m_size ); - return v; + if( m_type == ddl_float ) { + float v; + ::memcpy( &v, m_data, m_size ); + return ( float ) v; + } else { + float tmp; + ::memcpy( &tmp, m_data, 4 ); + return ( float ) tmp; + } } void Value::setDouble( double value ) { @@ -225,7 +264,7 @@ Value *ValueAllocator::allocPrimData( Value::ValueType type, size_t len ) { return ddl_nullptr; } - Value *data = new Value; + Value *data = new Value( type ); data->m_type = type; switch( type ) { case Value::ddl_bool: @@ -241,7 +280,7 @@ Value *ValueAllocator::allocPrimData( Value::ValueType type, size_t len ) { data->m_size = sizeof( int ); break; case Value::ddl_int64: - data->m_size = sizeof( long ); + data->m_size = sizeof( int64 ); break; case Value::ddl_unsigned_int8: data->m_size = sizeof( unsigned char ); @@ -250,7 +289,7 @@ Value *ValueAllocator::allocPrimData( Value::ValueType type, size_t len ) { data->m_size = sizeof( unsigned int ); break; case Value::ddl_unsigned_int64: - data->m_size = sizeof( unsigned long ); + data->m_size = sizeof( uint64 ); break; case Value::ddl_half: data->m_size = sizeof( short ); diff --git a/contrib/openddlparser/include/openddlparser/DDLNode.h b/contrib/openddlparser/include/openddlparser/DDLNode.h index 5ecf41e9a..8fce95f53 100644 --- a/contrib/openddlparser/include/openddlparser/DDLNode.h +++ b/contrib/openddlparser/include/openddlparser/DDLNode.h @@ -21,8 +21,6 @@ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -----------------------------------------------------------------------------------------------*/ #pragma once -#ifndef OPENDDLPARSER_DDLNODE_H_INC -#define OPENDDLPARSER_DDLNODE_H_INC #include @@ -39,32 +37,104 @@ struct Reference; struct Property; struct DataArrayList; +/// +/// @ingroup OpenDDLParser +/// @brief This class represents one single instance in the object tree of the parsed OpenDDL-file. +/// +/// A DDLNode represents one leaf in the OpenDDL-node tree. It can have one parent node and multiple children. +/// You can assign special properties to a single DDLNode instance. +/// A node instance can store values via a linked list. You can get the first value from the DDLNode. +/// A node can store data-array-lists and references as well. +/// class DLL_ODDLPARSER_EXPORT DDLNode { public: friend class OpenDDLParser; + /// @brief The child-node-list type. typedef std::vector DllNodeList; public: + /// @brief The class destructor. ~DDLNode(); + + /// @brief Will attach a parent node instance, an older one will be released. + /// @param parent [in] The parent node instance. void attachParent( DDLNode *parent ); + + /// @brief Will try to detach a parent node instance, if there is any. void detachParent(); + + /// @brief Returns the assigned parent node instance, will return ddl_nullptr id no parent is assigned. + /// @return The parent node instance. DDLNode *getParent() const; + + /// @brief Returns the child node list. + /// @return The list of child nodes. const DllNodeList &getChildNodeList() const; - void setType( const std::string &name ); + + /// Set the type of the DDLNode instance. + /// @param type [in] The type. + void setType( const std::string &type ); + + /// @brief Returns the type of the DDLNode instance. + /// @return The type of the DDLNode instance. const std::string &getType() const; + + /// Set the name of the DDLNode instance. + /// @param type [in] The name. void setName( const std::string &name ); + + /// @brief Returns the name of the DDLNode instance. + /// @return The name of the DDLNode instance. const std::string &getName() const; + + /// @brief Set a new property set. + /// @param prop [in] The first element of the property set. void setProperties( Property *prop ); + + /// @brief Returns the first element of the assigned property set. + /// @return The first property of the assigned property set. Property *getProperties() const; + + /// @brief Looks for a given property. + /// @param name [in] The name for the property to look for. + /// @return true, if a corresponding property is assigned to the node, false if not. bool hasProperty( const std::string &name ); + + /// @brief Search for a given property and returns it. Will return ddl_nullptr if no property was found. + /// @param name [in] The name for the property to look for. + /// @return The property or ddl_nullptr if no property was found. Property *findPropertyByName( const std::string &name ); + + /// @brief Set a new value set. + /// @param val [in] The first value instance of the value set. void setValue( Value *val ); + + /// @brief Returns the first element of the assigned value set. + /// @return The first property of the assigned value set. Value *getValue() const; - void setDataArrayList( DataArrayList *dtArrayList ); + + /// @brief Set a new DataArrayList. + /// @param val [in] The DataArrayList instance. + void setDataArrayList( DataArrayList *dtArrayList ); + + /// @brief Returns the DataArrayList. + /// @return The DataArrayList. DataArrayList *getDataArrayList() const; + + /// @brief Set a new Reference set. + /// @param val [in] The first value instance of the Reference set. void setReferences( Reference *refs ); + + /// @brief Returns the first element of the assigned Reference set. + /// @return The first property of the assigned Reference set. Reference *getReferences() const; + + /// @brief The creation method. + /// @param type [in] The DDLNode type. + /// @param name [in] The name for the new DDLNode instance. + /// @param parent [in] The parent node instance or ddl_nullptr if no parent node is there. + /// @return The new created node instance. static DDLNode *create( const std::string &type, const std::string &name, DDLNode *parent = ddl_nullptr ); private: @@ -88,5 +158,3 @@ private: }; END_ODDLPARSER_NS - -#endif // OPENDDLPARSER_DDLNODE_H_INC diff --git a/contrib/openddlparser/include/openddlparser/OpenDDLCommon.h b/contrib/openddlparser/include/openddlparser/OpenDDLCommon.h index a9c7716cf..e5fe77777 100644 --- a/contrib/openddlparser/include/openddlparser/OpenDDLCommon.h +++ b/contrib/openddlparser/include/openddlparser/OpenDDLCommon.h @@ -21,14 +21,15 @@ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -----------------------------------------------------------------------------------------------*/ #pragma once -#ifndef OPENDDLPARSER_OPENDDLPARSERCOMMON_H_INC -#define OPENDDLPARSER_OPENDDLPARSERCOMMON_H_INC #include #include #include #include +#ifndef _WIN32 +# include +#endif #ifdef _MSC_VER # define TAG_DLL_EXPORT __declspec(dllexport) @@ -43,15 +44,19 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. # define DLL_ODDLPARSER_EXPORT #endif // _WIN32 +// Namespace declarations, override this to avoid any conflicts #define BEGIN_ODDLPARSER_NS namespace ODDLParser { #define END_ODDLPARSER_NS } // namespace ODDLParser #define USE_ODDLPARSER_NS using namespace ODDLParser; BEGIN_ODDLPARSER_NS +// We will use C++11 optional #ifndef OPENDDL_NO_USE_CPP11 + // All C++11 constructs # define ddl_nullptr nullptr #else + // Fallback for older compilers # define ddl_nullptr NULL #endif // OPENDDL_NO_USE_CPP11 @@ -64,20 +69,31 @@ struct Reference; struct Property; struct DataArrayList; -typedef char int8; -typedef short int16; -typedef int int32; -typedef long int64; -typedef unsigned char uint8; -typedef unsigned short uint16; -typedef unsigned int uint32; -typedef unsigned long uint64; +#ifdef _WIN32 +typedef signed __int64 int64_impl; +typedef unsigned __int64 uint64_impl; +#else +typedef int64_t int64_impl; +typedef uint64_t uint64_impl; +#endif +// OpenDDL-specific data typedefs +typedef signed char int8; ///< Signed integer, 1 byte +typedef signed short int16; ///< Signed integer, 2 byte +typedef signed int int32; ///< Signed integer, 4 byte +typedef int64_impl int64; ///< Signed integer, 8 byte +typedef unsigned char uint8; ///< Unsigned integer, 1 byte +typedef unsigned short uint16; ///< Unsigned integer, 2 byte +typedef unsigned int uint32; ///< Unsigned integer, 4 byte +typedef uint64_impl uint64; ///< Unsigned integer, 8 byte + +/// @brief Description of the type of a name. enum NameType { - GlobalName, - LocalName + GlobalName, ///< Name is global. + LocalName ///< Name is local. }; +/// @brief Stores a text struct Text { size_t m_capacity; size_t m_len; @@ -117,8 +133,8 @@ struct Text { return false; } const int res( strncmp( m_buffer, name.c_str(), name.size() ) ); + return ( 0 == res ); - } bool operator == ( const Text &rhs ) const { @@ -126,7 +142,8 @@ struct Text { return false; } - const int res ( strncmp( m_buffer, rhs.m_buffer, m_len ) ); + const int res( strncmp( m_buffer, rhs.m_buffer, m_len ) ); + return ( 0 == res ); } @@ -135,6 +152,7 @@ private: Text &operator = ( const Text & ); }; +/// @brief Stores an OpenDDL-specific identifier type. struct Identifier { Text m_text; @@ -157,6 +175,7 @@ private: Identifier &operator = ( const Identifier & ); }; +/// @brief Stores an OpenDDL-specific name struct Name { NameType m_type; Identifier *m_id; @@ -172,6 +191,7 @@ private: Name &operator = ( const Name& ); }; +/// @brief Stores a bundle of references. struct Reference { size_t m_numRefs; Name **m_referencedName; @@ -192,11 +212,20 @@ struct Reference { } } + ~Reference() { + for( size_t i = 0; i < m_numRefs; i++ ) { + delete m_referencedName[ i ]; + } + m_numRefs = 0; + m_referencedName = ddl_nullptr; + } + private: Reference( const Reference & ); Reference &operator = ( const Reference & ); }; +/// @brief Stores a property list. struct Property { Identifier *m_key; Value *m_value; @@ -204,18 +233,26 @@ struct Property { Property *m_next; Property( Identifier *id ) - : m_key( id ) - , m_value( ddl_nullptr ) - , m_ref( ddl_nullptr ) - , m_next( ddl_nullptr ) { + : m_key( id ) + , m_value( ddl_nullptr ) + , m_ref( ddl_nullptr ) + , m_next( ddl_nullptr ) { // empty } + ~Property() { + m_key = ddl_nullptr; + m_value = ddl_nullptr; + m_ref = ddl_nullptr;; + m_next = ddl_nullptr;; + } + private: Property( const Property & ); Property &operator = ( const Property & ); }; +/// @brief Stores a data array list. struct DataArrayList { size_t m_numItems; Value *m_dataList; @@ -231,9 +268,9 @@ struct DataArrayList { private: DataArrayList( const DataArrayList & ); DataArrayList &operator = ( const DataArrayList & ); - }; +/// @brief Stores the context of a parsed OpenDDL declaration. struct Context { DDLNode *m_root; @@ -242,12 +279,13 @@ struct Context { // empty } + ~Context() { + m_root = ddl_nullptr; + } + private: Context( const Context & ); Context &operator = ( const Context & ); }; END_ODDLPARSER_NS - -#endif // OPENDDLPARSER_OPENDDLPARSERCOMMON_H_INC - diff --git a/contrib/openddlparser/include/openddlparser/OpenDDLParser.h b/contrib/openddlparser/include/openddlparser/OpenDDLParser.h index 3ba68370f..607dcf90c 100644 --- a/contrib/openddlparser/include/openddlparser/OpenDDLParser.h +++ b/contrib/openddlparser/include/openddlparser/OpenDDLParser.h @@ -21,8 +21,6 @@ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -----------------------------------------------------------------------------------------------*/ #pragma once -#ifndef OPENDDLPARSER_OPENDDLPARSER_H_INC -#define OPENDDLPARSER_OPENDDLPARSER_H_INC #include #include @@ -127,5 +125,3 @@ private: }; END_ODDLPARSER_NS - -#endif // OPENDDLPARSER_OPENDDLPARSER_H_INC diff --git a/contrib/openddlparser/include/openddlparser/OpenDDLParserUtils.h b/contrib/openddlparser/include/openddlparser/OpenDDLParserUtils.h index 3e8455bcc..8572a37ed 100644 --- a/contrib/openddlparser/include/openddlparser/OpenDDLParserUtils.h +++ b/contrib/openddlparser/include/openddlparser/OpenDDLParserUtils.h @@ -21,8 +21,6 @@ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -----------------------------------------------------------------------------------------------*/ #pragma once -#ifndef OPENDDLPARSER_OPENDDLPARSERUTILS_H_INC -#define OPENDDLPARSER_OPENDDLPARSERUTILS_H_INC #include @@ -124,7 +122,6 @@ bool isInteger( T *in, T *end ) { bool result( false ); while( isNotEndOfToken( in, end ) ) { - //while( '}' != *in && ',' != *in && !isSpace( *in ) && in != end ) { result = isNumeric( *in ); if( !result ) { break; @@ -147,8 +144,6 @@ bool isFloat( T *in, T *end ) { // check for <1>.0f bool result( false ); while( isNotEndOfToken( in, end ) ) { - -// while( !isSpace( *in ) && in != end ) { if( *in == '.' ) { result = true; break; @@ -169,8 +164,6 @@ bool isFloat( T *in, T *end ) { // check for 1.<0>f while( isNotEndOfToken( in, end ) ) { - -// while( !isSpace( *in ) && in != end && *in != ',' && *in != '}' ) { result = isNumeric( *in ); if( !result ) { return false; @@ -257,5 +250,3 @@ int hex2Decimal( char in ) { } END_ODDLPARSER_NS - -#endif // OPENDDLPARSER_OPENDDLPARSERUTILS_H_INC diff --git a/contrib/openddlparser/include/openddlparser/Value.h b/contrib/openddlparser/include/openddlparser/Value.h index bb974fb74..fc8cc1ee1 100644 --- a/contrib/openddlparser/include/openddlparser/Value.h +++ b/contrib/openddlparser/include/openddlparser/Value.h @@ -21,8 +21,6 @@ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -----------------------------------------------------------------------------------------------*/ #pragma once -#ifndef OPENDDLPARSER_VALUE_H_INC -#define OPENDDLPARSER_VALUE_H_INC #include @@ -30,6 +28,8 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. BEGIN_ODDLPARSER_NS +struct ValueAllocator; + ///------------------------------------------------------------------------------------------------ /// @brief This class implements a value. /// @@ -38,7 +38,49 @@ BEGIN_ODDLPARSER_NS /// Values can be single items or lists of items. They are implemented as linked lists. ///------------------------------------------------------------------------------------------------ class DLL_ODDLPARSER_EXPORT Value { + friend struct ValueAllocator; + public: + /// @brief This class implements an iterator through a Value list. + /// + /// When getting a new value you need to know how to iterate through it. The Value::Iterator + /// will help you here: + /// @code + /// Value *val = node->getValue(); + /// Value::Iterator it( val ); + /// while( it.hasNext() ) { + /// Value v( it.getNext ); + /// } + /// @endcode + class DLL_ODDLPARSER_EXPORT Iterator { + public: + /// @brief The default class constructor. + Iterator(); + + /// @brief The class constructor with the start value. + /// @param start [in] The first value for iteration, + Iterator( Value *start ); + + /// @brief The class destructor. + ~Iterator(); + + /// @brief Will return true, if another value is in the list. + /// @return true if another value is there. + bool hasNext() const; + + /// @brief Returns the next item and moves the iterator to it. + /// @return The next value, is ddl_nullptr in case of being the last item. + Value *getNext(); + + private: + Value *m_start; + Value *m_current; + + private: + Iterator( const Iterator & ); + Iterator &operator = ( const Iterator & ); + }; + /// @brief This enum describes the data type stored in the value. enum ValueType { ddl_none = -1, ///< Nothing specified @@ -59,7 +101,7 @@ public: ddl_types_max }; - Value(); + Value( ValueType type ); ~Value(); void setBool( bool value ); bool getBool(); @@ -101,5 +143,3 @@ struct DLL_ODDLPARSER_EXPORT ValueAllocator { }; END_ODDLPARSER_NS - -#endif // OPENDDLPARSER_VALUE_H_INC diff --git a/include/assimp/Exporter.hpp b/include/assimp/Exporter.hpp index fb890129e..4e5a1131a 100644 --- a/include/assimp/Exporter.hpp +++ b/include/assimp/Exporter.hpp @@ -109,7 +109,14 @@ public: mEnforcePP = pEnforcePP; } - ExportFormatEntry() : mExportFunction(), mEnforcePP() {} + ExportFormatEntry() : + mExportFunction() + , mEnforcePP() + { + mDescription.id = NULL; + mDescription.description = NULL; + mDescription.fileExtension = NULL; + } }; diff --git a/include/assimp/cimport.h b/include/assimp/cimport.h index 6e85882d1..3dc95c00b 100644 --- a/include/assimp/cimport.h +++ b/include/assimp/cimport.h @@ -45,6 +45,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #ifndef AI_ASSIMP_H_INC #define AI_ASSIMP_H_INC #include "types.h" +#include #ifdef __cplusplus extern "C" { @@ -539,7 +540,20 @@ ASSIMP_API void aiIdentityMatrix3( ASSIMP_API void aiIdentityMatrix4( C_STRUCT aiMatrix4x4* mat); +// -------------------------------------------------------------------------------- +/** Returns the number of import file formats available in the current Assimp build. + * Use aiGetImportFormatDescription() to retrieve infos of a specific import format. + */ +ASSIMP_API size_t aiGetImportFormatCount(void); +// -------------------------------------------------------------------------------- +/** Returns a description of the nth import file format. Use #aiGetImportFormatCount() + * to learn how many import formats are supported. + * @param pIndex Index of the import format to retrieve information for. Valid range is + * 0 to #aiGetImportFormatCount() + * @return A description of that specific import format. NULL if pIndex is out of range. + */ +ASSIMP_API const C_STRUCT aiImporterDesc* aiGetImportFormatDescription( size_t pIndex); #ifdef __cplusplus } #endif diff --git a/include/assimp/defs.h b/include/assimp/defs.h index 6b8ac3416..c21b3cf2b 100644 --- a/include/assimp/defs.h +++ b/include/assimp/defs.h @@ -209,7 +209,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #if (defined(__BORLANDC__) || defined (__BCPLUSPLUS__)) #error Currently, Borland is unsupported. Feel free to port Assimp. -// "W8059 Packgröße der Struktur geändert" +// "W8059 Packgr��e der Struktur ge�ndert" #endif ////////////////////////////////////////////////////////////////////////// @@ -257,8 +257,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #define AI_MATH_HALF_PI_F (AI_MATH_PI_F * 0.5f) /* Tiny macro to convert from radians to degrees and back */ -#define AI_DEG_TO_RAD(x) (x*0.0174532925f) -#define AI_RAD_TO_DEG(x) (x*57.2957795f) +#define AI_DEG_TO_RAD(x) ((x)*0.0174532925f) +#define AI_RAD_TO_DEG(x) ((x)*57.2957795f) /* Support for big-endian builds */ #if defined(__BYTE_ORDER__) diff --git a/include/assimp/importerdesc.h b/include/assimp/importerdesc.h index e61112a17..a7bbb4da1 100644 --- a/include/assimp/importerdesc.h +++ b/include/assimp/importerdesc.h @@ -138,6 +138,6 @@ Will return a NULL-pointer if no assigned importer desc. was found for the given \param extension [in] The extension to look for \return A pointer showing to the ImporterDesc, \see aiImporterDesc. */ -ASSIMP_API C_STRUCT const aiImporterDesc* aiGetImporterDesc( const char *extension ); +ASSIMP_API const C_STRUCT aiImporterDesc* aiGetImporterDesc( const char *extension ); #endif diff --git a/port/Assimp.NET/Assimp.NET.sln b/port/Assimp.NET/Assimp.NET.sln deleted file mode 100644 index 17c1cc180..000000000 --- a/port/Assimp.NET/Assimp.NET.sln +++ /dev/null @@ -1,275 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Assimp_NET", "Assimp.NET\Assimp.NET.vcproj", "{A86A8AF2-3B4D-4381-BB01-9CA2AE88450E}" - ProjectSection(ProjectDependencies) = postProject - {5691E159-2D9B-407F-971F-EA5C592DC524} = {5691E159-2D9B-407F-971F-EA5C592DC524} - EndProjectSection -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Assimp.NET_CS", "Assimp.NET_CS\Assimp.NET_CS.csproj", "{A0CE9ED2-A27E-40AE-95F5-FEF94BB7E131}" - ProjectSection(ProjectDependencies) = postProject - {A86A8AF2-3B4D-4381-BB01-9CA2AE88450E} = {A86A8AF2-3B4D-4381-BB01-9CA2AE88450E} - EndProjectSection -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Assimp.NET_DEMO", "Assimp.NET_DEMO\Assimp.NET_DEMO.csproj", "{B2813591-1491-4C99-B6E2-67B484411AFC}" - ProjectSection(ProjectDependencies) = postProject - {5691E159-2D9B-407F-971F-EA5C592DC524} = {5691E159-2D9B-407F-971F-EA5C592DC524} - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "assimp", "..\..\workspaces\vc9\assimp.vcproj", "{5691E159-2D9B-407F-971F-EA5C592DC524}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Debug|Mixed Platforms = Debug|Mixed Platforms - Debug|Win32 = Debug|Win32 - Debug|x86 = Debug|x86 - debug-dll|Any CPU = debug-dll|Any CPU - debug-dll|Mixed Platforms = debug-dll|Mixed Platforms - debug-dll|Win32 = debug-dll|Win32 - debug-dll|x86 = debug-dll|x86 - debug-noboost-st|Any CPU = debug-noboost-st|Any CPU - debug-noboost-st|Mixed Platforms = debug-noboost-st|Mixed Platforms - debug-noboost-st|Win32 = debug-noboost-st|Win32 - debug-noboost-st|x86 = debug-noboost-st|x86 - debug-st|Any CPU = debug-st|Any CPU - debug-st|Mixed Platforms = debug-st|Mixed Platforms - debug-st|Win32 = debug-st|Win32 - debug-st|x86 = debug-st|x86 - Release|Any CPU = Release|Any CPU - Release|Mixed Platforms = Release|Mixed Platforms - Release|Win32 = Release|Win32 - Release|x86 = Release|x86 - release-dll|Any CPU = release-dll|Any CPU - release-dll|Mixed Platforms = release-dll|Mixed Platforms - release-dll|Win32 = release-dll|Win32 - release-dll|x86 = release-dll|x86 - release-noboost-st|Any CPU = release-noboost-st|Any CPU - release-noboost-st|Mixed Platforms = release-noboost-st|Mixed Platforms - release-noboost-st|Win32 = release-noboost-st|Win32 - release-noboost-st|x86 = release-noboost-st|x86 - release-st|Any CPU = release-st|Any CPU - release-st|Mixed Platforms = release-st|Mixed Platforms - release-st|Win32 = release-st|Win32 - release-st|x86 = release-st|x86 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {A86A8AF2-3B4D-4381-BB01-9CA2AE88450E}.Debug|Any CPU.ActiveCfg = Debug|Win32 - {A86A8AF2-3B4D-4381-BB01-9CA2AE88450E}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32 - {A86A8AF2-3B4D-4381-BB01-9CA2AE88450E}.Debug|Mixed Platforms.Build.0 = Debug|Win32 - {A86A8AF2-3B4D-4381-BB01-9CA2AE88450E}.Debug|Win32.ActiveCfg = Debug|Win32 - {A86A8AF2-3B4D-4381-BB01-9CA2AE88450E}.Debug|Win32.Build.0 = Debug|Win32 - {A86A8AF2-3B4D-4381-BB01-9CA2AE88450E}.Debug|x86.ActiveCfg = Debug|Win32 - {A86A8AF2-3B4D-4381-BB01-9CA2AE88450E}.debug-dll|Any CPU.ActiveCfg = Debug|Win32 - {A86A8AF2-3B4D-4381-BB01-9CA2AE88450E}.debug-dll|Mixed Platforms.ActiveCfg = Debug|Win32 - {A86A8AF2-3B4D-4381-BB01-9CA2AE88450E}.debug-dll|Mixed Platforms.Build.0 = Debug|Win32 - {A86A8AF2-3B4D-4381-BB01-9CA2AE88450E}.debug-dll|Win32.ActiveCfg = Debug|Win32 - {A86A8AF2-3B4D-4381-BB01-9CA2AE88450E}.debug-dll|Win32.Build.0 = Debug|Win32 - {A86A8AF2-3B4D-4381-BB01-9CA2AE88450E}.debug-dll|x86.ActiveCfg = Debug|Win32 - {A86A8AF2-3B4D-4381-BB01-9CA2AE88450E}.debug-noboost-st|Any CPU.ActiveCfg = Debug|Win32 - {A86A8AF2-3B4D-4381-BB01-9CA2AE88450E}.debug-noboost-st|Mixed Platforms.ActiveCfg = Debug|Win32 - {A86A8AF2-3B4D-4381-BB01-9CA2AE88450E}.debug-noboost-st|Mixed Platforms.Build.0 = Debug|Win32 - {A86A8AF2-3B4D-4381-BB01-9CA2AE88450E}.debug-noboost-st|Win32.ActiveCfg = Debug|Win32 - {A86A8AF2-3B4D-4381-BB01-9CA2AE88450E}.debug-noboost-st|Win32.Build.0 = Debug|Win32 - {A86A8AF2-3B4D-4381-BB01-9CA2AE88450E}.debug-noboost-st|x86.ActiveCfg = Debug|Win32 - {A86A8AF2-3B4D-4381-BB01-9CA2AE88450E}.debug-st|Any CPU.ActiveCfg = Debug|Win32 - {A86A8AF2-3B4D-4381-BB01-9CA2AE88450E}.debug-st|Mixed Platforms.ActiveCfg = Debug|Win32 - {A86A8AF2-3B4D-4381-BB01-9CA2AE88450E}.debug-st|Mixed Platforms.Build.0 = Debug|Win32 - {A86A8AF2-3B4D-4381-BB01-9CA2AE88450E}.debug-st|Win32.ActiveCfg = Debug|Win32 - {A86A8AF2-3B4D-4381-BB01-9CA2AE88450E}.debug-st|Win32.Build.0 = Debug|Win32 - {A86A8AF2-3B4D-4381-BB01-9CA2AE88450E}.debug-st|x86.ActiveCfg = Debug|Win32 - {A86A8AF2-3B4D-4381-BB01-9CA2AE88450E}.Release|Any CPU.ActiveCfg = Release|Win32 - {A86A8AF2-3B4D-4381-BB01-9CA2AE88450E}.Release|Mixed Platforms.ActiveCfg = Release|Win32 - {A86A8AF2-3B4D-4381-BB01-9CA2AE88450E}.Release|Mixed Platforms.Build.0 = Release|Win32 - {A86A8AF2-3B4D-4381-BB01-9CA2AE88450E}.Release|Win32.ActiveCfg = Release|Win32 - {A86A8AF2-3B4D-4381-BB01-9CA2AE88450E}.Release|Win32.Build.0 = Release|Win32 - {A86A8AF2-3B4D-4381-BB01-9CA2AE88450E}.Release|x86.ActiveCfg = Release|Win32 - {A86A8AF2-3B4D-4381-BB01-9CA2AE88450E}.Release|x86.Build.0 = Release|Win32 - {A86A8AF2-3B4D-4381-BB01-9CA2AE88450E}.release-dll|Any CPU.ActiveCfg = Release|Win32 - {A86A8AF2-3B4D-4381-BB01-9CA2AE88450E}.release-dll|Mixed Platforms.ActiveCfg = Release|Win32 - {A86A8AF2-3B4D-4381-BB01-9CA2AE88450E}.release-dll|Mixed Platforms.Build.0 = Release|Win32 - {A86A8AF2-3B4D-4381-BB01-9CA2AE88450E}.release-dll|Win32.ActiveCfg = Release|Win32 - {A86A8AF2-3B4D-4381-BB01-9CA2AE88450E}.release-dll|Win32.Build.0 = Release|Win32 - {A86A8AF2-3B4D-4381-BB01-9CA2AE88450E}.release-dll|x86.ActiveCfg = Release|Win32 - {A86A8AF2-3B4D-4381-BB01-9CA2AE88450E}.release-noboost-st|Any CPU.ActiveCfg = Release|Win32 - {A86A8AF2-3B4D-4381-BB01-9CA2AE88450E}.release-noboost-st|Mixed Platforms.ActiveCfg = Release|Win32 - {A86A8AF2-3B4D-4381-BB01-9CA2AE88450E}.release-noboost-st|Mixed Platforms.Build.0 = Release|Win32 - {A86A8AF2-3B4D-4381-BB01-9CA2AE88450E}.release-noboost-st|Win32.ActiveCfg = Release|Win32 - {A86A8AF2-3B4D-4381-BB01-9CA2AE88450E}.release-noboost-st|Win32.Build.0 = Release|Win32 - {A86A8AF2-3B4D-4381-BB01-9CA2AE88450E}.release-noboost-st|x86.ActiveCfg = Release|Win32 - {A86A8AF2-3B4D-4381-BB01-9CA2AE88450E}.release-st|Any CPU.ActiveCfg = Release|Win32 - {A86A8AF2-3B4D-4381-BB01-9CA2AE88450E}.release-st|Mixed Platforms.ActiveCfg = Release|Win32 - {A86A8AF2-3B4D-4381-BB01-9CA2AE88450E}.release-st|Mixed Platforms.Build.0 = Release|Win32 - {A86A8AF2-3B4D-4381-BB01-9CA2AE88450E}.release-st|Win32.ActiveCfg = Release|Win32 - {A86A8AF2-3B4D-4381-BB01-9CA2AE88450E}.release-st|Win32.Build.0 = Release|Win32 - {A86A8AF2-3B4D-4381-BB01-9CA2AE88450E}.release-st|x86.ActiveCfg = Release|Win32 - {A0CE9ED2-A27E-40AE-95F5-FEF94BB7E131}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {A0CE9ED2-A27E-40AE-95F5-FEF94BB7E131}.Debug|Any CPU.Build.0 = Debug|Any CPU - {A0CE9ED2-A27E-40AE-95F5-FEF94BB7E131}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU - {A0CE9ED2-A27E-40AE-95F5-FEF94BB7E131}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU - {A0CE9ED2-A27E-40AE-95F5-FEF94BB7E131}.Debug|Win32.ActiveCfg = Debug|x86 - {A0CE9ED2-A27E-40AE-95F5-FEF94BB7E131}.Debug|Win32.Build.0 = Debug|x86 - {A0CE9ED2-A27E-40AE-95F5-FEF94BB7E131}.Debug|x86.ActiveCfg = Debug|x86 - {A0CE9ED2-A27E-40AE-95F5-FEF94BB7E131}.Debug|x86.Build.0 = Debug|x86 - {A0CE9ED2-A27E-40AE-95F5-FEF94BB7E131}.debug-dll|Any CPU.ActiveCfg = Debug|Any CPU - {A0CE9ED2-A27E-40AE-95F5-FEF94BB7E131}.debug-dll|Any CPU.Build.0 = Debug|Any CPU - {A0CE9ED2-A27E-40AE-95F5-FEF94BB7E131}.debug-dll|Mixed Platforms.ActiveCfg = Debug|Any CPU - {A0CE9ED2-A27E-40AE-95F5-FEF94BB7E131}.debug-dll|Mixed Platforms.Build.0 = Debug|Any CPU - {A0CE9ED2-A27E-40AE-95F5-FEF94BB7E131}.debug-dll|Win32.ActiveCfg = Debug|Any CPU - {A0CE9ED2-A27E-40AE-95F5-FEF94BB7E131}.debug-dll|x86.ActiveCfg = Debug|x86 - {A0CE9ED2-A27E-40AE-95F5-FEF94BB7E131}.debug-dll|x86.Build.0 = Debug|x86 - {A0CE9ED2-A27E-40AE-95F5-FEF94BB7E131}.debug-noboost-st|Any CPU.ActiveCfg = Debug|Any CPU - {A0CE9ED2-A27E-40AE-95F5-FEF94BB7E131}.debug-noboost-st|Any CPU.Build.0 = Debug|Any CPU - {A0CE9ED2-A27E-40AE-95F5-FEF94BB7E131}.debug-noboost-st|Mixed Platforms.ActiveCfg = Debug|Any CPU - {A0CE9ED2-A27E-40AE-95F5-FEF94BB7E131}.debug-noboost-st|Mixed Platforms.Build.0 = Debug|Any CPU - {A0CE9ED2-A27E-40AE-95F5-FEF94BB7E131}.debug-noboost-st|Win32.ActiveCfg = Debug|Any CPU - {A0CE9ED2-A27E-40AE-95F5-FEF94BB7E131}.debug-noboost-st|x86.ActiveCfg = Debug|x86 - {A0CE9ED2-A27E-40AE-95F5-FEF94BB7E131}.debug-noboost-st|x86.Build.0 = Debug|x86 - {A0CE9ED2-A27E-40AE-95F5-FEF94BB7E131}.debug-st|Any CPU.ActiveCfg = Debug|Any CPU - {A0CE9ED2-A27E-40AE-95F5-FEF94BB7E131}.debug-st|Any CPU.Build.0 = Debug|Any CPU - {A0CE9ED2-A27E-40AE-95F5-FEF94BB7E131}.debug-st|Mixed Platforms.ActiveCfg = Debug|Any CPU - {A0CE9ED2-A27E-40AE-95F5-FEF94BB7E131}.debug-st|Mixed Platforms.Build.0 = Debug|Any CPU - {A0CE9ED2-A27E-40AE-95F5-FEF94BB7E131}.debug-st|Win32.ActiveCfg = Debug|Any CPU - {A0CE9ED2-A27E-40AE-95F5-FEF94BB7E131}.debug-st|x86.ActiveCfg = Debug|x86 - {A0CE9ED2-A27E-40AE-95F5-FEF94BB7E131}.debug-st|x86.Build.0 = Debug|x86 - {A0CE9ED2-A27E-40AE-95F5-FEF94BB7E131}.Release|Any CPU.ActiveCfg = Release|Any CPU - {A0CE9ED2-A27E-40AE-95F5-FEF94BB7E131}.Release|Any CPU.Build.0 = Release|Any CPU - {A0CE9ED2-A27E-40AE-95F5-FEF94BB7E131}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU - {A0CE9ED2-A27E-40AE-95F5-FEF94BB7E131}.Release|Mixed Platforms.Build.0 = Release|Any CPU - {A0CE9ED2-A27E-40AE-95F5-FEF94BB7E131}.Release|Win32.ActiveCfg = Release|x86 - {A0CE9ED2-A27E-40AE-95F5-FEF94BB7E131}.Release|Win32.Build.0 = Release|x86 - {A0CE9ED2-A27E-40AE-95F5-FEF94BB7E131}.Release|x86.ActiveCfg = Release|x86 - {A0CE9ED2-A27E-40AE-95F5-FEF94BB7E131}.Release|x86.Build.0 = Release|x86 - {A0CE9ED2-A27E-40AE-95F5-FEF94BB7E131}.release-dll|Any CPU.ActiveCfg = Release|Any CPU - {A0CE9ED2-A27E-40AE-95F5-FEF94BB7E131}.release-dll|Any CPU.Build.0 = Release|Any CPU - {A0CE9ED2-A27E-40AE-95F5-FEF94BB7E131}.release-dll|Mixed Platforms.ActiveCfg = Release|Any CPU - {A0CE9ED2-A27E-40AE-95F5-FEF94BB7E131}.release-dll|Mixed Platforms.Build.0 = Release|Any CPU - {A0CE9ED2-A27E-40AE-95F5-FEF94BB7E131}.release-dll|Win32.ActiveCfg = Release|Any CPU - {A0CE9ED2-A27E-40AE-95F5-FEF94BB7E131}.release-dll|x86.ActiveCfg = Release|x86 - {A0CE9ED2-A27E-40AE-95F5-FEF94BB7E131}.release-dll|x86.Build.0 = Release|x86 - {A0CE9ED2-A27E-40AE-95F5-FEF94BB7E131}.release-noboost-st|Any CPU.ActiveCfg = Release|Any CPU - {A0CE9ED2-A27E-40AE-95F5-FEF94BB7E131}.release-noboost-st|Any CPU.Build.0 = Release|Any CPU - {A0CE9ED2-A27E-40AE-95F5-FEF94BB7E131}.release-noboost-st|Mixed Platforms.ActiveCfg = Release|Any CPU - {A0CE9ED2-A27E-40AE-95F5-FEF94BB7E131}.release-noboost-st|Mixed Platforms.Build.0 = Release|Any CPU - {A0CE9ED2-A27E-40AE-95F5-FEF94BB7E131}.release-noboost-st|Win32.ActiveCfg = Release|Any CPU - {A0CE9ED2-A27E-40AE-95F5-FEF94BB7E131}.release-noboost-st|x86.ActiveCfg = Release|x86 - {A0CE9ED2-A27E-40AE-95F5-FEF94BB7E131}.release-noboost-st|x86.Build.0 = Release|x86 - {A0CE9ED2-A27E-40AE-95F5-FEF94BB7E131}.release-st|Any CPU.ActiveCfg = Release|Any CPU - {A0CE9ED2-A27E-40AE-95F5-FEF94BB7E131}.release-st|Any CPU.Build.0 = Release|Any CPU - {A0CE9ED2-A27E-40AE-95F5-FEF94BB7E131}.release-st|Mixed Platforms.ActiveCfg = Release|Any CPU - {A0CE9ED2-A27E-40AE-95F5-FEF94BB7E131}.release-st|Mixed Platforms.Build.0 = Release|Any CPU - {A0CE9ED2-A27E-40AE-95F5-FEF94BB7E131}.release-st|Win32.ActiveCfg = Release|Any CPU - {A0CE9ED2-A27E-40AE-95F5-FEF94BB7E131}.release-st|x86.ActiveCfg = Release|x86 - {A0CE9ED2-A27E-40AE-95F5-FEF94BB7E131}.release-st|x86.Build.0 = Release|x86 - {B2813591-1491-4C99-B6E2-67B484411AFC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {B2813591-1491-4C99-B6E2-67B484411AFC}.Debug|Any CPU.Build.0 = Debug|Any CPU - {B2813591-1491-4C99-B6E2-67B484411AFC}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU - {B2813591-1491-4C99-B6E2-67B484411AFC}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU - {B2813591-1491-4C99-B6E2-67B484411AFC}.Debug|Win32.ActiveCfg = Debug|x86 - {B2813591-1491-4C99-B6E2-67B484411AFC}.Debug|Win32.Build.0 = Debug|x86 - {B2813591-1491-4C99-B6E2-67B484411AFC}.Debug|x86.ActiveCfg = Debug|x86 - {B2813591-1491-4C99-B6E2-67B484411AFC}.Debug|x86.Build.0 = Debug|x86 - {B2813591-1491-4C99-B6E2-67B484411AFC}.debug-dll|Any CPU.ActiveCfg = Debug|Any CPU - {B2813591-1491-4C99-B6E2-67B484411AFC}.debug-dll|Any CPU.Build.0 = Debug|Any CPU - {B2813591-1491-4C99-B6E2-67B484411AFC}.debug-dll|Mixed Platforms.ActiveCfg = Debug|Any CPU - {B2813591-1491-4C99-B6E2-67B484411AFC}.debug-dll|Mixed Platforms.Build.0 = Debug|Any CPU - {B2813591-1491-4C99-B6E2-67B484411AFC}.debug-dll|Win32.ActiveCfg = Debug|Any CPU - {B2813591-1491-4C99-B6E2-67B484411AFC}.debug-dll|x86.ActiveCfg = Debug|x86 - {B2813591-1491-4C99-B6E2-67B484411AFC}.debug-dll|x86.Build.0 = Debug|x86 - {B2813591-1491-4C99-B6E2-67B484411AFC}.debug-noboost-st|Any CPU.ActiveCfg = Debug|Any CPU - {B2813591-1491-4C99-B6E2-67B484411AFC}.debug-noboost-st|Any CPU.Build.0 = Debug|Any CPU - {B2813591-1491-4C99-B6E2-67B484411AFC}.debug-noboost-st|Mixed Platforms.ActiveCfg = Debug|Any CPU - {B2813591-1491-4C99-B6E2-67B484411AFC}.debug-noboost-st|Mixed Platforms.Build.0 = Debug|Any CPU - {B2813591-1491-4C99-B6E2-67B484411AFC}.debug-noboost-st|Win32.ActiveCfg = Debug|Any CPU - {B2813591-1491-4C99-B6E2-67B484411AFC}.debug-noboost-st|x86.ActiveCfg = Debug|x86 - {B2813591-1491-4C99-B6E2-67B484411AFC}.debug-noboost-st|x86.Build.0 = Debug|x86 - {B2813591-1491-4C99-B6E2-67B484411AFC}.debug-st|Any CPU.ActiveCfg = Debug|Any CPU - {B2813591-1491-4C99-B6E2-67B484411AFC}.debug-st|Any CPU.Build.0 = Debug|Any CPU - {B2813591-1491-4C99-B6E2-67B484411AFC}.debug-st|Mixed Platforms.ActiveCfg = Debug|Any CPU - {B2813591-1491-4C99-B6E2-67B484411AFC}.debug-st|Mixed Platforms.Build.0 = Debug|Any CPU - {B2813591-1491-4C99-B6E2-67B484411AFC}.debug-st|Win32.ActiveCfg = Debug|Any CPU - {B2813591-1491-4C99-B6E2-67B484411AFC}.debug-st|x86.ActiveCfg = Debug|x86 - {B2813591-1491-4C99-B6E2-67B484411AFC}.debug-st|x86.Build.0 = Debug|x86 - {B2813591-1491-4C99-B6E2-67B484411AFC}.Release|Any CPU.ActiveCfg = Release|Any CPU - {B2813591-1491-4C99-B6E2-67B484411AFC}.Release|Any CPU.Build.0 = Release|Any CPU - {B2813591-1491-4C99-B6E2-67B484411AFC}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU - {B2813591-1491-4C99-B6E2-67B484411AFC}.Release|Mixed Platforms.Build.0 = Release|Any CPU - {B2813591-1491-4C99-B6E2-67B484411AFC}.Release|Win32.ActiveCfg = Release|x86 - {B2813591-1491-4C99-B6E2-67B484411AFC}.Release|Win32.Build.0 = Release|x86 - {B2813591-1491-4C99-B6E2-67B484411AFC}.Release|x86.ActiveCfg = Release|x86 - {B2813591-1491-4C99-B6E2-67B484411AFC}.Release|x86.Build.0 = Release|x86 - {B2813591-1491-4C99-B6E2-67B484411AFC}.release-dll|Any CPU.ActiveCfg = Release|Any CPU - {B2813591-1491-4C99-B6E2-67B484411AFC}.release-dll|Any CPU.Build.0 = Release|Any CPU - {B2813591-1491-4C99-B6E2-67B484411AFC}.release-dll|Mixed Platforms.ActiveCfg = Release|Any CPU - {B2813591-1491-4C99-B6E2-67B484411AFC}.release-dll|Mixed Platforms.Build.0 = Release|Any CPU - {B2813591-1491-4C99-B6E2-67B484411AFC}.release-dll|Win32.ActiveCfg = Release|Any CPU - {B2813591-1491-4C99-B6E2-67B484411AFC}.release-dll|x86.ActiveCfg = Release|x86 - {B2813591-1491-4C99-B6E2-67B484411AFC}.release-dll|x86.Build.0 = Release|x86 - {B2813591-1491-4C99-B6E2-67B484411AFC}.release-noboost-st|Any CPU.ActiveCfg = Release|Any CPU - {B2813591-1491-4C99-B6E2-67B484411AFC}.release-noboost-st|Any CPU.Build.0 = Release|Any CPU - {B2813591-1491-4C99-B6E2-67B484411AFC}.release-noboost-st|Mixed Platforms.ActiveCfg = Release|Any CPU - {B2813591-1491-4C99-B6E2-67B484411AFC}.release-noboost-st|Mixed Platforms.Build.0 = Release|Any CPU - {B2813591-1491-4C99-B6E2-67B484411AFC}.release-noboost-st|Win32.ActiveCfg = Release|Any CPU - {B2813591-1491-4C99-B6E2-67B484411AFC}.release-noboost-st|x86.ActiveCfg = Release|x86 - {B2813591-1491-4C99-B6E2-67B484411AFC}.release-noboost-st|x86.Build.0 = Release|x86 - {B2813591-1491-4C99-B6E2-67B484411AFC}.release-st|Any CPU.ActiveCfg = Release|Any CPU - {B2813591-1491-4C99-B6E2-67B484411AFC}.release-st|Any CPU.Build.0 = Release|Any CPU - {B2813591-1491-4C99-B6E2-67B484411AFC}.release-st|Mixed Platforms.ActiveCfg = Release|Any CPU - {B2813591-1491-4C99-B6E2-67B484411AFC}.release-st|Mixed Platforms.Build.0 = Release|Any CPU - {B2813591-1491-4C99-B6E2-67B484411AFC}.release-st|Win32.ActiveCfg = Release|Any CPU - {B2813591-1491-4C99-B6E2-67B484411AFC}.release-st|x86.ActiveCfg = Release|x86 - {B2813591-1491-4C99-B6E2-67B484411AFC}.release-st|x86.Build.0 = Release|x86 - {5691E159-2D9B-407F-971F-EA5C592DC524}.Debug|Any CPU.ActiveCfg = debug|Win32 - {5691E159-2D9B-407F-971F-EA5C592DC524}.Debug|Mixed Platforms.ActiveCfg = debug|Win32 - {5691E159-2D9B-407F-971F-EA5C592DC524}.Debug|Mixed Platforms.Build.0 = debug|Win32 - {5691E159-2D9B-407F-971F-EA5C592DC524}.Debug|Win32.ActiveCfg = debug|Win32 - {5691E159-2D9B-407F-971F-EA5C592DC524}.Debug|Win32.Build.0 = debug|Win32 - {5691E159-2D9B-407F-971F-EA5C592DC524}.Debug|x86.ActiveCfg = debug|x64 - {5691E159-2D9B-407F-971F-EA5C592DC524}.debug-dll|Any CPU.ActiveCfg = debug-dll|Win32 - {5691E159-2D9B-407F-971F-EA5C592DC524}.debug-dll|Mixed Platforms.ActiveCfg = debug-dll|Win32 - {5691E159-2D9B-407F-971F-EA5C592DC524}.debug-dll|Mixed Platforms.Build.0 = debug-dll|Win32 - {5691E159-2D9B-407F-971F-EA5C592DC524}.debug-dll|Win32.ActiveCfg = debug-dll|Win32 - {5691E159-2D9B-407F-971F-EA5C592DC524}.debug-dll|Win32.Build.0 = debug-dll|Win32 - {5691E159-2D9B-407F-971F-EA5C592DC524}.debug-dll|x86.ActiveCfg = debug-dll|x64 - {5691E159-2D9B-407F-971F-EA5C592DC524}.debug-noboost-st|Any CPU.ActiveCfg = debug-noboost-st|Win32 - {5691E159-2D9B-407F-971F-EA5C592DC524}.debug-noboost-st|Mixed Platforms.ActiveCfg = debug-noboost-st|Win32 - {5691E159-2D9B-407F-971F-EA5C592DC524}.debug-noboost-st|Mixed Platforms.Build.0 = debug-noboost-st|Win32 - {5691E159-2D9B-407F-971F-EA5C592DC524}.debug-noboost-st|Win32.ActiveCfg = debug-noboost-st|Win32 - {5691E159-2D9B-407F-971F-EA5C592DC524}.debug-noboost-st|Win32.Build.0 = debug-noboost-st|Win32 - {5691E159-2D9B-407F-971F-EA5C592DC524}.debug-noboost-st|x86.ActiveCfg = debug-noboost-st|x64 - {5691E159-2D9B-407F-971F-EA5C592DC524}.debug-st|Any CPU.ActiveCfg = debug-st|Win32 - {5691E159-2D9B-407F-971F-EA5C592DC524}.debug-st|Mixed Platforms.ActiveCfg = debug-st|Win32 - {5691E159-2D9B-407F-971F-EA5C592DC524}.debug-st|Mixed Platforms.Build.0 = debug-st|Win32 - {5691E159-2D9B-407F-971F-EA5C592DC524}.debug-st|Win32.ActiveCfg = debug-st|Win32 - {5691E159-2D9B-407F-971F-EA5C592DC524}.debug-st|Win32.Build.0 = debug-st|Win32 - {5691E159-2D9B-407F-971F-EA5C592DC524}.debug-st|x86.ActiveCfg = debug-st|x64 - {5691E159-2D9B-407F-971F-EA5C592DC524}.Release|Any CPU.ActiveCfg = release|Win32 - {5691E159-2D9B-407F-971F-EA5C592DC524}.Release|Mixed Platforms.ActiveCfg = release|Win32 - {5691E159-2D9B-407F-971F-EA5C592DC524}.Release|Mixed Platforms.Build.0 = release|Win32 - {5691E159-2D9B-407F-971F-EA5C592DC524}.Release|Win32.ActiveCfg = release|Win32 - {5691E159-2D9B-407F-971F-EA5C592DC524}.Release|Win32.Build.0 = release|Win32 - {5691E159-2D9B-407F-971F-EA5C592DC524}.Release|x86.ActiveCfg = release|Win32 - {5691E159-2D9B-407F-971F-EA5C592DC524}.Release|x86.Build.0 = release|Win32 - {5691E159-2D9B-407F-971F-EA5C592DC524}.release-dll|Any CPU.ActiveCfg = release-dll|Win32 - {5691E159-2D9B-407F-971F-EA5C592DC524}.release-dll|Mixed Platforms.ActiveCfg = release-dll|Win32 - {5691E159-2D9B-407F-971F-EA5C592DC524}.release-dll|Mixed Platforms.Build.0 = release-dll|Win32 - {5691E159-2D9B-407F-971F-EA5C592DC524}.release-dll|Win32.ActiveCfg = release-dll|Win32 - {5691E159-2D9B-407F-971F-EA5C592DC524}.release-dll|Win32.Build.0 = release-dll|Win32 - {5691E159-2D9B-407F-971F-EA5C592DC524}.release-dll|x86.ActiveCfg = release-dll|x64 - {5691E159-2D9B-407F-971F-EA5C592DC524}.release-noboost-st|Any CPU.ActiveCfg = release-noboost-st|Win32 - {5691E159-2D9B-407F-971F-EA5C592DC524}.release-noboost-st|Mixed Platforms.ActiveCfg = release-noboost-st|Win32 - {5691E159-2D9B-407F-971F-EA5C592DC524}.release-noboost-st|Mixed Platforms.Build.0 = release-noboost-st|Win32 - {5691E159-2D9B-407F-971F-EA5C592DC524}.release-noboost-st|Win32.ActiveCfg = release-noboost-st|Win32 - {5691E159-2D9B-407F-971F-EA5C592DC524}.release-noboost-st|Win32.Build.0 = release-noboost-st|Win32 - {5691E159-2D9B-407F-971F-EA5C592DC524}.release-noboost-st|x86.ActiveCfg = release-noboost-st|x64 - {5691E159-2D9B-407F-971F-EA5C592DC524}.release-st|Any CPU.ActiveCfg = release-st|Win32 - {5691E159-2D9B-407F-971F-EA5C592DC524}.release-st|Mixed Platforms.ActiveCfg = release-st|Win32 - {5691E159-2D9B-407F-971F-EA5C592DC524}.release-st|Mixed Platforms.Build.0 = release-st|Win32 - {5691E159-2D9B-407F-971F-EA5C592DC524}.release-st|Win32.ActiveCfg = release-st|Win32 - {5691E159-2D9B-407F-971F-EA5C592DC524}.release-st|Win32.Build.0 = release-st|Win32 - {5691E159-2D9B-407F-971F-EA5C592DC524}.release-st|x86.ActiveCfg = release-st|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/port/Assimp.NET/Assimp.NET/Assimp.NET.vcproj b/port/Assimp.NET/Assimp.NET/Assimp.NET.vcproj deleted file mode 100644 index e2f9e9c62..000000000 --- a/port/Assimp.NET/Assimp.NET/Assimp.NET.vcproj +++ /dev/null @@ -1,237 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/port/Assimp.NET/Assimp.NET/AssimpSwigPort.i b/port/Assimp.NET/Assimp.NET/AssimpSwigPort.i deleted file mode 100644 index 681b4f1a1..000000000 --- a/port/Assimp.NET/Assimp.NET/AssimpSwigPort.i +++ /dev/null @@ -1,567 +0,0 @@ -/* ---------------------------------------------------------------------------- -Open Asset Import Library (ASSIMP) ---------------------------------------------------------------------------- - -Copyright (c) 2006-2010, ASSIMP Development Team - -All rights reserved. - -Redistribution and use of this software 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 ASSIMP team, nor the names of its - contributors may be used to endorse or promote products - derived from this software without specific prior - written permission of the ASSIMP Development Team. - -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. ---------------------------------------------------------------------------- -*/ -%module Assimp - -%include "carrays.i" -%include "typemaps.i" -%{ -#include "..\..\..\include\assimp\defs.h" -#include "..\..\..\include\assimp\config.h" -#include "..\..\..\include\assimp\types.h" -#include "..\..\..\include\assimp\version.h" -#include "..\..\..\include\assimp\postprocess.h" -#include "..\..\..\include\assimp\vector2.h" -#include "..\..\..\include\assimp\vector3.h" -#include "..\..\..\include\assimp\color4.h" -#include "..\..\..\include\assimp\matrix3x3.h" -#include "..\..\..\include\assimp\matrix4x4.h" -#include "..\..\..\include\assimp\camera.h" -#include "..\..\..\include\assimp\light.h" -#include "..\..\..\include\assimp\anim.h" -#include "..\..\..\include\assimp\mesh.h" -#include "..\..\..\include\assimp\cfileio.h" -#include "..\..\..\include\assimp\material.h" -#include "..\..\..\include\assimp\quaternion.h" -#include "..\..\..\include\assimp\scene.h" -#include "..\..\..\include\assimp\texture.h" -#include "..\..\..\include\assimp\Importer.hpp" -#include "..\..\..\include\assimp\IOSystem.hpp" -#include "..\..\..\include\assimp\IOStream.hpp" -#include "..\..\..\include\assimp\Logger.hpp" -#include "..\..\..\include\assimp\LogStream.hpp" -#include "..\..\..\include\assimp\NullLogger.hpp" -#include "..\..\..\include\assimp\ProgressHandler.hpp" -%} - -#define C_STRUCT -#define C_ENUM -#define ASSIMP_API -#define PACK_STRUCT -#define AI_FORCE_INLINE - -%rename(__add__) operator+; -%rename(__addnset__) operator+=; -%rename(__sub__) operator-; -%rename(__subnset__) operator-=; -%rename(__mul__) operator*; -%rename(__mulnset__) operator*=; -%rename(__div__) operator/; -%rename(__divnset__) operator/=; -%rename(__equal__) operator==; -%rename(__nequal__) operator!=; -%rename(__idx__) operator[]; -%rename(__set__) operator=; -%rename(__greater__) operator>; -%rename(__smaller__) operator<; - - -%rename(opNew) operator new; -%rename(opNewArray) operator new[]; - -%rename(opDelete) operator delete; -%rename(opDeleteArray) operator delete[]; - - -%include "std_string.i" -%include "std_vector.i" - - -// PACK_STRUCT is a no-op for SWIG – it does not matter for the generated -// bindings how the underlying C++ code manages its memory. -#define PACK_STRUCT - - -// Helper macros for wrapping the pointer-and-length arrays used in the -// Assimp API. - -%define ASSIMP_ARRAY(CLASS, TYPE, NAME, LENGTH) -%csmethodmodifiers Get##NAME() "private"; -%newobject CLASS::Get##NAME; -%extend CLASS { - std::vector *Get##NAME() { - std::vector *result = new std::vector; - result->reserve(LENGTH); - - for (unsigned int i = 0; i < LENGTH; ++i) { - result->push_back($self->NAME[i]); - } - - return result; - } -} -%ignore CLASS::NAME; -%enddef - -%define ASSIMP_POINTER_ARRAY(CLASS, TYPE, NAME, LENGTH) -%csmethodmodifiers Get##NAME() "private"; -%newobject CLASS::Get##NAME; -%extend CLASS { - std::vector *Get##NAME() { - std::vector *result = new std::vector; - result->reserve(LENGTH); - - TYPE *currentValue = (TYPE *)$self->NAME; - TYPE *valueLimit = (TYPE *)$self->NAME + LENGTH; - while (currentValue < valueLimit) { - result->push_back(currentValue); - ++currentValue; - } - - return result; - } -} -%ignore CLASS::NAME; -%enddef - -%define ASSIMP_POINTER_POINTER(CLASS, TYPE, NAME, LENGTH) -%csmethodmodifiers Get##NAME() "private"; -%newobject CLASS::Get##NAME; -%extend CLASS { - std::vector *Get##NAME() { - std::vector *result = new std::vector; - result->reserve(LENGTH); - - TYPE **currentValue = $self->NAME; - TYPE **valueLimit = $self->NAME + LENGTH; - while (currentValue < valueLimit) { - result->push_back(*currentValue); - ++currentValue; - } - - return result; - } -} -%ignore CLASS::NAME; -%enddef - -%define ASSIMP_POINTER_ARRAY_ARRAY(CLASS, TYPE, NAME, OUTER_LENGTH, INNER_LENGTH) -%csmethodmodifiers Get##NAME() "private"; -%newobject CLASS::Get##NAME; -%extend CLASS { - std::vector< std::vector > *Get##NAME() { - std::vector< std::vector > *result = new std::vector< std::vector >; - result->reserve(OUTER_LENGTH); - - for (unsigned int i = 0; i < OUTER_LENGTH; ++i) { - std::vector currentElements; - - if ($self->NAME[i] != 0) { - currentElements.reserve(INNER_LENGTH); - - TYPE *currentValue = $self->NAME[i]; - TYPE *valueLimit = $self->NAME[i] + INNER_LENGTH; - while (currentValue < valueLimit) { - currentElements.push_back(currentValue); - ++currentValue; - } - } - - result->push_back(currentElements); - } - - return result; - } -} -%ignore CLASS::NAME; -%enddef - -%define ASSIMP_GETMATERIAL(XXX, KEY, TYPE, NAME) -%csmethodmodifiers Get##NAME() "private"; -%newobject aiMaterial::Get##NAME; -%extend aiMaterial { - bool Get##NAME(TYPE* INOUT) { - return aiGetMaterial##XXX($self, KEY, INOUT) == AI_SUCCESS; - } -} -%enddef - - -/////// aiAnimation -ASSIMP_POINTER_POINTER(aiAnimation,aiNodeAnim,mChannels,$self->mNumChannels); -ASSIMP_POINTER_POINTER(aiAnimation,aiMeshAnim,mMeshChannels,$self->mNumMeshChannels); -%typemap(cscode) aiAnimation %{ - public aiNodeAnimVector mChannels { get { return GetmChannels(); } } - public aiMeshAnimVector mMeshChannels { get { return GetmMeshChannels(); } } -%} - -/////// aiAnimMesh -%ignore aiAnimMesh::mVertices; -%ignore aiAnimMesh::mNormals; -%ignore aiAnimMesh::mTangents; -%ignore aiAnimMesh::mColors; -%ignore aiAnimMesh::mTextureCoords; - -/////// aiBone -ASSIMP_POINTER_ARRAY(aiBone,aiVertexWeight,mWeights,$self->mNumWeights); - -/////// aiCamera -// OK - -/////// aiColor3D -// OK - -/////// aiColor4D -// OK - -/////// aiFace -ASSIMP_ARRAY(aiFace,unsigned int,mIndices,$self->mNumIndices); -%typemap(cscode) aiFace %{ - public UintVector mIndices { get { return GetmIndices(); } } -%} - -/////// TODO: aiFile -%ignore aiFile; -%ignore aiFile::FileSizeProc; -%ignore aiFile::FlushProc; -%ignore aiFile::ReadProc; -%ignore aiFile::SeekProc; -%ignore aiFile::TellProc; -%ignore aiFile::WriteProc; - -/////// TODO: aiFileIO -%ignore aiFileIO; -%ignore aiFileIO::CloseProc; -%ignore aiFileIO::OpenPrc; - -/////// aiLight -// Done - -/////// aiLightSourceType -// Done - -/////// TODO: aiLogStream -%ignore aiLogStream; -%ignore aiLogStream::callback; - -/////// aiMaterial -%ignore aiMaterial::Get; -%ignore aiMaterial::GetTexture; -%ignore aiMaterial::mNumAllocated; -%ignore aiMaterial::mNumProperties; -%ignore aiMaterial::mProperties; -ASSIMP_GETMATERIAL(Color, AI_MATKEY_COLOR_DIFFUSE, aiColor4D, Diffuse); -ASSIMP_GETMATERIAL(Color, AI_MATKEY_COLOR_SPECULAR, aiColor4D, Specular); -ASSIMP_GETMATERIAL(Color, AI_MATKEY_COLOR_AMBIENT, aiColor4D, Ambient); -ASSIMP_GETMATERIAL(Color, AI_MATKEY_COLOR_EMISSIVE, aiColor4D, Emissive); -ASSIMP_GETMATERIAL(Float, AI_MATKEY_OPACITY, float, Opacity); -ASSIMP_GETMATERIAL(Float, AI_MATKEY_SHININESS_STRENGTH, float, ShininessStrength); -ASSIMP_GETMATERIAL(Integer, AI_MATKEY_SHADING_MODEL, int, ShadingModel); -ASSIMP_GETMATERIAL(Integer, AI_MATKEY_TEXFLAGS_DIFFUSE(0), int, TexFlagsDiffuse0); -ASSIMP_GETMATERIAL(Integer, AI_MATKEY_MAPPINGMODE_U_DIFFUSE(0),int, MappingModeUDiffuse0); -ASSIMP_GETMATERIAL(Integer, AI_MATKEY_MAPPINGMODE_V_DIFFUSE(0),int, MappingModeVDiffuse0); -ASSIMP_GETMATERIAL(String, AI_MATKEY_TEXTURE_DIFFUSE(0), aiString, TextureDiffuse0); -ASSIMP_GETMATERIAL(String, AI_MATKEY_TEXTURE_SPECULAR(0), aiString, TextureSpecular0); -ASSIMP_GETMATERIAL(String, AI_MATKEY_TEXTURE_OPACITY(0), aiString, TextureOpacity0); -ASSIMP_GETMATERIAL(String, AI_MATKEY_TEXTURE_AMBIENT(0), aiString, TextureAmbient0); -ASSIMP_GETMATERIAL(String, AI_MATKEY_TEXTURE_EMISSIVE(0), aiString, TextureEmissive0); -ASSIMP_GETMATERIAL(String, AI_MATKEY_TEXTURE_SHININESS(0), aiString, TextureShininess0); -ASSIMP_GETMATERIAL(String, AI_MATKEY_TEXTURE_LIGHTMAP(0), aiString, TextureLightmap0); -ASSIMP_GETMATERIAL(String, AI_MATKEY_TEXTURE_NORMALS(0), aiString, TextureNormals0); -ASSIMP_GETMATERIAL(String, AI_MATKEY_TEXTURE_HEIGHT(0), aiString, TextureHeight0); -ASSIMP_GETMATERIAL(String, AI_MATKEY_GLOBAL_BACKGROUND_IMAGE, aiString, GlobalBackgroundImage); -ASSIMP_GETMATERIAL(Integer, AI_MATKEY_TWOSIDED, int, TwoSided); -%typemap(cscode) aiMaterial %{ - public aiColor4D Diffuse { get { var v = new aiColor4D(); return GetDiffuse(v)?v:DefaultDiffuse; } } - public aiColor4D Specular { get { var v = new aiColor4D(); return GetSpecular(v)?v:DefaultSpecular; } } - public aiColor4D Ambient { get { var v = new aiColor4D(); return GetAmbient(v)?v:DefaultAmbient; } } - public aiColor4D Emissive { get { var v = new aiColor4D(); return GetEmissive(v)?v:DefaultEmissive; } } - public float Opacity { get { float v = 0; return GetOpacity(ref v)?v:DefaultOpacity; } } - public float ShininessStrength { get { float v = 0; return GetShininessStrength(ref v)?v:DefaultShininessStrength; } } - public aiShadingMode ShadingModel { get { int v = 0; return GetShadingModel(ref v)?((aiShadingMode)v):DefaultShadingModel; } } - public aiTextureFlags TexFlagsDiffuse0 { get { int v = 0; return GetTexFlagsDiffuse0(ref v)?((aiTextureFlags)v):DefaultTexFlagsDiffuse0; } } - public aiTextureMapMode MappingModeUDiffuse0 { get { int v = 0; return GetMappingModeUDiffuse0(ref v)?((aiTextureMapMode)v):DefaultMappingModeUDiffuse0; } } - public aiTextureMapMode MappingModeVDiffuse0 { get { int v = 0; return GetMappingModeVDiffuse0(ref v)?((aiTextureMapMode)v):DefaultMappingModeVDiffuse0; } } - public string TextureDiffuse0 { get { var v = new aiString(); return GetTextureDiffuse0(v)?v.ToString():DefaultTextureDiffuse; } } - public bool TwoSided { get { int v = 0; return GetTwoSided(ref v)?(v!=0):DefaultTwoSided; } } - - // These values are returned if the value material property isn't set - // Override these if you don't want to check for null - public static aiColor4D DefaultDiffuse = new aiColor4D(1.0f, 1.0f, 1.0f, 1.0f); - public static aiColor4D DefaultSpecular = new aiColor4D(1.0f, 1.0f, 1.0f, 1.0f); - public static aiColor4D DefaultAmbient = new aiColor4D(0.0f, 0.0f, 0.0f, 1.0f); - public static aiColor4D DefaultEmissive = new aiColor4D(0.0f, 0.0f, 0.0f, 1.0f); - public static float DefaultShininessStrength = 1.0f; - public static float DefaultOpacity = 1.0f; - public static aiShadingMode DefaultShadingModel = (aiShadingMode)0; - public static aiTextureFlags DefaultTexFlagsDiffuse0 = (aiTextureFlags)0; - public static aiTextureMapMode DefaultMappingModeUDiffuse0 = aiTextureMapMode.aiTextureMapMode_Wrap; - public static aiTextureMapMode DefaultMappingModeVDiffuse0 = aiTextureMapMode.aiTextureMapMode_Wrap; - public static string DefaultTextureDiffuse = null; - public static bool DefaultTwoSided = false; -%} - -/////// aiMatrix3x3 -%ignore aiMatrix3x3::operator!=; -%ignore aiMatrix3x3::operator*; -%ignore aiMatrix3x3::operator*=; -%ignore aiMatrix3x3::operator==; -%ignore aiMatrix3x3::operator[]; - -/////// aiMatrix4x4 -%ignore aiMatrix4x4::operator!=; -%ignore aiMatrix4x4::operator*; -%ignore aiMatrix4x4::operator*=; -%ignore aiMatrix4x4::operator==; -%ignore aiMatrix4x4::operator[]; - -/////// aiMesh -ASSIMP_POINTER_POINTER(aiMesh,aiAnimMesh,mAnimMeshes,$self->mNumAnimMeshes); -ASSIMP_POINTER_ARRAY(aiMesh,aiVector3D,mBitangents,$self->mNumVertices); -ASSIMP_POINTER_POINTER(aiMesh,aiBone,mBones,$self->mNumBones); -ASSIMP_POINTER_ARRAY_ARRAY(aiMesh,aiColor4D,mColors,AI_MAX_NUMBER_OF_COLOR_SETS,$self->mNumVertices); -ASSIMP_POINTER_ARRAY(aiMesh,aiFace,mFaces,$self->mNumFaces); -ASSIMP_POINTER_ARRAY(aiMesh,aiVector3D,mNormals,$self->mNumVertices); -ASSIMP_POINTER_ARRAY(aiMesh,aiVector3D,mTangents,$self->mNumVertices); -ASSIMP_POINTER_ARRAY_ARRAY(aiMesh,aiVector3D,mTextureCoords,AI_MAX_NUMBER_OF_TEXTURECOORDS,$self->mNumVertices); -ASSIMP_ARRAY(aiMesh,unsigned int,mNumUVComponents,AI_MAX_NUMBER_OF_TEXTURECOORDS); -ASSIMP_POINTER_ARRAY(aiMesh,aiVector3D,mVertices,$self->mNumVertices); -%typemap(cstype) unsigned int mPrimitiveTypes "aiPrimitiveType"; -%typemap(csin) unsigned int mPrimitiveTypes "(uint)$csinput"; -%typemap(csvarout) unsigned int mPrimitiveTypes %{ get { return (aiPrimitiveType)$imcall; } %} -%typemap(cscode) aiMesh %{ - public aiVector3DVector mBitangents { get { return GetmBitangents(); } } - public aiBoneVector mBones { get { return GetmBones(); } } - public aiColor4DVectorVector mColors { get { return GetmColors(); } } - public aiFaceVector mFaces { get { return GetmFaces(); } } - public aiVector3DVector mNormals { get { return GetmNormals(); } } - public aiVector3DVector mTangents { get { return GetmTangents(); } } - public aiVector3DVectorVector mTextureCoords { get { return GetmTextureCoords(); } } - public aiVector3DVector mVertices { get { return GetmVertices(); } } -%} - -/////// aiMeshAnim -ASSIMP_POINTER_ARRAY(aiMeshAnim,aiMeshKey,mKeys,$self->mNumKeys); -%typemap(cscode) aiMeshAnim %{ - public aiMeshKeyVector mKeys { get { return GetmKeys(); } } -%} - -/////// aiMeshKey -// Done - -/////// aiNode -ASSIMP_POINTER_POINTER(aiNode,aiNode,mChildren,$self->mNumChildren); -ASSIMP_ARRAY(aiNode,unsigned int,mMeshes,$self->mNumMeshes); -%typemap(cscode) aiNode %{ - public aiNodeVector mChildren { get { return GetmChildren(); } } - public UintVector mMeshes { get { return GetmMeshes(); } } -%} - -/////// aiNodeAnim -ASSIMP_POINTER_ARRAY(aiNodeAnim,aiVectorKey,mPositionKeys,$self->mNumPositionKeys); -ASSIMP_POINTER_ARRAY(aiNodeAnim,aiQuatKey,mRotationKeys,$self->mNumRotationKeys); -ASSIMP_POINTER_ARRAY(aiNodeAnim,aiVectorKey,mScalingKeys,$self->mNumScalingKeys); -%typemap(cscode) aiNodeAnim %{ - public aiVectorKeyVector mPositionKeys { get { return GetmPositionKeys(); } } - public aiQuatKeyVector mRotationKeys { get { return GetmRotationKeys(); } } - public aiVectorKeyVector mScalingKeys { get { return GetmScalingKeys(); } } -%} - -/////// aiPlane -// Done - -/////// aiPostProcessSteps -%typemap(cscode) aiPostProcessSteps %{ - , aiProcess_ConvertToLeftHanded = aiProcess_MakeLeftHanded|aiProcess_FlipUVs|aiProcess_FlipWindingOrder, -%} - -/////// aiQuaternion -// Done - -/////// aiQuatKey -// Done - -/////// aiRay -// Done - -/////// aiScene -ASSIMP_POINTER_POINTER(aiScene,aiAnimation,mAnimations,$self->mNumAnimations); -ASSIMP_POINTER_POINTER(aiScene,aiCamera,mCameras,$self->mNumCameras); -ASSIMP_POINTER_POINTER(aiScene,aiLight,mLights,$self->mNumLights); -ASSIMP_POINTER_POINTER(aiScene,aiMaterial,mMaterials,$self->mNumMaterials); -ASSIMP_POINTER_POINTER(aiScene,aiMesh,mMeshes,$self->mNumMeshes); -ASSIMP_POINTER_POINTER(aiScene,aiTexture,mTextures,$self->mNumTextures); -%typemap(cscode) aiScene %{ - public aiAnimationVector mAnimations { get { return GetmAnimations(); } } - public aiCameraVector mCameras { get { return GetmCameras(); } } - public aiLightVector mLights { get { return GetmLights(); } } - public aiMaterialVector mMaterials { get { return GetmMaterials(); } } - public aiMeshVector mMeshes { get { return GetmMeshes(); } } - public aiTextureVector mTextures { get { return GetmTextures(); } } -%} - -/////// aiString -%ignore aiString::Append; -%ignore aiString::Clear; -%ignore aiString::Set; -%rename(Data) aiString::data; -%rename(Length) aiString::length; -%typemap(cscode) aiString %{ - public override string ToString() { return Data; } -%} - - -/////// aiTexel -// Done - -/////// TODO: aiTexture -%ignore aiString::achFormatHint; -%ignore aiString::pcData; - -/////// aiUVTransform -// Done - -/////// aiVector2D -// Done - -/////// aiVector3D -// Done - -/////// aiVectorKey -// Done - -/////// aiVertexWeight -// Done - -/////// Assimp::* -%ignore Assimp::IOStream; -%ignore Assimp::IOSystem; -%ignore Assimp::Importer::ApplyPostProcessing; -%ignore Assimp::Importer::FindLoader; -%ignore Assimp::Importer::GetIOHandler; -%ignore Assimp::Importer::GetExtensionList(std::string&); -%ignore Assimp::Importer::GetExtensionList(aiString&); -%ignore Assimp::Importer::ReadFileFromMemory; -%ignore Assimp::Importer::RegisterLoader; -%ignore Assimp::Importer::RegisterPPStep; -%ignore Assimp::Importer::SetIOHandler; -%ignore Assimp::Importer::SetPropertyInteger; -%ignore Assimp::Importer::SetPropertyFloat; -%ignore Assimp::Importer::SetPropertyString; -%ignore Assimp::Importer::SetPropertyBool; -%ignore Assimp::Importer::UnregisterLoader; -%ignore Assimp::Importer::UnregisterPPStep; -%extend Assimp::Importer { - std::string GetExtensionList() { - std::string tmp; - $self->GetExtensionList(tmp); - return tmp; - } -} -%typemap(cstype) unsigned int pFlags "aiPostProcessSteps"; -%typemap(csin) unsigned int pFlags "(uint)$csinput" -%typemap(csvarout) unsigned int pFlags %{ get { return (aiPostProcessSteps)$imcall; } %} -%ignore Assimp::Logger; -%ignore Assimp::NullLogger; - -/////// Globals -%ignore ::aiImportFileEx; -%ignore ::aiImportFileEx; -%ignore ::aiGetMaterialProperty; -%ignore ::aiGetMaterialFloatArray; -%ignore ::aiGetMaterialFloat; -%ignore ::aiGetMaterialIntegerArray; -%ignore ::aiGetMaterialInteger; -%ignore ::aiGetMaterialColor; -%ignore ::aiGetMaterialString; -%ignore ::aiGetMaterialTextureCount; -%ignore ::aiGetMaterialTexture; - - -%include "..\..\..\include\assimp\defs.h" -%include "..\..\..\include\assimp\config.h" -%include "..\..\..\include\assimp\types.h" -%include "..\..\..\include\assimp\version.h" -%include "..\..\..\include\assimp\postprocess.h" -%include "..\..\..\include\assimp\vector2.h" -%include "..\..\..\include\assimp\vector3.h" -%include "..\..\..\include\assimp\color4.h" -%include "..\..\..\include\assimp\matrix3x3.h" -%include "..\..\..\include\assimp\matrix4x4.h" -%include "..\..\..\include\assimp\camera.h" -%include "..\..\..\include\assimp\light.h" -%include "..\..\..\include\assimp\anim.h" -%include "..\..\..\include\assimp\mesh.h" -%include "..\..\..\include\assimp\cfileio.h" -%include "..\..\..\include\assimp\material.h" -%include "..\..\..\include\assimp\quaternion.h" -%include "..\..\..\include\assimp\scene.h" -%include "..\..\..\include\assimp\texture.h" -%include "..\..\..\include\assimp\Importer.hpp" -%include "..\..\..\include\assimp\ProgressHandler.hpp" -//%include "..\..\..\include\IOSystem.h" -//%include "..\..\..\include\IOStream.h" -//%include "..\..\..\include\Logger.h" -//%include "..\..\..\include\LogStream.h" -//%include "..\..\..\include\NullLogger.h" - - -%template(aiColor4D) aiColor4t; - -%template(aiVector3D) aiVector3t; -%template(aiVector2D) aiVector2t; - -%template(aiQuaternion) aiQuaterniont; -%template(aiMatrix3x3) aiMatrix3x3t; -%template(aiMatrix4x4) aiMatrix4x4t; - -%template(FloatVector) std::vector; -%template(UintVector) std::vector; -%template(aiAnimationVector) std::vector; -%template(aiAnimMeshVector) std::vector; -%template(aiBoneVector) std::vector; -%template(aiCameraVector) std::vector; -%template(aiColor4DVectorVector) std::vector >; -%template(aiColor4DVector) std::vector; -%template(aiFaceVector) std::vector; -%template(aiLightVector) std::vector; -%template(aiMaterialVector) std::vector; -%template(aiMeshAnimVector) std::vector; -%template(aiMeshKeyVector) std::vector; -%template(aiMeshVector) std::vector; -%template(aiNodeVector) std::vector; -%template(aiNodeAnimVector) std::vector; -%template(aiQuatKeyVector) std::vector; -%template(aiTextureVector) std::vector; -%template(aiVector3DVector) std::vector; -%template(aiVector3DVectorVector) std::vector >; -%template(aiVectorKeyVector) std::vector; -%template(aiVertexWeightVector) std::vector; - diff --git a/port/Assimp.NET/Assimp.NET/AssimpSwigPort_wrap.cxx b/port/Assimp.NET/Assimp.NET/AssimpSwigPort_wrap.cxx deleted file mode 100644 index 650552373..000000000 --- a/port/Assimp.NET/Assimp.NET/AssimpSwigPort_wrap.cxx +++ /dev/null @@ -1,21287 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.8 - * - * 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 SWIGCSHARP - - -#ifdef __cplusplus -/* SwigValueWrapper is described in swig.swg */ -template class SwigValueWrapper { - struct SwigMovePointer { - T *ptr; - SwigMovePointer(T *p) : ptr(p) { } - ~SwigMovePointer() { delete ptr; } - SwigMovePointer& operator=(SwigMovePointer& rhs) { T* oldptr = ptr; ptr = 0; delete oldptr; ptr = rhs.ptr; rhs.ptr = 0; return *this; } - } pointer; - SwigValueWrapper& operator=(const SwigValueWrapper& rhs); - SwigValueWrapper(const SwigValueWrapper& rhs); -public: - SwigValueWrapper() : pointer(0) { } - SwigValueWrapper& operator=(const T& t) { SwigMovePointer tmp(new T(t)); pointer = tmp; return *this; } - operator T&() const { return *pointer.ptr; } - T *operator&() { return pointer.ptr; } -}; - -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 - - - -#include -#include -#include - - -/* Support for throwing C# exceptions from C/C++. There are two types: - * Exceptions that take a message and ArgumentExceptions that take a message and a parameter name. */ -typedef enum { - SWIG_CSharpApplicationException, - SWIG_CSharpArithmeticException, - SWIG_CSharpDivideByZeroException, - SWIG_CSharpIndexOutOfRangeException, - SWIG_CSharpInvalidCastException, - SWIG_CSharpInvalidOperationException, - SWIG_CSharpIOException, - SWIG_CSharpNullReferenceException, - SWIG_CSharpOutOfMemoryException, - SWIG_CSharpOverflowException, - SWIG_CSharpSystemException -} SWIG_CSharpExceptionCodes; - -typedef enum { - SWIG_CSharpArgumentException, - SWIG_CSharpArgumentNullException, - SWIG_CSharpArgumentOutOfRangeException -} SWIG_CSharpExceptionArgumentCodes; - -typedef void (SWIGSTDCALL* SWIG_CSharpExceptionCallback_t)(const char *); -typedef void (SWIGSTDCALL* SWIG_CSharpExceptionArgumentCallback_t)(const char *, const char *); - -typedef struct { - SWIG_CSharpExceptionCodes code; - SWIG_CSharpExceptionCallback_t callback; -} SWIG_CSharpException_t; - -typedef struct { - SWIG_CSharpExceptionArgumentCodes code; - SWIG_CSharpExceptionArgumentCallback_t callback; -} SWIG_CSharpExceptionArgument_t; - -static SWIG_CSharpException_t SWIG_csharp_exceptions[] = { - { SWIG_CSharpApplicationException, NULL }, - { SWIG_CSharpArithmeticException, NULL }, - { SWIG_CSharpDivideByZeroException, NULL }, - { SWIG_CSharpIndexOutOfRangeException, NULL }, - { SWIG_CSharpInvalidCastException, NULL }, - { SWIG_CSharpInvalidOperationException, NULL }, - { SWIG_CSharpIOException, NULL }, - { SWIG_CSharpNullReferenceException, NULL }, - { SWIG_CSharpOutOfMemoryException, NULL }, - { SWIG_CSharpOverflowException, NULL }, - { SWIG_CSharpSystemException, NULL } -}; - -static SWIG_CSharpExceptionArgument_t SWIG_csharp_exceptions_argument[] = { - { SWIG_CSharpArgumentException, NULL }, - { SWIG_CSharpArgumentNullException, NULL }, - { SWIG_CSharpArgumentOutOfRangeException, NULL } -}; - -static void SWIGUNUSED SWIG_CSharpSetPendingException(SWIG_CSharpExceptionCodes code, const char *msg) { - SWIG_CSharpExceptionCallback_t callback = SWIG_csharp_exceptions[SWIG_CSharpApplicationException].callback; - if ((size_t)code < sizeof(SWIG_csharp_exceptions)/sizeof(SWIG_CSharpException_t)) { - callback = SWIG_csharp_exceptions[code].callback; - } - callback(msg); -} - -static void SWIGUNUSED SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpExceptionArgumentCodes code, const char *msg, const char *param_name) { - SWIG_CSharpExceptionArgumentCallback_t callback = SWIG_csharp_exceptions_argument[SWIG_CSharpArgumentException].callback; - if ((size_t)code < sizeof(SWIG_csharp_exceptions_argument)/sizeof(SWIG_CSharpExceptionArgument_t)) { - callback = SWIG_csharp_exceptions_argument[code].callback; - } - callback(msg, param_name); -} - - -#ifdef __cplusplus -extern "C" -#endif -SWIGEXPORT void SWIGSTDCALL SWIGRegisterExceptionCallbacks_Assimp( - SWIG_CSharpExceptionCallback_t applicationCallback, - SWIG_CSharpExceptionCallback_t arithmeticCallback, - SWIG_CSharpExceptionCallback_t divideByZeroCallback, - SWIG_CSharpExceptionCallback_t indexOutOfRangeCallback, - SWIG_CSharpExceptionCallback_t invalidCastCallback, - SWIG_CSharpExceptionCallback_t invalidOperationCallback, - SWIG_CSharpExceptionCallback_t ioCallback, - SWIG_CSharpExceptionCallback_t nullReferenceCallback, - SWIG_CSharpExceptionCallback_t outOfMemoryCallback, - SWIG_CSharpExceptionCallback_t overflowCallback, - SWIG_CSharpExceptionCallback_t systemCallback) { - SWIG_csharp_exceptions[SWIG_CSharpApplicationException].callback = applicationCallback; - SWIG_csharp_exceptions[SWIG_CSharpArithmeticException].callback = arithmeticCallback; - SWIG_csharp_exceptions[SWIG_CSharpDivideByZeroException].callback = divideByZeroCallback; - SWIG_csharp_exceptions[SWIG_CSharpIndexOutOfRangeException].callback = indexOutOfRangeCallback; - SWIG_csharp_exceptions[SWIG_CSharpInvalidCastException].callback = invalidCastCallback; - SWIG_csharp_exceptions[SWIG_CSharpInvalidOperationException].callback = invalidOperationCallback; - SWIG_csharp_exceptions[SWIG_CSharpIOException].callback = ioCallback; - SWIG_csharp_exceptions[SWIG_CSharpNullReferenceException].callback = nullReferenceCallback; - SWIG_csharp_exceptions[SWIG_CSharpOutOfMemoryException].callback = outOfMemoryCallback; - SWIG_csharp_exceptions[SWIG_CSharpOverflowException].callback = overflowCallback; - SWIG_csharp_exceptions[SWIG_CSharpSystemException].callback = systemCallback; -} - -#ifdef __cplusplus -extern "C" -#endif -SWIGEXPORT void SWIGSTDCALL SWIGRegisterExceptionArgumentCallbacks_Assimp( - SWIG_CSharpExceptionArgumentCallback_t argumentCallback, - SWIG_CSharpExceptionArgumentCallback_t argumentNullCallback, - SWIG_CSharpExceptionArgumentCallback_t argumentOutOfRangeCallback) { - SWIG_csharp_exceptions_argument[SWIG_CSharpArgumentException].callback = argumentCallback; - SWIG_csharp_exceptions_argument[SWIG_CSharpArgumentNullException].callback = argumentNullCallback; - SWIG_csharp_exceptions_argument[SWIG_CSharpArgumentOutOfRangeException].callback = argumentOutOfRangeCallback; -} - - -/* Callback for returning strings to C# without leaking memory */ -typedef char * (SWIGSTDCALL* SWIG_CSharpStringHelperCallback)(const char *); -static SWIG_CSharpStringHelperCallback SWIG_csharp_string_callback = NULL; - - -#ifdef __cplusplus -extern "C" -#endif -SWIGEXPORT void SWIGSTDCALL SWIGRegisterStringCallback_Assimp(SWIG_CSharpStringHelperCallback callback) { - SWIG_csharp_string_callback = callback; -} - - -/* Contract support */ - -#define SWIG_contract_assert(nullreturn, expr, msg) if (!(expr)) {SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, msg, ""); return nullreturn; } else - - -#include "..\..\..\include\assimp\defs.h" -#include "..\..\..\include\assimp\config.h" -#include "..\..\..\include\assimp\types.h" -#include "..\..\..\include\assimp\version.h" -#include "..\..\..\include\assimp\postprocess.h" -#include "..\..\..\include\assimp\vector2.h" -#include "..\..\..\include\assimp\vector3.h" -#include "..\..\..\include\assimp\color4.h" -#include "..\..\..\include\assimp\matrix3x3.h" -#include "..\..\..\include\assimp\matrix4x4.h" -#include "..\..\..\include\assimp\camera.h" -#include "..\..\..\include\assimp\light.h" -#include "..\..\..\include\assimp\anim.h" -#include "..\..\..\include\assimp\mesh.h" -#include "..\..\..\include\assimp\cfileio.h" -#include "..\..\..\include\assimp\material.h" -#include "..\..\..\include\assimp\quaternion.h" -#include "..\..\..\include\assimp\scene.h" -#include "..\..\..\include\assimp\texture.h" -#include "..\..\..\include\assimp\Importer.hpp" -#include "..\..\..\include\assimp\IOSystem.hpp" -#include "..\..\..\include\assimp\IOStream.hpp" -#include "..\..\..\include\assimp\Logger.hpp" -#include "..\..\..\include\assimp\LogStream.hpp" -#include "..\..\..\include\assimp\NullLogger.hpp" -#include "..\..\..\include\assimp\ProgressHandler.hpp" - - -#include - - -#include - - -#include -#include -#include - -SWIGINTERN std::vector< aiVectorKey * > *aiNodeAnim_GetmPositionKeys(aiNodeAnim *self){ - std::vector *result = new std::vector; - result->reserve(self->mNumPositionKeys); - - aiVectorKey *currentValue = (aiVectorKey *)self->mPositionKeys; - aiVectorKey *valueLimit = (aiVectorKey *)self->mPositionKeys + self->mNumPositionKeys; - while (currentValue < valueLimit) { - result->push_back(currentValue); - ++currentValue; - } - - return result; - } -SWIGINTERN std::vector< aiQuatKey * > *aiNodeAnim_GetmRotationKeys(aiNodeAnim *self){ - std::vector *result = new std::vector; - result->reserve(self->mNumRotationKeys); - - aiQuatKey *currentValue = (aiQuatKey *)self->mRotationKeys; - aiQuatKey *valueLimit = (aiQuatKey *)self->mRotationKeys + self->mNumRotationKeys; - while (currentValue < valueLimit) { - result->push_back(currentValue); - ++currentValue; - } - - return result; - } -SWIGINTERN std::vector< aiVectorKey * > *aiNodeAnim_GetmScalingKeys(aiNodeAnim *self){ - std::vector *result = new std::vector; - result->reserve(self->mNumScalingKeys); - - aiVectorKey *currentValue = (aiVectorKey *)self->mScalingKeys; - aiVectorKey *valueLimit = (aiVectorKey *)self->mScalingKeys + self->mNumScalingKeys; - while (currentValue < valueLimit) { - result->push_back(currentValue); - ++currentValue; - } - - return result; - } -SWIGINTERN std::vector< aiMeshKey * > *aiMeshAnim_GetmKeys(aiMeshAnim *self){ - std::vector *result = new std::vector; - result->reserve(self->mNumKeys); - - aiMeshKey *currentValue = (aiMeshKey *)self->mKeys; - aiMeshKey *valueLimit = (aiMeshKey *)self->mKeys + self->mNumKeys; - while (currentValue < valueLimit) { - result->push_back(currentValue); - ++currentValue; - } - - return result; - } -SWIGINTERN std::vector< aiNodeAnim * > *aiAnimation_GetmChannels(aiAnimation *self){ - std::vector *result = new std::vector; - result->reserve(self->mNumChannels); - - aiNodeAnim **currentValue = self->mChannels; - aiNodeAnim **valueLimit = self->mChannels + self->mNumChannels; - while (currentValue < valueLimit) { - result->push_back(*currentValue); - ++currentValue; - } - - return result; - } -SWIGINTERN std::vector< aiMeshAnim * > *aiAnimation_GetmMeshChannels(aiAnimation *self){ - std::vector *result = new std::vector; - result->reserve(self->mNumMeshChannels); - - aiMeshAnim **currentValue = self->mMeshChannels; - aiMeshAnim **valueLimit = self->mMeshChannels + self->mNumMeshChannels; - while (currentValue < valueLimit) { - result->push_back(*currentValue); - ++currentValue; - } - - return result; - } -SWIGINTERN std::vector< unsigned int > *aiFace_GetmIndices(aiFace *self){ - std::vector *result = new std::vector; - result->reserve(self->mNumIndices); - - for (unsigned int i = 0; i < self->mNumIndices; ++i) { - result->push_back(self->mIndices[i]); - } - - return result; - } -SWIGINTERN std::vector< aiVertexWeight * > *aiBone_GetmWeights(aiBone *self){ - std::vector *result = new std::vector; - result->reserve(self->mNumWeights); - - aiVertexWeight *currentValue = (aiVertexWeight *)self->mWeights; - aiVertexWeight *valueLimit = (aiVertexWeight *)self->mWeights + self->mNumWeights; - while (currentValue < valueLimit) { - result->push_back(currentValue); - ++currentValue; - } - - return result; - } -SWIGINTERN std::vector< aiAnimMesh * > *aiMesh_GetmAnimMeshes(aiMesh *self){ - std::vector *result = new std::vector; - result->reserve(self->mNumAnimMeshes); - - aiAnimMesh **currentValue = self->mAnimMeshes; - aiAnimMesh **valueLimit = self->mAnimMeshes + self->mNumAnimMeshes; - while (currentValue < valueLimit) { - result->push_back(*currentValue); - ++currentValue; - } - - return result; - } -SWIGINTERN std::vector< aiVector3D * > *aiMesh_GetmBitangents(aiMesh *self){ - std::vector *result = new std::vector; - result->reserve(self->mNumVertices); - - aiVector3D *currentValue = (aiVector3D *)self->mBitangents; - aiVector3D *valueLimit = (aiVector3D *)self->mBitangents + self->mNumVertices; - while (currentValue < valueLimit) { - result->push_back(currentValue); - ++currentValue; - } - - return result; - } -SWIGINTERN std::vector< aiBone * > *aiMesh_GetmBones(aiMesh *self){ - std::vector *result = new std::vector; - result->reserve(self->mNumBones); - - aiBone **currentValue = self->mBones; - aiBone **valueLimit = self->mBones + self->mNumBones; - while (currentValue < valueLimit) { - result->push_back(*currentValue); - ++currentValue; - } - - return result; - } -SWIGINTERN std::vector< std::vector< aiColor4D * > > *aiMesh_GetmColors(aiMesh *self){ - std::vector< std::vector > *result = new std::vector< std::vector >; - result->reserve(AI_MAX_NUMBER_OF_COLOR_SETS); - - for (unsigned int i = 0; i < AI_MAX_NUMBER_OF_COLOR_SETS; ++i) { - std::vector currentElements; - - if (self->mColors[i] != 0) { - currentElements.reserve(self->mNumVertices); - - aiColor4D *currentValue = self->mColors[i]; - aiColor4D *valueLimit = self->mColors[i] + self->mNumVertices; - while (currentValue < valueLimit) { - currentElements.push_back(currentValue); - ++currentValue; - } - } - - result->push_back(currentElements); - } - - return result; - } -SWIGINTERN std::vector< aiFace * > *aiMesh_GetmFaces(aiMesh *self){ - std::vector *result = new std::vector; - result->reserve(self->mNumFaces); - - aiFace *currentValue = (aiFace *)self->mFaces; - aiFace *valueLimit = (aiFace *)self->mFaces + self->mNumFaces; - while (currentValue < valueLimit) { - result->push_back(currentValue); - ++currentValue; - } - - return result; - } -SWIGINTERN std::vector< aiVector3D * > *aiMesh_GetmNormals(aiMesh *self){ - std::vector *result = new std::vector; - result->reserve(self->mNumVertices); - - aiVector3D *currentValue = (aiVector3D *)self->mNormals; - aiVector3D *valueLimit = (aiVector3D *)self->mNormals + self->mNumVertices; - while (currentValue < valueLimit) { - result->push_back(currentValue); - ++currentValue; - } - - return result; - } -SWIGINTERN std::vector< aiVector3D * > *aiMesh_GetmTangents(aiMesh *self){ - std::vector *result = new std::vector; - result->reserve(self->mNumVertices); - - aiVector3D *currentValue = (aiVector3D *)self->mTangents; - aiVector3D *valueLimit = (aiVector3D *)self->mTangents + self->mNumVertices; - while (currentValue < valueLimit) { - result->push_back(currentValue); - ++currentValue; - } - - return result; - } -SWIGINTERN std::vector< std::vector< aiVector3D * > > *aiMesh_GetmTextureCoords(aiMesh *self){ - std::vector< std::vector > *result = new std::vector< std::vector >; - result->reserve(AI_MAX_NUMBER_OF_TEXTURECOORDS); - - for (unsigned int i = 0; i < AI_MAX_NUMBER_OF_TEXTURECOORDS; ++i) { - std::vector currentElements; - - if (self->mTextureCoords[i] != 0) { - currentElements.reserve(self->mNumVertices); - - aiVector3D *currentValue = self->mTextureCoords[i]; - aiVector3D *valueLimit = self->mTextureCoords[i] + self->mNumVertices; - while (currentValue < valueLimit) { - currentElements.push_back(currentValue); - ++currentValue; - } - } - - result->push_back(currentElements); - } - - return result; - } -SWIGINTERN std::vector< unsigned int > *aiMesh_GetmNumUVComponents(aiMesh *self){ - std::vector *result = new std::vector; - result->reserve(AI_MAX_NUMBER_OF_TEXTURECOORDS); - - for (unsigned int i = 0; i < AI_MAX_NUMBER_OF_TEXTURECOORDS; ++i) { - result->push_back(self->mNumUVComponents[i]); - } - - return result; - } -SWIGINTERN std::vector< aiVector3D * > *aiMesh_GetmVertices(aiMesh *self){ - std::vector *result = new std::vector; - result->reserve(self->mNumVertices); - - aiVector3D *currentValue = (aiVector3D *)self->mVertices; - aiVector3D *valueLimit = (aiVector3D *)self->mVertices + self->mNumVertices; - while (currentValue < valueLimit) { - result->push_back(currentValue); - ++currentValue; - } - - return result; - } -SWIGINTERN bool aiMaterial_GetDiffuse(aiMaterial *self,aiColor4D *INOUT){ - return aiGetMaterialColor(self, AI_MATKEY_COLOR_DIFFUSE, INOUT) == AI_SUCCESS; - } -SWIGINTERN bool aiMaterial_GetSpecular(aiMaterial *self,aiColor4D *INOUT){ - return aiGetMaterialColor(self, AI_MATKEY_COLOR_SPECULAR, INOUT) == AI_SUCCESS; - } -SWIGINTERN bool aiMaterial_GetAmbient(aiMaterial *self,aiColor4D *INOUT){ - return aiGetMaterialColor(self, AI_MATKEY_COLOR_AMBIENT, INOUT) == AI_SUCCESS; - } -SWIGINTERN bool aiMaterial_GetEmissive(aiMaterial *self,aiColor4D *INOUT){ - return aiGetMaterialColor(self, AI_MATKEY_COLOR_EMISSIVE, INOUT) == AI_SUCCESS; - } -SWIGINTERN bool aiMaterial_GetOpacity(aiMaterial *self,float *INOUT){ - return aiGetMaterialFloat(self, AI_MATKEY_OPACITY, INOUT) == AI_SUCCESS; - } -SWIGINTERN bool aiMaterial_GetShininessStrength(aiMaterial *self,float *INOUT){ - return aiGetMaterialFloat(self, AI_MATKEY_SHININESS_STRENGTH, INOUT) == AI_SUCCESS; - } -SWIGINTERN bool aiMaterial_GetShadingModel(aiMaterial *self,int *INOUT){ - return aiGetMaterialInteger(self, AI_MATKEY_SHADING_MODEL, INOUT) == AI_SUCCESS; - } -SWIGINTERN bool aiMaterial_GetTexFlagsDiffuse0(aiMaterial *self,int *INOUT){ - return aiGetMaterialInteger(self, AI_MATKEY_TEXFLAGS_DIFFUSE(0), INOUT) == AI_SUCCESS; - } -SWIGINTERN bool aiMaterial_GetMappingModeUDiffuse0(aiMaterial *self,int *INOUT){ - return aiGetMaterialInteger(self, AI_MATKEY_MAPPINGMODE_U_DIFFUSE(0), INOUT) == AI_SUCCESS; - } -SWIGINTERN bool aiMaterial_GetMappingModeVDiffuse0(aiMaterial *self,int *INOUT){ - return aiGetMaterialInteger(self, AI_MATKEY_MAPPINGMODE_V_DIFFUSE(0), INOUT) == AI_SUCCESS; - } -SWIGINTERN bool aiMaterial_GetTextureDiffuse0(aiMaterial *self,aiString *INOUT){ - return aiGetMaterialString(self, AI_MATKEY_TEXTURE_DIFFUSE(0), INOUT) == AI_SUCCESS; - } -SWIGINTERN bool aiMaterial_GetTextureSpecular0(aiMaterial *self,aiString *INOUT){ - return aiGetMaterialString(self, AI_MATKEY_TEXTURE_SPECULAR(0), INOUT) == AI_SUCCESS; - } -SWIGINTERN bool aiMaterial_GetTextureOpacity0(aiMaterial *self,aiString *INOUT){ - return aiGetMaterialString(self, AI_MATKEY_TEXTURE_OPACITY(0), INOUT) == AI_SUCCESS; - } -SWIGINTERN bool aiMaterial_GetTextureAmbient0(aiMaterial *self,aiString *INOUT){ - return aiGetMaterialString(self, AI_MATKEY_TEXTURE_AMBIENT(0), INOUT) == AI_SUCCESS; - } -SWIGINTERN bool aiMaterial_GetTextureEmissive0(aiMaterial *self,aiString *INOUT){ - return aiGetMaterialString(self, AI_MATKEY_TEXTURE_EMISSIVE(0), INOUT) == AI_SUCCESS; - } -SWIGINTERN bool aiMaterial_GetTextureShininess0(aiMaterial *self,aiString *INOUT){ - return aiGetMaterialString(self, AI_MATKEY_TEXTURE_SHININESS(0), INOUT) == AI_SUCCESS; - } -SWIGINTERN bool aiMaterial_GetTextureLightmap0(aiMaterial *self,aiString *INOUT){ - return aiGetMaterialString(self, AI_MATKEY_TEXTURE_LIGHTMAP(0), INOUT) == AI_SUCCESS; - } -SWIGINTERN bool aiMaterial_GetTextureNormals0(aiMaterial *self,aiString *INOUT){ - return aiGetMaterialString(self, AI_MATKEY_TEXTURE_NORMALS(0), INOUT) == AI_SUCCESS; - } -SWIGINTERN bool aiMaterial_GetTextureHeight0(aiMaterial *self,aiString *INOUT){ - return aiGetMaterialString(self, AI_MATKEY_TEXTURE_HEIGHT(0), INOUT) == AI_SUCCESS; - } -SWIGINTERN bool aiMaterial_GetGlobalBackgroundImage(aiMaterial *self,aiString *INOUT){ - return aiGetMaterialString(self, AI_MATKEY_GLOBAL_BACKGROUND_IMAGE, INOUT) == AI_SUCCESS; - } -SWIGINTERN bool aiMaterial_GetTwoSided(aiMaterial *self,int *INOUT){ - return aiGetMaterialInteger(self, AI_MATKEY_TWOSIDED, INOUT) == AI_SUCCESS; - } -SWIGINTERN std::vector< aiNode * > *aiNode_GetmChildren(aiNode *self){ - std::vector *result = new std::vector; - result->reserve(self->mNumChildren); - - aiNode **currentValue = self->mChildren; - aiNode **valueLimit = self->mChildren + self->mNumChildren; - while (currentValue < valueLimit) { - result->push_back(*currentValue); - ++currentValue; - } - - return result; - } -SWIGINTERN std::vector< unsigned int > *aiNode_GetmMeshes(aiNode *self){ - std::vector *result = new std::vector; - result->reserve(self->mNumMeshes); - - for (unsigned int i = 0; i < self->mNumMeshes; ++i) { - result->push_back(self->mMeshes[i]); - } - - return result; - } -SWIGINTERN std::vector< aiAnimation * > *aiScene_GetmAnimations(aiScene *self){ - std::vector *result = new std::vector; - result->reserve(self->mNumAnimations); - - aiAnimation **currentValue = self->mAnimations; - aiAnimation **valueLimit = self->mAnimations + self->mNumAnimations; - while (currentValue < valueLimit) { - result->push_back(*currentValue); - ++currentValue; - } - - return result; - } -SWIGINTERN std::vector< aiCamera * > *aiScene_GetmCameras(aiScene *self){ - std::vector *result = new std::vector; - result->reserve(self->mNumCameras); - - aiCamera **currentValue = self->mCameras; - aiCamera **valueLimit = self->mCameras + self->mNumCameras; - while (currentValue < valueLimit) { - result->push_back(*currentValue); - ++currentValue; - } - - return result; - } -SWIGINTERN std::vector< aiLight * > *aiScene_GetmLights(aiScene *self){ - std::vector *result = new std::vector; - result->reserve(self->mNumLights); - - aiLight **currentValue = self->mLights; - aiLight **valueLimit = self->mLights + self->mNumLights; - while (currentValue < valueLimit) { - result->push_back(*currentValue); - ++currentValue; - } - - return result; - } -SWIGINTERN std::vector< aiMaterial * > *aiScene_GetmMaterials(aiScene *self){ - std::vector *result = new std::vector; - result->reserve(self->mNumMaterials); - - aiMaterial **currentValue = self->mMaterials; - aiMaterial **valueLimit = self->mMaterials + self->mNumMaterials; - while (currentValue < valueLimit) { - result->push_back(*currentValue); - ++currentValue; - } - - return result; - } -SWIGINTERN std::vector< aiMesh * > *aiScene_GetmMeshes(aiScene *self){ - std::vector *result = new std::vector; - result->reserve(self->mNumMeshes); - - aiMesh **currentValue = self->mMeshes; - aiMesh **valueLimit = self->mMeshes + self->mNumMeshes; - while (currentValue < valueLimit) { - result->push_back(*currentValue); - ++currentValue; - } - - return result; - } -SWIGINTERN std::vector< aiTexture * > *aiScene_GetmTextures(aiScene *self){ - std::vector *result = new std::vector; - result->reserve(self->mNumTextures); - - aiTexture **currentValue = self->mTextures; - aiTexture **valueLimit = self->mTextures + self->mNumTextures; - while (currentValue < valueLimit) { - result->push_back(*currentValue); - ++currentValue; - } - - return result; - } -SWIGINTERN std::string Assimp_Importer_GetExtensionList__SWIG_2(Assimp::Importer *self){ - std::string tmp; - self->GetExtensionList(tmp); - return tmp; - } -SWIGINTERN std::vector< float > *new_std_vector_Sl_float_Sg___SWIG_2(int capacity){ - std::vector< float >* pv = 0; - if (capacity >= 0) { - pv = new std::vector< float >(); - pv->reserve(capacity); - } else { - throw std::out_of_range("capacity"); - } - return pv; - } -SWIGINTERN float std_vector_Sl_float_Sg__getitemcopy(std::vector< float > *self,int index){ - if (index>=0 && index<(int)self->size()) - return (*self)[index]; - else - throw std::out_of_range("index"); - } -SWIGINTERN std::vector< float >::const_reference std_vector_Sl_float_Sg__getitem(std::vector< float > *self,int index){ - if (index>=0 && index<(int)self->size()) - return (*self)[index]; - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_float_Sg__setitem(std::vector< float > *self,int index,float const &val){ - if (index>=0 && index<(int)self->size()) - (*self)[index] = val; - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_float_Sg__AddRange(std::vector< float > *self,std::vector< float > const &values){ - self->insert(self->end(), values.begin(), values.end()); - } -SWIGINTERN std::vector< float > *std_vector_Sl_float_Sg__GetRange(std::vector< float > *self,int index,int count){ - if (index < 0) - throw std::out_of_range("index"); - if (count < 0) - throw std::out_of_range("count"); - if (index >= (int)self->size()+1 || index+count > (int)self->size()) - throw std::invalid_argument("invalid range"); - return new std::vector< float >(self->begin()+index, self->begin()+index+count); - } -SWIGINTERN void std_vector_Sl_float_Sg__Insert(std::vector< float > *self,int index,float const &x){ - if (index>=0 && index<(int)self->size()+1) - self->insert(self->begin()+index, x); - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_float_Sg__InsertRange(std::vector< float > *self,int index,std::vector< float > const &values){ - if (index>=0 && index<(int)self->size()+1) - self->insert(self->begin()+index, values.begin(), values.end()); - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_float_Sg__RemoveAt(std::vector< float > *self,int index){ - if (index>=0 && index<(int)self->size()) - self->erase(self->begin() + index); - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_float_Sg__RemoveRange(std::vector< float > *self,int index,int count){ - if (index < 0) - throw std::out_of_range("index"); - if (count < 0) - throw std::out_of_range("count"); - if (index >= (int)self->size()+1 || index+count > (int)self->size()) - throw std::invalid_argument("invalid range"); - self->erase(self->begin()+index, self->begin()+index+count); - } -SWIGINTERN std::vector< float > *std_vector_Sl_float_Sg__Repeat(float const &value,int count){ - if (count < 0) - throw std::out_of_range("count"); - return new std::vector< float >(count, value); - } -SWIGINTERN void std_vector_Sl_float_Sg__Reverse__SWIG_0(std::vector< float > *self){ - std::reverse(self->begin(), self->end()); - } -SWIGINTERN void std_vector_Sl_float_Sg__Reverse__SWIG_1(std::vector< float > *self,int index,int count){ - if (index < 0) - throw std::out_of_range("index"); - if (count < 0) - throw std::out_of_range("count"); - if (index >= (int)self->size()+1 || index+count > (int)self->size()) - throw std::invalid_argument("invalid range"); - std::reverse(self->begin()+index, self->begin()+index+count); - } -SWIGINTERN void std_vector_Sl_float_Sg__SetRange(std::vector< float > *self,int index,std::vector< float > const &values){ - if (index < 0) - throw std::out_of_range("index"); - if (index+values.size() > self->size()) - throw std::out_of_range("index"); - std::copy(values.begin(), values.end(), self->begin()+index); - } -SWIGINTERN bool std_vector_Sl_float_Sg__Contains(std::vector< float > *self,float const &value){ - return std::find(self->begin(), self->end(), value) != self->end(); - } -SWIGINTERN int std_vector_Sl_float_Sg__IndexOf(std::vector< float > *self,float const &value){ - int index = -1; - std::vector< float >::iterator it = std::find(self->begin(), self->end(), value); - if (it != self->end()) - index = (int)(it - self->begin()); - return index; - } -SWIGINTERN int std_vector_Sl_float_Sg__LastIndexOf(std::vector< float > *self,float const &value){ - int index = -1; - std::vector< float >::reverse_iterator rit = std::find(self->rbegin(), self->rend(), value); - if (rit != self->rend()) - index = (int)(self->rend() - 1 - rit); - return index; - } -SWIGINTERN bool std_vector_Sl_float_Sg__Remove(std::vector< float > *self,float const &value){ - std::vector< float >::iterator it = std::find(self->begin(), self->end(), value); - if (it != self->end()) { - self->erase(it); - return true; - } - return false; - } -SWIGINTERN std::vector< unsigned int > *new_std_vector_Sl_unsigned_SS_int_Sg___SWIG_2(int capacity){ - std::vector< unsigned int >* pv = 0; - if (capacity >= 0) { - pv = new std::vector< unsigned int >(); - pv->reserve(capacity); - } else { - throw std::out_of_range("capacity"); - } - return pv; - } -SWIGINTERN unsigned int std_vector_Sl_unsigned_SS_int_Sg__getitemcopy(std::vector< unsigned int > *self,int index){ - if (index>=0 && index<(int)self->size()) - return (*self)[index]; - else - throw std::out_of_range("index"); - } -SWIGINTERN std::vector< unsigned int >::const_reference std_vector_Sl_unsigned_SS_int_Sg__getitem(std::vector< unsigned int > *self,int index){ - if (index>=0 && index<(int)self->size()) - return (*self)[index]; - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_unsigned_SS_int_Sg__setitem(std::vector< unsigned int > *self,int index,unsigned int const &val){ - if (index>=0 && index<(int)self->size()) - (*self)[index] = val; - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_unsigned_SS_int_Sg__AddRange(std::vector< unsigned int > *self,std::vector< unsigned int > const &values){ - self->insert(self->end(), values.begin(), values.end()); - } -SWIGINTERN std::vector< unsigned int > *std_vector_Sl_unsigned_SS_int_Sg__GetRange(std::vector< unsigned int > *self,int index,int count){ - if (index < 0) - throw std::out_of_range("index"); - if (count < 0) - throw std::out_of_range("count"); - if (index >= (int)self->size()+1 || index+count > (int)self->size()) - throw std::invalid_argument("invalid range"); - return new std::vector< unsigned int >(self->begin()+index, self->begin()+index+count); - } -SWIGINTERN void std_vector_Sl_unsigned_SS_int_Sg__Insert(std::vector< unsigned int > *self,int index,unsigned int const &x){ - if (index>=0 && index<(int)self->size()+1) - self->insert(self->begin()+index, x); - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_unsigned_SS_int_Sg__InsertRange(std::vector< unsigned int > *self,int index,std::vector< unsigned int > const &values){ - if (index>=0 && index<(int)self->size()+1) - self->insert(self->begin()+index, values.begin(), values.end()); - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_unsigned_SS_int_Sg__RemoveAt(std::vector< unsigned int > *self,int index){ - if (index>=0 && index<(int)self->size()) - self->erase(self->begin() + index); - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_unsigned_SS_int_Sg__RemoveRange(std::vector< unsigned int > *self,int index,int count){ - if (index < 0) - throw std::out_of_range("index"); - if (count < 0) - throw std::out_of_range("count"); - if (index >= (int)self->size()+1 || index+count > (int)self->size()) - throw std::invalid_argument("invalid range"); - self->erase(self->begin()+index, self->begin()+index+count); - } -SWIGINTERN std::vector< unsigned int > *std_vector_Sl_unsigned_SS_int_Sg__Repeat(unsigned int const &value,int count){ - if (count < 0) - throw std::out_of_range("count"); - return new std::vector< unsigned int >(count, value); - } -SWIGINTERN void std_vector_Sl_unsigned_SS_int_Sg__Reverse__SWIG_0(std::vector< unsigned int > *self){ - std::reverse(self->begin(), self->end()); - } -SWIGINTERN void std_vector_Sl_unsigned_SS_int_Sg__Reverse__SWIG_1(std::vector< unsigned int > *self,int index,int count){ - if (index < 0) - throw std::out_of_range("index"); - if (count < 0) - throw std::out_of_range("count"); - if (index >= (int)self->size()+1 || index+count > (int)self->size()) - throw std::invalid_argument("invalid range"); - std::reverse(self->begin()+index, self->begin()+index+count); - } -SWIGINTERN void std_vector_Sl_unsigned_SS_int_Sg__SetRange(std::vector< unsigned int > *self,int index,std::vector< unsigned int > const &values){ - if (index < 0) - throw std::out_of_range("index"); - if (index+values.size() > self->size()) - throw std::out_of_range("index"); - std::copy(values.begin(), values.end(), self->begin()+index); - } -SWIGINTERN bool std_vector_Sl_unsigned_SS_int_Sg__Contains(std::vector< unsigned int > *self,unsigned int const &value){ - return std::find(self->begin(), self->end(), value) != self->end(); - } -SWIGINTERN int std_vector_Sl_unsigned_SS_int_Sg__IndexOf(std::vector< unsigned int > *self,unsigned int const &value){ - int index = -1; - std::vector< unsigned int >::iterator it = std::find(self->begin(), self->end(), value); - if (it != self->end()) - index = (int)(it - self->begin()); - return index; - } -SWIGINTERN int std_vector_Sl_unsigned_SS_int_Sg__LastIndexOf(std::vector< unsigned int > *self,unsigned int const &value){ - int index = -1; - std::vector< unsigned int >::reverse_iterator rit = std::find(self->rbegin(), self->rend(), value); - if (rit != self->rend()) - index = (int)(self->rend() - 1 - rit); - return index; - } -SWIGINTERN bool std_vector_Sl_unsigned_SS_int_Sg__Remove(std::vector< unsigned int > *self,unsigned int const &value){ - std::vector< unsigned int >::iterator it = std::find(self->begin(), self->end(), value); - if (it != self->end()) { - self->erase(it); - return true; - } - return false; - } -SWIGINTERN std::vector< aiAnimation * > *new_std_vector_Sl_aiAnimation_Sm__Sg___SWIG_2(int capacity){ - std::vector< aiAnimation * >* pv = 0; - if (capacity >= 0) { - pv = new std::vector< aiAnimation * >(); - pv->reserve(capacity); - } else { - throw std::out_of_range("capacity"); - } - return pv; - } -SWIGINTERN aiAnimation *std_vector_Sl_aiAnimation_Sm__Sg__getitemcopy(std::vector< aiAnimation * > *self,int index){ - if (index>=0 && index<(int)self->size()) - return (*self)[index]; - else - throw std::out_of_range("index"); - } -SWIGINTERN std::vector< aiAnimation * >::const_reference std_vector_Sl_aiAnimation_Sm__Sg__getitem(std::vector< aiAnimation * > *self,int index){ - if (index>=0 && index<(int)self->size()) - return (*self)[index]; - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiAnimation_Sm__Sg__setitem(std::vector< aiAnimation * > *self,int index,aiAnimation *const &val){ - if (index>=0 && index<(int)self->size()) - (*self)[index] = val; - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiAnimation_Sm__Sg__AddRange(std::vector< aiAnimation * > *self,std::vector< aiAnimation * > const &values){ - self->insert(self->end(), values.begin(), values.end()); - } -SWIGINTERN std::vector< aiAnimation * > *std_vector_Sl_aiAnimation_Sm__Sg__GetRange(std::vector< aiAnimation * > *self,int index,int count){ - if (index < 0) - throw std::out_of_range("index"); - if (count < 0) - throw std::out_of_range("count"); - if (index >= (int)self->size()+1 || index+count > (int)self->size()) - throw std::invalid_argument("invalid range"); - return new std::vector< aiAnimation * >(self->begin()+index, self->begin()+index+count); - } -SWIGINTERN void std_vector_Sl_aiAnimation_Sm__Sg__Insert(std::vector< aiAnimation * > *self,int index,aiAnimation *const &x){ - if (index>=0 && index<(int)self->size()+1) - self->insert(self->begin()+index, x); - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiAnimation_Sm__Sg__InsertRange(std::vector< aiAnimation * > *self,int index,std::vector< aiAnimation * > const &values){ - if (index>=0 && index<(int)self->size()+1) - self->insert(self->begin()+index, values.begin(), values.end()); - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiAnimation_Sm__Sg__RemoveAt(std::vector< aiAnimation * > *self,int index){ - if (index>=0 && index<(int)self->size()) - self->erase(self->begin() + index); - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiAnimation_Sm__Sg__RemoveRange(std::vector< aiAnimation * > *self,int index,int count){ - if (index < 0) - throw std::out_of_range("index"); - if (count < 0) - throw std::out_of_range("count"); - if (index >= (int)self->size()+1 || index+count > (int)self->size()) - throw std::invalid_argument("invalid range"); - self->erase(self->begin()+index, self->begin()+index+count); - } -SWIGINTERN std::vector< aiAnimation * > *std_vector_Sl_aiAnimation_Sm__Sg__Repeat(aiAnimation *const &value,int count){ - if (count < 0) - throw std::out_of_range("count"); - return new std::vector< aiAnimation * >(count, value); - } -SWIGINTERN void std_vector_Sl_aiAnimation_Sm__Sg__Reverse__SWIG_0(std::vector< aiAnimation * > *self){ - std::reverse(self->begin(), self->end()); - } -SWIGINTERN void std_vector_Sl_aiAnimation_Sm__Sg__Reverse__SWIG_1(std::vector< aiAnimation * > *self,int index,int count){ - if (index < 0) - throw std::out_of_range("index"); - if (count < 0) - throw std::out_of_range("count"); - if (index >= (int)self->size()+1 || index+count > (int)self->size()) - throw std::invalid_argument("invalid range"); - std::reverse(self->begin()+index, self->begin()+index+count); - } -SWIGINTERN void std_vector_Sl_aiAnimation_Sm__Sg__SetRange(std::vector< aiAnimation * > *self,int index,std::vector< aiAnimation * > const &values){ - if (index < 0) - throw std::out_of_range("index"); - if (index+values.size() > self->size()) - throw std::out_of_range("index"); - std::copy(values.begin(), values.end(), self->begin()+index); - } -SWIGINTERN bool std_vector_Sl_aiAnimation_Sm__Sg__Contains(std::vector< aiAnimation * > *self,aiAnimation *const &value){ - return std::find(self->begin(), self->end(), value) != self->end(); - } -SWIGINTERN int std_vector_Sl_aiAnimation_Sm__Sg__IndexOf(std::vector< aiAnimation * > *self,aiAnimation *const &value){ - int index = -1; - std::vector< aiAnimation * >::iterator it = std::find(self->begin(), self->end(), value); - if (it != self->end()) - index = (int)(it - self->begin()); - return index; - } -SWIGINTERN int std_vector_Sl_aiAnimation_Sm__Sg__LastIndexOf(std::vector< aiAnimation * > *self,aiAnimation *const &value){ - int index = -1; - std::vector< aiAnimation * >::reverse_iterator rit = std::find(self->rbegin(), self->rend(), value); - if (rit != self->rend()) - index = (int)(self->rend() - 1 - rit); - return index; - } -SWIGINTERN bool std_vector_Sl_aiAnimation_Sm__Sg__Remove(std::vector< aiAnimation * > *self,aiAnimation *const &value){ - std::vector< aiAnimation * >::iterator it = std::find(self->begin(), self->end(), value); - if (it != self->end()) { - self->erase(it); - return true; - } - return false; - } -SWIGINTERN std::vector< aiAnimMesh * > *new_std_vector_Sl_aiAnimMesh_Sm__Sg___SWIG_2(int capacity){ - std::vector< aiAnimMesh * >* pv = 0; - if (capacity >= 0) { - pv = new std::vector< aiAnimMesh * >(); - pv->reserve(capacity); - } else { - throw std::out_of_range("capacity"); - } - return pv; - } -SWIGINTERN aiAnimMesh *std_vector_Sl_aiAnimMesh_Sm__Sg__getitemcopy(std::vector< aiAnimMesh * > *self,int index){ - if (index>=0 && index<(int)self->size()) - return (*self)[index]; - else - throw std::out_of_range("index"); - } -SWIGINTERN std::vector< aiAnimMesh * >::const_reference std_vector_Sl_aiAnimMesh_Sm__Sg__getitem(std::vector< aiAnimMesh * > *self,int index){ - if (index>=0 && index<(int)self->size()) - return (*self)[index]; - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiAnimMesh_Sm__Sg__setitem(std::vector< aiAnimMesh * > *self,int index,aiAnimMesh *const &val){ - if (index>=0 && index<(int)self->size()) - (*self)[index] = val; - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiAnimMesh_Sm__Sg__AddRange(std::vector< aiAnimMesh * > *self,std::vector< aiAnimMesh * > const &values){ - self->insert(self->end(), values.begin(), values.end()); - } -SWIGINTERN std::vector< aiAnimMesh * > *std_vector_Sl_aiAnimMesh_Sm__Sg__GetRange(std::vector< aiAnimMesh * > *self,int index,int count){ - if (index < 0) - throw std::out_of_range("index"); - if (count < 0) - throw std::out_of_range("count"); - if (index >= (int)self->size()+1 || index+count > (int)self->size()) - throw std::invalid_argument("invalid range"); - return new std::vector< aiAnimMesh * >(self->begin()+index, self->begin()+index+count); - } -SWIGINTERN void std_vector_Sl_aiAnimMesh_Sm__Sg__Insert(std::vector< aiAnimMesh * > *self,int index,aiAnimMesh *const &x){ - if (index>=0 && index<(int)self->size()+1) - self->insert(self->begin()+index, x); - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiAnimMesh_Sm__Sg__InsertRange(std::vector< aiAnimMesh * > *self,int index,std::vector< aiAnimMesh * > const &values){ - if (index>=0 && index<(int)self->size()+1) - self->insert(self->begin()+index, values.begin(), values.end()); - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiAnimMesh_Sm__Sg__RemoveAt(std::vector< aiAnimMesh * > *self,int index){ - if (index>=0 && index<(int)self->size()) - self->erase(self->begin() + index); - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiAnimMesh_Sm__Sg__RemoveRange(std::vector< aiAnimMesh * > *self,int index,int count){ - if (index < 0) - throw std::out_of_range("index"); - if (count < 0) - throw std::out_of_range("count"); - if (index >= (int)self->size()+1 || index+count > (int)self->size()) - throw std::invalid_argument("invalid range"); - self->erase(self->begin()+index, self->begin()+index+count); - } -SWIGINTERN std::vector< aiAnimMesh * > *std_vector_Sl_aiAnimMesh_Sm__Sg__Repeat(aiAnimMesh *const &value,int count){ - if (count < 0) - throw std::out_of_range("count"); - return new std::vector< aiAnimMesh * >(count, value); - } -SWIGINTERN void std_vector_Sl_aiAnimMesh_Sm__Sg__Reverse__SWIG_0(std::vector< aiAnimMesh * > *self){ - std::reverse(self->begin(), self->end()); - } -SWIGINTERN void std_vector_Sl_aiAnimMesh_Sm__Sg__Reverse__SWIG_1(std::vector< aiAnimMesh * > *self,int index,int count){ - if (index < 0) - throw std::out_of_range("index"); - if (count < 0) - throw std::out_of_range("count"); - if (index >= (int)self->size()+1 || index+count > (int)self->size()) - throw std::invalid_argument("invalid range"); - std::reverse(self->begin()+index, self->begin()+index+count); - } -SWIGINTERN void std_vector_Sl_aiAnimMesh_Sm__Sg__SetRange(std::vector< aiAnimMesh * > *self,int index,std::vector< aiAnimMesh * > const &values){ - if (index < 0) - throw std::out_of_range("index"); - if (index+values.size() > self->size()) - throw std::out_of_range("index"); - std::copy(values.begin(), values.end(), self->begin()+index); - } -SWIGINTERN bool std_vector_Sl_aiAnimMesh_Sm__Sg__Contains(std::vector< aiAnimMesh * > *self,aiAnimMesh *const &value){ - return std::find(self->begin(), self->end(), value) != self->end(); - } -SWIGINTERN int std_vector_Sl_aiAnimMesh_Sm__Sg__IndexOf(std::vector< aiAnimMesh * > *self,aiAnimMesh *const &value){ - int index = -1; - std::vector< aiAnimMesh * >::iterator it = std::find(self->begin(), self->end(), value); - if (it != self->end()) - index = (int)(it - self->begin()); - return index; - } -SWIGINTERN int std_vector_Sl_aiAnimMesh_Sm__Sg__LastIndexOf(std::vector< aiAnimMesh * > *self,aiAnimMesh *const &value){ - int index = -1; - std::vector< aiAnimMesh * >::reverse_iterator rit = std::find(self->rbegin(), self->rend(), value); - if (rit != self->rend()) - index = (int)(self->rend() - 1 - rit); - return index; - } -SWIGINTERN bool std_vector_Sl_aiAnimMesh_Sm__Sg__Remove(std::vector< aiAnimMesh * > *self,aiAnimMesh *const &value){ - std::vector< aiAnimMesh * >::iterator it = std::find(self->begin(), self->end(), value); - if (it != self->end()) { - self->erase(it); - return true; - } - return false; - } -SWIGINTERN std::vector< aiBone * > *new_std_vector_Sl_aiBone_Sm__Sg___SWIG_2(int capacity){ - std::vector< aiBone * >* pv = 0; - if (capacity >= 0) { - pv = new std::vector< aiBone * >(); - pv->reserve(capacity); - } else { - throw std::out_of_range("capacity"); - } - return pv; - } -SWIGINTERN aiBone *std_vector_Sl_aiBone_Sm__Sg__getitemcopy(std::vector< aiBone * > *self,int index){ - if (index>=0 && index<(int)self->size()) - return (*self)[index]; - else - throw std::out_of_range("index"); - } -SWIGINTERN std::vector< aiBone * >::const_reference std_vector_Sl_aiBone_Sm__Sg__getitem(std::vector< aiBone * > *self,int index){ - if (index>=0 && index<(int)self->size()) - return (*self)[index]; - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiBone_Sm__Sg__setitem(std::vector< aiBone * > *self,int index,aiBone *const &val){ - if (index>=0 && index<(int)self->size()) - (*self)[index] = val; - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiBone_Sm__Sg__AddRange(std::vector< aiBone * > *self,std::vector< aiBone * > const &values){ - self->insert(self->end(), values.begin(), values.end()); - } -SWIGINTERN std::vector< aiBone * > *std_vector_Sl_aiBone_Sm__Sg__GetRange(std::vector< aiBone * > *self,int index,int count){ - if (index < 0) - throw std::out_of_range("index"); - if (count < 0) - throw std::out_of_range("count"); - if (index >= (int)self->size()+1 || index+count > (int)self->size()) - throw std::invalid_argument("invalid range"); - return new std::vector< aiBone * >(self->begin()+index, self->begin()+index+count); - } -SWIGINTERN void std_vector_Sl_aiBone_Sm__Sg__Insert(std::vector< aiBone * > *self,int index,aiBone *const &x){ - if (index>=0 && index<(int)self->size()+1) - self->insert(self->begin()+index, x); - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiBone_Sm__Sg__InsertRange(std::vector< aiBone * > *self,int index,std::vector< aiBone * > const &values){ - if (index>=0 && index<(int)self->size()+1) - self->insert(self->begin()+index, values.begin(), values.end()); - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiBone_Sm__Sg__RemoveAt(std::vector< aiBone * > *self,int index){ - if (index>=0 && index<(int)self->size()) - self->erase(self->begin() + index); - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiBone_Sm__Sg__RemoveRange(std::vector< aiBone * > *self,int index,int count){ - if (index < 0) - throw std::out_of_range("index"); - if (count < 0) - throw std::out_of_range("count"); - if (index >= (int)self->size()+1 || index+count > (int)self->size()) - throw std::invalid_argument("invalid range"); - self->erase(self->begin()+index, self->begin()+index+count); - } -SWIGINTERN std::vector< aiBone * > *std_vector_Sl_aiBone_Sm__Sg__Repeat(aiBone *const &value,int count){ - if (count < 0) - throw std::out_of_range("count"); - return new std::vector< aiBone * >(count, value); - } -SWIGINTERN void std_vector_Sl_aiBone_Sm__Sg__Reverse__SWIG_0(std::vector< aiBone * > *self){ - std::reverse(self->begin(), self->end()); - } -SWIGINTERN void std_vector_Sl_aiBone_Sm__Sg__Reverse__SWIG_1(std::vector< aiBone * > *self,int index,int count){ - if (index < 0) - throw std::out_of_range("index"); - if (count < 0) - throw std::out_of_range("count"); - if (index >= (int)self->size()+1 || index+count > (int)self->size()) - throw std::invalid_argument("invalid range"); - std::reverse(self->begin()+index, self->begin()+index+count); - } -SWIGINTERN void std_vector_Sl_aiBone_Sm__Sg__SetRange(std::vector< aiBone * > *self,int index,std::vector< aiBone * > const &values){ - if (index < 0) - throw std::out_of_range("index"); - if (index+values.size() > self->size()) - throw std::out_of_range("index"); - std::copy(values.begin(), values.end(), self->begin()+index); - } -SWIGINTERN bool std_vector_Sl_aiBone_Sm__Sg__Contains(std::vector< aiBone * > *self,aiBone *const &value){ - return std::find(self->begin(), self->end(), value) != self->end(); - } -SWIGINTERN int std_vector_Sl_aiBone_Sm__Sg__IndexOf(std::vector< aiBone * > *self,aiBone *const &value){ - int index = -1; - std::vector< aiBone * >::iterator it = std::find(self->begin(), self->end(), value); - if (it != self->end()) - index = (int)(it - self->begin()); - return index; - } -SWIGINTERN int std_vector_Sl_aiBone_Sm__Sg__LastIndexOf(std::vector< aiBone * > *self,aiBone *const &value){ - int index = -1; - std::vector< aiBone * >::reverse_iterator rit = std::find(self->rbegin(), self->rend(), value); - if (rit != self->rend()) - index = (int)(self->rend() - 1 - rit); - return index; - } -SWIGINTERN bool std_vector_Sl_aiBone_Sm__Sg__Remove(std::vector< aiBone * > *self,aiBone *const &value){ - std::vector< aiBone * >::iterator it = std::find(self->begin(), self->end(), value); - if (it != self->end()) { - self->erase(it); - return true; - } - return false; - } -SWIGINTERN std::vector< aiCamera * > *new_std_vector_Sl_aiCamera_Sm__Sg___SWIG_2(int capacity){ - std::vector< aiCamera * >* pv = 0; - if (capacity >= 0) { - pv = new std::vector< aiCamera * >(); - pv->reserve(capacity); - } else { - throw std::out_of_range("capacity"); - } - return pv; - } -SWIGINTERN aiCamera *std_vector_Sl_aiCamera_Sm__Sg__getitemcopy(std::vector< aiCamera * > *self,int index){ - if (index>=0 && index<(int)self->size()) - return (*self)[index]; - else - throw std::out_of_range("index"); - } -SWIGINTERN std::vector< aiCamera * >::const_reference std_vector_Sl_aiCamera_Sm__Sg__getitem(std::vector< aiCamera * > *self,int index){ - if (index>=0 && index<(int)self->size()) - return (*self)[index]; - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiCamera_Sm__Sg__setitem(std::vector< aiCamera * > *self,int index,aiCamera *const &val){ - if (index>=0 && index<(int)self->size()) - (*self)[index] = val; - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiCamera_Sm__Sg__AddRange(std::vector< aiCamera * > *self,std::vector< aiCamera * > const &values){ - self->insert(self->end(), values.begin(), values.end()); - } -SWIGINTERN std::vector< aiCamera * > *std_vector_Sl_aiCamera_Sm__Sg__GetRange(std::vector< aiCamera * > *self,int index,int count){ - if (index < 0) - throw std::out_of_range("index"); - if (count < 0) - throw std::out_of_range("count"); - if (index >= (int)self->size()+1 || index+count > (int)self->size()) - throw std::invalid_argument("invalid range"); - return new std::vector< aiCamera * >(self->begin()+index, self->begin()+index+count); - } -SWIGINTERN void std_vector_Sl_aiCamera_Sm__Sg__Insert(std::vector< aiCamera * > *self,int index,aiCamera *const &x){ - if (index>=0 && index<(int)self->size()+1) - self->insert(self->begin()+index, x); - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiCamera_Sm__Sg__InsertRange(std::vector< aiCamera * > *self,int index,std::vector< aiCamera * > const &values){ - if (index>=0 && index<(int)self->size()+1) - self->insert(self->begin()+index, values.begin(), values.end()); - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiCamera_Sm__Sg__RemoveAt(std::vector< aiCamera * > *self,int index){ - if (index>=0 && index<(int)self->size()) - self->erase(self->begin() + index); - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiCamera_Sm__Sg__RemoveRange(std::vector< aiCamera * > *self,int index,int count){ - if (index < 0) - throw std::out_of_range("index"); - if (count < 0) - throw std::out_of_range("count"); - if (index >= (int)self->size()+1 || index+count > (int)self->size()) - throw std::invalid_argument("invalid range"); - self->erase(self->begin()+index, self->begin()+index+count); - } -SWIGINTERN std::vector< aiCamera * > *std_vector_Sl_aiCamera_Sm__Sg__Repeat(aiCamera *const &value,int count){ - if (count < 0) - throw std::out_of_range("count"); - return new std::vector< aiCamera * >(count, value); - } -SWIGINTERN void std_vector_Sl_aiCamera_Sm__Sg__Reverse__SWIG_0(std::vector< aiCamera * > *self){ - std::reverse(self->begin(), self->end()); - } -SWIGINTERN void std_vector_Sl_aiCamera_Sm__Sg__Reverse__SWIG_1(std::vector< aiCamera * > *self,int index,int count){ - if (index < 0) - throw std::out_of_range("index"); - if (count < 0) - throw std::out_of_range("count"); - if (index >= (int)self->size()+1 || index+count > (int)self->size()) - throw std::invalid_argument("invalid range"); - std::reverse(self->begin()+index, self->begin()+index+count); - } -SWIGINTERN void std_vector_Sl_aiCamera_Sm__Sg__SetRange(std::vector< aiCamera * > *self,int index,std::vector< aiCamera * > const &values){ - if (index < 0) - throw std::out_of_range("index"); - if (index+values.size() > self->size()) - throw std::out_of_range("index"); - std::copy(values.begin(), values.end(), self->begin()+index); - } -SWIGINTERN bool std_vector_Sl_aiCamera_Sm__Sg__Contains(std::vector< aiCamera * > *self,aiCamera *const &value){ - return std::find(self->begin(), self->end(), value) != self->end(); - } -SWIGINTERN int std_vector_Sl_aiCamera_Sm__Sg__IndexOf(std::vector< aiCamera * > *self,aiCamera *const &value){ - int index = -1; - std::vector< aiCamera * >::iterator it = std::find(self->begin(), self->end(), value); - if (it != self->end()) - index = (int)(it - self->begin()); - return index; - } -SWIGINTERN int std_vector_Sl_aiCamera_Sm__Sg__LastIndexOf(std::vector< aiCamera * > *self,aiCamera *const &value){ - int index = -1; - std::vector< aiCamera * >::reverse_iterator rit = std::find(self->rbegin(), self->rend(), value); - if (rit != self->rend()) - index = (int)(self->rend() - 1 - rit); - return index; - } -SWIGINTERN bool std_vector_Sl_aiCamera_Sm__Sg__Remove(std::vector< aiCamera * > *self,aiCamera *const &value){ - std::vector< aiCamera * >::iterator it = std::find(self->begin(), self->end(), value); - if (it != self->end()) { - self->erase(it); - return true; - } - return false; - } -SWIGINTERN std::vector< std::vector< aiColor4D * > > *new_std_vector_Sl_std_vector_Sl_aiColor4D_Sm__Sg__Sg___SWIG_2(int capacity){ - std::vector< std::vector< aiColor4t< float > * > >* pv = 0; - if (capacity >= 0) { - pv = new std::vector< std::vector< aiColor4t< float > * > >(); - pv->reserve(capacity); - } else { - throw std::out_of_range("capacity"); - } - return pv; - } -SWIGINTERN std::vector< aiColor4t< float > * > std_vector_Sl_std_vector_Sl_aiColor4D_Sm__Sg__Sg__getitemcopy(std::vector< std::vector< aiColor4D * > > *self,int index){ - if (index>=0 && index<(int)self->size()) - return (*self)[index]; - else - throw std::out_of_range("index"); - } -SWIGINTERN std::vector< std::vector< aiColor4t< float > * > >::const_reference std_vector_Sl_std_vector_Sl_aiColor4D_Sm__Sg__Sg__getitem(std::vector< std::vector< aiColor4D * > > *self,int index){ - if (index>=0 && index<(int)self->size()) - return (*self)[index]; - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_std_vector_Sl_aiColor4D_Sm__Sg__Sg__setitem(std::vector< std::vector< aiColor4D * > > *self,int index,std::vector< aiColor4t< float > * > const &val){ - if (index>=0 && index<(int)self->size()) - (*self)[index] = val; - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_std_vector_Sl_aiColor4D_Sm__Sg__Sg__AddRange(std::vector< std::vector< aiColor4D * > > *self,std::vector< std::vector< aiColor4t< float > * > > const &values){ - self->insert(self->end(), values.begin(), values.end()); - } -SWIGINTERN std::vector< std::vector< aiColor4t< float > * > > *std_vector_Sl_std_vector_Sl_aiColor4D_Sm__Sg__Sg__GetRange(std::vector< std::vector< aiColor4D * > > *self,int index,int count){ - if (index < 0) - throw std::out_of_range("index"); - if (count < 0) - throw std::out_of_range("count"); - if (index >= (int)self->size()+1 || index+count > (int)self->size()) - throw std::invalid_argument("invalid range"); - return new std::vector< std::vector< aiColor4t< float > * > >(self->begin()+index, self->begin()+index+count); - } -SWIGINTERN void std_vector_Sl_std_vector_Sl_aiColor4D_Sm__Sg__Sg__Insert(std::vector< std::vector< aiColor4D * > > *self,int index,std::vector< aiColor4t< float > * > const &x){ - if (index>=0 && index<(int)self->size()+1) - self->insert(self->begin()+index, x); - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_std_vector_Sl_aiColor4D_Sm__Sg__Sg__InsertRange(std::vector< std::vector< aiColor4D * > > *self,int index,std::vector< std::vector< aiColor4t< float > * > > const &values){ - if (index>=0 && index<(int)self->size()+1) - self->insert(self->begin()+index, values.begin(), values.end()); - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_std_vector_Sl_aiColor4D_Sm__Sg__Sg__RemoveAt(std::vector< std::vector< aiColor4D * > > *self,int index){ - if (index>=0 && index<(int)self->size()) - self->erase(self->begin() + index); - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_std_vector_Sl_aiColor4D_Sm__Sg__Sg__RemoveRange(std::vector< std::vector< aiColor4D * > > *self,int index,int count){ - if (index < 0) - throw std::out_of_range("index"); - if (count < 0) - throw std::out_of_range("count"); - if (index >= (int)self->size()+1 || index+count > (int)self->size()) - throw std::invalid_argument("invalid range"); - self->erase(self->begin()+index, self->begin()+index+count); - } -SWIGINTERN std::vector< std::vector< aiColor4t< float > * > > *std_vector_Sl_std_vector_Sl_aiColor4D_Sm__Sg__Sg__Repeat(std::vector< aiColor4t< float > * > const &value,int count){ - if (count < 0) - throw std::out_of_range("count"); - return new std::vector< std::vector< aiColor4t< float > * > >(count, value); - } -SWIGINTERN void std_vector_Sl_std_vector_Sl_aiColor4D_Sm__Sg__Sg__Reverse__SWIG_0(std::vector< std::vector< aiColor4D * > > *self){ - std::reverse(self->begin(), self->end()); - } -SWIGINTERN void std_vector_Sl_std_vector_Sl_aiColor4D_Sm__Sg__Sg__Reverse__SWIG_1(std::vector< std::vector< aiColor4D * > > *self,int index,int count){ - if (index < 0) - throw std::out_of_range("index"); - if (count < 0) - throw std::out_of_range("count"); - if (index >= (int)self->size()+1 || index+count > (int)self->size()) - throw std::invalid_argument("invalid range"); - std::reverse(self->begin()+index, self->begin()+index+count); - } -SWIGINTERN void std_vector_Sl_std_vector_Sl_aiColor4D_Sm__Sg__Sg__SetRange(std::vector< std::vector< aiColor4D * > > *self,int index,std::vector< std::vector< aiColor4t< float > * > > const &values){ - if (index < 0) - throw std::out_of_range("index"); - if (index+values.size() > self->size()) - throw std::out_of_range("index"); - std::copy(values.begin(), values.end(), self->begin()+index); - } -SWIGINTERN std::vector< aiColor4D * > *new_std_vector_Sl_aiColor4D_Sm__Sg___SWIG_2(int capacity){ - std::vector< aiColor4t< float > * >* pv = 0; - if (capacity >= 0) { - pv = new std::vector< aiColor4t< float > * >(); - pv->reserve(capacity); - } else { - throw std::out_of_range("capacity"); - } - return pv; - } -SWIGINTERN aiColor4t< float > *std_vector_Sl_aiColor4D_Sm__Sg__getitemcopy(std::vector< aiColor4D * > *self,int index){ - if (index>=0 && index<(int)self->size()) - return (*self)[index]; - else - throw std::out_of_range("index"); - } -SWIGINTERN std::vector< aiColor4t< float > * >::const_reference std_vector_Sl_aiColor4D_Sm__Sg__getitem(std::vector< aiColor4D * > *self,int index){ - if (index>=0 && index<(int)self->size()) - return (*self)[index]; - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiColor4D_Sm__Sg__setitem(std::vector< aiColor4D * > *self,int index,aiColor4t< float > *const &val){ - if (index>=0 && index<(int)self->size()) - (*self)[index] = val; - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiColor4D_Sm__Sg__AddRange(std::vector< aiColor4D * > *self,std::vector< aiColor4t< float > * > const &values){ - self->insert(self->end(), values.begin(), values.end()); - } -SWIGINTERN std::vector< aiColor4t< float > * > *std_vector_Sl_aiColor4D_Sm__Sg__GetRange(std::vector< aiColor4D * > *self,int index,int count){ - if (index < 0) - throw std::out_of_range("index"); - if (count < 0) - throw std::out_of_range("count"); - if (index >= (int)self->size()+1 || index+count > (int)self->size()) - throw std::invalid_argument("invalid range"); - return new std::vector< aiColor4t< float > * >(self->begin()+index, self->begin()+index+count); - } -SWIGINTERN void std_vector_Sl_aiColor4D_Sm__Sg__Insert(std::vector< aiColor4D * > *self,int index,aiColor4t< float > *const &x){ - if (index>=0 && index<(int)self->size()+1) - self->insert(self->begin()+index, x); - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiColor4D_Sm__Sg__InsertRange(std::vector< aiColor4D * > *self,int index,std::vector< aiColor4t< float > * > const &values){ - if (index>=0 && index<(int)self->size()+1) - self->insert(self->begin()+index, values.begin(), values.end()); - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiColor4D_Sm__Sg__RemoveAt(std::vector< aiColor4D * > *self,int index){ - if (index>=0 && index<(int)self->size()) - self->erase(self->begin() + index); - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiColor4D_Sm__Sg__RemoveRange(std::vector< aiColor4D * > *self,int index,int count){ - if (index < 0) - throw std::out_of_range("index"); - if (count < 0) - throw std::out_of_range("count"); - if (index >= (int)self->size()+1 || index+count > (int)self->size()) - throw std::invalid_argument("invalid range"); - self->erase(self->begin()+index, self->begin()+index+count); - } -SWIGINTERN std::vector< aiColor4t< float > * > *std_vector_Sl_aiColor4D_Sm__Sg__Repeat(aiColor4t< float > *const &value,int count){ - if (count < 0) - throw std::out_of_range("count"); - return new std::vector< aiColor4t< float > * >(count, value); - } -SWIGINTERN void std_vector_Sl_aiColor4D_Sm__Sg__Reverse__SWIG_0(std::vector< aiColor4D * > *self){ - std::reverse(self->begin(), self->end()); - } -SWIGINTERN void std_vector_Sl_aiColor4D_Sm__Sg__Reverse__SWIG_1(std::vector< aiColor4D * > *self,int index,int count){ - if (index < 0) - throw std::out_of_range("index"); - if (count < 0) - throw std::out_of_range("count"); - if (index >= (int)self->size()+1 || index+count > (int)self->size()) - throw std::invalid_argument("invalid range"); - std::reverse(self->begin()+index, self->begin()+index+count); - } -SWIGINTERN void std_vector_Sl_aiColor4D_Sm__Sg__SetRange(std::vector< aiColor4D * > *self,int index,std::vector< aiColor4t< float > * > const &values){ - if (index < 0) - throw std::out_of_range("index"); - if (index+values.size() > self->size()) - throw std::out_of_range("index"); - std::copy(values.begin(), values.end(), self->begin()+index); - } -SWIGINTERN bool std_vector_Sl_aiColor4D_Sm__Sg__Contains(std::vector< aiColor4D * > *self,aiColor4t< float > *const &value){ - return std::find(self->begin(), self->end(), value) != self->end(); - } -SWIGINTERN int std_vector_Sl_aiColor4D_Sm__Sg__IndexOf(std::vector< aiColor4D * > *self,aiColor4t< float > *const &value){ - int index = -1; - std::vector< aiColor4t< float > * >::iterator it = std::find(self->begin(), self->end(), value); - if (it != self->end()) - index = (int)(it - self->begin()); - return index; - } -SWIGINTERN int std_vector_Sl_aiColor4D_Sm__Sg__LastIndexOf(std::vector< aiColor4D * > *self,aiColor4t< float > *const &value){ - int index = -1; - std::vector< aiColor4t< float > * >::reverse_iterator rit = std::find(self->rbegin(), self->rend(), value); - if (rit != self->rend()) - index = (int)(self->rend() - 1 - rit); - return index; - } -SWIGINTERN bool std_vector_Sl_aiColor4D_Sm__Sg__Remove(std::vector< aiColor4D * > *self,aiColor4t< float > *const &value){ - std::vector< aiColor4t< float > * >::iterator it = std::find(self->begin(), self->end(), value); - if (it != self->end()) { - self->erase(it); - return true; - } - return false; - } -SWIGINTERN std::vector< aiFace * > *new_std_vector_Sl_aiFace_Sm__Sg___SWIG_2(int capacity){ - std::vector< aiFace * >* pv = 0; - if (capacity >= 0) { - pv = new std::vector< aiFace * >(); - pv->reserve(capacity); - } else { - throw std::out_of_range("capacity"); - } - return pv; - } -SWIGINTERN aiFace *std_vector_Sl_aiFace_Sm__Sg__getitemcopy(std::vector< aiFace * > *self,int index){ - if (index>=0 && index<(int)self->size()) - return (*self)[index]; - else - throw std::out_of_range("index"); - } -SWIGINTERN std::vector< aiFace * >::const_reference std_vector_Sl_aiFace_Sm__Sg__getitem(std::vector< aiFace * > *self,int index){ - if (index>=0 && index<(int)self->size()) - return (*self)[index]; - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiFace_Sm__Sg__setitem(std::vector< aiFace * > *self,int index,aiFace *const &val){ - if (index>=0 && index<(int)self->size()) - (*self)[index] = val; - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiFace_Sm__Sg__AddRange(std::vector< aiFace * > *self,std::vector< aiFace * > const &values){ - self->insert(self->end(), values.begin(), values.end()); - } -SWIGINTERN std::vector< aiFace * > *std_vector_Sl_aiFace_Sm__Sg__GetRange(std::vector< aiFace * > *self,int index,int count){ - if (index < 0) - throw std::out_of_range("index"); - if (count < 0) - throw std::out_of_range("count"); - if (index >= (int)self->size()+1 || index+count > (int)self->size()) - throw std::invalid_argument("invalid range"); - return new std::vector< aiFace * >(self->begin()+index, self->begin()+index+count); - } -SWIGINTERN void std_vector_Sl_aiFace_Sm__Sg__Insert(std::vector< aiFace * > *self,int index,aiFace *const &x){ - if (index>=0 && index<(int)self->size()+1) - self->insert(self->begin()+index, x); - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiFace_Sm__Sg__InsertRange(std::vector< aiFace * > *self,int index,std::vector< aiFace * > const &values){ - if (index>=0 && index<(int)self->size()+1) - self->insert(self->begin()+index, values.begin(), values.end()); - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiFace_Sm__Sg__RemoveAt(std::vector< aiFace * > *self,int index){ - if (index>=0 && index<(int)self->size()) - self->erase(self->begin() + index); - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiFace_Sm__Sg__RemoveRange(std::vector< aiFace * > *self,int index,int count){ - if (index < 0) - throw std::out_of_range("index"); - if (count < 0) - throw std::out_of_range("count"); - if (index >= (int)self->size()+1 || index+count > (int)self->size()) - throw std::invalid_argument("invalid range"); - self->erase(self->begin()+index, self->begin()+index+count); - } -SWIGINTERN std::vector< aiFace * > *std_vector_Sl_aiFace_Sm__Sg__Repeat(aiFace *const &value,int count){ - if (count < 0) - throw std::out_of_range("count"); - return new std::vector< aiFace * >(count, value); - } -SWIGINTERN void std_vector_Sl_aiFace_Sm__Sg__Reverse__SWIG_0(std::vector< aiFace * > *self){ - std::reverse(self->begin(), self->end()); - } -SWIGINTERN void std_vector_Sl_aiFace_Sm__Sg__Reverse__SWIG_1(std::vector< aiFace * > *self,int index,int count){ - if (index < 0) - throw std::out_of_range("index"); - if (count < 0) - throw std::out_of_range("count"); - if (index >= (int)self->size()+1 || index+count > (int)self->size()) - throw std::invalid_argument("invalid range"); - std::reverse(self->begin()+index, self->begin()+index+count); - } -SWIGINTERN void std_vector_Sl_aiFace_Sm__Sg__SetRange(std::vector< aiFace * > *self,int index,std::vector< aiFace * > const &values){ - if (index < 0) - throw std::out_of_range("index"); - if (index+values.size() > self->size()) - throw std::out_of_range("index"); - std::copy(values.begin(), values.end(), self->begin()+index); - } -SWIGINTERN bool std_vector_Sl_aiFace_Sm__Sg__Contains(std::vector< aiFace * > *self,aiFace *const &value){ - return std::find(self->begin(), self->end(), value) != self->end(); - } -SWIGINTERN int std_vector_Sl_aiFace_Sm__Sg__IndexOf(std::vector< aiFace * > *self,aiFace *const &value){ - int index = -1; - std::vector< aiFace * >::iterator it = std::find(self->begin(), self->end(), value); - if (it != self->end()) - index = (int)(it - self->begin()); - return index; - } -SWIGINTERN int std_vector_Sl_aiFace_Sm__Sg__LastIndexOf(std::vector< aiFace * > *self,aiFace *const &value){ - int index = -1; - std::vector< aiFace * >::reverse_iterator rit = std::find(self->rbegin(), self->rend(), value); - if (rit != self->rend()) - index = (int)(self->rend() - 1 - rit); - return index; - } -SWIGINTERN bool std_vector_Sl_aiFace_Sm__Sg__Remove(std::vector< aiFace * > *self,aiFace *const &value){ - std::vector< aiFace * >::iterator it = std::find(self->begin(), self->end(), value); - if (it != self->end()) { - self->erase(it); - return true; - } - return false; - } -SWIGINTERN std::vector< aiLight * > *new_std_vector_Sl_aiLight_Sm__Sg___SWIG_2(int capacity){ - std::vector< aiLight * >* pv = 0; - if (capacity >= 0) { - pv = new std::vector< aiLight * >(); - pv->reserve(capacity); - } else { - throw std::out_of_range("capacity"); - } - return pv; - } -SWIGINTERN aiLight *std_vector_Sl_aiLight_Sm__Sg__getitemcopy(std::vector< aiLight * > *self,int index){ - if (index>=0 && index<(int)self->size()) - return (*self)[index]; - else - throw std::out_of_range("index"); - } -SWIGINTERN std::vector< aiLight * >::const_reference std_vector_Sl_aiLight_Sm__Sg__getitem(std::vector< aiLight * > *self,int index){ - if (index>=0 && index<(int)self->size()) - return (*self)[index]; - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiLight_Sm__Sg__setitem(std::vector< aiLight * > *self,int index,aiLight *const &val){ - if (index>=0 && index<(int)self->size()) - (*self)[index] = val; - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiLight_Sm__Sg__AddRange(std::vector< aiLight * > *self,std::vector< aiLight * > const &values){ - self->insert(self->end(), values.begin(), values.end()); - } -SWIGINTERN std::vector< aiLight * > *std_vector_Sl_aiLight_Sm__Sg__GetRange(std::vector< aiLight * > *self,int index,int count){ - if (index < 0) - throw std::out_of_range("index"); - if (count < 0) - throw std::out_of_range("count"); - if (index >= (int)self->size()+1 || index+count > (int)self->size()) - throw std::invalid_argument("invalid range"); - return new std::vector< aiLight * >(self->begin()+index, self->begin()+index+count); - } -SWIGINTERN void std_vector_Sl_aiLight_Sm__Sg__Insert(std::vector< aiLight * > *self,int index,aiLight *const &x){ - if (index>=0 && index<(int)self->size()+1) - self->insert(self->begin()+index, x); - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiLight_Sm__Sg__InsertRange(std::vector< aiLight * > *self,int index,std::vector< aiLight * > const &values){ - if (index>=0 && index<(int)self->size()+1) - self->insert(self->begin()+index, values.begin(), values.end()); - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiLight_Sm__Sg__RemoveAt(std::vector< aiLight * > *self,int index){ - if (index>=0 && index<(int)self->size()) - self->erase(self->begin() + index); - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiLight_Sm__Sg__RemoveRange(std::vector< aiLight * > *self,int index,int count){ - if (index < 0) - throw std::out_of_range("index"); - if (count < 0) - throw std::out_of_range("count"); - if (index >= (int)self->size()+1 || index+count > (int)self->size()) - throw std::invalid_argument("invalid range"); - self->erase(self->begin()+index, self->begin()+index+count); - } -SWIGINTERN std::vector< aiLight * > *std_vector_Sl_aiLight_Sm__Sg__Repeat(aiLight *const &value,int count){ - if (count < 0) - throw std::out_of_range("count"); - return new std::vector< aiLight * >(count, value); - } -SWIGINTERN void std_vector_Sl_aiLight_Sm__Sg__Reverse__SWIG_0(std::vector< aiLight * > *self){ - std::reverse(self->begin(), self->end()); - } -SWIGINTERN void std_vector_Sl_aiLight_Sm__Sg__Reverse__SWIG_1(std::vector< aiLight * > *self,int index,int count){ - if (index < 0) - throw std::out_of_range("index"); - if (count < 0) - throw std::out_of_range("count"); - if (index >= (int)self->size()+1 || index+count > (int)self->size()) - throw std::invalid_argument("invalid range"); - std::reverse(self->begin()+index, self->begin()+index+count); - } -SWIGINTERN void std_vector_Sl_aiLight_Sm__Sg__SetRange(std::vector< aiLight * > *self,int index,std::vector< aiLight * > const &values){ - if (index < 0) - throw std::out_of_range("index"); - if (index+values.size() > self->size()) - throw std::out_of_range("index"); - std::copy(values.begin(), values.end(), self->begin()+index); - } -SWIGINTERN bool std_vector_Sl_aiLight_Sm__Sg__Contains(std::vector< aiLight * > *self,aiLight *const &value){ - return std::find(self->begin(), self->end(), value) != self->end(); - } -SWIGINTERN int std_vector_Sl_aiLight_Sm__Sg__IndexOf(std::vector< aiLight * > *self,aiLight *const &value){ - int index = -1; - std::vector< aiLight * >::iterator it = std::find(self->begin(), self->end(), value); - if (it != self->end()) - index = (int)(it - self->begin()); - return index; - } -SWIGINTERN int std_vector_Sl_aiLight_Sm__Sg__LastIndexOf(std::vector< aiLight * > *self,aiLight *const &value){ - int index = -1; - std::vector< aiLight * >::reverse_iterator rit = std::find(self->rbegin(), self->rend(), value); - if (rit != self->rend()) - index = (int)(self->rend() - 1 - rit); - return index; - } -SWIGINTERN bool std_vector_Sl_aiLight_Sm__Sg__Remove(std::vector< aiLight * > *self,aiLight *const &value){ - std::vector< aiLight * >::iterator it = std::find(self->begin(), self->end(), value); - if (it != self->end()) { - self->erase(it); - return true; - } - return false; - } -SWIGINTERN std::vector< aiMaterial * > *new_std_vector_Sl_aiMaterial_Sm__Sg___SWIG_2(int capacity){ - std::vector< aiMaterial * >* pv = 0; - if (capacity >= 0) { - pv = new std::vector< aiMaterial * >(); - pv->reserve(capacity); - } else { - throw std::out_of_range("capacity"); - } - return pv; - } -SWIGINTERN aiMaterial *std_vector_Sl_aiMaterial_Sm__Sg__getitemcopy(std::vector< aiMaterial * > *self,int index){ - if (index>=0 && index<(int)self->size()) - return (*self)[index]; - else - throw std::out_of_range("index"); - } -SWIGINTERN std::vector< aiMaterial * >::const_reference std_vector_Sl_aiMaterial_Sm__Sg__getitem(std::vector< aiMaterial * > *self,int index){ - if (index>=0 && index<(int)self->size()) - return (*self)[index]; - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiMaterial_Sm__Sg__setitem(std::vector< aiMaterial * > *self,int index,aiMaterial *const &val){ - if (index>=0 && index<(int)self->size()) - (*self)[index] = val; - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiMaterial_Sm__Sg__AddRange(std::vector< aiMaterial * > *self,std::vector< aiMaterial * > const &values){ - self->insert(self->end(), values.begin(), values.end()); - } -SWIGINTERN std::vector< aiMaterial * > *std_vector_Sl_aiMaterial_Sm__Sg__GetRange(std::vector< aiMaterial * > *self,int index,int count){ - if (index < 0) - throw std::out_of_range("index"); - if (count < 0) - throw std::out_of_range("count"); - if (index >= (int)self->size()+1 || index+count > (int)self->size()) - throw std::invalid_argument("invalid range"); - return new std::vector< aiMaterial * >(self->begin()+index, self->begin()+index+count); - } -SWIGINTERN void std_vector_Sl_aiMaterial_Sm__Sg__Insert(std::vector< aiMaterial * > *self,int index,aiMaterial *const &x){ - if (index>=0 && index<(int)self->size()+1) - self->insert(self->begin()+index, x); - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiMaterial_Sm__Sg__InsertRange(std::vector< aiMaterial * > *self,int index,std::vector< aiMaterial * > const &values){ - if (index>=0 && index<(int)self->size()+1) - self->insert(self->begin()+index, values.begin(), values.end()); - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiMaterial_Sm__Sg__RemoveAt(std::vector< aiMaterial * > *self,int index){ - if (index>=0 && index<(int)self->size()) - self->erase(self->begin() + index); - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiMaterial_Sm__Sg__RemoveRange(std::vector< aiMaterial * > *self,int index,int count){ - if (index < 0) - throw std::out_of_range("index"); - if (count < 0) - throw std::out_of_range("count"); - if (index >= (int)self->size()+1 || index+count > (int)self->size()) - throw std::invalid_argument("invalid range"); - self->erase(self->begin()+index, self->begin()+index+count); - } -SWIGINTERN std::vector< aiMaterial * > *std_vector_Sl_aiMaterial_Sm__Sg__Repeat(aiMaterial *const &value,int count){ - if (count < 0) - throw std::out_of_range("count"); - return new std::vector< aiMaterial * >(count, value); - } -SWIGINTERN void std_vector_Sl_aiMaterial_Sm__Sg__Reverse__SWIG_0(std::vector< aiMaterial * > *self){ - std::reverse(self->begin(), self->end()); - } -SWIGINTERN void std_vector_Sl_aiMaterial_Sm__Sg__Reverse__SWIG_1(std::vector< aiMaterial * > *self,int index,int count){ - if (index < 0) - throw std::out_of_range("index"); - if (count < 0) - throw std::out_of_range("count"); - if (index >= (int)self->size()+1 || index+count > (int)self->size()) - throw std::invalid_argument("invalid range"); - std::reverse(self->begin()+index, self->begin()+index+count); - } -SWIGINTERN void std_vector_Sl_aiMaterial_Sm__Sg__SetRange(std::vector< aiMaterial * > *self,int index,std::vector< aiMaterial * > const &values){ - if (index < 0) - throw std::out_of_range("index"); - if (index+values.size() > self->size()) - throw std::out_of_range("index"); - std::copy(values.begin(), values.end(), self->begin()+index); - } -SWIGINTERN bool std_vector_Sl_aiMaterial_Sm__Sg__Contains(std::vector< aiMaterial * > *self,aiMaterial *const &value){ - return std::find(self->begin(), self->end(), value) != self->end(); - } -SWIGINTERN int std_vector_Sl_aiMaterial_Sm__Sg__IndexOf(std::vector< aiMaterial * > *self,aiMaterial *const &value){ - int index = -1; - std::vector< aiMaterial * >::iterator it = std::find(self->begin(), self->end(), value); - if (it != self->end()) - index = (int)(it - self->begin()); - return index; - } -SWIGINTERN int std_vector_Sl_aiMaterial_Sm__Sg__LastIndexOf(std::vector< aiMaterial * > *self,aiMaterial *const &value){ - int index = -1; - std::vector< aiMaterial * >::reverse_iterator rit = std::find(self->rbegin(), self->rend(), value); - if (rit != self->rend()) - index = (int)(self->rend() - 1 - rit); - return index; - } -SWIGINTERN bool std_vector_Sl_aiMaterial_Sm__Sg__Remove(std::vector< aiMaterial * > *self,aiMaterial *const &value){ - std::vector< aiMaterial * >::iterator it = std::find(self->begin(), self->end(), value); - if (it != self->end()) { - self->erase(it); - return true; - } - return false; - } -SWIGINTERN std::vector< aiMeshAnim * > *new_std_vector_Sl_aiMeshAnim_Sm__Sg___SWIG_2(int capacity){ - std::vector< aiMeshAnim * >* pv = 0; - if (capacity >= 0) { - pv = new std::vector< aiMeshAnim * >(); - pv->reserve(capacity); - } else { - throw std::out_of_range("capacity"); - } - return pv; - } -SWIGINTERN aiMeshAnim *std_vector_Sl_aiMeshAnim_Sm__Sg__getitemcopy(std::vector< aiMeshAnim * > *self,int index){ - if (index>=0 && index<(int)self->size()) - return (*self)[index]; - else - throw std::out_of_range("index"); - } -SWIGINTERN std::vector< aiMeshAnim * >::const_reference std_vector_Sl_aiMeshAnim_Sm__Sg__getitem(std::vector< aiMeshAnim * > *self,int index){ - if (index>=0 && index<(int)self->size()) - return (*self)[index]; - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiMeshAnim_Sm__Sg__setitem(std::vector< aiMeshAnim * > *self,int index,aiMeshAnim *const &val){ - if (index>=0 && index<(int)self->size()) - (*self)[index] = val; - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiMeshAnim_Sm__Sg__AddRange(std::vector< aiMeshAnim * > *self,std::vector< aiMeshAnim * > const &values){ - self->insert(self->end(), values.begin(), values.end()); - } -SWIGINTERN std::vector< aiMeshAnim * > *std_vector_Sl_aiMeshAnim_Sm__Sg__GetRange(std::vector< aiMeshAnim * > *self,int index,int count){ - if (index < 0) - throw std::out_of_range("index"); - if (count < 0) - throw std::out_of_range("count"); - if (index >= (int)self->size()+1 || index+count > (int)self->size()) - throw std::invalid_argument("invalid range"); - return new std::vector< aiMeshAnim * >(self->begin()+index, self->begin()+index+count); - } -SWIGINTERN void std_vector_Sl_aiMeshAnim_Sm__Sg__Insert(std::vector< aiMeshAnim * > *self,int index,aiMeshAnim *const &x){ - if (index>=0 && index<(int)self->size()+1) - self->insert(self->begin()+index, x); - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiMeshAnim_Sm__Sg__InsertRange(std::vector< aiMeshAnim * > *self,int index,std::vector< aiMeshAnim * > const &values){ - if (index>=0 && index<(int)self->size()+1) - self->insert(self->begin()+index, values.begin(), values.end()); - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiMeshAnim_Sm__Sg__RemoveAt(std::vector< aiMeshAnim * > *self,int index){ - if (index>=0 && index<(int)self->size()) - self->erase(self->begin() + index); - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiMeshAnim_Sm__Sg__RemoveRange(std::vector< aiMeshAnim * > *self,int index,int count){ - if (index < 0) - throw std::out_of_range("index"); - if (count < 0) - throw std::out_of_range("count"); - if (index >= (int)self->size()+1 || index+count > (int)self->size()) - throw std::invalid_argument("invalid range"); - self->erase(self->begin()+index, self->begin()+index+count); - } -SWIGINTERN std::vector< aiMeshAnim * > *std_vector_Sl_aiMeshAnim_Sm__Sg__Repeat(aiMeshAnim *const &value,int count){ - if (count < 0) - throw std::out_of_range("count"); - return new std::vector< aiMeshAnim * >(count, value); - } -SWIGINTERN void std_vector_Sl_aiMeshAnim_Sm__Sg__Reverse__SWIG_0(std::vector< aiMeshAnim * > *self){ - std::reverse(self->begin(), self->end()); - } -SWIGINTERN void std_vector_Sl_aiMeshAnim_Sm__Sg__Reverse__SWIG_1(std::vector< aiMeshAnim * > *self,int index,int count){ - if (index < 0) - throw std::out_of_range("index"); - if (count < 0) - throw std::out_of_range("count"); - if (index >= (int)self->size()+1 || index+count > (int)self->size()) - throw std::invalid_argument("invalid range"); - std::reverse(self->begin()+index, self->begin()+index+count); - } -SWIGINTERN void std_vector_Sl_aiMeshAnim_Sm__Sg__SetRange(std::vector< aiMeshAnim * > *self,int index,std::vector< aiMeshAnim * > const &values){ - if (index < 0) - throw std::out_of_range("index"); - if (index+values.size() > self->size()) - throw std::out_of_range("index"); - std::copy(values.begin(), values.end(), self->begin()+index); - } -SWIGINTERN bool std_vector_Sl_aiMeshAnim_Sm__Sg__Contains(std::vector< aiMeshAnim * > *self,aiMeshAnim *const &value){ - return std::find(self->begin(), self->end(), value) != self->end(); - } -SWIGINTERN int std_vector_Sl_aiMeshAnim_Sm__Sg__IndexOf(std::vector< aiMeshAnim * > *self,aiMeshAnim *const &value){ - int index = -1; - std::vector< aiMeshAnim * >::iterator it = std::find(self->begin(), self->end(), value); - if (it != self->end()) - index = (int)(it - self->begin()); - return index; - } -SWIGINTERN int std_vector_Sl_aiMeshAnim_Sm__Sg__LastIndexOf(std::vector< aiMeshAnim * > *self,aiMeshAnim *const &value){ - int index = -1; - std::vector< aiMeshAnim * >::reverse_iterator rit = std::find(self->rbegin(), self->rend(), value); - if (rit != self->rend()) - index = (int)(self->rend() - 1 - rit); - return index; - } -SWIGINTERN bool std_vector_Sl_aiMeshAnim_Sm__Sg__Remove(std::vector< aiMeshAnim * > *self,aiMeshAnim *const &value){ - std::vector< aiMeshAnim * >::iterator it = std::find(self->begin(), self->end(), value); - if (it != self->end()) { - self->erase(it); - return true; - } - return false; - } -SWIGINTERN std::vector< aiMeshKey * > *new_std_vector_Sl_aiMeshKey_Sm__Sg___SWIG_2(int capacity){ - std::vector< aiMeshKey * >* pv = 0; - if (capacity >= 0) { - pv = new std::vector< aiMeshKey * >(); - pv->reserve(capacity); - } else { - throw std::out_of_range("capacity"); - } - return pv; - } -SWIGINTERN aiMeshKey *std_vector_Sl_aiMeshKey_Sm__Sg__getitemcopy(std::vector< aiMeshKey * > *self,int index){ - if (index>=0 && index<(int)self->size()) - return (*self)[index]; - else - throw std::out_of_range("index"); - } -SWIGINTERN std::vector< aiMeshKey * >::const_reference std_vector_Sl_aiMeshKey_Sm__Sg__getitem(std::vector< aiMeshKey * > *self,int index){ - if (index>=0 && index<(int)self->size()) - return (*self)[index]; - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiMeshKey_Sm__Sg__setitem(std::vector< aiMeshKey * > *self,int index,aiMeshKey *const &val){ - if (index>=0 && index<(int)self->size()) - (*self)[index] = val; - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiMeshKey_Sm__Sg__AddRange(std::vector< aiMeshKey * > *self,std::vector< aiMeshKey * > const &values){ - self->insert(self->end(), values.begin(), values.end()); - } -SWIGINTERN std::vector< aiMeshKey * > *std_vector_Sl_aiMeshKey_Sm__Sg__GetRange(std::vector< aiMeshKey * > *self,int index,int count){ - if (index < 0) - throw std::out_of_range("index"); - if (count < 0) - throw std::out_of_range("count"); - if (index >= (int)self->size()+1 || index+count > (int)self->size()) - throw std::invalid_argument("invalid range"); - return new std::vector< aiMeshKey * >(self->begin()+index, self->begin()+index+count); - } -SWIGINTERN void std_vector_Sl_aiMeshKey_Sm__Sg__Insert(std::vector< aiMeshKey * > *self,int index,aiMeshKey *const &x){ - if (index>=0 && index<(int)self->size()+1) - self->insert(self->begin()+index, x); - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiMeshKey_Sm__Sg__InsertRange(std::vector< aiMeshKey * > *self,int index,std::vector< aiMeshKey * > const &values){ - if (index>=0 && index<(int)self->size()+1) - self->insert(self->begin()+index, values.begin(), values.end()); - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiMeshKey_Sm__Sg__RemoveAt(std::vector< aiMeshKey * > *self,int index){ - if (index>=0 && index<(int)self->size()) - self->erase(self->begin() + index); - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiMeshKey_Sm__Sg__RemoveRange(std::vector< aiMeshKey * > *self,int index,int count){ - if (index < 0) - throw std::out_of_range("index"); - if (count < 0) - throw std::out_of_range("count"); - if (index >= (int)self->size()+1 || index+count > (int)self->size()) - throw std::invalid_argument("invalid range"); - self->erase(self->begin()+index, self->begin()+index+count); - } -SWIGINTERN std::vector< aiMeshKey * > *std_vector_Sl_aiMeshKey_Sm__Sg__Repeat(aiMeshKey *const &value,int count){ - if (count < 0) - throw std::out_of_range("count"); - return new std::vector< aiMeshKey * >(count, value); - } -SWIGINTERN void std_vector_Sl_aiMeshKey_Sm__Sg__Reverse__SWIG_0(std::vector< aiMeshKey * > *self){ - std::reverse(self->begin(), self->end()); - } -SWIGINTERN void std_vector_Sl_aiMeshKey_Sm__Sg__Reverse__SWIG_1(std::vector< aiMeshKey * > *self,int index,int count){ - if (index < 0) - throw std::out_of_range("index"); - if (count < 0) - throw std::out_of_range("count"); - if (index >= (int)self->size()+1 || index+count > (int)self->size()) - throw std::invalid_argument("invalid range"); - std::reverse(self->begin()+index, self->begin()+index+count); - } -SWIGINTERN void std_vector_Sl_aiMeshKey_Sm__Sg__SetRange(std::vector< aiMeshKey * > *self,int index,std::vector< aiMeshKey * > const &values){ - if (index < 0) - throw std::out_of_range("index"); - if (index+values.size() > self->size()) - throw std::out_of_range("index"); - std::copy(values.begin(), values.end(), self->begin()+index); - } -SWIGINTERN bool std_vector_Sl_aiMeshKey_Sm__Sg__Contains(std::vector< aiMeshKey * > *self,aiMeshKey *const &value){ - return std::find(self->begin(), self->end(), value) != self->end(); - } -SWIGINTERN int std_vector_Sl_aiMeshKey_Sm__Sg__IndexOf(std::vector< aiMeshKey * > *self,aiMeshKey *const &value){ - int index = -1; - std::vector< aiMeshKey * >::iterator it = std::find(self->begin(), self->end(), value); - if (it != self->end()) - index = (int)(it - self->begin()); - return index; - } -SWIGINTERN int std_vector_Sl_aiMeshKey_Sm__Sg__LastIndexOf(std::vector< aiMeshKey * > *self,aiMeshKey *const &value){ - int index = -1; - std::vector< aiMeshKey * >::reverse_iterator rit = std::find(self->rbegin(), self->rend(), value); - if (rit != self->rend()) - index = (int)(self->rend() - 1 - rit); - return index; - } -SWIGINTERN bool std_vector_Sl_aiMeshKey_Sm__Sg__Remove(std::vector< aiMeshKey * > *self,aiMeshKey *const &value){ - std::vector< aiMeshKey * >::iterator it = std::find(self->begin(), self->end(), value); - if (it != self->end()) { - self->erase(it); - return true; - } - return false; - } -SWIGINTERN std::vector< aiMesh * > *new_std_vector_Sl_aiMesh_Sm__Sg___SWIG_2(int capacity){ - std::vector< aiMesh * >* pv = 0; - if (capacity >= 0) { - pv = new std::vector< aiMesh * >(); - pv->reserve(capacity); - } else { - throw std::out_of_range("capacity"); - } - return pv; - } -SWIGINTERN aiMesh *std_vector_Sl_aiMesh_Sm__Sg__getitemcopy(std::vector< aiMesh * > *self,int index){ - if (index>=0 && index<(int)self->size()) - return (*self)[index]; - else - throw std::out_of_range("index"); - } -SWIGINTERN std::vector< aiMesh * >::const_reference std_vector_Sl_aiMesh_Sm__Sg__getitem(std::vector< aiMesh * > *self,int index){ - if (index>=0 && index<(int)self->size()) - return (*self)[index]; - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiMesh_Sm__Sg__setitem(std::vector< aiMesh * > *self,int index,aiMesh *const &val){ - if (index>=0 && index<(int)self->size()) - (*self)[index] = val; - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiMesh_Sm__Sg__AddRange(std::vector< aiMesh * > *self,std::vector< aiMesh * > const &values){ - self->insert(self->end(), values.begin(), values.end()); - } -SWIGINTERN std::vector< aiMesh * > *std_vector_Sl_aiMesh_Sm__Sg__GetRange(std::vector< aiMesh * > *self,int index,int count){ - if (index < 0) - throw std::out_of_range("index"); - if (count < 0) - throw std::out_of_range("count"); - if (index >= (int)self->size()+1 || index+count > (int)self->size()) - throw std::invalid_argument("invalid range"); - return new std::vector< aiMesh * >(self->begin()+index, self->begin()+index+count); - } -SWIGINTERN void std_vector_Sl_aiMesh_Sm__Sg__Insert(std::vector< aiMesh * > *self,int index,aiMesh *const &x){ - if (index>=0 && index<(int)self->size()+1) - self->insert(self->begin()+index, x); - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiMesh_Sm__Sg__InsertRange(std::vector< aiMesh * > *self,int index,std::vector< aiMesh * > const &values){ - if (index>=0 && index<(int)self->size()+1) - self->insert(self->begin()+index, values.begin(), values.end()); - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiMesh_Sm__Sg__RemoveAt(std::vector< aiMesh * > *self,int index){ - if (index>=0 && index<(int)self->size()) - self->erase(self->begin() + index); - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiMesh_Sm__Sg__RemoveRange(std::vector< aiMesh * > *self,int index,int count){ - if (index < 0) - throw std::out_of_range("index"); - if (count < 0) - throw std::out_of_range("count"); - if (index >= (int)self->size()+1 || index+count > (int)self->size()) - throw std::invalid_argument("invalid range"); - self->erase(self->begin()+index, self->begin()+index+count); - } -SWIGINTERN std::vector< aiMesh * > *std_vector_Sl_aiMesh_Sm__Sg__Repeat(aiMesh *const &value,int count){ - if (count < 0) - throw std::out_of_range("count"); - return new std::vector< aiMesh * >(count, value); - } -SWIGINTERN void std_vector_Sl_aiMesh_Sm__Sg__Reverse__SWIG_0(std::vector< aiMesh * > *self){ - std::reverse(self->begin(), self->end()); - } -SWIGINTERN void std_vector_Sl_aiMesh_Sm__Sg__Reverse__SWIG_1(std::vector< aiMesh * > *self,int index,int count){ - if (index < 0) - throw std::out_of_range("index"); - if (count < 0) - throw std::out_of_range("count"); - if (index >= (int)self->size()+1 || index+count > (int)self->size()) - throw std::invalid_argument("invalid range"); - std::reverse(self->begin()+index, self->begin()+index+count); - } -SWIGINTERN void std_vector_Sl_aiMesh_Sm__Sg__SetRange(std::vector< aiMesh * > *self,int index,std::vector< aiMesh * > const &values){ - if (index < 0) - throw std::out_of_range("index"); - if (index+values.size() > self->size()) - throw std::out_of_range("index"); - std::copy(values.begin(), values.end(), self->begin()+index); - } -SWIGINTERN bool std_vector_Sl_aiMesh_Sm__Sg__Contains(std::vector< aiMesh * > *self,aiMesh *const &value){ - return std::find(self->begin(), self->end(), value) != self->end(); - } -SWIGINTERN int std_vector_Sl_aiMesh_Sm__Sg__IndexOf(std::vector< aiMesh * > *self,aiMesh *const &value){ - int index = -1; - std::vector< aiMesh * >::iterator it = std::find(self->begin(), self->end(), value); - if (it != self->end()) - index = (int)(it - self->begin()); - return index; - } -SWIGINTERN int std_vector_Sl_aiMesh_Sm__Sg__LastIndexOf(std::vector< aiMesh * > *self,aiMesh *const &value){ - int index = -1; - std::vector< aiMesh * >::reverse_iterator rit = std::find(self->rbegin(), self->rend(), value); - if (rit != self->rend()) - index = (int)(self->rend() - 1 - rit); - return index; - } -SWIGINTERN bool std_vector_Sl_aiMesh_Sm__Sg__Remove(std::vector< aiMesh * > *self,aiMesh *const &value){ - std::vector< aiMesh * >::iterator it = std::find(self->begin(), self->end(), value); - if (it != self->end()) { - self->erase(it); - return true; - } - return false; - } -SWIGINTERN std::vector< aiNode * > *new_std_vector_Sl_aiNode_Sm__Sg___SWIG_2(int capacity){ - std::vector< aiNode * >* pv = 0; - if (capacity >= 0) { - pv = new std::vector< aiNode * >(); - pv->reserve(capacity); - } else { - throw std::out_of_range("capacity"); - } - return pv; - } -SWIGINTERN aiNode *std_vector_Sl_aiNode_Sm__Sg__getitemcopy(std::vector< aiNode * > *self,int index){ - if (index>=0 && index<(int)self->size()) - return (*self)[index]; - else - throw std::out_of_range("index"); - } -SWIGINTERN std::vector< aiNode * >::const_reference std_vector_Sl_aiNode_Sm__Sg__getitem(std::vector< aiNode * > *self,int index){ - if (index>=0 && index<(int)self->size()) - return (*self)[index]; - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiNode_Sm__Sg__setitem(std::vector< aiNode * > *self,int index,aiNode *const &val){ - if (index>=0 && index<(int)self->size()) - (*self)[index] = val; - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiNode_Sm__Sg__AddRange(std::vector< aiNode * > *self,std::vector< aiNode * > const &values){ - self->insert(self->end(), values.begin(), values.end()); - } -SWIGINTERN std::vector< aiNode * > *std_vector_Sl_aiNode_Sm__Sg__GetRange(std::vector< aiNode * > *self,int index,int count){ - if (index < 0) - throw std::out_of_range("index"); - if (count < 0) - throw std::out_of_range("count"); - if (index >= (int)self->size()+1 || index+count > (int)self->size()) - throw std::invalid_argument("invalid range"); - return new std::vector< aiNode * >(self->begin()+index, self->begin()+index+count); - } -SWIGINTERN void std_vector_Sl_aiNode_Sm__Sg__Insert(std::vector< aiNode * > *self,int index,aiNode *const &x){ - if (index>=0 && index<(int)self->size()+1) - self->insert(self->begin()+index, x); - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiNode_Sm__Sg__InsertRange(std::vector< aiNode * > *self,int index,std::vector< aiNode * > const &values){ - if (index>=0 && index<(int)self->size()+1) - self->insert(self->begin()+index, values.begin(), values.end()); - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiNode_Sm__Sg__RemoveAt(std::vector< aiNode * > *self,int index){ - if (index>=0 && index<(int)self->size()) - self->erase(self->begin() + index); - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiNode_Sm__Sg__RemoveRange(std::vector< aiNode * > *self,int index,int count){ - if (index < 0) - throw std::out_of_range("index"); - if (count < 0) - throw std::out_of_range("count"); - if (index >= (int)self->size()+1 || index+count > (int)self->size()) - throw std::invalid_argument("invalid range"); - self->erase(self->begin()+index, self->begin()+index+count); - } -SWIGINTERN std::vector< aiNode * > *std_vector_Sl_aiNode_Sm__Sg__Repeat(aiNode *const &value,int count){ - if (count < 0) - throw std::out_of_range("count"); - return new std::vector< aiNode * >(count, value); - } -SWIGINTERN void std_vector_Sl_aiNode_Sm__Sg__Reverse__SWIG_0(std::vector< aiNode * > *self){ - std::reverse(self->begin(), self->end()); - } -SWIGINTERN void std_vector_Sl_aiNode_Sm__Sg__Reverse__SWIG_1(std::vector< aiNode * > *self,int index,int count){ - if (index < 0) - throw std::out_of_range("index"); - if (count < 0) - throw std::out_of_range("count"); - if (index >= (int)self->size()+1 || index+count > (int)self->size()) - throw std::invalid_argument("invalid range"); - std::reverse(self->begin()+index, self->begin()+index+count); - } -SWIGINTERN void std_vector_Sl_aiNode_Sm__Sg__SetRange(std::vector< aiNode * > *self,int index,std::vector< aiNode * > const &values){ - if (index < 0) - throw std::out_of_range("index"); - if (index+values.size() > self->size()) - throw std::out_of_range("index"); - std::copy(values.begin(), values.end(), self->begin()+index); - } -SWIGINTERN bool std_vector_Sl_aiNode_Sm__Sg__Contains(std::vector< aiNode * > *self,aiNode *const &value){ - return std::find(self->begin(), self->end(), value) != self->end(); - } -SWIGINTERN int std_vector_Sl_aiNode_Sm__Sg__IndexOf(std::vector< aiNode * > *self,aiNode *const &value){ - int index = -1; - std::vector< aiNode * >::iterator it = std::find(self->begin(), self->end(), value); - if (it != self->end()) - index = (int)(it - self->begin()); - return index; - } -SWIGINTERN int std_vector_Sl_aiNode_Sm__Sg__LastIndexOf(std::vector< aiNode * > *self,aiNode *const &value){ - int index = -1; - std::vector< aiNode * >::reverse_iterator rit = std::find(self->rbegin(), self->rend(), value); - if (rit != self->rend()) - index = (int)(self->rend() - 1 - rit); - return index; - } -SWIGINTERN bool std_vector_Sl_aiNode_Sm__Sg__Remove(std::vector< aiNode * > *self,aiNode *const &value){ - std::vector< aiNode * >::iterator it = std::find(self->begin(), self->end(), value); - if (it != self->end()) { - self->erase(it); - return true; - } - return false; - } -SWIGINTERN std::vector< aiNodeAnim * > *new_std_vector_Sl_aiNodeAnim_Sm__Sg___SWIG_2(int capacity){ - std::vector< aiNodeAnim * >* pv = 0; - if (capacity >= 0) { - pv = new std::vector< aiNodeAnim * >(); - pv->reserve(capacity); - } else { - throw std::out_of_range("capacity"); - } - return pv; - } -SWIGINTERN aiNodeAnim *std_vector_Sl_aiNodeAnim_Sm__Sg__getitemcopy(std::vector< aiNodeAnim * > *self,int index){ - if (index>=0 && index<(int)self->size()) - return (*self)[index]; - else - throw std::out_of_range("index"); - } -SWIGINTERN std::vector< aiNodeAnim * >::const_reference std_vector_Sl_aiNodeAnim_Sm__Sg__getitem(std::vector< aiNodeAnim * > *self,int index){ - if (index>=0 && index<(int)self->size()) - return (*self)[index]; - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiNodeAnim_Sm__Sg__setitem(std::vector< aiNodeAnim * > *self,int index,aiNodeAnim *const &val){ - if (index>=0 && index<(int)self->size()) - (*self)[index] = val; - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiNodeAnim_Sm__Sg__AddRange(std::vector< aiNodeAnim * > *self,std::vector< aiNodeAnim * > const &values){ - self->insert(self->end(), values.begin(), values.end()); - } -SWIGINTERN std::vector< aiNodeAnim * > *std_vector_Sl_aiNodeAnim_Sm__Sg__GetRange(std::vector< aiNodeAnim * > *self,int index,int count){ - if (index < 0) - throw std::out_of_range("index"); - if (count < 0) - throw std::out_of_range("count"); - if (index >= (int)self->size()+1 || index+count > (int)self->size()) - throw std::invalid_argument("invalid range"); - return new std::vector< aiNodeAnim * >(self->begin()+index, self->begin()+index+count); - } -SWIGINTERN void std_vector_Sl_aiNodeAnim_Sm__Sg__Insert(std::vector< aiNodeAnim * > *self,int index,aiNodeAnim *const &x){ - if (index>=0 && index<(int)self->size()+1) - self->insert(self->begin()+index, x); - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiNodeAnim_Sm__Sg__InsertRange(std::vector< aiNodeAnim * > *self,int index,std::vector< aiNodeAnim * > const &values){ - if (index>=0 && index<(int)self->size()+1) - self->insert(self->begin()+index, values.begin(), values.end()); - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiNodeAnim_Sm__Sg__RemoveAt(std::vector< aiNodeAnim * > *self,int index){ - if (index>=0 && index<(int)self->size()) - self->erase(self->begin() + index); - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiNodeAnim_Sm__Sg__RemoveRange(std::vector< aiNodeAnim * > *self,int index,int count){ - if (index < 0) - throw std::out_of_range("index"); - if (count < 0) - throw std::out_of_range("count"); - if (index >= (int)self->size()+1 || index+count > (int)self->size()) - throw std::invalid_argument("invalid range"); - self->erase(self->begin()+index, self->begin()+index+count); - } -SWIGINTERN std::vector< aiNodeAnim * > *std_vector_Sl_aiNodeAnim_Sm__Sg__Repeat(aiNodeAnim *const &value,int count){ - if (count < 0) - throw std::out_of_range("count"); - return new std::vector< aiNodeAnim * >(count, value); - } -SWIGINTERN void std_vector_Sl_aiNodeAnim_Sm__Sg__Reverse__SWIG_0(std::vector< aiNodeAnim * > *self){ - std::reverse(self->begin(), self->end()); - } -SWIGINTERN void std_vector_Sl_aiNodeAnim_Sm__Sg__Reverse__SWIG_1(std::vector< aiNodeAnim * > *self,int index,int count){ - if (index < 0) - throw std::out_of_range("index"); - if (count < 0) - throw std::out_of_range("count"); - if (index >= (int)self->size()+1 || index+count > (int)self->size()) - throw std::invalid_argument("invalid range"); - std::reverse(self->begin()+index, self->begin()+index+count); - } -SWIGINTERN void std_vector_Sl_aiNodeAnim_Sm__Sg__SetRange(std::vector< aiNodeAnim * > *self,int index,std::vector< aiNodeAnim * > const &values){ - if (index < 0) - throw std::out_of_range("index"); - if (index+values.size() > self->size()) - throw std::out_of_range("index"); - std::copy(values.begin(), values.end(), self->begin()+index); - } -SWIGINTERN bool std_vector_Sl_aiNodeAnim_Sm__Sg__Contains(std::vector< aiNodeAnim * > *self,aiNodeAnim *const &value){ - return std::find(self->begin(), self->end(), value) != self->end(); - } -SWIGINTERN int std_vector_Sl_aiNodeAnim_Sm__Sg__IndexOf(std::vector< aiNodeAnim * > *self,aiNodeAnim *const &value){ - int index = -1; - std::vector< aiNodeAnim * >::iterator it = std::find(self->begin(), self->end(), value); - if (it != self->end()) - index = (int)(it - self->begin()); - return index; - } -SWIGINTERN int std_vector_Sl_aiNodeAnim_Sm__Sg__LastIndexOf(std::vector< aiNodeAnim * > *self,aiNodeAnim *const &value){ - int index = -1; - std::vector< aiNodeAnim * >::reverse_iterator rit = std::find(self->rbegin(), self->rend(), value); - if (rit != self->rend()) - index = (int)(self->rend() - 1 - rit); - return index; - } -SWIGINTERN bool std_vector_Sl_aiNodeAnim_Sm__Sg__Remove(std::vector< aiNodeAnim * > *self,aiNodeAnim *const &value){ - std::vector< aiNodeAnim * >::iterator it = std::find(self->begin(), self->end(), value); - if (it != self->end()) { - self->erase(it); - return true; - } - return false; - } -SWIGINTERN std::vector< aiQuatKey * > *new_std_vector_Sl_aiQuatKey_Sm__Sg___SWIG_2(int capacity){ - std::vector< aiQuatKey * >* pv = 0; - if (capacity >= 0) { - pv = new std::vector< aiQuatKey * >(); - pv->reserve(capacity); - } else { - throw std::out_of_range("capacity"); - } - return pv; - } -SWIGINTERN aiQuatKey *std_vector_Sl_aiQuatKey_Sm__Sg__getitemcopy(std::vector< aiQuatKey * > *self,int index){ - if (index>=0 && index<(int)self->size()) - return (*self)[index]; - else - throw std::out_of_range("index"); - } -SWIGINTERN std::vector< aiQuatKey * >::const_reference std_vector_Sl_aiQuatKey_Sm__Sg__getitem(std::vector< aiQuatKey * > *self,int index){ - if (index>=0 && index<(int)self->size()) - return (*self)[index]; - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiQuatKey_Sm__Sg__setitem(std::vector< aiQuatKey * > *self,int index,aiQuatKey *const &val){ - if (index>=0 && index<(int)self->size()) - (*self)[index] = val; - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiQuatKey_Sm__Sg__AddRange(std::vector< aiQuatKey * > *self,std::vector< aiQuatKey * > const &values){ - self->insert(self->end(), values.begin(), values.end()); - } -SWIGINTERN std::vector< aiQuatKey * > *std_vector_Sl_aiQuatKey_Sm__Sg__GetRange(std::vector< aiQuatKey * > *self,int index,int count){ - if (index < 0) - throw std::out_of_range("index"); - if (count < 0) - throw std::out_of_range("count"); - if (index >= (int)self->size()+1 || index+count > (int)self->size()) - throw std::invalid_argument("invalid range"); - return new std::vector< aiQuatKey * >(self->begin()+index, self->begin()+index+count); - } -SWIGINTERN void std_vector_Sl_aiQuatKey_Sm__Sg__Insert(std::vector< aiQuatKey * > *self,int index,aiQuatKey *const &x){ - if (index>=0 && index<(int)self->size()+1) - self->insert(self->begin()+index, x); - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiQuatKey_Sm__Sg__InsertRange(std::vector< aiQuatKey * > *self,int index,std::vector< aiQuatKey * > const &values){ - if (index>=0 && index<(int)self->size()+1) - self->insert(self->begin()+index, values.begin(), values.end()); - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiQuatKey_Sm__Sg__RemoveAt(std::vector< aiQuatKey * > *self,int index){ - if (index>=0 && index<(int)self->size()) - self->erase(self->begin() + index); - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiQuatKey_Sm__Sg__RemoveRange(std::vector< aiQuatKey * > *self,int index,int count){ - if (index < 0) - throw std::out_of_range("index"); - if (count < 0) - throw std::out_of_range("count"); - if (index >= (int)self->size()+1 || index+count > (int)self->size()) - throw std::invalid_argument("invalid range"); - self->erase(self->begin()+index, self->begin()+index+count); - } -SWIGINTERN std::vector< aiQuatKey * > *std_vector_Sl_aiQuatKey_Sm__Sg__Repeat(aiQuatKey *const &value,int count){ - if (count < 0) - throw std::out_of_range("count"); - return new std::vector< aiQuatKey * >(count, value); - } -SWIGINTERN void std_vector_Sl_aiQuatKey_Sm__Sg__Reverse__SWIG_0(std::vector< aiQuatKey * > *self){ - std::reverse(self->begin(), self->end()); - } -SWIGINTERN void std_vector_Sl_aiQuatKey_Sm__Sg__Reverse__SWIG_1(std::vector< aiQuatKey * > *self,int index,int count){ - if (index < 0) - throw std::out_of_range("index"); - if (count < 0) - throw std::out_of_range("count"); - if (index >= (int)self->size()+1 || index+count > (int)self->size()) - throw std::invalid_argument("invalid range"); - std::reverse(self->begin()+index, self->begin()+index+count); - } -SWIGINTERN void std_vector_Sl_aiQuatKey_Sm__Sg__SetRange(std::vector< aiQuatKey * > *self,int index,std::vector< aiQuatKey * > const &values){ - if (index < 0) - throw std::out_of_range("index"); - if (index+values.size() > self->size()) - throw std::out_of_range("index"); - std::copy(values.begin(), values.end(), self->begin()+index); - } -SWIGINTERN bool std_vector_Sl_aiQuatKey_Sm__Sg__Contains(std::vector< aiQuatKey * > *self,aiQuatKey *const &value){ - return std::find(self->begin(), self->end(), value) != self->end(); - } -SWIGINTERN int std_vector_Sl_aiQuatKey_Sm__Sg__IndexOf(std::vector< aiQuatKey * > *self,aiQuatKey *const &value){ - int index = -1; - std::vector< aiQuatKey * >::iterator it = std::find(self->begin(), self->end(), value); - if (it != self->end()) - index = (int)(it - self->begin()); - return index; - } -SWIGINTERN int std_vector_Sl_aiQuatKey_Sm__Sg__LastIndexOf(std::vector< aiQuatKey * > *self,aiQuatKey *const &value){ - int index = -1; - std::vector< aiQuatKey * >::reverse_iterator rit = std::find(self->rbegin(), self->rend(), value); - if (rit != self->rend()) - index = (int)(self->rend() - 1 - rit); - return index; - } -SWIGINTERN bool std_vector_Sl_aiQuatKey_Sm__Sg__Remove(std::vector< aiQuatKey * > *self,aiQuatKey *const &value){ - std::vector< aiQuatKey * >::iterator it = std::find(self->begin(), self->end(), value); - if (it != self->end()) { - self->erase(it); - return true; - } - return false; - } -SWIGINTERN std::vector< aiTexture * > *new_std_vector_Sl_aiTexture_Sm__Sg___SWIG_2(int capacity){ - std::vector< aiTexture * >* pv = 0; - if (capacity >= 0) { - pv = new std::vector< aiTexture * >(); - pv->reserve(capacity); - } else { - throw std::out_of_range("capacity"); - } - return pv; - } -SWIGINTERN aiTexture *std_vector_Sl_aiTexture_Sm__Sg__getitemcopy(std::vector< aiTexture * > *self,int index){ - if (index>=0 && index<(int)self->size()) - return (*self)[index]; - else - throw std::out_of_range("index"); - } -SWIGINTERN std::vector< aiTexture * >::const_reference std_vector_Sl_aiTexture_Sm__Sg__getitem(std::vector< aiTexture * > *self,int index){ - if (index>=0 && index<(int)self->size()) - return (*self)[index]; - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiTexture_Sm__Sg__setitem(std::vector< aiTexture * > *self,int index,aiTexture *const &val){ - if (index>=0 && index<(int)self->size()) - (*self)[index] = val; - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiTexture_Sm__Sg__AddRange(std::vector< aiTexture * > *self,std::vector< aiTexture * > const &values){ - self->insert(self->end(), values.begin(), values.end()); - } -SWIGINTERN std::vector< aiTexture * > *std_vector_Sl_aiTexture_Sm__Sg__GetRange(std::vector< aiTexture * > *self,int index,int count){ - if (index < 0) - throw std::out_of_range("index"); - if (count < 0) - throw std::out_of_range("count"); - if (index >= (int)self->size()+1 || index+count > (int)self->size()) - throw std::invalid_argument("invalid range"); - return new std::vector< aiTexture * >(self->begin()+index, self->begin()+index+count); - } -SWIGINTERN void std_vector_Sl_aiTexture_Sm__Sg__Insert(std::vector< aiTexture * > *self,int index,aiTexture *const &x){ - if (index>=0 && index<(int)self->size()+1) - self->insert(self->begin()+index, x); - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiTexture_Sm__Sg__InsertRange(std::vector< aiTexture * > *self,int index,std::vector< aiTexture * > const &values){ - if (index>=0 && index<(int)self->size()+1) - self->insert(self->begin()+index, values.begin(), values.end()); - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiTexture_Sm__Sg__RemoveAt(std::vector< aiTexture * > *self,int index){ - if (index>=0 && index<(int)self->size()) - self->erase(self->begin() + index); - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiTexture_Sm__Sg__RemoveRange(std::vector< aiTexture * > *self,int index,int count){ - if (index < 0) - throw std::out_of_range("index"); - if (count < 0) - throw std::out_of_range("count"); - if (index >= (int)self->size()+1 || index+count > (int)self->size()) - throw std::invalid_argument("invalid range"); - self->erase(self->begin()+index, self->begin()+index+count); - } -SWIGINTERN std::vector< aiTexture * > *std_vector_Sl_aiTexture_Sm__Sg__Repeat(aiTexture *const &value,int count){ - if (count < 0) - throw std::out_of_range("count"); - return new std::vector< aiTexture * >(count, value); - } -SWIGINTERN void std_vector_Sl_aiTexture_Sm__Sg__Reverse__SWIG_0(std::vector< aiTexture * > *self){ - std::reverse(self->begin(), self->end()); - } -SWIGINTERN void std_vector_Sl_aiTexture_Sm__Sg__Reverse__SWIG_1(std::vector< aiTexture * > *self,int index,int count){ - if (index < 0) - throw std::out_of_range("index"); - if (count < 0) - throw std::out_of_range("count"); - if (index >= (int)self->size()+1 || index+count > (int)self->size()) - throw std::invalid_argument("invalid range"); - std::reverse(self->begin()+index, self->begin()+index+count); - } -SWIGINTERN void std_vector_Sl_aiTexture_Sm__Sg__SetRange(std::vector< aiTexture * > *self,int index,std::vector< aiTexture * > const &values){ - if (index < 0) - throw std::out_of_range("index"); - if (index+values.size() > self->size()) - throw std::out_of_range("index"); - std::copy(values.begin(), values.end(), self->begin()+index); - } -SWIGINTERN bool std_vector_Sl_aiTexture_Sm__Sg__Contains(std::vector< aiTexture * > *self,aiTexture *const &value){ - return std::find(self->begin(), self->end(), value) != self->end(); - } -SWIGINTERN int std_vector_Sl_aiTexture_Sm__Sg__IndexOf(std::vector< aiTexture * > *self,aiTexture *const &value){ - int index = -1; - std::vector< aiTexture * >::iterator it = std::find(self->begin(), self->end(), value); - if (it != self->end()) - index = (int)(it - self->begin()); - return index; - } -SWIGINTERN int std_vector_Sl_aiTexture_Sm__Sg__LastIndexOf(std::vector< aiTexture * > *self,aiTexture *const &value){ - int index = -1; - std::vector< aiTexture * >::reverse_iterator rit = std::find(self->rbegin(), self->rend(), value); - if (rit != self->rend()) - index = (int)(self->rend() - 1 - rit); - return index; - } -SWIGINTERN bool std_vector_Sl_aiTexture_Sm__Sg__Remove(std::vector< aiTexture * > *self,aiTexture *const &value){ - std::vector< aiTexture * >::iterator it = std::find(self->begin(), self->end(), value); - if (it != self->end()) { - self->erase(it); - return true; - } - return false; - } -SWIGINTERN std::vector< aiVector3D * > *new_std_vector_Sl_aiVector3D_Sm__Sg___SWIG_2(int capacity){ - std::vector< aiVector3t< float > * >* pv = 0; - if (capacity >= 0) { - pv = new std::vector< aiVector3t< float > * >(); - pv->reserve(capacity); - } else { - throw std::out_of_range("capacity"); - } - return pv; - } -SWIGINTERN aiVector3t< float > *std_vector_Sl_aiVector3D_Sm__Sg__getitemcopy(std::vector< aiVector3D * > *self,int index){ - if (index>=0 && index<(int)self->size()) - return (*self)[index]; - else - throw std::out_of_range("index"); - } -SWIGINTERN std::vector< aiVector3t< float > * >::const_reference std_vector_Sl_aiVector3D_Sm__Sg__getitem(std::vector< aiVector3D * > *self,int index){ - if (index>=0 && index<(int)self->size()) - return (*self)[index]; - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiVector3D_Sm__Sg__setitem(std::vector< aiVector3D * > *self,int index,aiVector3t< float > *const &val){ - if (index>=0 && index<(int)self->size()) - (*self)[index] = val; - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiVector3D_Sm__Sg__AddRange(std::vector< aiVector3D * > *self,std::vector< aiVector3t< float > * > const &values){ - self->insert(self->end(), values.begin(), values.end()); - } -SWIGINTERN std::vector< aiVector3t< float > * > *std_vector_Sl_aiVector3D_Sm__Sg__GetRange(std::vector< aiVector3D * > *self,int index,int count){ - if (index < 0) - throw std::out_of_range("index"); - if (count < 0) - throw std::out_of_range("count"); - if (index >= (int)self->size()+1 || index+count > (int)self->size()) - throw std::invalid_argument("invalid range"); - return new std::vector< aiVector3t< float > * >(self->begin()+index, self->begin()+index+count); - } -SWIGINTERN void std_vector_Sl_aiVector3D_Sm__Sg__Insert(std::vector< aiVector3D * > *self,int index,aiVector3t< float > *const &x){ - if (index>=0 && index<(int)self->size()+1) - self->insert(self->begin()+index, x); - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiVector3D_Sm__Sg__InsertRange(std::vector< aiVector3D * > *self,int index,std::vector< aiVector3t< float > * > const &values){ - if (index>=0 && index<(int)self->size()+1) - self->insert(self->begin()+index, values.begin(), values.end()); - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiVector3D_Sm__Sg__RemoveAt(std::vector< aiVector3D * > *self,int index){ - if (index>=0 && index<(int)self->size()) - self->erase(self->begin() + index); - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiVector3D_Sm__Sg__RemoveRange(std::vector< aiVector3D * > *self,int index,int count){ - if (index < 0) - throw std::out_of_range("index"); - if (count < 0) - throw std::out_of_range("count"); - if (index >= (int)self->size()+1 || index+count > (int)self->size()) - throw std::invalid_argument("invalid range"); - self->erase(self->begin()+index, self->begin()+index+count); - } -SWIGINTERN std::vector< aiVector3t< float > * > *std_vector_Sl_aiVector3D_Sm__Sg__Repeat(aiVector3t< float > *const &value,int count){ - if (count < 0) - throw std::out_of_range("count"); - return new std::vector< aiVector3t< float > * >(count, value); - } -SWIGINTERN void std_vector_Sl_aiVector3D_Sm__Sg__Reverse__SWIG_0(std::vector< aiVector3D * > *self){ - std::reverse(self->begin(), self->end()); - } -SWIGINTERN void std_vector_Sl_aiVector3D_Sm__Sg__Reverse__SWIG_1(std::vector< aiVector3D * > *self,int index,int count){ - if (index < 0) - throw std::out_of_range("index"); - if (count < 0) - throw std::out_of_range("count"); - if (index >= (int)self->size()+1 || index+count > (int)self->size()) - throw std::invalid_argument("invalid range"); - std::reverse(self->begin()+index, self->begin()+index+count); - } -SWIGINTERN void std_vector_Sl_aiVector3D_Sm__Sg__SetRange(std::vector< aiVector3D * > *self,int index,std::vector< aiVector3t< float > * > const &values){ - if (index < 0) - throw std::out_of_range("index"); - if (index+values.size() > self->size()) - throw std::out_of_range("index"); - std::copy(values.begin(), values.end(), self->begin()+index); - } -SWIGINTERN bool std_vector_Sl_aiVector3D_Sm__Sg__Contains(std::vector< aiVector3D * > *self,aiVector3t< float > *const &value){ - return std::find(self->begin(), self->end(), value) != self->end(); - } -SWIGINTERN int std_vector_Sl_aiVector3D_Sm__Sg__IndexOf(std::vector< aiVector3D * > *self,aiVector3t< float > *const &value){ - int index = -1; - std::vector< aiVector3t< float > * >::iterator it = std::find(self->begin(), self->end(), value); - if (it != self->end()) - index = (int)(it - self->begin()); - return index; - } -SWIGINTERN int std_vector_Sl_aiVector3D_Sm__Sg__LastIndexOf(std::vector< aiVector3D * > *self,aiVector3t< float > *const &value){ - int index = -1; - std::vector< aiVector3t< float > * >::reverse_iterator rit = std::find(self->rbegin(), self->rend(), value); - if (rit != self->rend()) - index = (int)(self->rend() - 1 - rit); - return index; - } -SWIGINTERN bool std_vector_Sl_aiVector3D_Sm__Sg__Remove(std::vector< aiVector3D * > *self,aiVector3t< float > *const &value){ - std::vector< aiVector3t< float > * >::iterator it = std::find(self->begin(), self->end(), value); - if (it != self->end()) { - self->erase(it); - return true; - } - return false; - } -SWIGINTERN std::vector< std::vector< aiVector3D * > > *new_std_vector_Sl_std_vector_Sl_aiVector3D_Sm__Sg__Sg___SWIG_2(int capacity){ - std::vector< std::vector< aiVector3D * > >* pv = 0; - if (capacity >= 0) { - pv = new std::vector< std::vector< aiVector3D * > >(); - pv->reserve(capacity); - } else { - throw std::out_of_range("capacity"); - } - return pv; - } -SWIGINTERN std::vector< aiVector3D * > std_vector_Sl_std_vector_Sl_aiVector3D_Sm__Sg__Sg__getitemcopy(std::vector< std::vector< aiVector3D * > > *self,int index){ - if (index>=0 && index<(int)self->size()) - return (*self)[index]; - else - throw std::out_of_range("index"); - } -SWIGINTERN std::vector< std::vector< aiVector3t< float > * > >::const_reference std_vector_Sl_std_vector_Sl_aiVector3D_Sm__Sg__Sg__getitem(std::vector< std::vector< aiVector3D * > > *self,int index){ - if (index>=0 && index<(int)self->size()) - return (*self)[index]; - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_std_vector_Sl_aiVector3D_Sm__Sg__Sg__setitem(std::vector< std::vector< aiVector3D * > > *self,int index,std::vector< aiVector3D * > const &val){ - if (index>=0 && index<(int)self->size()) - (*self)[index] = val; - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_std_vector_Sl_aiVector3D_Sm__Sg__Sg__AddRange(std::vector< std::vector< aiVector3D * > > *self,std::vector< std::vector< aiVector3D * > > const &values){ - self->insert(self->end(), values.begin(), values.end()); - } -SWIGINTERN std::vector< std::vector< aiVector3D * > > *std_vector_Sl_std_vector_Sl_aiVector3D_Sm__Sg__Sg__GetRange(std::vector< std::vector< aiVector3D * > > *self,int index,int count){ - if (index < 0) - throw std::out_of_range("index"); - if (count < 0) - throw std::out_of_range("count"); - if (index >= (int)self->size()+1 || index+count > (int)self->size()) - throw std::invalid_argument("invalid range"); - return new std::vector< std::vector< aiVector3D * > >(self->begin()+index, self->begin()+index+count); - } -SWIGINTERN void std_vector_Sl_std_vector_Sl_aiVector3D_Sm__Sg__Sg__Insert(std::vector< std::vector< aiVector3D * > > *self,int index,std::vector< aiVector3D * > const &x){ - if (index>=0 && index<(int)self->size()+1) - self->insert(self->begin()+index, x); - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_std_vector_Sl_aiVector3D_Sm__Sg__Sg__InsertRange(std::vector< std::vector< aiVector3D * > > *self,int index,std::vector< std::vector< aiVector3D * > > const &values){ - if (index>=0 && index<(int)self->size()+1) - self->insert(self->begin()+index, values.begin(), values.end()); - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_std_vector_Sl_aiVector3D_Sm__Sg__Sg__RemoveAt(std::vector< std::vector< aiVector3D * > > *self,int index){ - if (index>=0 && index<(int)self->size()) - self->erase(self->begin() + index); - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_std_vector_Sl_aiVector3D_Sm__Sg__Sg__RemoveRange(std::vector< std::vector< aiVector3D * > > *self,int index,int count){ - if (index < 0) - throw std::out_of_range("index"); - if (count < 0) - throw std::out_of_range("count"); - if (index >= (int)self->size()+1 || index+count > (int)self->size()) - throw std::invalid_argument("invalid range"); - self->erase(self->begin()+index, self->begin()+index+count); - } -SWIGINTERN std::vector< std::vector< aiVector3D * > > *std_vector_Sl_std_vector_Sl_aiVector3D_Sm__Sg__Sg__Repeat(std::vector< aiVector3D * > const &value,int count){ - if (count < 0) - throw std::out_of_range("count"); - return new std::vector< std::vector< aiVector3D * > >(count, value); - } -SWIGINTERN void std_vector_Sl_std_vector_Sl_aiVector3D_Sm__Sg__Sg__Reverse__SWIG_0(std::vector< std::vector< aiVector3D * > > *self){ - std::reverse(self->begin(), self->end()); - } -SWIGINTERN void std_vector_Sl_std_vector_Sl_aiVector3D_Sm__Sg__Sg__Reverse__SWIG_1(std::vector< std::vector< aiVector3D * > > *self,int index,int count){ - if (index < 0) - throw std::out_of_range("index"); - if (count < 0) - throw std::out_of_range("count"); - if (index >= (int)self->size()+1 || index+count > (int)self->size()) - throw std::invalid_argument("invalid range"); - std::reverse(self->begin()+index, self->begin()+index+count); - } -SWIGINTERN void std_vector_Sl_std_vector_Sl_aiVector3D_Sm__Sg__Sg__SetRange(std::vector< std::vector< aiVector3D * > > *self,int index,std::vector< std::vector< aiVector3D * > > const &values){ - if (index < 0) - throw std::out_of_range("index"); - if (index+values.size() > self->size()) - throw std::out_of_range("index"); - std::copy(values.begin(), values.end(), self->begin()+index); - } -SWIGINTERN std::vector< aiVectorKey * > *new_std_vector_Sl_aiVectorKey_Sm__Sg___SWIG_2(int capacity){ - std::vector< aiVectorKey * >* pv = 0; - if (capacity >= 0) { - pv = new std::vector< aiVectorKey * >(); - pv->reserve(capacity); - } else { - throw std::out_of_range("capacity"); - } - return pv; - } -SWIGINTERN aiVectorKey *std_vector_Sl_aiVectorKey_Sm__Sg__getitemcopy(std::vector< aiVectorKey * > *self,int index){ - if (index>=0 && index<(int)self->size()) - return (*self)[index]; - else - throw std::out_of_range("index"); - } -SWIGINTERN std::vector< aiVectorKey * >::const_reference std_vector_Sl_aiVectorKey_Sm__Sg__getitem(std::vector< aiVectorKey * > *self,int index){ - if (index>=0 && index<(int)self->size()) - return (*self)[index]; - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiVectorKey_Sm__Sg__setitem(std::vector< aiVectorKey * > *self,int index,aiVectorKey *const &val){ - if (index>=0 && index<(int)self->size()) - (*self)[index] = val; - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiVectorKey_Sm__Sg__AddRange(std::vector< aiVectorKey * > *self,std::vector< aiVectorKey * > const &values){ - self->insert(self->end(), values.begin(), values.end()); - } -SWIGINTERN std::vector< aiVectorKey * > *std_vector_Sl_aiVectorKey_Sm__Sg__GetRange(std::vector< aiVectorKey * > *self,int index,int count){ - if (index < 0) - throw std::out_of_range("index"); - if (count < 0) - throw std::out_of_range("count"); - if (index >= (int)self->size()+1 || index+count > (int)self->size()) - throw std::invalid_argument("invalid range"); - return new std::vector< aiVectorKey * >(self->begin()+index, self->begin()+index+count); - } -SWIGINTERN void std_vector_Sl_aiVectorKey_Sm__Sg__Insert(std::vector< aiVectorKey * > *self,int index,aiVectorKey *const &x){ - if (index>=0 && index<(int)self->size()+1) - self->insert(self->begin()+index, x); - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiVectorKey_Sm__Sg__InsertRange(std::vector< aiVectorKey * > *self,int index,std::vector< aiVectorKey * > const &values){ - if (index>=0 && index<(int)self->size()+1) - self->insert(self->begin()+index, values.begin(), values.end()); - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiVectorKey_Sm__Sg__RemoveAt(std::vector< aiVectorKey * > *self,int index){ - if (index>=0 && index<(int)self->size()) - self->erase(self->begin() + index); - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiVectorKey_Sm__Sg__RemoveRange(std::vector< aiVectorKey * > *self,int index,int count){ - if (index < 0) - throw std::out_of_range("index"); - if (count < 0) - throw std::out_of_range("count"); - if (index >= (int)self->size()+1 || index+count > (int)self->size()) - throw std::invalid_argument("invalid range"); - self->erase(self->begin()+index, self->begin()+index+count); - } -SWIGINTERN std::vector< aiVectorKey * > *std_vector_Sl_aiVectorKey_Sm__Sg__Repeat(aiVectorKey *const &value,int count){ - if (count < 0) - throw std::out_of_range("count"); - return new std::vector< aiVectorKey * >(count, value); - } -SWIGINTERN void std_vector_Sl_aiVectorKey_Sm__Sg__Reverse__SWIG_0(std::vector< aiVectorKey * > *self){ - std::reverse(self->begin(), self->end()); - } -SWIGINTERN void std_vector_Sl_aiVectorKey_Sm__Sg__Reverse__SWIG_1(std::vector< aiVectorKey * > *self,int index,int count){ - if (index < 0) - throw std::out_of_range("index"); - if (count < 0) - throw std::out_of_range("count"); - if (index >= (int)self->size()+1 || index+count > (int)self->size()) - throw std::invalid_argument("invalid range"); - std::reverse(self->begin()+index, self->begin()+index+count); - } -SWIGINTERN void std_vector_Sl_aiVectorKey_Sm__Sg__SetRange(std::vector< aiVectorKey * > *self,int index,std::vector< aiVectorKey * > const &values){ - if (index < 0) - throw std::out_of_range("index"); - if (index+values.size() > self->size()) - throw std::out_of_range("index"); - std::copy(values.begin(), values.end(), self->begin()+index); - } -SWIGINTERN bool std_vector_Sl_aiVectorKey_Sm__Sg__Contains(std::vector< aiVectorKey * > *self,aiVectorKey *const &value){ - return std::find(self->begin(), self->end(), value) != self->end(); - } -SWIGINTERN int std_vector_Sl_aiVectorKey_Sm__Sg__IndexOf(std::vector< aiVectorKey * > *self,aiVectorKey *const &value){ - int index = -1; - std::vector< aiVectorKey * >::iterator it = std::find(self->begin(), self->end(), value); - if (it != self->end()) - index = (int)(it - self->begin()); - return index; - } -SWIGINTERN int std_vector_Sl_aiVectorKey_Sm__Sg__LastIndexOf(std::vector< aiVectorKey * > *self,aiVectorKey *const &value){ - int index = -1; - std::vector< aiVectorKey * >::reverse_iterator rit = std::find(self->rbegin(), self->rend(), value); - if (rit != self->rend()) - index = (int)(self->rend() - 1 - rit); - return index; - } -SWIGINTERN bool std_vector_Sl_aiVectorKey_Sm__Sg__Remove(std::vector< aiVectorKey * > *self,aiVectorKey *const &value){ - std::vector< aiVectorKey * >::iterator it = std::find(self->begin(), self->end(), value); - if (it != self->end()) { - self->erase(it); - return true; - } - return false; - } -SWIGINTERN std::vector< aiVertexWeight * > *new_std_vector_Sl_aiVertexWeight_Sm__Sg___SWIG_2(int capacity){ - std::vector< aiVertexWeight * >* pv = 0; - if (capacity >= 0) { - pv = new std::vector< aiVertexWeight * >(); - pv->reserve(capacity); - } else { - throw std::out_of_range("capacity"); - } - return pv; - } -SWIGINTERN aiVertexWeight *std_vector_Sl_aiVertexWeight_Sm__Sg__getitemcopy(std::vector< aiVertexWeight * > *self,int index){ - if (index>=0 && index<(int)self->size()) - return (*self)[index]; - else - throw std::out_of_range("index"); - } -SWIGINTERN std::vector< aiVertexWeight * >::const_reference std_vector_Sl_aiVertexWeight_Sm__Sg__getitem(std::vector< aiVertexWeight * > *self,int index){ - if (index>=0 && index<(int)self->size()) - return (*self)[index]; - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiVertexWeight_Sm__Sg__setitem(std::vector< aiVertexWeight * > *self,int index,aiVertexWeight *const &val){ - if (index>=0 && index<(int)self->size()) - (*self)[index] = val; - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiVertexWeight_Sm__Sg__AddRange(std::vector< aiVertexWeight * > *self,std::vector< aiVertexWeight * > const &values){ - self->insert(self->end(), values.begin(), values.end()); - } -SWIGINTERN std::vector< aiVertexWeight * > *std_vector_Sl_aiVertexWeight_Sm__Sg__GetRange(std::vector< aiVertexWeight * > *self,int index,int count){ - if (index < 0) - throw std::out_of_range("index"); - if (count < 0) - throw std::out_of_range("count"); - if (index >= (int)self->size()+1 || index+count > (int)self->size()) - throw std::invalid_argument("invalid range"); - return new std::vector< aiVertexWeight * >(self->begin()+index, self->begin()+index+count); - } -SWIGINTERN void std_vector_Sl_aiVertexWeight_Sm__Sg__Insert(std::vector< aiVertexWeight * > *self,int index,aiVertexWeight *const &x){ - if (index>=0 && index<(int)self->size()+1) - self->insert(self->begin()+index, x); - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiVertexWeight_Sm__Sg__InsertRange(std::vector< aiVertexWeight * > *self,int index,std::vector< aiVertexWeight * > const &values){ - if (index>=0 && index<(int)self->size()+1) - self->insert(self->begin()+index, values.begin(), values.end()); - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiVertexWeight_Sm__Sg__RemoveAt(std::vector< aiVertexWeight * > *self,int index){ - if (index>=0 && index<(int)self->size()) - self->erase(self->begin() + index); - else - throw std::out_of_range("index"); - } -SWIGINTERN void std_vector_Sl_aiVertexWeight_Sm__Sg__RemoveRange(std::vector< aiVertexWeight * > *self,int index,int count){ - if (index < 0) - throw std::out_of_range("index"); - if (count < 0) - throw std::out_of_range("count"); - if (index >= (int)self->size()+1 || index+count > (int)self->size()) - throw std::invalid_argument("invalid range"); - self->erase(self->begin()+index, self->begin()+index+count); - } -SWIGINTERN std::vector< aiVertexWeight * > *std_vector_Sl_aiVertexWeight_Sm__Sg__Repeat(aiVertexWeight *const &value,int count){ - if (count < 0) - throw std::out_of_range("count"); - return new std::vector< aiVertexWeight * >(count, value); - } -SWIGINTERN void std_vector_Sl_aiVertexWeight_Sm__Sg__Reverse__SWIG_0(std::vector< aiVertexWeight * > *self){ - std::reverse(self->begin(), self->end()); - } -SWIGINTERN void std_vector_Sl_aiVertexWeight_Sm__Sg__Reverse__SWIG_1(std::vector< aiVertexWeight * > *self,int index,int count){ - if (index < 0) - throw std::out_of_range("index"); - if (count < 0) - throw std::out_of_range("count"); - if (index >= (int)self->size()+1 || index+count > (int)self->size()) - throw std::invalid_argument("invalid range"); - std::reverse(self->begin()+index, self->begin()+index+count); - } -SWIGINTERN void std_vector_Sl_aiVertexWeight_Sm__Sg__SetRange(std::vector< aiVertexWeight * > *self,int index,std::vector< aiVertexWeight * > const &values){ - if (index < 0) - throw std::out_of_range("index"); - if (index+values.size() > self->size()) - throw std::out_of_range("index"); - std::copy(values.begin(), values.end(), self->begin()+index); - } -SWIGINTERN bool std_vector_Sl_aiVertexWeight_Sm__Sg__Contains(std::vector< aiVertexWeight * > *self,aiVertexWeight *const &value){ - return std::find(self->begin(), self->end(), value) != self->end(); - } -SWIGINTERN int std_vector_Sl_aiVertexWeight_Sm__Sg__IndexOf(std::vector< aiVertexWeight * > *self,aiVertexWeight *const &value){ - int index = -1; - std::vector< aiVertexWeight * >::iterator it = std::find(self->begin(), self->end(), value); - if (it != self->end()) - index = (int)(it - self->begin()); - return index; - } -SWIGINTERN int std_vector_Sl_aiVertexWeight_Sm__Sg__LastIndexOf(std::vector< aiVertexWeight * > *self,aiVertexWeight *const &value){ - int index = -1; - std::vector< aiVertexWeight * >::reverse_iterator rit = std::find(self->rbegin(), self->rend(), value); - if (rit != self->rend()) - index = (int)(self->rend() - 1 - rit); - return index; - } -SWIGINTERN bool std_vector_Sl_aiVertexWeight_Sm__Sg__Remove(std::vector< aiVertexWeight * > *self,aiVertexWeight *const &value){ - std::vector< aiVertexWeight * >::iterator it = std::find(self->begin(), self->end(), value); - if (it != self->end()) { - self->erase(it); - return true; - } - return false; - } - -#ifdef __cplusplus -extern "C" { -#endif - -SWIGEXPORT double SWIGSTDCALL CSharp_AI_MATH_PI_get() { - double jresult ; - double result; - - result = (double)((3.141592653589793238462643383279)); - jresult = result; - return jresult; -} - - -SWIGEXPORT double SWIGSTDCALL CSharp_AI_MATH_TWO_PI_get() { - double jresult ; - double result; - - result = (double)(((3.141592653589793238462643383279)*2.0)); - jresult = result; - return jresult; -} - - -SWIGEXPORT double SWIGSTDCALL CSharp_AI_MATH_HALF_PI_get() { - double jresult ; - double result; - - result = (double)(((3.141592653589793238462643383279)*0.5)); - jresult = result; - return jresult; -} - - -SWIGEXPORT double SWIGSTDCALL CSharp_AI_MATH_PI_F_get() { - double jresult ; - double result; - - result = (double)((3.1415926538)); - jresult = result; - return jresult; -} - - -SWIGEXPORT double SWIGSTDCALL CSharp_AI_MATH_TWO_PI_F_get() { - double jresult ; - double result; - - result = (double)(((3.1415926538)*2.0)); - jresult = result; - return jresult; -} - - -SWIGEXPORT double SWIGSTDCALL CSharp_AI_MATH_HALF_PI_F_get() { - double jresult ; - double result; - - result = (double)(((3.1415926538)*0.5)); - jresult = result; - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_AI_CONFIG_GLOB_MEASURE_TIME_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("GLOB_MEASURE_TIME"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_AI_CONFIG_PP_SBBC_MAX_BONES_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("PP_SBBC_MAX_BONES"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_AI_SBBC_DEFAULT_MAX_BONES_get() { - int jresult ; - int result; - - result = (int)(60); - jresult = result; - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_AI_CONFIG_PP_CT_MAX_SMOOTHING_ANGLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("PP_CT_MAX_SMOOTHING_ANGLE"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_AI_CONFIG_PP_CT_TEXTURE_CHANNEL_INDEX_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("PP_CT_TEXTURE_CHANNEL_INDEX"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_AI_CONFIG_PP_GSN_MAX_SMOOTHING_ANGLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("PP_GSN_MAX_SMOOTHING_ANGLE"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_AI_CONFIG_IMPORT_MDL_COLORMAP_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("IMPORT_MDL_COLORMAP"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_AI_CONFIG_PP_RRM_EXCLUDE_LIST_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("PP_RRM_EXCLUDE_LIST"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_AI_CONFIG_PP_PTV_KEEP_HIERARCHY_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("PP_PTV_KEEP_HIERARCHY"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_AI_CONFIG_PP_PTV_NORMALIZE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("PP_PTV_NORMALIZE"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_AI_CONFIG_PP_FD_REMOVE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("PP_FD_REMOVE"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_AI_CONFIG_PP_OG_EXCLUDE_LIST_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("PP_OG_EXCLUDE_LIST"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_AI_CONFIG_PP_SLM_TRIANGLE_LIMIT_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("PP_SLM_TRIANGLE_LIMIT"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_AI_SLM_DEFAULT_MAX_TRIANGLES_get() { - int jresult ; - int result; - - result = (int)(1000000); - jresult = result; - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_AI_CONFIG_PP_SLM_VERTEX_LIMIT_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("PP_SLM_VERTEX_LIMIT"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_AI_SLM_DEFAULT_MAX_VERTICES_get() { - int jresult ; - int result; - - result = (int)(1000000); - jresult = result; - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_AI_CONFIG_PP_LBW_MAX_WEIGHTS_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("PP_LBW_MAX_WEIGHTS"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_AI_LMW_MAX_WEIGHTS_get() { - int jresult ; - int result; - - result = (int)(0x4); - jresult = result; - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_AI_CONFIG_PP_DB_THRESHOLD_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("PP_DB_THRESHOLD"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT double SWIGSTDCALL CSharp_AI_DEBONE_THRESHOLD_get() { - double jresult ; - double result; - - result = (double)(1.0); - jresult = result; - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_AI_CONFIG_PP_DB_ALL_OR_NONE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("PP_DB_ALL_OR_NONE"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_PP_ICL_PTCACHE_SIZE_get() { - int jresult ; - int result; - - result = (int)(12); - jresult = result; - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_AI_CONFIG_PP_ICL_PTCACHE_SIZE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("PP_ICL_PTCACHE_SIZE"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_AI_CONFIG_PP_RVC_FLAGS_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("PP_RVC_FLAGS"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_AI_CONFIG_PP_SBP_REMOVE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("PP_SBP_REMOVE"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_AI_CONFIG_PP_FID_ANIM_ACCURACY_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("PP_FID_ANIM_ACCURACY"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_AI_UVTRAFO_SCALING_get() { - int jresult ; - int result; - - result = (int)(0x1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_AI_UVTRAFO_ROTATION_get() { - int jresult ; - int result; - - result = (int)(0x2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_AI_UVTRAFO_TRANSLATION_get() { - int jresult ; - int result; - - result = (int)(0x4); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_AI_UVTRAFO_ALL_get() { - int jresult ; - int result; - - result = (int)((0x1|0x2|0x4)); - jresult = result; - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_AI_CONFIG_PP_TUV_EVALUATE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("PP_TUV_EVALUATE"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_AI_CONFIG_FAVOUR_SPEED_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("FAVOUR_SPEED"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_AI_CONFIG_IMPORT_GLOBAL_KEYFRAME_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("IMPORT_GLOBAL_KEYFRAME"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_AI_CONFIG_IMPORT_MD3_KEYFRAME_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("IMPORT_MD3_KEYFRAME"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_AI_CONFIG_IMPORT_MD2_KEYFRAME_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("IMPORT_MD2_KEYFRAME"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_AI_CONFIG_IMPORT_MDL_KEYFRAME_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("IMPORT_MDL_KEYFRAME"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_AI_CONFIG_IMPORT_MDC_KEYFRAME_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("IMPORT_MDC_KEYFRAME"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_AI_CONFIG_IMPORT_SMD_KEYFRAME_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("IMPORT_SMD_KEYFRAME"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_AI_CONFIG_IMPORT_UNREAL_KEYFRAME_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("IMPORT_UNREAL_KEYFRAME"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_AI_CONFIG_IMPORT_AC_SEPARATE_BFCULL_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("IMPORT_AC_SEPARATE_BFCULL"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_AI_CONFIG_IMPORT_AC_EVAL_SUBDIVISION_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("IMPORT_AC_EVAL_SUBDIVISION"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_AI_CONFIG_IMPORT_UNREAL_HANDLE_FLAGS_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("UNREAL_HANDLE_FLAGS"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_AI_CONFIG_IMPORT_TER_MAKE_UVS_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("IMPORT_TER_MAKE_UVS"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_AI_CONFIG_IMPORT_ASE_RECONSTRUCT_NORMALS_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("IMPORT_ASE_RECONSTRUCT_NORMALS"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_AI_CONFIG_IMPORT_MD3_HANDLE_MULTIPART_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("IMPORT_MD3_HANDLE_MULTIPART"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_AI_CONFIG_IMPORT_MD3_SKIN_NAME_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("IMPORT_MD3_SKIN_NAME"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_AI_CONFIG_IMPORT_MD3_SHADER_SRC_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("IMPORT_MD3_SHADER_SRC"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_AI_CONFIG_IMPORT_LWO_ONE_LAYER_ONLY_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("IMPORT_LWO_ONE_LAYER_ONLY"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_AI_CONFIG_IMPORT_MD5_NO_ANIM_AUTOLOAD_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("IMPORT_MD5_NO_ANIM_AUTOLOAD"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_AI_CONFIG_IMPORT_LWS_ANIM_START_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("IMPORT_LWS_ANIM_START"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_AI_CONFIG_IMPORT_LWS_ANIM_END_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("IMPORT_LWS_ANIM_END"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_AI_CONFIG_IMPORT_IRR_ANIM_FPS_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("IMPORT_IRR_ANIM_FPS"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_AI_CONFIG_IMPORT_OGRE_MATERIAL_FILE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("IMPORT_OGRE_MATERIAL_FILE"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_AI_CONFIG_IMPORT_OGRE_TEXTURETYPE_FROM_FILENAME_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("IMPORT_OGRE_TEXTURETYPE_FROM_FILENAME"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_AI_CONFIG_IMPORT_IFC_SKIP_SPACE_REPRESENTATIONS_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("IMPORT_IFC_SKIP_SPACE_REPRESENTATIONS"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_AI_CONFIG_IMPORT_IFC_SKIP_CURVE_REPRESENTATIONS_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("IMPORT_IFC_SKIP_CURVE_REPRESENTATIONS"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_AI_CONFIG_IMPORT_IFC_CUSTOM_TRIANGULATION_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("IMPORT_IFC_CUSTOM_TRIANGULATION"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_MAXLEN_get() { - unsigned long jresult ; - size_t result; - - result = (size_t)MAXLEN; - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiPlane__SWIG_0() { - void * jresult ; - aiPlane *result = 0 ; - - result = (aiPlane *)new aiPlane(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiPlane__SWIG_1(float jarg1, float jarg2, float jarg3, float jarg4) { - void * jresult ; - float arg1 ; - float arg2 ; - float arg3 ; - float arg4 ; - aiPlane *result = 0 ; - - arg1 = (float)jarg1; - arg2 = (float)jarg2; - arg3 = (float)jarg3; - arg4 = (float)jarg4; - result = (aiPlane *)new aiPlane(arg1,arg2,arg3,arg4); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiPlane__SWIG_2(void * jarg1) { - void * jresult ; - aiPlane *arg1 = 0 ; - aiPlane *result = 0 ; - - arg1 = (aiPlane *)jarg1; - if (!arg1) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiPlane const & type is null", 0); - return 0; - } - result = (aiPlane *)new aiPlane((aiPlane const &)*arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiPlane_a_set(void * jarg1, float jarg2) { - aiPlane *arg1 = (aiPlane *) 0 ; - float arg2 ; - - arg1 = (aiPlane *)jarg1; - arg2 = (float)jarg2; - if (arg1) (arg1)->a = arg2; -} - - -SWIGEXPORT float SWIGSTDCALL CSharp_aiPlane_a_get(void * jarg1) { - float jresult ; - aiPlane *arg1 = (aiPlane *) 0 ; - float result; - - arg1 = (aiPlane *)jarg1; - result = (float) ((arg1)->a); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiPlane_b_set(void * jarg1, float jarg2) { - aiPlane *arg1 = (aiPlane *) 0 ; - float arg2 ; - - arg1 = (aiPlane *)jarg1; - arg2 = (float)jarg2; - if (arg1) (arg1)->b = arg2; -} - - -SWIGEXPORT float SWIGSTDCALL CSharp_aiPlane_b_get(void * jarg1) { - float jresult ; - aiPlane *arg1 = (aiPlane *) 0 ; - float result; - - arg1 = (aiPlane *)jarg1; - result = (float) ((arg1)->b); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiPlane_c_set(void * jarg1, float jarg2) { - aiPlane *arg1 = (aiPlane *) 0 ; - float arg2 ; - - arg1 = (aiPlane *)jarg1; - arg2 = (float)jarg2; - if (arg1) (arg1)->c = arg2; -} - - -SWIGEXPORT float SWIGSTDCALL CSharp_aiPlane_c_get(void * jarg1) { - float jresult ; - aiPlane *arg1 = (aiPlane *) 0 ; - float result; - - arg1 = (aiPlane *)jarg1; - result = (float) ((arg1)->c); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiPlane_d_set(void * jarg1, float jarg2) { - aiPlane *arg1 = (aiPlane *) 0 ; - float arg2 ; - - arg1 = (aiPlane *)jarg1; - arg2 = (float)jarg2; - if (arg1) (arg1)->d = arg2; -} - - -SWIGEXPORT float SWIGSTDCALL CSharp_aiPlane_d_get(void * jarg1) { - float jresult ; - aiPlane *arg1 = (aiPlane *) 0 ; - float result; - - arg1 = (aiPlane *)jarg1; - result = (float) ((arg1)->d); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_aiPlane(void * jarg1) { - aiPlane *arg1 = (aiPlane *) 0 ; - - arg1 = (aiPlane *)jarg1; - delete arg1; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiRay__SWIG_0() { - void * jresult ; - aiRay *result = 0 ; - - result = (aiRay *)new aiRay(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiRay__SWIG_1(void * jarg1, void * jarg2) { - void * jresult ; - aiVector3D *arg1 = 0 ; - aiVector3D *arg2 = 0 ; - aiRay *result = 0 ; - - arg1 = (aiVector3D *)jarg1; - if (!arg1) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiVector3D const & type is null", 0); - return 0; - } - arg2 = (aiVector3D *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiVector3D const & type is null", 0); - return 0; - } - result = (aiRay *)new aiRay((aiVector3D const &)*arg1,(aiVector3D const &)*arg2); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiRay__SWIG_2(void * jarg1) { - void * jresult ; - aiRay *arg1 = 0 ; - aiRay *result = 0 ; - - arg1 = (aiRay *)jarg1; - if (!arg1) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiRay const & type is null", 0); - return 0; - } - result = (aiRay *)new aiRay((aiRay const &)*arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiRay_pos_set(void * jarg1, void * jarg2) { - aiRay *arg1 = (aiRay *) 0 ; - aiVector3D *arg2 = (aiVector3D *) 0 ; - - arg1 = (aiRay *)jarg1; - arg2 = (aiVector3D *)jarg2; - if (arg1) (arg1)->pos = *arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiRay_pos_get(void * jarg1) { - void * jresult ; - aiRay *arg1 = (aiRay *) 0 ; - aiVector3D *result = 0 ; - - arg1 = (aiRay *)jarg1; - result = (aiVector3D *)& ((arg1)->pos); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiRay_dir_set(void * jarg1, void * jarg2) { - aiRay *arg1 = (aiRay *) 0 ; - aiVector3D *arg2 = (aiVector3D *) 0 ; - - arg1 = (aiRay *)jarg1; - arg2 = (aiVector3D *)jarg2; - if (arg1) (arg1)->dir = *arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiRay_dir_get(void * jarg1) { - void * jresult ; - aiRay *arg1 = (aiRay *) 0 ; - aiVector3D *result = 0 ; - - arg1 = (aiRay *)jarg1; - result = (aiVector3D *)& ((arg1)->dir); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_aiRay(void * jarg1) { - aiRay *arg1 = (aiRay *) 0 ; - - arg1 = (aiRay *)jarg1; - delete arg1; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiColor3D__SWIG_0() { - void * jresult ; - aiColor3D *result = 0 ; - - result = (aiColor3D *)new aiColor3D(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiColor3D__SWIG_1(float jarg1, float jarg2, float jarg3) { - void * jresult ; - float arg1 ; - float arg2 ; - float arg3 ; - aiColor3D *result = 0 ; - - arg1 = (float)jarg1; - arg2 = (float)jarg2; - arg3 = (float)jarg3; - result = (aiColor3D *)new aiColor3D(arg1,arg2,arg3); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiColor3D__SWIG_2(float jarg1) { - void * jresult ; - float arg1 ; - aiColor3D *result = 0 ; - - arg1 = (float)jarg1; - result = (aiColor3D *)new aiColor3D(arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiColor3D__SWIG_3(void * jarg1) { - void * jresult ; - aiColor3D *arg1 = 0 ; - aiColor3D *result = 0 ; - - arg1 = (aiColor3D *)jarg1; - if (!arg1) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiColor3D const & type is null", 0); - return 0; - } - result = (aiColor3D *)new aiColor3D((aiColor3D const &)*arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiColor3D___equal__(void * jarg1, void * jarg2) { - unsigned int jresult ; - aiColor3D *arg1 = (aiColor3D *) 0 ; - aiColor3D *arg2 = 0 ; - bool result; - - arg1 = (aiColor3D *)jarg1; - arg2 = (aiColor3D *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiColor3D const & type is null", 0); - return 0; - } - result = (bool)((aiColor3D const *)arg1)->operator ==((aiColor3D const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiColor3D___nequal__(void * jarg1, void * jarg2) { - unsigned int jresult ; - aiColor3D *arg1 = (aiColor3D *) 0 ; - aiColor3D *arg2 = 0 ; - bool result; - - arg1 = (aiColor3D *)jarg1; - arg2 = (aiColor3D *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiColor3D const & type is null", 0); - return 0; - } - result = (bool)((aiColor3D const *)arg1)->operator !=((aiColor3D const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiColor3D___add__(void * jarg1, void * jarg2) { - void * jresult ; - aiColor3D *arg1 = (aiColor3D *) 0 ; - aiColor3D *arg2 = 0 ; - aiColor3D result; - - arg1 = (aiColor3D *)jarg1; - arg2 = (aiColor3D *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiColor3D const & type is null", 0); - return 0; - } - result = ((aiColor3D const *)arg1)->operator +((aiColor3D const &)*arg2); - jresult = new aiColor3D((const aiColor3D &)result); - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiColor3D___sub__(void * jarg1, void * jarg2) { - void * jresult ; - aiColor3D *arg1 = (aiColor3D *) 0 ; - aiColor3D *arg2 = 0 ; - aiColor3D result; - - arg1 = (aiColor3D *)jarg1; - arg2 = (aiColor3D *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiColor3D const & type is null", 0); - return 0; - } - result = ((aiColor3D const *)arg1)->operator -((aiColor3D const &)*arg2); - jresult = new aiColor3D((const aiColor3D &)result); - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiColor3D___mul____SWIG_0(void * jarg1, void * jarg2) { - void * jresult ; - aiColor3D *arg1 = (aiColor3D *) 0 ; - aiColor3D *arg2 = 0 ; - aiColor3D result; - - arg1 = (aiColor3D *)jarg1; - arg2 = (aiColor3D *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiColor3D const & type is null", 0); - return 0; - } - result = ((aiColor3D const *)arg1)->operator *((aiColor3D const &)*arg2); - jresult = new aiColor3D((const aiColor3D &)result); - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiColor3D___mul____SWIG_1(void * jarg1, float jarg2) { - void * jresult ; - aiColor3D *arg1 = (aiColor3D *) 0 ; - float arg2 ; - aiColor3D result; - - arg1 = (aiColor3D *)jarg1; - arg2 = (float)jarg2; - result = ((aiColor3D const *)arg1)->operator *(arg2); - jresult = new aiColor3D((const aiColor3D &)result); - return jresult; -} - - -SWIGEXPORT float SWIGSTDCALL CSharp_aiColor3D___idx____SWIG_0(void * jarg1, unsigned int jarg2) { - float jresult ; - aiColor3D *arg1 = (aiColor3D *) 0 ; - unsigned int arg2 ; - float result; - - arg1 = (aiColor3D *)jarg1; - arg2 = (unsigned int)jarg2; - result = (float)((aiColor3D const *)arg1)->operator [](arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiColor3D_IsBlack(void * jarg1) { - unsigned int jresult ; - aiColor3D *arg1 = (aiColor3D *) 0 ; - bool result; - - arg1 = (aiColor3D *)jarg1; - result = (bool)((aiColor3D const *)arg1)->IsBlack(); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiColor3D_r_set(void * jarg1, float jarg2) { - aiColor3D *arg1 = (aiColor3D *) 0 ; - float arg2 ; - - arg1 = (aiColor3D *)jarg1; - arg2 = (float)jarg2; - if (arg1) (arg1)->r = arg2; -} - - -SWIGEXPORT float SWIGSTDCALL CSharp_aiColor3D_r_get(void * jarg1) { - float jresult ; - aiColor3D *arg1 = (aiColor3D *) 0 ; - float result; - - arg1 = (aiColor3D *)jarg1; - result = (float) ((arg1)->r); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiColor3D_g_set(void * jarg1, float jarg2) { - aiColor3D *arg1 = (aiColor3D *) 0 ; - float arg2 ; - - arg1 = (aiColor3D *)jarg1; - arg2 = (float)jarg2; - if (arg1) (arg1)->g = arg2; -} - - -SWIGEXPORT float SWIGSTDCALL CSharp_aiColor3D_g_get(void * jarg1) { - float jresult ; - aiColor3D *arg1 = (aiColor3D *) 0 ; - float result; - - arg1 = (aiColor3D *)jarg1; - result = (float) ((arg1)->g); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiColor3D_b_set(void * jarg1, float jarg2) { - aiColor3D *arg1 = (aiColor3D *) 0 ; - float arg2 ; - - arg1 = (aiColor3D *)jarg1; - arg2 = (float)jarg2; - if (arg1) (arg1)->b = arg2; -} - - -SWIGEXPORT float SWIGSTDCALL CSharp_aiColor3D_b_get(void * jarg1) { - float jresult ; - aiColor3D *arg1 = (aiColor3D *) 0 ; - float result; - - arg1 = (aiColor3D *)jarg1; - result = (float) ((arg1)->b); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_aiColor3D(void * jarg1) { - aiColor3D *arg1 = (aiColor3D *) 0 ; - - arg1 = (aiColor3D *)jarg1; - delete arg1; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiString__SWIG_0() { - void * jresult ; - aiString *result = 0 ; - - result = (aiString *)new aiString(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiString__SWIG_1(void * jarg1) { - void * jresult ; - aiString *arg1 = 0 ; - aiString *result = 0 ; - - arg1 = (aiString *)jarg1; - if (!arg1) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiString const & type is null", 0); - return 0; - } - result = (aiString *)new aiString((aiString const &)*arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiString__SWIG_2(char * jarg1) { - void * jresult ; - std::string *arg1 = 0 ; - aiString *result = 0 ; - - if (!jarg1) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0); - return 0; - } - std::string arg1_str(jarg1); - arg1 = &arg1_str; - result = (aiString *)new aiString((std::string const &)*arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiString___set____SWIG_0(void * jarg1, char * jarg2) { - void * jresult ; - aiString *arg1 = (aiString *) 0 ; - char *arg2 = (char *) 0 ; - aiString *result = 0 ; - - arg1 = (aiString *)jarg1; - arg2 = (char *)jarg2; - result = (aiString *) &(arg1)->operator =((char const *)arg2); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiString___equal__(void * jarg1, void * jarg2) { - unsigned int jresult ; - aiString *arg1 = (aiString *) 0 ; - aiString *arg2 = 0 ; - bool result; - - arg1 = (aiString *)jarg1; - arg2 = (aiString *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiString const & type is null", 0); - return 0; - } - result = (bool)((aiString const *)arg1)->operator ==((aiString const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiString___nequal__(void * jarg1, void * jarg2) { - unsigned int jresult ; - aiString *arg1 = (aiString *) 0 ; - aiString *arg2 = 0 ; - bool result; - - arg1 = (aiString *)jarg1; - arg2 = (aiString *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiString const & type is null", 0); - return 0; - } - result = (bool)((aiString const *)arg1)->operator !=((aiString const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_aiString_C_Str(void * jarg1) { - char * jresult ; - aiString *arg1 = (aiString *) 0 ; - char *result = 0 ; - - arg1 = (aiString *)jarg1; - result = (char *)((aiString const *)arg1)->C_Str(); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiString_Length_set(void * jarg1, unsigned long jarg2) { - aiString *arg1 = (aiString *) 0 ; - size_t arg2 ; - - arg1 = (aiString *)jarg1; - arg2 = (size_t)jarg2; - if (arg1) (arg1)->length = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_aiString_Length_get(void * jarg1) { - unsigned long jresult ; - aiString *arg1 = (aiString *) 0 ; - size_t result; - - arg1 = (aiString *)jarg1; - result = ((arg1)->length); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiString_Data_set(void * jarg1, char * jarg2) { - aiString *arg1 = (aiString *) 0 ; - char *arg2 ; - - arg1 = (aiString *)jarg1; - arg2 = (char *)jarg2; - { - if(arg2) { - strncpy((char*)arg1->data, (const char *)arg2, MAXLEN-1); - arg1->data[MAXLEN-1] = 0; - } else { - arg1->data[0] = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_aiString_Data_get(void * jarg1) { - char * jresult ; - aiString *arg1 = (aiString *) 0 ; - char *result = 0 ; - - arg1 = (aiString *)jarg1; - result = (char *)(char *) ((arg1)->data); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_aiString(void * jarg1) { - aiString *arg1 = (aiString *) 0 ; - - arg1 = (aiString *)jarg1; - delete arg1; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiMemoryInfo() { - void * jresult ; - aiMemoryInfo *result = 0 ; - - result = (aiMemoryInfo *)new aiMemoryInfo(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMemoryInfo_textures_set(void * jarg1, unsigned int jarg2) { - aiMemoryInfo *arg1 = (aiMemoryInfo *) 0 ; - unsigned int arg2 ; - - arg1 = (aiMemoryInfo *)jarg1; - arg2 = (unsigned int)jarg2; - if (arg1) (arg1)->textures = arg2; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiMemoryInfo_textures_get(void * jarg1) { - unsigned int jresult ; - aiMemoryInfo *arg1 = (aiMemoryInfo *) 0 ; - unsigned int result; - - arg1 = (aiMemoryInfo *)jarg1; - result = (unsigned int) ((arg1)->textures); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMemoryInfo_materials_set(void * jarg1, unsigned int jarg2) { - aiMemoryInfo *arg1 = (aiMemoryInfo *) 0 ; - unsigned int arg2 ; - - arg1 = (aiMemoryInfo *)jarg1; - arg2 = (unsigned int)jarg2; - if (arg1) (arg1)->materials = arg2; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiMemoryInfo_materials_get(void * jarg1) { - unsigned int jresult ; - aiMemoryInfo *arg1 = (aiMemoryInfo *) 0 ; - unsigned int result; - - arg1 = (aiMemoryInfo *)jarg1; - result = (unsigned int) ((arg1)->materials); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMemoryInfo_meshes_set(void * jarg1, unsigned int jarg2) { - aiMemoryInfo *arg1 = (aiMemoryInfo *) 0 ; - unsigned int arg2 ; - - arg1 = (aiMemoryInfo *)jarg1; - arg2 = (unsigned int)jarg2; - if (arg1) (arg1)->meshes = arg2; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiMemoryInfo_meshes_get(void * jarg1) { - unsigned int jresult ; - aiMemoryInfo *arg1 = (aiMemoryInfo *) 0 ; - unsigned int result; - - arg1 = (aiMemoryInfo *)jarg1; - result = (unsigned int) ((arg1)->meshes); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMemoryInfo_nodes_set(void * jarg1, unsigned int jarg2) { - aiMemoryInfo *arg1 = (aiMemoryInfo *) 0 ; - unsigned int arg2 ; - - arg1 = (aiMemoryInfo *)jarg1; - arg2 = (unsigned int)jarg2; - if (arg1) (arg1)->nodes = arg2; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiMemoryInfo_nodes_get(void * jarg1) { - unsigned int jresult ; - aiMemoryInfo *arg1 = (aiMemoryInfo *) 0 ; - unsigned int result; - - arg1 = (aiMemoryInfo *)jarg1; - result = (unsigned int) ((arg1)->nodes); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMemoryInfo_animations_set(void * jarg1, unsigned int jarg2) { - aiMemoryInfo *arg1 = (aiMemoryInfo *) 0 ; - unsigned int arg2 ; - - arg1 = (aiMemoryInfo *)jarg1; - arg2 = (unsigned int)jarg2; - if (arg1) (arg1)->animations = arg2; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiMemoryInfo_animations_get(void * jarg1) { - unsigned int jresult ; - aiMemoryInfo *arg1 = (aiMemoryInfo *) 0 ; - unsigned int result; - - arg1 = (aiMemoryInfo *)jarg1; - result = (unsigned int) ((arg1)->animations); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMemoryInfo_cameras_set(void * jarg1, unsigned int jarg2) { - aiMemoryInfo *arg1 = (aiMemoryInfo *) 0 ; - unsigned int arg2 ; - - arg1 = (aiMemoryInfo *)jarg1; - arg2 = (unsigned int)jarg2; - if (arg1) (arg1)->cameras = arg2; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiMemoryInfo_cameras_get(void * jarg1) { - unsigned int jresult ; - aiMemoryInfo *arg1 = (aiMemoryInfo *) 0 ; - unsigned int result; - - arg1 = (aiMemoryInfo *)jarg1; - result = (unsigned int) ((arg1)->cameras); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMemoryInfo_lights_set(void * jarg1, unsigned int jarg2) { - aiMemoryInfo *arg1 = (aiMemoryInfo *) 0 ; - unsigned int arg2 ; - - arg1 = (aiMemoryInfo *)jarg1; - arg2 = (unsigned int)jarg2; - if (arg1) (arg1)->lights = arg2; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiMemoryInfo_lights_get(void * jarg1) { - unsigned int jresult ; - aiMemoryInfo *arg1 = (aiMemoryInfo *) 0 ; - unsigned int result; - - arg1 = (aiMemoryInfo *)jarg1; - result = (unsigned int) ((arg1)->lights); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMemoryInfo_total_set(void * jarg1, unsigned int jarg2) { - aiMemoryInfo *arg1 = (aiMemoryInfo *) 0 ; - unsigned int arg2 ; - - arg1 = (aiMemoryInfo *)jarg1; - arg2 = (unsigned int)jarg2; - if (arg1) (arg1)->total = arg2; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiMemoryInfo_total_get(void * jarg1) { - unsigned int jresult ; - aiMemoryInfo *arg1 = (aiMemoryInfo *) 0 ; - unsigned int result; - - arg1 = (aiMemoryInfo *)jarg1; - result = (unsigned int) ((arg1)->total); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_aiMemoryInfo(void * jarg1) { - aiMemoryInfo *arg1 = (aiMemoryInfo *) 0 ; - - arg1 = (aiMemoryInfo *)jarg1; - delete arg1; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_aiGetLegalString() { - char * jresult ; - char *result = 0 ; - - result = (char *)aiGetLegalString(); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiGetVersionMinor() { - unsigned int jresult ; - unsigned int result; - - result = (unsigned int)aiGetVersionMinor(); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiGetVersionMajor() { - unsigned int jresult ; - unsigned int result; - - result = (unsigned int)aiGetVersionMajor(); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiGetVersionRevision() { - unsigned int jresult ; - unsigned int result; - - result = (unsigned int)aiGetVersionRevision(); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_ASSIMP_CFLAGS_SHARED_get() { - int jresult ; - int result; - - result = (int)(0x1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_ASSIMP_CFLAGS_STLPORT_get() { - int jresult ; - int result; - - result = (int)(0x2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_ASSIMP_CFLAGS_DEBUG_get() { - int jresult ; - int result; - - result = (int)(0x4); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_ASSIMP_CFLAGS_NOBOOST_get() { - int jresult ; - int result; - - result = (int)(0x8); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_ASSIMP_CFLAGS_SINGLETHREADED_get() { - int jresult ; - int result; - - result = (int)(0x10); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiGetCompileFlags() { - unsigned int jresult ; - unsigned int result; - - result = (unsigned int)aiGetCompileFlags(); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiCamera_mName_set(void * jarg1, void * jarg2) { - aiCamera *arg1 = (aiCamera *) 0 ; - aiString *arg2 = (aiString *) 0 ; - - arg1 = (aiCamera *)jarg1; - arg2 = (aiString *)jarg2; - if (arg1) (arg1)->mName = *arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiCamera_mName_get(void * jarg1) { - void * jresult ; - aiCamera *arg1 = (aiCamera *) 0 ; - aiString *result = 0 ; - - arg1 = (aiCamera *)jarg1; - result = (aiString *)& ((arg1)->mName); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiCamera_mPosition_set(void * jarg1, void * jarg2) { - aiCamera *arg1 = (aiCamera *) 0 ; - aiVector3D *arg2 = (aiVector3D *) 0 ; - - arg1 = (aiCamera *)jarg1; - arg2 = (aiVector3D *)jarg2; - if (arg1) (arg1)->mPosition = *arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiCamera_mPosition_get(void * jarg1) { - void * jresult ; - aiCamera *arg1 = (aiCamera *) 0 ; - aiVector3D *result = 0 ; - - arg1 = (aiCamera *)jarg1; - result = (aiVector3D *)& ((arg1)->mPosition); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiCamera_mUp_set(void * jarg1, void * jarg2) { - aiCamera *arg1 = (aiCamera *) 0 ; - aiVector3D *arg2 = (aiVector3D *) 0 ; - - arg1 = (aiCamera *)jarg1; - arg2 = (aiVector3D *)jarg2; - if (arg1) (arg1)->mUp = *arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiCamera_mUp_get(void * jarg1) { - void * jresult ; - aiCamera *arg1 = (aiCamera *) 0 ; - aiVector3D *result = 0 ; - - arg1 = (aiCamera *)jarg1; - result = (aiVector3D *)& ((arg1)->mUp); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiCamera_mLookAt_set(void * jarg1, void * jarg2) { - aiCamera *arg1 = (aiCamera *) 0 ; - aiVector3D *arg2 = (aiVector3D *) 0 ; - - arg1 = (aiCamera *)jarg1; - arg2 = (aiVector3D *)jarg2; - if (arg1) (arg1)->mLookAt = *arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiCamera_mLookAt_get(void * jarg1) { - void * jresult ; - aiCamera *arg1 = (aiCamera *) 0 ; - aiVector3D *result = 0 ; - - arg1 = (aiCamera *)jarg1; - result = (aiVector3D *)& ((arg1)->mLookAt); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiCamera_mHorizontalFOV_set(void * jarg1, float jarg2) { - aiCamera *arg1 = (aiCamera *) 0 ; - float arg2 ; - - arg1 = (aiCamera *)jarg1; - arg2 = (float)jarg2; - if (arg1) (arg1)->mHorizontalFOV = arg2; -} - - -SWIGEXPORT float SWIGSTDCALL CSharp_aiCamera_mHorizontalFOV_get(void * jarg1) { - float jresult ; - aiCamera *arg1 = (aiCamera *) 0 ; - float result; - - arg1 = (aiCamera *)jarg1; - result = (float) ((arg1)->mHorizontalFOV); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiCamera_mClipPlaneNear_set(void * jarg1, float jarg2) { - aiCamera *arg1 = (aiCamera *) 0 ; - float arg2 ; - - arg1 = (aiCamera *)jarg1; - arg2 = (float)jarg2; - if (arg1) (arg1)->mClipPlaneNear = arg2; -} - - -SWIGEXPORT float SWIGSTDCALL CSharp_aiCamera_mClipPlaneNear_get(void * jarg1) { - float jresult ; - aiCamera *arg1 = (aiCamera *) 0 ; - float result; - - arg1 = (aiCamera *)jarg1; - result = (float) ((arg1)->mClipPlaneNear); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiCamera_mClipPlaneFar_set(void * jarg1, float jarg2) { - aiCamera *arg1 = (aiCamera *) 0 ; - float arg2 ; - - arg1 = (aiCamera *)jarg1; - arg2 = (float)jarg2; - if (arg1) (arg1)->mClipPlaneFar = arg2; -} - - -SWIGEXPORT float SWIGSTDCALL CSharp_aiCamera_mClipPlaneFar_get(void * jarg1) { - float jresult ; - aiCamera *arg1 = (aiCamera *) 0 ; - float result; - - arg1 = (aiCamera *)jarg1; - result = (float) ((arg1)->mClipPlaneFar); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiCamera_mAspect_set(void * jarg1, float jarg2) { - aiCamera *arg1 = (aiCamera *) 0 ; - float arg2 ; - - arg1 = (aiCamera *)jarg1; - arg2 = (float)jarg2; - if (arg1) (arg1)->mAspect = arg2; -} - - -SWIGEXPORT float SWIGSTDCALL CSharp_aiCamera_mAspect_get(void * jarg1) { - float jresult ; - aiCamera *arg1 = (aiCamera *) 0 ; - float result; - - arg1 = (aiCamera *)jarg1; - result = (float) ((arg1)->mAspect); - jresult = result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiCamera() { - void * jresult ; - aiCamera *result = 0 ; - - result = (aiCamera *)new aiCamera(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiCamera_GetCameraMatrix(void * jarg1, void * jarg2) { - aiCamera *arg1 = (aiCamera *) 0 ; - aiMatrix4x4 *arg2 = 0 ; - - arg1 = (aiCamera *)jarg1; - arg2 = (aiMatrix4x4 *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiMatrix4x4 & type is null", 0); - return ; - } - ((aiCamera const *)arg1)->GetCameraMatrix(*arg2); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_aiCamera(void * jarg1) { - aiCamera *arg1 = (aiCamera *) 0 ; - - arg1 = (aiCamera *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiLight_mName_set(void * jarg1, void * jarg2) { - aiLight *arg1 = (aiLight *) 0 ; - aiString *arg2 = (aiString *) 0 ; - - arg1 = (aiLight *)jarg1; - arg2 = (aiString *)jarg2; - if (arg1) (arg1)->mName = *arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiLight_mName_get(void * jarg1) { - void * jresult ; - aiLight *arg1 = (aiLight *) 0 ; - aiString *result = 0 ; - - arg1 = (aiLight *)jarg1; - result = (aiString *)& ((arg1)->mName); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiLight_mType_set(void * jarg1, int jarg2) { - aiLight *arg1 = (aiLight *) 0 ; - aiLightSourceType arg2 ; - - arg1 = (aiLight *)jarg1; - arg2 = (aiLightSourceType)jarg2; - if (arg1) (arg1)->mType = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_aiLight_mType_get(void * jarg1) { - int jresult ; - aiLight *arg1 = (aiLight *) 0 ; - aiLightSourceType result; - - arg1 = (aiLight *)jarg1; - result = (aiLightSourceType) ((arg1)->mType); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiLight_mPosition_set(void * jarg1, void * jarg2) { - aiLight *arg1 = (aiLight *) 0 ; - aiVector3D *arg2 = (aiVector3D *) 0 ; - - arg1 = (aiLight *)jarg1; - arg2 = (aiVector3D *)jarg2; - if (arg1) (arg1)->mPosition = *arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiLight_mPosition_get(void * jarg1) { - void * jresult ; - aiLight *arg1 = (aiLight *) 0 ; - aiVector3D *result = 0 ; - - arg1 = (aiLight *)jarg1; - result = (aiVector3D *)& ((arg1)->mPosition); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiLight_mDirection_set(void * jarg1, void * jarg2) { - aiLight *arg1 = (aiLight *) 0 ; - aiVector3D *arg2 = (aiVector3D *) 0 ; - - arg1 = (aiLight *)jarg1; - arg2 = (aiVector3D *)jarg2; - if (arg1) (arg1)->mDirection = *arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiLight_mDirection_get(void * jarg1) { - void * jresult ; - aiLight *arg1 = (aiLight *) 0 ; - aiVector3D *result = 0 ; - - arg1 = (aiLight *)jarg1; - result = (aiVector3D *)& ((arg1)->mDirection); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiLight_mAttenuationConstant_set(void * jarg1, float jarg2) { - aiLight *arg1 = (aiLight *) 0 ; - float arg2 ; - - arg1 = (aiLight *)jarg1; - arg2 = (float)jarg2; - if (arg1) (arg1)->mAttenuationConstant = arg2; -} - - -SWIGEXPORT float SWIGSTDCALL CSharp_aiLight_mAttenuationConstant_get(void * jarg1) { - float jresult ; - aiLight *arg1 = (aiLight *) 0 ; - float result; - - arg1 = (aiLight *)jarg1; - result = (float) ((arg1)->mAttenuationConstant); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiLight_mAttenuationLinear_set(void * jarg1, float jarg2) { - aiLight *arg1 = (aiLight *) 0 ; - float arg2 ; - - arg1 = (aiLight *)jarg1; - arg2 = (float)jarg2; - if (arg1) (arg1)->mAttenuationLinear = arg2; -} - - -SWIGEXPORT float SWIGSTDCALL CSharp_aiLight_mAttenuationLinear_get(void * jarg1) { - float jresult ; - aiLight *arg1 = (aiLight *) 0 ; - float result; - - arg1 = (aiLight *)jarg1; - result = (float) ((arg1)->mAttenuationLinear); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiLight_mAttenuationQuadratic_set(void * jarg1, float jarg2) { - aiLight *arg1 = (aiLight *) 0 ; - float arg2 ; - - arg1 = (aiLight *)jarg1; - arg2 = (float)jarg2; - if (arg1) (arg1)->mAttenuationQuadratic = arg2; -} - - -SWIGEXPORT float SWIGSTDCALL CSharp_aiLight_mAttenuationQuadratic_get(void * jarg1) { - float jresult ; - aiLight *arg1 = (aiLight *) 0 ; - float result; - - arg1 = (aiLight *)jarg1; - result = (float) ((arg1)->mAttenuationQuadratic); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiLight_mColorDiffuse_set(void * jarg1, void * jarg2) { - aiLight *arg1 = (aiLight *) 0 ; - aiColor3D *arg2 = (aiColor3D *) 0 ; - - arg1 = (aiLight *)jarg1; - arg2 = (aiColor3D *)jarg2; - if (arg1) (arg1)->mColorDiffuse = *arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiLight_mColorDiffuse_get(void * jarg1) { - void * jresult ; - aiLight *arg1 = (aiLight *) 0 ; - aiColor3D *result = 0 ; - - arg1 = (aiLight *)jarg1; - result = (aiColor3D *)& ((arg1)->mColorDiffuse); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiLight_mColorSpecular_set(void * jarg1, void * jarg2) { - aiLight *arg1 = (aiLight *) 0 ; - aiColor3D *arg2 = (aiColor3D *) 0 ; - - arg1 = (aiLight *)jarg1; - arg2 = (aiColor3D *)jarg2; - if (arg1) (arg1)->mColorSpecular = *arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiLight_mColorSpecular_get(void * jarg1) { - void * jresult ; - aiLight *arg1 = (aiLight *) 0 ; - aiColor3D *result = 0 ; - - arg1 = (aiLight *)jarg1; - result = (aiColor3D *)& ((arg1)->mColorSpecular); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiLight_mColorAmbient_set(void * jarg1, void * jarg2) { - aiLight *arg1 = (aiLight *) 0 ; - aiColor3D *arg2 = (aiColor3D *) 0 ; - - arg1 = (aiLight *)jarg1; - arg2 = (aiColor3D *)jarg2; - if (arg1) (arg1)->mColorAmbient = *arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiLight_mColorAmbient_get(void * jarg1) { - void * jresult ; - aiLight *arg1 = (aiLight *) 0 ; - aiColor3D *result = 0 ; - - arg1 = (aiLight *)jarg1; - result = (aiColor3D *)& ((arg1)->mColorAmbient); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiLight_mAngleInnerCone_set(void * jarg1, float jarg2) { - aiLight *arg1 = (aiLight *) 0 ; - float arg2 ; - - arg1 = (aiLight *)jarg1; - arg2 = (float)jarg2; - if (arg1) (arg1)->mAngleInnerCone = arg2; -} - - -SWIGEXPORT float SWIGSTDCALL CSharp_aiLight_mAngleInnerCone_get(void * jarg1) { - float jresult ; - aiLight *arg1 = (aiLight *) 0 ; - float result; - - arg1 = (aiLight *)jarg1; - result = (float) ((arg1)->mAngleInnerCone); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiLight_mAngleOuterCone_set(void * jarg1, float jarg2) { - aiLight *arg1 = (aiLight *) 0 ; - float arg2 ; - - arg1 = (aiLight *)jarg1; - arg2 = (float)jarg2; - if (arg1) (arg1)->mAngleOuterCone = arg2; -} - - -SWIGEXPORT float SWIGSTDCALL CSharp_aiLight_mAngleOuterCone_get(void * jarg1) { - float jresult ; - aiLight *arg1 = (aiLight *) 0 ; - float result; - - arg1 = (aiLight *)jarg1; - result = (float) ((arg1)->mAngleOuterCone); - jresult = result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiLight() { - void * jresult ; - aiLight *result = 0 ; - - result = (aiLight *)new aiLight(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_aiLight(void * jarg1) { - aiLight *arg1 = (aiLight *) 0 ; - - arg1 = (aiLight *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiVectorKey_mTime_set(void * jarg1, double jarg2) { - aiVectorKey *arg1 = (aiVectorKey *) 0 ; - double arg2 ; - - arg1 = (aiVectorKey *)jarg1; - arg2 = (double)jarg2; - if (arg1) (arg1)->mTime = arg2; -} - - -SWIGEXPORT double SWIGSTDCALL CSharp_aiVectorKey_mTime_get(void * jarg1) { - double jresult ; - aiVectorKey *arg1 = (aiVectorKey *) 0 ; - double result; - - arg1 = (aiVectorKey *)jarg1; - result = (double) ((arg1)->mTime); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiVectorKey_mValue_set(void * jarg1, void * jarg2) { - aiVectorKey *arg1 = (aiVectorKey *) 0 ; - aiVector3D *arg2 = (aiVector3D *) 0 ; - - arg1 = (aiVectorKey *)jarg1; - arg2 = (aiVector3D *)jarg2; - if (arg1) (arg1)->mValue = *arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiVectorKey_mValue_get(void * jarg1) { - void * jresult ; - aiVectorKey *arg1 = (aiVectorKey *) 0 ; - aiVector3D *result = 0 ; - - arg1 = (aiVectorKey *)jarg1; - result = (aiVector3D *)& ((arg1)->mValue); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiVectorKey__SWIG_0() { - void * jresult ; - aiVectorKey *result = 0 ; - - result = (aiVectorKey *)new aiVectorKey(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiVectorKey__SWIG_1(double jarg1, void * jarg2) { - void * jresult ; - double arg1 ; - aiVector3D *arg2 = 0 ; - aiVectorKey *result = 0 ; - - arg1 = (double)jarg1; - arg2 = (aiVector3D *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiVector3D const & type is null", 0); - return 0; - } - result = (aiVectorKey *)new aiVectorKey(arg1,(aiVector3D const &)*arg2); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiVectorKey___equal__(void * jarg1, void * jarg2) { - unsigned int jresult ; - aiVectorKey *arg1 = (aiVectorKey *) 0 ; - aiVectorKey *arg2 = 0 ; - bool result; - - arg1 = (aiVectorKey *)jarg1; - arg2 = (aiVectorKey *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiVectorKey const & type is null", 0); - return 0; - } - result = (bool)((aiVectorKey const *)arg1)->operator ==((aiVectorKey const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiVectorKey___nequal__(void * jarg1, void * jarg2) { - unsigned int jresult ; - aiVectorKey *arg1 = (aiVectorKey *) 0 ; - aiVectorKey *arg2 = 0 ; - bool result; - - arg1 = (aiVectorKey *)jarg1; - arg2 = (aiVectorKey *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiVectorKey const & type is null", 0); - return 0; - } - result = (bool)((aiVectorKey const *)arg1)->operator !=((aiVectorKey const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiVectorKey___smaller__(void * jarg1, void * jarg2) { - unsigned int jresult ; - aiVectorKey *arg1 = (aiVectorKey *) 0 ; - aiVectorKey *arg2 = 0 ; - bool result; - - arg1 = (aiVectorKey *)jarg1; - arg2 = (aiVectorKey *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiVectorKey const & type is null", 0); - return 0; - } - result = (bool)((aiVectorKey const *)arg1)->operator <((aiVectorKey const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiVectorKey___greater__(void * jarg1, void * jarg2) { - unsigned int jresult ; - aiVectorKey *arg1 = (aiVectorKey *) 0 ; - aiVectorKey *arg2 = 0 ; - bool result; - - arg1 = (aiVectorKey *)jarg1; - arg2 = (aiVectorKey *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiVectorKey const & type is null", 0); - return 0; - } - result = (bool)((aiVectorKey const *)arg1)->operator >((aiVectorKey const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_aiVectorKey(void * jarg1) { - aiVectorKey *arg1 = (aiVectorKey *) 0 ; - - arg1 = (aiVectorKey *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiQuatKey_mTime_set(void * jarg1, double jarg2) { - aiQuatKey *arg1 = (aiQuatKey *) 0 ; - double arg2 ; - - arg1 = (aiQuatKey *)jarg1; - arg2 = (double)jarg2; - if (arg1) (arg1)->mTime = arg2; -} - - -SWIGEXPORT double SWIGSTDCALL CSharp_aiQuatKey_mTime_get(void * jarg1) { - double jresult ; - aiQuatKey *arg1 = (aiQuatKey *) 0 ; - double result; - - arg1 = (aiQuatKey *)jarg1; - result = (double) ((arg1)->mTime); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiQuatKey_mValue_set(void * jarg1, void * jarg2) { - aiQuatKey *arg1 = (aiQuatKey *) 0 ; - aiQuaternion *arg2 = (aiQuaternion *) 0 ; - - arg1 = (aiQuatKey *)jarg1; - arg2 = (aiQuaternion *)jarg2; - if (arg1) (arg1)->mValue = *arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiQuatKey_mValue_get(void * jarg1) { - void * jresult ; - aiQuatKey *arg1 = (aiQuatKey *) 0 ; - aiQuaternion *result = 0 ; - - arg1 = (aiQuatKey *)jarg1; - result = (aiQuaternion *)& ((arg1)->mValue); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiQuatKey__SWIG_0() { - void * jresult ; - aiQuatKey *result = 0 ; - - result = (aiQuatKey *)new aiQuatKey(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiQuatKey__SWIG_1(double jarg1, void * jarg2) { - void * jresult ; - double arg1 ; - aiQuaternion *arg2 = 0 ; - aiQuatKey *result = 0 ; - - arg1 = (double)jarg1; - arg2 = (aiQuaternion *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiQuaternion const & type is null", 0); - return 0; - } - result = (aiQuatKey *)new aiQuatKey(arg1,(aiQuaternion const &)*arg2); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiQuatKey___equal__(void * jarg1, void * jarg2) { - unsigned int jresult ; - aiQuatKey *arg1 = (aiQuatKey *) 0 ; - aiQuatKey *arg2 = 0 ; - bool result; - - arg1 = (aiQuatKey *)jarg1; - arg2 = (aiQuatKey *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiQuatKey const & type is null", 0); - return 0; - } - result = (bool)((aiQuatKey const *)arg1)->operator ==((aiQuatKey const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiQuatKey___nequal__(void * jarg1, void * jarg2) { - unsigned int jresult ; - aiQuatKey *arg1 = (aiQuatKey *) 0 ; - aiQuatKey *arg2 = 0 ; - bool result; - - arg1 = (aiQuatKey *)jarg1; - arg2 = (aiQuatKey *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiQuatKey const & type is null", 0); - return 0; - } - result = (bool)((aiQuatKey const *)arg1)->operator !=((aiQuatKey const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiQuatKey___smaller__(void * jarg1, void * jarg2) { - unsigned int jresult ; - aiQuatKey *arg1 = (aiQuatKey *) 0 ; - aiQuatKey *arg2 = 0 ; - bool result; - - arg1 = (aiQuatKey *)jarg1; - arg2 = (aiQuatKey *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiQuatKey const & type is null", 0); - return 0; - } - result = (bool)((aiQuatKey const *)arg1)->operator <((aiQuatKey const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiQuatKey___greater__(void * jarg1, void * jarg2) { - unsigned int jresult ; - aiQuatKey *arg1 = (aiQuatKey *) 0 ; - aiQuatKey *arg2 = 0 ; - bool result; - - arg1 = (aiQuatKey *)jarg1; - arg2 = (aiQuatKey *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiQuatKey const & type is null", 0); - return 0; - } - result = (bool)((aiQuatKey const *)arg1)->operator >((aiQuatKey const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_aiQuatKey(void * jarg1) { - aiQuatKey *arg1 = (aiQuatKey *) 0 ; - - arg1 = (aiQuatKey *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMeshKey_mTime_set(void * jarg1, double jarg2) { - aiMeshKey *arg1 = (aiMeshKey *) 0 ; - double arg2 ; - - arg1 = (aiMeshKey *)jarg1; - arg2 = (double)jarg2; - if (arg1) (arg1)->mTime = arg2; -} - - -SWIGEXPORT double SWIGSTDCALL CSharp_aiMeshKey_mTime_get(void * jarg1) { - double jresult ; - aiMeshKey *arg1 = (aiMeshKey *) 0 ; - double result; - - arg1 = (aiMeshKey *)jarg1; - result = (double) ((arg1)->mTime); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMeshKey_mValue_set(void * jarg1, unsigned int jarg2) { - aiMeshKey *arg1 = (aiMeshKey *) 0 ; - unsigned int arg2 ; - - arg1 = (aiMeshKey *)jarg1; - arg2 = (unsigned int)jarg2; - if (arg1) (arg1)->mValue = arg2; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiMeshKey_mValue_get(void * jarg1) { - unsigned int jresult ; - aiMeshKey *arg1 = (aiMeshKey *) 0 ; - unsigned int result; - - arg1 = (aiMeshKey *)jarg1; - result = (unsigned int) ((arg1)->mValue); - jresult = result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiMeshKey__SWIG_0() { - void * jresult ; - aiMeshKey *result = 0 ; - - result = (aiMeshKey *)new aiMeshKey(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiMeshKey__SWIG_1(double jarg1, unsigned int jarg2) { - void * jresult ; - double arg1 ; - unsigned int arg2 ; - aiMeshKey *result = 0 ; - - arg1 = (double)jarg1; - arg2 = (unsigned int)jarg2; - result = (aiMeshKey *)new aiMeshKey(arg1,arg2); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiMeshKey___equal__(void * jarg1, void * jarg2) { - unsigned int jresult ; - aiMeshKey *arg1 = (aiMeshKey *) 0 ; - aiMeshKey *arg2 = 0 ; - bool result; - - arg1 = (aiMeshKey *)jarg1; - arg2 = (aiMeshKey *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiMeshKey const & type is null", 0); - return 0; - } - result = (bool)((aiMeshKey const *)arg1)->operator ==((aiMeshKey const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiMeshKey___nequal__(void * jarg1, void * jarg2) { - unsigned int jresult ; - aiMeshKey *arg1 = (aiMeshKey *) 0 ; - aiMeshKey *arg2 = 0 ; - bool result; - - arg1 = (aiMeshKey *)jarg1; - arg2 = (aiMeshKey *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiMeshKey const & type is null", 0); - return 0; - } - result = (bool)((aiMeshKey const *)arg1)->operator !=((aiMeshKey const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiMeshKey___smaller__(void * jarg1, void * jarg2) { - unsigned int jresult ; - aiMeshKey *arg1 = (aiMeshKey *) 0 ; - aiMeshKey *arg2 = 0 ; - bool result; - - arg1 = (aiMeshKey *)jarg1; - arg2 = (aiMeshKey *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiMeshKey const & type is null", 0); - return 0; - } - result = (bool)((aiMeshKey const *)arg1)->operator <((aiMeshKey const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiMeshKey___greater__(void * jarg1, void * jarg2) { - unsigned int jresult ; - aiMeshKey *arg1 = (aiMeshKey *) 0 ; - aiMeshKey *arg2 = 0 ; - bool result; - - arg1 = (aiMeshKey *)jarg1; - arg2 = (aiMeshKey *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiMeshKey const & type is null", 0); - return 0; - } - result = (bool)((aiMeshKey const *)arg1)->operator >((aiMeshKey const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_aiMeshKey(void * jarg1) { - aiMeshKey *arg1 = (aiMeshKey *) 0 ; - - arg1 = (aiMeshKey *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiNodeAnim_mNodeName_set(void * jarg1, void * jarg2) { - aiNodeAnim *arg1 = (aiNodeAnim *) 0 ; - aiString *arg2 = (aiString *) 0 ; - - arg1 = (aiNodeAnim *)jarg1; - arg2 = (aiString *)jarg2; - if (arg1) (arg1)->mNodeName = *arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiNodeAnim_mNodeName_get(void * jarg1) { - void * jresult ; - aiNodeAnim *arg1 = (aiNodeAnim *) 0 ; - aiString *result = 0 ; - - arg1 = (aiNodeAnim *)jarg1; - result = (aiString *)& ((arg1)->mNodeName); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiNodeAnim_mNumPositionKeys_set(void * jarg1, unsigned int jarg2) { - aiNodeAnim *arg1 = (aiNodeAnim *) 0 ; - unsigned int arg2 ; - - arg1 = (aiNodeAnim *)jarg1; - arg2 = (unsigned int)jarg2; - if (arg1) (arg1)->mNumPositionKeys = arg2; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiNodeAnim_mNumPositionKeys_get(void * jarg1) { - unsigned int jresult ; - aiNodeAnim *arg1 = (aiNodeAnim *) 0 ; - unsigned int result; - - arg1 = (aiNodeAnim *)jarg1; - result = (unsigned int) ((arg1)->mNumPositionKeys); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiNodeAnim_mNumRotationKeys_set(void * jarg1, unsigned int jarg2) { - aiNodeAnim *arg1 = (aiNodeAnim *) 0 ; - unsigned int arg2 ; - - arg1 = (aiNodeAnim *)jarg1; - arg2 = (unsigned int)jarg2; - if (arg1) (arg1)->mNumRotationKeys = arg2; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiNodeAnim_mNumRotationKeys_get(void * jarg1) { - unsigned int jresult ; - aiNodeAnim *arg1 = (aiNodeAnim *) 0 ; - unsigned int result; - - arg1 = (aiNodeAnim *)jarg1; - result = (unsigned int) ((arg1)->mNumRotationKeys); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiNodeAnim_mNumScalingKeys_set(void * jarg1, unsigned int jarg2) { - aiNodeAnim *arg1 = (aiNodeAnim *) 0 ; - unsigned int arg2 ; - - arg1 = (aiNodeAnim *)jarg1; - arg2 = (unsigned int)jarg2; - if (arg1) (arg1)->mNumScalingKeys = arg2; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiNodeAnim_mNumScalingKeys_get(void * jarg1) { - unsigned int jresult ; - aiNodeAnim *arg1 = (aiNodeAnim *) 0 ; - unsigned int result; - - arg1 = (aiNodeAnim *)jarg1; - result = (unsigned int) ((arg1)->mNumScalingKeys); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiNodeAnim_mPreState_set(void * jarg1, int jarg2) { - aiNodeAnim *arg1 = (aiNodeAnim *) 0 ; - aiAnimBehaviour arg2 ; - - arg1 = (aiNodeAnim *)jarg1; - arg2 = (aiAnimBehaviour)jarg2; - if (arg1) (arg1)->mPreState = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_aiNodeAnim_mPreState_get(void * jarg1) { - int jresult ; - aiNodeAnim *arg1 = (aiNodeAnim *) 0 ; - aiAnimBehaviour result; - - arg1 = (aiNodeAnim *)jarg1; - result = (aiAnimBehaviour) ((arg1)->mPreState); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiNodeAnim_mPostState_set(void * jarg1, int jarg2) { - aiNodeAnim *arg1 = (aiNodeAnim *) 0 ; - aiAnimBehaviour arg2 ; - - arg1 = (aiNodeAnim *)jarg1; - arg2 = (aiAnimBehaviour)jarg2; - if (arg1) (arg1)->mPostState = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_aiNodeAnim_mPostState_get(void * jarg1) { - int jresult ; - aiNodeAnim *arg1 = (aiNodeAnim *) 0 ; - aiAnimBehaviour result; - - arg1 = (aiNodeAnim *)jarg1; - result = (aiAnimBehaviour) ((arg1)->mPostState); - jresult = result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiNodeAnim() { - void * jresult ; - aiNodeAnim *result = 0 ; - - result = (aiNodeAnim *)new aiNodeAnim(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_aiNodeAnim(void * jarg1) { - aiNodeAnim *arg1 = (aiNodeAnim *) 0 ; - - arg1 = (aiNodeAnim *)jarg1; - delete arg1; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiNodeAnim_GetmPositionKeys(void * jarg1) { - void * jresult ; - aiNodeAnim *arg1 = (aiNodeAnim *) 0 ; - std::vector< aiVectorKey * > *result = 0 ; - - arg1 = (aiNodeAnim *)jarg1; - result = (std::vector< aiVectorKey * > *)aiNodeAnim_GetmPositionKeys(arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiNodeAnim_GetmRotationKeys(void * jarg1) { - void * jresult ; - aiNodeAnim *arg1 = (aiNodeAnim *) 0 ; - std::vector< aiQuatKey * > *result = 0 ; - - arg1 = (aiNodeAnim *)jarg1; - result = (std::vector< aiQuatKey * > *)aiNodeAnim_GetmRotationKeys(arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiNodeAnim_GetmScalingKeys(void * jarg1) { - void * jresult ; - aiNodeAnim *arg1 = (aiNodeAnim *) 0 ; - std::vector< aiVectorKey * > *result = 0 ; - - arg1 = (aiNodeAnim *)jarg1; - result = (std::vector< aiVectorKey * > *)aiNodeAnim_GetmScalingKeys(arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMeshAnim_mName_set(void * jarg1, void * jarg2) { - aiMeshAnim *arg1 = (aiMeshAnim *) 0 ; - aiString *arg2 = (aiString *) 0 ; - - arg1 = (aiMeshAnim *)jarg1; - arg2 = (aiString *)jarg2; - if (arg1) (arg1)->mName = *arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiMeshAnim_mName_get(void * jarg1) { - void * jresult ; - aiMeshAnim *arg1 = (aiMeshAnim *) 0 ; - aiString *result = 0 ; - - arg1 = (aiMeshAnim *)jarg1; - result = (aiString *)& ((arg1)->mName); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMeshAnim_mNumKeys_set(void * jarg1, unsigned int jarg2) { - aiMeshAnim *arg1 = (aiMeshAnim *) 0 ; - unsigned int arg2 ; - - arg1 = (aiMeshAnim *)jarg1; - arg2 = (unsigned int)jarg2; - if (arg1) (arg1)->mNumKeys = arg2; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiMeshAnim_mNumKeys_get(void * jarg1) { - unsigned int jresult ; - aiMeshAnim *arg1 = (aiMeshAnim *) 0 ; - unsigned int result; - - arg1 = (aiMeshAnim *)jarg1; - result = (unsigned int) ((arg1)->mNumKeys); - jresult = result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiMeshAnim() { - void * jresult ; - aiMeshAnim *result = 0 ; - - result = (aiMeshAnim *)new aiMeshAnim(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_aiMeshAnim(void * jarg1) { - aiMeshAnim *arg1 = (aiMeshAnim *) 0 ; - - arg1 = (aiMeshAnim *)jarg1; - delete arg1; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiMeshAnim_GetmKeys(void * jarg1) { - void * jresult ; - aiMeshAnim *arg1 = (aiMeshAnim *) 0 ; - std::vector< aiMeshKey * > *result = 0 ; - - arg1 = (aiMeshAnim *)jarg1; - result = (std::vector< aiMeshKey * > *)aiMeshAnim_GetmKeys(arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiAnimation_mName_set(void * jarg1, void * jarg2) { - aiAnimation *arg1 = (aiAnimation *) 0 ; - aiString *arg2 = (aiString *) 0 ; - - arg1 = (aiAnimation *)jarg1; - arg2 = (aiString *)jarg2; - if (arg1) (arg1)->mName = *arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiAnimation_mName_get(void * jarg1) { - void * jresult ; - aiAnimation *arg1 = (aiAnimation *) 0 ; - aiString *result = 0 ; - - arg1 = (aiAnimation *)jarg1; - result = (aiString *)& ((arg1)->mName); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiAnimation_mDuration_set(void * jarg1, double jarg2) { - aiAnimation *arg1 = (aiAnimation *) 0 ; - double arg2 ; - - arg1 = (aiAnimation *)jarg1; - arg2 = (double)jarg2; - if (arg1) (arg1)->mDuration = arg2; -} - - -SWIGEXPORT double SWIGSTDCALL CSharp_aiAnimation_mDuration_get(void * jarg1) { - double jresult ; - aiAnimation *arg1 = (aiAnimation *) 0 ; - double result; - - arg1 = (aiAnimation *)jarg1; - result = (double) ((arg1)->mDuration); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiAnimation_mTicksPerSecond_set(void * jarg1, double jarg2) { - aiAnimation *arg1 = (aiAnimation *) 0 ; - double arg2 ; - - arg1 = (aiAnimation *)jarg1; - arg2 = (double)jarg2; - if (arg1) (arg1)->mTicksPerSecond = arg2; -} - - -SWIGEXPORT double SWIGSTDCALL CSharp_aiAnimation_mTicksPerSecond_get(void * jarg1) { - double jresult ; - aiAnimation *arg1 = (aiAnimation *) 0 ; - double result; - - arg1 = (aiAnimation *)jarg1; - result = (double) ((arg1)->mTicksPerSecond); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiAnimation_mNumChannels_set(void * jarg1, unsigned int jarg2) { - aiAnimation *arg1 = (aiAnimation *) 0 ; - unsigned int arg2 ; - - arg1 = (aiAnimation *)jarg1; - arg2 = (unsigned int)jarg2; - if (arg1) (arg1)->mNumChannels = arg2; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiAnimation_mNumChannels_get(void * jarg1) { - unsigned int jresult ; - aiAnimation *arg1 = (aiAnimation *) 0 ; - unsigned int result; - - arg1 = (aiAnimation *)jarg1; - result = (unsigned int) ((arg1)->mNumChannels); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiAnimation_mNumMeshChannels_set(void * jarg1, unsigned int jarg2) { - aiAnimation *arg1 = (aiAnimation *) 0 ; - unsigned int arg2 ; - - arg1 = (aiAnimation *)jarg1; - arg2 = (unsigned int)jarg2; - if (arg1) (arg1)->mNumMeshChannels = arg2; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiAnimation_mNumMeshChannels_get(void * jarg1) { - unsigned int jresult ; - aiAnimation *arg1 = (aiAnimation *) 0 ; - unsigned int result; - - arg1 = (aiAnimation *)jarg1; - result = (unsigned int) ((arg1)->mNumMeshChannels); - jresult = result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiAnimation() { - void * jresult ; - aiAnimation *result = 0 ; - - result = (aiAnimation *)new aiAnimation(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_aiAnimation(void * jarg1) { - aiAnimation *arg1 = (aiAnimation *) 0 ; - - arg1 = (aiAnimation *)jarg1; - delete arg1; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiAnimation_GetmChannels(void * jarg1) { - void * jresult ; - aiAnimation *arg1 = (aiAnimation *) 0 ; - std::vector< aiNodeAnim * > *result = 0 ; - - arg1 = (aiAnimation *)jarg1; - result = (std::vector< aiNodeAnim * > *)aiAnimation_GetmChannels(arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiAnimation_GetmMeshChannels(void * jarg1) { - void * jresult ; - aiAnimation *arg1 = (aiAnimation *) 0 ; - std::vector< aiMeshAnim * > *result = 0 ; - - arg1 = (aiAnimation *)jarg1; - result = (std::vector< aiMeshAnim * > *)aiAnimation_GetmMeshChannels(arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_AI_MAX_FACE_INDICES_get() { - int jresult ; - int result; - - result = (int)(0x7fff); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_AI_MAX_BONE_WEIGHTS_get() { - int jresult ; - int result; - - result = (int)(0x7fffffff); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_AI_MAX_VERTICES_get() { - int jresult ; - int result; - - result = (int)(0x7fffffff); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_AI_MAX_FACES_get() { - int jresult ; - int result; - - result = (int)(0x7fffffff); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_AI_MAX_NUMBER_OF_COLOR_SETS_get() { - int jresult ; - int result; - - result = (int)(0x8); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_AI_MAX_NUMBER_OF_TEXTURECOORDS_get() { - int jresult ; - int result; - - result = (int)(0x8); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiFace_mNumIndices_set(void * jarg1, unsigned int jarg2) { - aiFace *arg1 = (aiFace *) 0 ; - unsigned int arg2 ; - - arg1 = (aiFace *)jarg1; - arg2 = (unsigned int)jarg2; - if (arg1) (arg1)->mNumIndices = arg2; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiFace_mNumIndices_get(void * jarg1) { - unsigned int jresult ; - aiFace *arg1 = (aiFace *) 0 ; - unsigned int result; - - arg1 = (aiFace *)jarg1; - result = (unsigned int) ((arg1)->mNumIndices); - jresult = result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiFace__SWIG_0() { - void * jresult ; - aiFace *result = 0 ; - - result = (aiFace *)new aiFace(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_aiFace(void * jarg1) { - aiFace *arg1 = (aiFace *) 0 ; - - arg1 = (aiFace *)jarg1; - delete arg1; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiFace__SWIG_1(void * jarg1) { - void * jresult ; - aiFace *arg1 = 0 ; - aiFace *result = 0 ; - - arg1 = (aiFace *)jarg1; - if (!arg1) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiFace const & type is null", 0); - return 0; - } - result = (aiFace *)new aiFace((aiFace const &)*arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiFace___set__(void * jarg1, void * jarg2) { - void * jresult ; - aiFace *arg1 = (aiFace *) 0 ; - aiFace *arg2 = 0 ; - aiFace *result = 0 ; - - arg1 = (aiFace *)jarg1; - arg2 = (aiFace *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiFace const & type is null", 0); - return 0; - } - result = (aiFace *) &(arg1)->operator =((aiFace const &)*arg2); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiFace___equal__(void * jarg1, void * jarg2) { - unsigned int jresult ; - aiFace *arg1 = (aiFace *) 0 ; - aiFace *arg2 = 0 ; - bool result; - - arg1 = (aiFace *)jarg1; - arg2 = (aiFace *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiFace const & type is null", 0); - return 0; - } - result = (bool)((aiFace const *)arg1)->operator ==((aiFace const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiFace___nequal__(void * jarg1, void * jarg2) { - unsigned int jresult ; - aiFace *arg1 = (aiFace *) 0 ; - aiFace *arg2 = 0 ; - bool result; - - arg1 = (aiFace *)jarg1; - arg2 = (aiFace *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiFace const & type is null", 0); - return 0; - } - result = (bool)((aiFace const *)arg1)->operator !=((aiFace const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiFace_GetmIndices(void * jarg1) { - void * jresult ; - aiFace *arg1 = (aiFace *) 0 ; - std::vector< unsigned int > *result = 0 ; - - arg1 = (aiFace *)jarg1; - result = (std::vector< unsigned int > *)aiFace_GetmIndices(arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiVertexWeight_mVertexId_set(void * jarg1, unsigned int jarg2) { - aiVertexWeight *arg1 = (aiVertexWeight *) 0 ; - unsigned int arg2 ; - - arg1 = (aiVertexWeight *)jarg1; - arg2 = (unsigned int)jarg2; - if (arg1) (arg1)->mVertexId = arg2; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiVertexWeight_mVertexId_get(void * jarg1) { - unsigned int jresult ; - aiVertexWeight *arg1 = (aiVertexWeight *) 0 ; - unsigned int result; - - arg1 = (aiVertexWeight *)jarg1; - result = (unsigned int) ((arg1)->mVertexId); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiVertexWeight_mWeight_set(void * jarg1, float jarg2) { - aiVertexWeight *arg1 = (aiVertexWeight *) 0 ; - float arg2 ; - - arg1 = (aiVertexWeight *)jarg1; - arg2 = (float)jarg2; - if (arg1) (arg1)->mWeight = arg2; -} - - -SWIGEXPORT float SWIGSTDCALL CSharp_aiVertexWeight_mWeight_get(void * jarg1) { - float jresult ; - aiVertexWeight *arg1 = (aiVertexWeight *) 0 ; - float result; - - arg1 = (aiVertexWeight *)jarg1; - result = (float) ((arg1)->mWeight); - jresult = result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiVertexWeight__SWIG_0() { - void * jresult ; - aiVertexWeight *result = 0 ; - - result = (aiVertexWeight *)new aiVertexWeight(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiVertexWeight__SWIG_1(unsigned int jarg1, float jarg2) { - void * jresult ; - unsigned int arg1 ; - float arg2 ; - aiVertexWeight *result = 0 ; - - arg1 = (unsigned int)jarg1; - arg2 = (float)jarg2; - result = (aiVertexWeight *)new aiVertexWeight(arg1,arg2); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_aiVertexWeight(void * jarg1) { - aiVertexWeight *arg1 = (aiVertexWeight *) 0 ; - - arg1 = (aiVertexWeight *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiBone_mName_set(void * jarg1, void * jarg2) { - aiBone *arg1 = (aiBone *) 0 ; - aiString *arg2 = (aiString *) 0 ; - - arg1 = (aiBone *)jarg1; - arg2 = (aiString *)jarg2; - if (arg1) (arg1)->mName = *arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiBone_mName_get(void * jarg1) { - void * jresult ; - aiBone *arg1 = (aiBone *) 0 ; - aiString *result = 0 ; - - arg1 = (aiBone *)jarg1; - result = (aiString *)& ((arg1)->mName); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiBone_mNumWeights_set(void * jarg1, unsigned int jarg2) { - aiBone *arg1 = (aiBone *) 0 ; - unsigned int arg2 ; - - arg1 = (aiBone *)jarg1; - arg2 = (unsigned int)jarg2; - if (arg1) (arg1)->mNumWeights = arg2; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiBone_mNumWeights_get(void * jarg1) { - unsigned int jresult ; - aiBone *arg1 = (aiBone *) 0 ; - unsigned int result; - - arg1 = (aiBone *)jarg1; - result = (unsigned int) ((arg1)->mNumWeights); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiBone_mOffsetMatrix_set(void * jarg1, void * jarg2) { - aiBone *arg1 = (aiBone *) 0 ; - aiMatrix4x4 *arg2 = (aiMatrix4x4 *) 0 ; - - arg1 = (aiBone *)jarg1; - arg2 = (aiMatrix4x4 *)jarg2; - if (arg1) (arg1)->mOffsetMatrix = *arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiBone_mOffsetMatrix_get(void * jarg1) { - void * jresult ; - aiBone *arg1 = (aiBone *) 0 ; - aiMatrix4x4 *result = 0 ; - - arg1 = (aiBone *)jarg1; - result = (aiMatrix4x4 *)& ((arg1)->mOffsetMatrix); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiBone__SWIG_0() { - void * jresult ; - aiBone *result = 0 ; - - result = (aiBone *)new aiBone(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiBone__SWIG_1(void * jarg1) { - void * jresult ; - aiBone *arg1 = 0 ; - aiBone *result = 0 ; - - arg1 = (aiBone *)jarg1; - if (!arg1) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiBone const & type is null", 0); - return 0; - } - result = (aiBone *)new aiBone((aiBone const &)*arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_aiBone(void * jarg1) { - aiBone *arg1 = (aiBone *) 0 ; - - arg1 = (aiBone *)jarg1; - delete arg1; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiBone_GetmWeights(void * jarg1) { - void * jresult ; - aiBone *arg1 = (aiBone *) 0 ; - std::vector< aiVertexWeight * > *result = 0 ; - - arg1 = (aiBone *)jarg1; - result = (std::vector< aiVertexWeight * > *)aiBone_GetmWeights(arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiAnimMesh_mBitangents_set(void * jarg1, void * jarg2) { - aiAnimMesh *arg1 = (aiAnimMesh *) 0 ; - aiVector3D *arg2 = (aiVector3D *) 0 ; - - arg1 = (aiAnimMesh *)jarg1; - arg2 = (aiVector3D *)jarg2; - if (arg1) (arg1)->mBitangents = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiAnimMesh_mBitangents_get(void * jarg1) { - void * jresult ; - aiAnimMesh *arg1 = (aiAnimMesh *) 0 ; - aiVector3D *result = 0 ; - - arg1 = (aiAnimMesh *)jarg1; - result = (aiVector3D *) ((arg1)->mBitangents); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiAnimMesh_mNumVertices_set(void * jarg1, unsigned int jarg2) { - aiAnimMesh *arg1 = (aiAnimMesh *) 0 ; - unsigned int arg2 ; - - arg1 = (aiAnimMesh *)jarg1; - arg2 = (unsigned int)jarg2; - if (arg1) (arg1)->mNumVertices = arg2; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiAnimMesh_mNumVertices_get(void * jarg1) { - unsigned int jresult ; - aiAnimMesh *arg1 = (aiAnimMesh *) 0 ; - unsigned int result; - - arg1 = (aiAnimMesh *)jarg1; - result = (unsigned int) ((arg1)->mNumVertices); - jresult = result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiAnimMesh() { - void * jresult ; - aiAnimMesh *result = 0 ; - - result = (aiAnimMesh *)new aiAnimMesh(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_aiAnimMesh(void * jarg1) { - aiAnimMesh *arg1 = (aiAnimMesh *) 0 ; - - arg1 = (aiAnimMesh *)jarg1; - delete arg1; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiAnimMesh_HasPositions(void * jarg1) { - unsigned int jresult ; - aiAnimMesh *arg1 = (aiAnimMesh *) 0 ; - bool result; - - arg1 = (aiAnimMesh *)jarg1; - result = (bool)((aiAnimMesh const *)arg1)->HasPositions(); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiAnimMesh_HasNormals(void * jarg1) { - unsigned int jresult ; - aiAnimMesh *arg1 = (aiAnimMesh *) 0 ; - bool result; - - arg1 = (aiAnimMesh *)jarg1; - result = (bool)((aiAnimMesh const *)arg1)->HasNormals(); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiAnimMesh_HasTangentsAndBitangents(void * jarg1) { - unsigned int jresult ; - aiAnimMesh *arg1 = (aiAnimMesh *) 0 ; - bool result; - - arg1 = (aiAnimMesh *)jarg1; - result = (bool)((aiAnimMesh const *)arg1)->HasTangentsAndBitangents(); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiAnimMesh_HasVertexColors(void * jarg1, unsigned int jarg2) { - unsigned int jresult ; - aiAnimMesh *arg1 = (aiAnimMesh *) 0 ; - unsigned int arg2 ; - bool result; - - arg1 = (aiAnimMesh *)jarg1; - arg2 = (unsigned int)jarg2; - result = (bool)((aiAnimMesh const *)arg1)->HasVertexColors(arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiAnimMesh_HasTextureCoords(void * jarg1, unsigned int jarg2) { - unsigned int jresult ; - aiAnimMesh *arg1 = (aiAnimMesh *) 0 ; - unsigned int arg2 ; - bool result; - - arg1 = (aiAnimMesh *)jarg1; - arg2 = (unsigned int)jarg2; - result = (bool)((aiAnimMesh const *)arg1)->HasTextureCoords(arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMesh_mPrimitiveTypes_set(void * jarg1, unsigned int jarg2) { - aiMesh *arg1 = (aiMesh *) 0 ; - unsigned int arg2 ; - - arg1 = (aiMesh *)jarg1; - arg2 = (unsigned int)jarg2; - if (arg1) (arg1)->mPrimitiveTypes = arg2; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiMesh_mPrimitiveTypes_get(void * jarg1) { - unsigned int jresult ; - aiMesh *arg1 = (aiMesh *) 0 ; - unsigned int result; - - arg1 = (aiMesh *)jarg1; - result = (unsigned int) ((arg1)->mPrimitiveTypes); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMesh_mNumVertices_set(void * jarg1, unsigned int jarg2) { - aiMesh *arg1 = (aiMesh *) 0 ; - unsigned int arg2 ; - - arg1 = (aiMesh *)jarg1; - arg2 = (unsigned int)jarg2; - if (arg1) (arg1)->mNumVertices = arg2; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiMesh_mNumVertices_get(void * jarg1) { - unsigned int jresult ; - aiMesh *arg1 = (aiMesh *) 0 ; - unsigned int result; - - arg1 = (aiMesh *)jarg1; - result = (unsigned int) ((arg1)->mNumVertices); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMesh_mNumFaces_set(void * jarg1, unsigned int jarg2) { - aiMesh *arg1 = (aiMesh *) 0 ; - unsigned int arg2 ; - - arg1 = (aiMesh *)jarg1; - arg2 = (unsigned int)jarg2; - if (arg1) (arg1)->mNumFaces = arg2; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiMesh_mNumFaces_get(void * jarg1) { - unsigned int jresult ; - aiMesh *arg1 = (aiMesh *) 0 ; - unsigned int result; - - arg1 = (aiMesh *)jarg1; - result = (unsigned int) ((arg1)->mNumFaces); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMesh_mNumBones_set(void * jarg1, unsigned int jarg2) { - aiMesh *arg1 = (aiMesh *) 0 ; - unsigned int arg2 ; - - arg1 = (aiMesh *)jarg1; - arg2 = (unsigned int)jarg2; - if (arg1) (arg1)->mNumBones = arg2; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiMesh_mNumBones_get(void * jarg1) { - unsigned int jresult ; - aiMesh *arg1 = (aiMesh *) 0 ; - unsigned int result; - - arg1 = (aiMesh *)jarg1; - result = (unsigned int) ((arg1)->mNumBones); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMesh_mMaterialIndex_set(void * jarg1, unsigned int jarg2) { - aiMesh *arg1 = (aiMesh *) 0 ; - unsigned int arg2 ; - - arg1 = (aiMesh *)jarg1; - arg2 = (unsigned int)jarg2; - if (arg1) (arg1)->mMaterialIndex = arg2; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiMesh_mMaterialIndex_get(void * jarg1) { - unsigned int jresult ; - aiMesh *arg1 = (aiMesh *) 0 ; - unsigned int result; - - arg1 = (aiMesh *)jarg1; - result = (unsigned int) ((arg1)->mMaterialIndex); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMesh_mName_set(void * jarg1, void * jarg2) { - aiMesh *arg1 = (aiMesh *) 0 ; - aiString *arg2 = (aiString *) 0 ; - - arg1 = (aiMesh *)jarg1; - arg2 = (aiString *)jarg2; - if (arg1) (arg1)->mName = *arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiMesh_mName_get(void * jarg1) { - void * jresult ; - aiMesh *arg1 = (aiMesh *) 0 ; - aiString *result = 0 ; - - arg1 = (aiMesh *)jarg1; - result = (aiString *)& ((arg1)->mName); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMesh_mNumAnimMeshes_set(void * jarg1, unsigned int jarg2) { - aiMesh *arg1 = (aiMesh *) 0 ; - unsigned int arg2 ; - - arg1 = (aiMesh *)jarg1; - arg2 = (unsigned int)jarg2; - if (arg1) (arg1)->mNumAnimMeshes = arg2; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiMesh_mNumAnimMeshes_get(void * jarg1) { - unsigned int jresult ; - aiMesh *arg1 = (aiMesh *) 0 ; - unsigned int result; - - arg1 = (aiMesh *)jarg1; - result = (unsigned int) ((arg1)->mNumAnimMeshes); - jresult = result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiMesh() { - void * jresult ; - aiMesh *result = 0 ; - - result = (aiMesh *)new aiMesh(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_aiMesh(void * jarg1) { - aiMesh *arg1 = (aiMesh *) 0 ; - - arg1 = (aiMesh *)jarg1; - delete arg1; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiMesh_HasPositions(void * jarg1) { - unsigned int jresult ; - aiMesh *arg1 = (aiMesh *) 0 ; - bool result; - - arg1 = (aiMesh *)jarg1; - result = (bool)((aiMesh const *)arg1)->HasPositions(); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiMesh_HasFaces(void * jarg1) { - unsigned int jresult ; - aiMesh *arg1 = (aiMesh *) 0 ; - bool result; - - arg1 = (aiMesh *)jarg1; - result = (bool)((aiMesh const *)arg1)->HasFaces(); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiMesh_HasNormals(void * jarg1) { - unsigned int jresult ; - aiMesh *arg1 = (aiMesh *) 0 ; - bool result; - - arg1 = (aiMesh *)jarg1; - result = (bool)((aiMesh const *)arg1)->HasNormals(); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiMesh_HasTangentsAndBitangents(void * jarg1) { - unsigned int jresult ; - aiMesh *arg1 = (aiMesh *) 0 ; - bool result; - - arg1 = (aiMesh *)jarg1; - result = (bool)((aiMesh const *)arg1)->HasTangentsAndBitangents(); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiMesh_HasVertexColors(void * jarg1, unsigned int jarg2) { - unsigned int jresult ; - aiMesh *arg1 = (aiMesh *) 0 ; - unsigned int arg2 ; - bool result; - - arg1 = (aiMesh *)jarg1; - arg2 = (unsigned int)jarg2; - result = (bool)((aiMesh const *)arg1)->HasVertexColors(arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiMesh_HasTextureCoords(void * jarg1, unsigned int jarg2) { - unsigned int jresult ; - aiMesh *arg1 = (aiMesh *) 0 ; - unsigned int arg2 ; - bool result; - - arg1 = (aiMesh *)jarg1; - arg2 = (unsigned int)jarg2; - result = (bool)((aiMesh const *)arg1)->HasTextureCoords(arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiMesh_GetNumUVChannels(void * jarg1) { - unsigned int jresult ; - aiMesh *arg1 = (aiMesh *) 0 ; - unsigned int result; - - arg1 = (aiMesh *)jarg1; - result = (unsigned int)((aiMesh const *)arg1)->GetNumUVChannels(); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiMesh_GetNumColorChannels(void * jarg1) { - unsigned int jresult ; - aiMesh *arg1 = (aiMesh *) 0 ; - unsigned int result; - - arg1 = (aiMesh *)jarg1; - result = (unsigned int)((aiMesh const *)arg1)->GetNumColorChannels(); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiMesh_HasBones(void * jarg1) { - unsigned int jresult ; - aiMesh *arg1 = (aiMesh *) 0 ; - bool result; - - arg1 = (aiMesh *)jarg1; - result = (bool)((aiMesh const *)arg1)->HasBones(); - jresult = result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiMesh_GetmAnimMeshes(void * jarg1) { - void * jresult ; - aiMesh *arg1 = (aiMesh *) 0 ; - std::vector< aiAnimMesh * > *result = 0 ; - - arg1 = (aiMesh *)jarg1; - result = (std::vector< aiAnimMesh * > *)aiMesh_GetmAnimMeshes(arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiMesh_GetmBitangents(void * jarg1) { - void * jresult ; - aiMesh *arg1 = (aiMesh *) 0 ; - std::vector< aiVector3D * > *result = 0 ; - - arg1 = (aiMesh *)jarg1; - result = (std::vector< aiVector3D * > *)aiMesh_GetmBitangents(arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiMesh_GetmBones(void * jarg1) { - void * jresult ; - aiMesh *arg1 = (aiMesh *) 0 ; - std::vector< aiBone * > *result = 0 ; - - arg1 = (aiMesh *)jarg1; - result = (std::vector< aiBone * > *)aiMesh_GetmBones(arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiMesh_GetmColors(void * jarg1) { - void * jresult ; - aiMesh *arg1 = (aiMesh *) 0 ; - std::vector< std::vector< aiColor4D * > > *result = 0 ; - - arg1 = (aiMesh *)jarg1; - result = (std::vector< std::vector< aiColor4D * > > *)aiMesh_GetmColors(arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiMesh_GetmFaces(void * jarg1) { - void * jresult ; - aiMesh *arg1 = (aiMesh *) 0 ; - std::vector< aiFace * > *result = 0 ; - - arg1 = (aiMesh *)jarg1; - result = (std::vector< aiFace * > *)aiMesh_GetmFaces(arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiMesh_GetmNormals(void * jarg1) { - void * jresult ; - aiMesh *arg1 = (aiMesh *) 0 ; - std::vector< aiVector3D * > *result = 0 ; - - arg1 = (aiMesh *)jarg1; - result = (std::vector< aiVector3D * > *)aiMesh_GetmNormals(arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiMesh_GetmTangents(void * jarg1) { - void * jresult ; - aiMesh *arg1 = (aiMesh *) 0 ; - std::vector< aiVector3D * > *result = 0 ; - - arg1 = (aiMesh *)jarg1; - result = (std::vector< aiVector3D * > *)aiMesh_GetmTangents(arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiMesh_GetmTextureCoords(void * jarg1) { - void * jresult ; - aiMesh *arg1 = (aiMesh *) 0 ; - std::vector< std::vector< aiVector3D * > > *result = 0 ; - - arg1 = (aiMesh *)jarg1; - result = (std::vector< std::vector< aiVector3D * > > *)aiMesh_GetmTextureCoords(arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiMesh_GetmNumUVComponents(void * jarg1) { - void * jresult ; - aiMesh *arg1 = (aiMesh *) 0 ; - std::vector< unsigned int > *result = 0 ; - - arg1 = (aiMesh *)jarg1; - result = (std::vector< unsigned int > *)aiMesh_GetmNumUVComponents(arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiMesh_GetmVertices(void * jarg1) { - void * jresult ; - aiMesh *arg1 = (aiMesh *) 0 ; - std::vector< aiVector3D * > *result = 0 ; - - arg1 = (aiMesh *)jarg1; - result = (std::vector< aiVector3D * > *)aiMesh_GetmVertices(arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_AI_DEFAULT_MATERIAL_NAME_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("DefaultMaterial"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiUVTransform_mTranslation_set(void * jarg1, void * jarg2) { - aiUVTransform *arg1 = (aiUVTransform *) 0 ; - aiVector2D *arg2 = (aiVector2D *) 0 ; - - arg1 = (aiUVTransform *)jarg1; - arg2 = (aiVector2D *)jarg2; - if (arg1) (arg1)->mTranslation = *arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiUVTransform_mTranslation_get(void * jarg1) { - void * jresult ; - aiUVTransform *arg1 = (aiUVTransform *) 0 ; - aiVector2D *result = 0 ; - - arg1 = (aiUVTransform *)jarg1; - result = (aiVector2D *)& ((arg1)->mTranslation); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiUVTransform_mScaling_set(void * jarg1, void * jarg2) { - aiUVTransform *arg1 = (aiUVTransform *) 0 ; - aiVector2D *arg2 = (aiVector2D *) 0 ; - - arg1 = (aiUVTransform *)jarg1; - arg2 = (aiVector2D *)jarg2; - if (arg1) (arg1)->mScaling = *arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiUVTransform_mScaling_get(void * jarg1) { - void * jresult ; - aiUVTransform *arg1 = (aiUVTransform *) 0 ; - aiVector2D *result = 0 ; - - arg1 = (aiUVTransform *)jarg1; - result = (aiVector2D *)& ((arg1)->mScaling); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiUVTransform_mRotation_set(void * jarg1, float jarg2) { - aiUVTransform *arg1 = (aiUVTransform *) 0 ; - float arg2 ; - - arg1 = (aiUVTransform *)jarg1; - arg2 = (float)jarg2; - if (arg1) (arg1)->mRotation = arg2; -} - - -SWIGEXPORT float SWIGSTDCALL CSharp_aiUVTransform_mRotation_get(void * jarg1) { - float jresult ; - aiUVTransform *arg1 = (aiUVTransform *) 0 ; - float result; - - arg1 = (aiUVTransform *)jarg1; - result = (float) ((arg1)->mRotation); - jresult = result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiUVTransform() { - void * jresult ; - aiUVTransform *result = 0 ; - - result = (aiUVTransform *)new aiUVTransform(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_aiUVTransform(void * jarg1) { - aiUVTransform *arg1 = (aiUVTransform *) 0 ; - - arg1 = (aiUVTransform *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMaterialProperty_mKey_set(void * jarg1, void * jarg2) { - aiMaterialProperty *arg1 = (aiMaterialProperty *) 0 ; - aiString *arg2 = (aiString *) 0 ; - - arg1 = (aiMaterialProperty *)jarg1; - arg2 = (aiString *)jarg2; - if (arg1) (arg1)->mKey = *arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiMaterialProperty_mKey_get(void * jarg1) { - void * jresult ; - aiMaterialProperty *arg1 = (aiMaterialProperty *) 0 ; - aiString *result = 0 ; - - arg1 = (aiMaterialProperty *)jarg1; - result = (aiString *)& ((arg1)->mKey); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMaterialProperty_mSemantic_set(void * jarg1, unsigned int jarg2) { - aiMaterialProperty *arg1 = (aiMaterialProperty *) 0 ; - unsigned int arg2 ; - - arg1 = (aiMaterialProperty *)jarg1; - arg2 = (unsigned int)jarg2; - if (arg1) (arg1)->mSemantic = arg2; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiMaterialProperty_mSemantic_get(void * jarg1) { - unsigned int jresult ; - aiMaterialProperty *arg1 = (aiMaterialProperty *) 0 ; - unsigned int result; - - arg1 = (aiMaterialProperty *)jarg1; - result = (unsigned int) ((arg1)->mSemantic); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMaterialProperty_mIndex_set(void * jarg1, unsigned int jarg2) { - aiMaterialProperty *arg1 = (aiMaterialProperty *) 0 ; - unsigned int arg2 ; - - arg1 = (aiMaterialProperty *)jarg1; - arg2 = (unsigned int)jarg2; - if (arg1) (arg1)->mIndex = arg2; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiMaterialProperty_mIndex_get(void * jarg1) { - unsigned int jresult ; - aiMaterialProperty *arg1 = (aiMaterialProperty *) 0 ; - unsigned int result; - - arg1 = (aiMaterialProperty *)jarg1; - result = (unsigned int) ((arg1)->mIndex); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMaterialProperty_mDataLength_set(void * jarg1, unsigned int jarg2) { - aiMaterialProperty *arg1 = (aiMaterialProperty *) 0 ; - unsigned int arg2 ; - - arg1 = (aiMaterialProperty *)jarg1; - arg2 = (unsigned int)jarg2; - if (arg1) (arg1)->mDataLength = arg2; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiMaterialProperty_mDataLength_get(void * jarg1) { - unsigned int jresult ; - aiMaterialProperty *arg1 = (aiMaterialProperty *) 0 ; - unsigned int result; - - arg1 = (aiMaterialProperty *)jarg1; - result = (unsigned int) ((arg1)->mDataLength); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMaterialProperty_mType_set(void * jarg1, int jarg2) { - aiMaterialProperty *arg1 = (aiMaterialProperty *) 0 ; - aiPropertyTypeInfo arg2 ; - - arg1 = (aiMaterialProperty *)jarg1; - arg2 = (aiPropertyTypeInfo)jarg2; - if (arg1) (arg1)->mType = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_aiMaterialProperty_mType_get(void * jarg1) { - int jresult ; - aiMaterialProperty *arg1 = (aiMaterialProperty *) 0 ; - aiPropertyTypeInfo result; - - arg1 = (aiMaterialProperty *)jarg1; - result = (aiPropertyTypeInfo) ((arg1)->mType); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMaterialProperty_mData_set(void * jarg1, char * jarg2) { - aiMaterialProperty *arg1 = (aiMaterialProperty *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (aiMaterialProperty *)jarg1; - arg2 = (char *)jarg2; - { - delete [] arg1->mData; - if (arg2) { - arg1->mData = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->mData, (const char *)arg2); - } else { - arg1->mData = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_aiMaterialProperty_mData_get(void * jarg1) { - char * jresult ; - aiMaterialProperty *arg1 = (aiMaterialProperty *) 0 ; - char *result = 0 ; - - arg1 = (aiMaterialProperty *)jarg1; - result = (char *) ((arg1)->mData); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiMaterialProperty() { - void * jresult ; - aiMaterialProperty *result = 0 ; - - result = (aiMaterialProperty *)new aiMaterialProperty(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_aiMaterialProperty(void * jarg1) { - aiMaterialProperty *arg1 = (aiMaterialProperty *) 0 ; - - arg1 = (aiMaterialProperty *)jarg1; - delete arg1; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiMaterial() { - void * jresult ; - aiMaterial *result = 0 ; - - result = (aiMaterial *)new aiMaterial(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_aiMaterial(void * jarg1) { - aiMaterial *arg1 = (aiMaterial *) 0 ; - - arg1 = (aiMaterial *)jarg1; - delete arg1; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiMaterial_GetTextureCount(void * jarg1, int jarg2) { - unsigned int jresult ; - aiMaterial *arg1 = (aiMaterial *) 0 ; - aiTextureType arg2 ; - unsigned int result; - - arg1 = (aiMaterial *)jarg1; - arg2 = (aiTextureType)jarg2; - result = (unsigned int)((aiMaterial const *)arg1)->GetTextureCount(arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_aiMaterial_AddBinaryProperty(void * jarg1, void * jarg2, unsigned int jarg3, char * jarg4, unsigned int jarg5, unsigned int jarg6, int jarg7) { - int jresult ; - aiMaterial *arg1 = (aiMaterial *) 0 ; - void *arg2 = (void *) 0 ; - unsigned int arg3 ; - char *arg4 = (char *) 0 ; - unsigned int arg5 ; - unsigned int arg6 ; - aiPropertyTypeInfo arg7 ; - aiReturn result; - - arg1 = (aiMaterial *)jarg1; - arg2 = (void *)jarg2; - arg3 = (unsigned int)jarg3; - arg4 = (char *)jarg4; - arg5 = (unsigned int)jarg5; - arg6 = (unsigned int)jarg6; - arg7 = (aiPropertyTypeInfo)jarg7; - result = (aiReturn)(arg1)->AddBinaryProperty((void const *)arg2,arg3,(char const *)arg4,arg5,arg6,arg7); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_aiMaterial_AddProperty__SWIG_0(void * jarg1, void * jarg2, char * jarg3, unsigned int jarg4, unsigned int jarg5) { - int jresult ; - aiMaterial *arg1 = (aiMaterial *) 0 ; - aiString *arg2 = (aiString *) 0 ; - char *arg3 = (char *) 0 ; - unsigned int arg4 ; - unsigned int arg5 ; - aiReturn result; - - arg1 = (aiMaterial *)jarg1; - arg2 = (aiString *)jarg2; - arg3 = (char *)jarg3; - arg4 = (unsigned int)jarg4; - arg5 = (unsigned int)jarg5; - result = (aiReturn)(arg1)->AddProperty((aiString const *)arg2,(char const *)arg3,arg4,arg5); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_aiMaterial_AddProperty__SWIG_1(void * jarg1, void * jarg2, char * jarg3, unsigned int jarg4) { - int jresult ; - aiMaterial *arg1 = (aiMaterial *) 0 ; - aiString *arg2 = (aiString *) 0 ; - char *arg3 = (char *) 0 ; - unsigned int arg4 ; - aiReturn result; - - arg1 = (aiMaterial *)jarg1; - arg2 = (aiString *)jarg2; - arg3 = (char *)jarg3; - arg4 = (unsigned int)jarg4; - result = (aiReturn)(arg1)->AddProperty((aiString const *)arg2,(char const *)arg3,arg4); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_aiMaterial_AddProperty__SWIG_2(void * jarg1, void * jarg2, char * jarg3) { - int jresult ; - aiMaterial *arg1 = (aiMaterial *) 0 ; - aiString *arg2 = (aiString *) 0 ; - char *arg3 = (char *) 0 ; - aiReturn result; - - arg1 = (aiMaterial *)jarg1; - arg2 = (aiString *)jarg2; - arg3 = (char *)jarg3; - result = (aiReturn)(arg1)->AddProperty((aiString const *)arg2,(char const *)arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_aiMaterial_RemoveProperty__SWIG_0(void * jarg1, char * jarg2, unsigned int jarg3, unsigned int jarg4) { - int jresult ; - aiMaterial *arg1 = (aiMaterial *) 0 ; - char *arg2 = (char *) 0 ; - unsigned int arg3 ; - unsigned int arg4 ; - aiReturn result; - - arg1 = (aiMaterial *)jarg1; - arg2 = (char *)jarg2; - arg3 = (unsigned int)jarg3; - arg4 = (unsigned int)jarg4; - result = (aiReturn)(arg1)->RemoveProperty((char const *)arg2,arg3,arg4); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_aiMaterial_RemoveProperty__SWIG_1(void * jarg1, char * jarg2, unsigned int jarg3) { - int jresult ; - aiMaterial *arg1 = (aiMaterial *) 0 ; - char *arg2 = (char *) 0 ; - unsigned int arg3 ; - aiReturn result; - - arg1 = (aiMaterial *)jarg1; - arg2 = (char *)jarg2; - arg3 = (unsigned int)jarg3; - result = (aiReturn)(arg1)->RemoveProperty((char const *)arg2,arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_aiMaterial_RemoveProperty__SWIG_2(void * jarg1, char * jarg2) { - int jresult ; - aiMaterial *arg1 = (aiMaterial *) 0 ; - char *arg2 = (char *) 0 ; - aiReturn result; - - arg1 = (aiMaterial *)jarg1; - arg2 = (char *)jarg2; - result = (aiReturn)(arg1)->RemoveProperty((char const *)arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMaterial_Clear(void * jarg1) { - aiMaterial *arg1 = (aiMaterial *) 0 ; - - arg1 = (aiMaterial *)jarg1; - (arg1)->Clear(); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMaterial_CopyPropertyList(void * jarg1, void * jarg2) { - aiMaterial *arg1 = (aiMaterial *) 0 ; - aiMaterial *arg2 = (aiMaterial *) 0 ; - - arg1 = (aiMaterial *)jarg1; - arg2 = (aiMaterial *)jarg2; - aiMaterial::CopyPropertyList(arg1,(aiMaterial const *)arg2); -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiMaterial_GetDiffuse(void * jarg1, void * jarg2) { - unsigned int jresult ; - aiMaterial *arg1 = (aiMaterial *) 0 ; - aiColor4D *arg2 = (aiColor4D *) 0 ; - bool result; - - arg1 = (aiMaterial *)jarg1; - arg2 = (aiColor4D *)jarg2; - result = (bool)aiMaterial_GetDiffuse(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiMaterial_GetSpecular(void * jarg1, void * jarg2) { - unsigned int jresult ; - aiMaterial *arg1 = (aiMaterial *) 0 ; - aiColor4D *arg2 = (aiColor4D *) 0 ; - bool result; - - arg1 = (aiMaterial *)jarg1; - arg2 = (aiColor4D *)jarg2; - result = (bool)aiMaterial_GetSpecular(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiMaterial_GetAmbient(void * jarg1, void * jarg2) { - unsigned int jresult ; - aiMaterial *arg1 = (aiMaterial *) 0 ; - aiColor4D *arg2 = (aiColor4D *) 0 ; - bool result; - - arg1 = (aiMaterial *)jarg1; - arg2 = (aiColor4D *)jarg2; - result = (bool)aiMaterial_GetAmbient(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiMaterial_GetEmissive(void * jarg1, void * jarg2) { - unsigned int jresult ; - aiMaterial *arg1 = (aiMaterial *) 0 ; - aiColor4D *arg2 = (aiColor4D *) 0 ; - bool result; - - arg1 = (aiMaterial *)jarg1; - arg2 = (aiColor4D *)jarg2; - result = (bool)aiMaterial_GetEmissive(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiMaterial_GetOpacity(void * jarg1, float * jarg2) { - unsigned int jresult ; - aiMaterial *arg1 = (aiMaterial *) 0 ; - float *arg2 = (float *) 0 ; - bool result; - - arg1 = (aiMaterial *)jarg1; - arg2 = (float *)jarg2; - result = (bool)aiMaterial_GetOpacity(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiMaterial_GetShininessStrength(void * jarg1, float * jarg2) { - unsigned int jresult ; - aiMaterial *arg1 = (aiMaterial *) 0 ; - float *arg2 = (float *) 0 ; - bool result; - - arg1 = (aiMaterial *)jarg1; - arg2 = (float *)jarg2; - result = (bool)aiMaterial_GetShininessStrength(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiMaterial_GetShadingModel(void * jarg1, int * jarg2) { - unsigned int jresult ; - aiMaterial *arg1 = (aiMaterial *) 0 ; - int *arg2 = (int *) 0 ; - bool result; - - arg1 = (aiMaterial *)jarg1; - arg2 = (int *)jarg2; - result = (bool)aiMaterial_GetShadingModel(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiMaterial_GetTexFlagsDiffuse0(void * jarg1, int * jarg2) { - unsigned int jresult ; - aiMaterial *arg1 = (aiMaterial *) 0 ; - int *arg2 = (int *) 0 ; - bool result; - - arg1 = (aiMaterial *)jarg1; - arg2 = (int *)jarg2; - result = (bool)aiMaterial_GetTexFlagsDiffuse0(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiMaterial_GetMappingModeUDiffuse0(void * jarg1, int * jarg2) { - unsigned int jresult ; - aiMaterial *arg1 = (aiMaterial *) 0 ; - int *arg2 = (int *) 0 ; - bool result; - - arg1 = (aiMaterial *)jarg1; - arg2 = (int *)jarg2; - result = (bool)aiMaterial_GetMappingModeUDiffuse0(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiMaterial_GetMappingModeVDiffuse0(void * jarg1, int * jarg2) { - unsigned int jresult ; - aiMaterial *arg1 = (aiMaterial *) 0 ; - int *arg2 = (int *) 0 ; - bool result; - - arg1 = (aiMaterial *)jarg1; - arg2 = (int *)jarg2; - result = (bool)aiMaterial_GetMappingModeVDiffuse0(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiMaterial_GetTextureDiffuse0(void * jarg1, void * jarg2) { - unsigned int jresult ; - aiMaterial *arg1 = (aiMaterial *) 0 ; - aiString *arg2 = (aiString *) 0 ; - bool result; - - arg1 = (aiMaterial *)jarg1; - arg2 = (aiString *)jarg2; - result = (bool)aiMaterial_GetTextureDiffuse0(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiMaterial_GetTextureSpecular0(void * jarg1, void * jarg2) { - unsigned int jresult ; - aiMaterial *arg1 = (aiMaterial *) 0 ; - aiString *arg2 = (aiString *) 0 ; - bool result; - - arg1 = (aiMaterial *)jarg1; - arg2 = (aiString *)jarg2; - result = (bool)aiMaterial_GetTextureSpecular0(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiMaterial_GetTextureOpacity0(void * jarg1, void * jarg2) { - unsigned int jresult ; - aiMaterial *arg1 = (aiMaterial *) 0 ; - aiString *arg2 = (aiString *) 0 ; - bool result; - - arg1 = (aiMaterial *)jarg1; - arg2 = (aiString *)jarg2; - result = (bool)aiMaterial_GetTextureOpacity0(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiMaterial_GetTextureAmbient0(void * jarg1, void * jarg2) { - unsigned int jresult ; - aiMaterial *arg1 = (aiMaterial *) 0 ; - aiString *arg2 = (aiString *) 0 ; - bool result; - - arg1 = (aiMaterial *)jarg1; - arg2 = (aiString *)jarg2; - result = (bool)aiMaterial_GetTextureAmbient0(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiMaterial_GetTextureEmissive0(void * jarg1, void * jarg2) { - unsigned int jresult ; - aiMaterial *arg1 = (aiMaterial *) 0 ; - aiString *arg2 = (aiString *) 0 ; - bool result; - - arg1 = (aiMaterial *)jarg1; - arg2 = (aiString *)jarg2; - result = (bool)aiMaterial_GetTextureEmissive0(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiMaterial_GetTextureShininess0(void * jarg1, void * jarg2) { - unsigned int jresult ; - aiMaterial *arg1 = (aiMaterial *) 0 ; - aiString *arg2 = (aiString *) 0 ; - bool result; - - arg1 = (aiMaterial *)jarg1; - arg2 = (aiString *)jarg2; - result = (bool)aiMaterial_GetTextureShininess0(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiMaterial_GetTextureLightmap0(void * jarg1, void * jarg2) { - unsigned int jresult ; - aiMaterial *arg1 = (aiMaterial *) 0 ; - aiString *arg2 = (aiString *) 0 ; - bool result; - - arg1 = (aiMaterial *)jarg1; - arg2 = (aiString *)jarg2; - result = (bool)aiMaterial_GetTextureLightmap0(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiMaterial_GetTextureNormals0(void * jarg1, void * jarg2) { - unsigned int jresult ; - aiMaterial *arg1 = (aiMaterial *) 0 ; - aiString *arg2 = (aiString *) 0 ; - bool result; - - arg1 = (aiMaterial *)jarg1; - arg2 = (aiString *)jarg2; - result = (bool)aiMaterial_GetTextureNormals0(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiMaterial_GetTextureHeight0(void * jarg1, void * jarg2) { - unsigned int jresult ; - aiMaterial *arg1 = (aiMaterial *) 0 ; - aiString *arg2 = (aiString *) 0 ; - bool result; - - arg1 = (aiMaterial *)jarg1; - arg2 = (aiString *)jarg2; - result = (bool)aiMaterial_GetTextureHeight0(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiMaterial_GetGlobalBackgroundImage(void * jarg1, void * jarg2) { - unsigned int jresult ; - aiMaterial *arg1 = (aiMaterial *) 0 ; - aiString *arg2 = (aiString *) 0 ; - bool result; - - arg1 = (aiMaterial *)jarg1; - arg2 = (aiString *)jarg2; - result = (bool)aiMaterial_GetGlobalBackgroundImage(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiMaterial_GetTwoSided(void * jarg1, int * jarg2) { - unsigned int jresult ; - aiMaterial *arg1 = (aiMaterial *) 0 ; - int *arg2 = (int *) 0 ; - bool result; - - arg1 = (aiMaterial *)jarg1; - arg2 = (int *)jarg2; - result = (bool)aiMaterial_GetTwoSided(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp__AI_MATKEY_TEXTURE_BASE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("$tex.file"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp__AI_MATKEY_UVWSRC_BASE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("$tex.uvwsrc"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp__AI_MATKEY_TEXOP_BASE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("$tex.op"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp__AI_MATKEY_MAPPING_BASE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("$tex.mapping"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp__AI_MATKEY_TEXBLEND_BASE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("$tex.blend"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp__AI_MATKEY_MAPPINGMODE_U_BASE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("$tex.mapmodeu"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp__AI_MATKEY_MAPPINGMODE_V_BASE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("$tex.mapmodev"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp__AI_MATKEY_TEXMAP_AXIS_BASE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("$tex.mapaxis"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp__AI_MATKEY_UVTRANSFORM_BASE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("$tex.uvtrafo"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp__AI_MATKEY_TEXFLAGS_BASE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("$tex.flags"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiNode_mName_set(void * jarg1, void * jarg2) { - aiNode *arg1 = (aiNode *) 0 ; - aiString *arg2 = (aiString *) 0 ; - - arg1 = (aiNode *)jarg1; - arg2 = (aiString *)jarg2; - if (arg1) (arg1)->mName = *arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiNode_mName_get(void * jarg1) { - void * jresult ; - aiNode *arg1 = (aiNode *) 0 ; - aiString *result = 0 ; - - arg1 = (aiNode *)jarg1; - result = (aiString *)& ((arg1)->mName); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiNode_mTransformation_set(void * jarg1, void * jarg2) { - aiNode *arg1 = (aiNode *) 0 ; - aiMatrix4x4 *arg2 = (aiMatrix4x4 *) 0 ; - - arg1 = (aiNode *)jarg1; - arg2 = (aiMatrix4x4 *)jarg2; - if (arg1) (arg1)->mTransformation = *arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiNode_mTransformation_get(void * jarg1) { - void * jresult ; - aiNode *arg1 = (aiNode *) 0 ; - aiMatrix4x4 *result = 0 ; - - arg1 = (aiNode *)jarg1; - result = (aiMatrix4x4 *)& ((arg1)->mTransformation); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiNode_mParent_set(void * jarg1, void * jarg2) { - aiNode *arg1 = (aiNode *) 0 ; - aiNode *arg2 = (aiNode *) 0 ; - - arg1 = (aiNode *)jarg1; - arg2 = (aiNode *)jarg2; - if (arg1) (arg1)->mParent = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiNode_mParent_get(void * jarg1) { - void * jresult ; - aiNode *arg1 = (aiNode *) 0 ; - aiNode *result = 0 ; - - arg1 = (aiNode *)jarg1; - result = (aiNode *) ((arg1)->mParent); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiNode_mNumChildren_set(void * jarg1, unsigned int jarg2) { - aiNode *arg1 = (aiNode *) 0 ; - unsigned int arg2 ; - - arg1 = (aiNode *)jarg1; - arg2 = (unsigned int)jarg2; - if (arg1) (arg1)->mNumChildren = arg2; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiNode_mNumChildren_get(void * jarg1) { - unsigned int jresult ; - aiNode *arg1 = (aiNode *) 0 ; - unsigned int result; - - arg1 = (aiNode *)jarg1; - result = (unsigned int) ((arg1)->mNumChildren); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiNode_mNumMeshes_set(void * jarg1, unsigned int jarg2) { - aiNode *arg1 = (aiNode *) 0 ; - unsigned int arg2 ; - - arg1 = (aiNode *)jarg1; - arg2 = (unsigned int)jarg2; - if (arg1) (arg1)->mNumMeshes = arg2; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiNode_mNumMeshes_get(void * jarg1) { - unsigned int jresult ; - aiNode *arg1 = (aiNode *) 0 ; - unsigned int result; - - arg1 = (aiNode *)jarg1; - result = (unsigned int) ((arg1)->mNumMeshes); - jresult = result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiNode__SWIG_0() { - void * jresult ; - aiNode *result = 0 ; - - result = (aiNode *)new aiNode(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiNode__SWIG_1(char * jarg1) { - void * jresult ; - std::string *arg1 = 0 ; - aiNode *result = 0 ; - - if (!jarg1) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0); - return 0; - } - std::string arg1_str(jarg1); - arg1 = &arg1_str; - result = (aiNode *)new aiNode((std::string const &)*arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_aiNode(void * jarg1) { - aiNode *arg1 = (aiNode *) 0 ; - - arg1 = (aiNode *)jarg1; - delete arg1; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiNode_FindNode__SWIG_0(void * jarg1, void * jarg2) { - void * jresult ; - aiNode *arg1 = (aiNode *) 0 ; - aiString *arg2 = 0 ; - aiNode *result = 0 ; - - arg1 = (aiNode *)jarg1; - arg2 = (aiString *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiString const & type is null", 0); - return 0; - } - result = (aiNode *)(arg1)->FindNode((aiString const &)*arg2); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiNode_FindNode__SWIG_1(void * jarg1, char * jarg2) { - void * jresult ; - aiNode *arg1 = (aiNode *) 0 ; - char *arg2 = (char *) 0 ; - aiNode *result = 0 ; - - arg1 = (aiNode *)jarg1; - arg2 = (char *)jarg2; - result = (aiNode *)(arg1)->FindNode((char const *)arg2); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiNode_GetmChildren(void * jarg1) { - void * jresult ; - aiNode *arg1 = (aiNode *) 0 ; - std::vector< aiNode * > *result = 0 ; - - arg1 = (aiNode *)jarg1; - result = (std::vector< aiNode * > *)aiNode_GetmChildren(arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiNode_GetmMeshes(void * jarg1) { - void * jresult ; - aiNode *arg1 = (aiNode *) 0 ; - std::vector< unsigned int > *result = 0 ; - - arg1 = (aiNode *)jarg1; - result = (std::vector< unsigned int > *)aiNode_GetmMeshes(arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_AI_SCENE_FLAGS_INCOMPLETE_get() { - int jresult ; - int result; - - result = (int)(0x1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_AI_SCENE_FLAGS_VALIDATED_get() { - int jresult ; - int result; - - result = (int)(0x2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_AI_SCENE_FLAGS_VALIDATION_WARNING_get() { - int jresult ; - int result; - - result = (int)(0x4); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_AI_SCENE_FLAGS_NON_VERBOSE_FORMAT_get() { - int jresult ; - int result; - - result = (int)(0x8); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_AI_SCENE_FLAGS_TERRAIN_get() { - int jresult ; - int result; - - result = (int)(0x10); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiScene_mFlags_set(void * jarg1, unsigned int jarg2) { - aiScene *arg1 = (aiScene *) 0 ; - unsigned int arg2 ; - - arg1 = (aiScene *)jarg1; - arg2 = (unsigned int)jarg2; - if (arg1) (arg1)->mFlags = arg2; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiScene_mFlags_get(void * jarg1) { - unsigned int jresult ; - aiScene *arg1 = (aiScene *) 0 ; - unsigned int result; - - arg1 = (aiScene *)jarg1; - result = (unsigned int) ((arg1)->mFlags); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiScene_mRootNode_set(void * jarg1, void * jarg2) { - aiScene *arg1 = (aiScene *) 0 ; - aiNode *arg2 = (aiNode *) 0 ; - - arg1 = (aiScene *)jarg1; - arg2 = (aiNode *)jarg2; - if (arg1) (arg1)->mRootNode = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiScene_mRootNode_get(void * jarg1) { - void * jresult ; - aiScene *arg1 = (aiScene *) 0 ; - aiNode *result = 0 ; - - arg1 = (aiScene *)jarg1; - result = (aiNode *) ((arg1)->mRootNode); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiScene_mNumMeshes_set(void * jarg1, unsigned int jarg2) { - aiScene *arg1 = (aiScene *) 0 ; - unsigned int arg2 ; - - arg1 = (aiScene *)jarg1; - arg2 = (unsigned int)jarg2; - if (arg1) (arg1)->mNumMeshes = arg2; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiScene_mNumMeshes_get(void * jarg1) { - unsigned int jresult ; - aiScene *arg1 = (aiScene *) 0 ; - unsigned int result; - - arg1 = (aiScene *)jarg1; - result = (unsigned int) ((arg1)->mNumMeshes); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiScene_mNumMaterials_set(void * jarg1, unsigned int jarg2) { - aiScene *arg1 = (aiScene *) 0 ; - unsigned int arg2 ; - - arg1 = (aiScene *)jarg1; - arg2 = (unsigned int)jarg2; - if (arg1) (arg1)->mNumMaterials = arg2; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiScene_mNumMaterials_get(void * jarg1) { - unsigned int jresult ; - aiScene *arg1 = (aiScene *) 0 ; - unsigned int result; - - arg1 = (aiScene *)jarg1; - result = (unsigned int) ((arg1)->mNumMaterials); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiScene_mNumAnimations_set(void * jarg1, unsigned int jarg2) { - aiScene *arg1 = (aiScene *) 0 ; - unsigned int arg2 ; - - arg1 = (aiScene *)jarg1; - arg2 = (unsigned int)jarg2; - if (arg1) (arg1)->mNumAnimations = arg2; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiScene_mNumAnimations_get(void * jarg1) { - unsigned int jresult ; - aiScene *arg1 = (aiScene *) 0 ; - unsigned int result; - - arg1 = (aiScene *)jarg1; - result = (unsigned int) ((arg1)->mNumAnimations); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiScene_mNumTextures_set(void * jarg1, unsigned int jarg2) { - aiScene *arg1 = (aiScene *) 0 ; - unsigned int arg2 ; - - arg1 = (aiScene *)jarg1; - arg2 = (unsigned int)jarg2; - if (arg1) (arg1)->mNumTextures = arg2; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiScene_mNumTextures_get(void * jarg1) { - unsigned int jresult ; - aiScene *arg1 = (aiScene *) 0 ; - unsigned int result; - - arg1 = (aiScene *)jarg1; - result = (unsigned int) ((arg1)->mNumTextures); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiScene_mNumLights_set(void * jarg1, unsigned int jarg2) { - aiScene *arg1 = (aiScene *) 0 ; - unsigned int arg2 ; - - arg1 = (aiScene *)jarg1; - arg2 = (unsigned int)jarg2; - if (arg1) (arg1)->mNumLights = arg2; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiScene_mNumLights_get(void * jarg1) { - unsigned int jresult ; - aiScene *arg1 = (aiScene *) 0 ; - unsigned int result; - - arg1 = (aiScene *)jarg1; - result = (unsigned int) ((arg1)->mNumLights); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiScene_mNumCameras_set(void * jarg1, unsigned int jarg2) { - aiScene *arg1 = (aiScene *) 0 ; - unsigned int arg2 ; - - arg1 = (aiScene *)jarg1; - arg2 = (unsigned int)jarg2; - if (arg1) (arg1)->mNumCameras = arg2; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiScene_mNumCameras_get(void * jarg1) { - unsigned int jresult ; - aiScene *arg1 = (aiScene *) 0 ; - unsigned int result; - - arg1 = (aiScene *)jarg1; - result = (unsigned int) ((arg1)->mNumCameras); - jresult = result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiScene() { - void * jresult ; - aiScene *result = 0 ; - - result = (aiScene *)new aiScene(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_aiScene(void * jarg1) { - aiScene *arg1 = (aiScene *) 0 ; - - arg1 = (aiScene *)jarg1; - delete arg1; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiScene_HasMeshes(void * jarg1) { - unsigned int jresult ; - aiScene *arg1 = (aiScene *) 0 ; - bool result; - - arg1 = (aiScene *)jarg1; - result = (bool)((aiScene const *)arg1)->HasMeshes(); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiScene_HasMaterials(void * jarg1) { - unsigned int jresult ; - aiScene *arg1 = (aiScene *) 0 ; - bool result; - - arg1 = (aiScene *)jarg1; - result = (bool)((aiScene const *)arg1)->HasMaterials(); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiScene_HasLights(void * jarg1) { - unsigned int jresult ; - aiScene *arg1 = (aiScene *) 0 ; - bool result; - - arg1 = (aiScene *)jarg1; - result = (bool)((aiScene const *)arg1)->HasLights(); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiScene_HasTextures(void * jarg1) { - unsigned int jresult ; - aiScene *arg1 = (aiScene *) 0 ; - bool result; - - arg1 = (aiScene *)jarg1; - result = (bool)((aiScene const *)arg1)->HasTextures(); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiScene_HasCameras(void * jarg1) { - unsigned int jresult ; - aiScene *arg1 = (aiScene *) 0 ; - bool result; - - arg1 = (aiScene *)jarg1; - result = (bool)((aiScene const *)arg1)->HasCameras(); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiScene_HasAnimations(void * jarg1) { - unsigned int jresult ; - aiScene *arg1 = (aiScene *) 0 ; - bool result; - - arg1 = (aiScene *)jarg1; - result = (bool)((aiScene const *)arg1)->HasAnimations(); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiScene_mPrivate_set(void * jarg1, void * jarg2) { - aiScene *arg1 = (aiScene *) 0 ; - void *arg2 = (void *) 0 ; - - arg1 = (aiScene *)jarg1; - arg2 = (void *)jarg2; - if (arg1) (arg1)->mPrivate = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiScene_mPrivate_get(void * jarg1) { - void * jresult ; - aiScene *arg1 = (aiScene *) 0 ; - void *result = 0 ; - - arg1 = (aiScene *)jarg1; - result = (void *) ((arg1)->mPrivate); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiScene_GetmAnimations(void * jarg1) { - void * jresult ; - aiScene *arg1 = (aiScene *) 0 ; - std::vector< aiAnimation * > *result = 0 ; - - arg1 = (aiScene *)jarg1; - result = (std::vector< aiAnimation * > *)aiScene_GetmAnimations(arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiScene_GetmCameras(void * jarg1) { - void * jresult ; - aiScene *arg1 = (aiScene *) 0 ; - std::vector< aiCamera * > *result = 0 ; - - arg1 = (aiScene *)jarg1; - result = (std::vector< aiCamera * > *)aiScene_GetmCameras(arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiScene_GetmLights(void * jarg1) { - void * jresult ; - aiScene *arg1 = (aiScene *) 0 ; - std::vector< aiLight * > *result = 0 ; - - arg1 = (aiScene *)jarg1; - result = (std::vector< aiLight * > *)aiScene_GetmLights(arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiScene_GetmMaterials(void * jarg1) { - void * jresult ; - aiScene *arg1 = (aiScene *) 0 ; - std::vector< aiMaterial * > *result = 0 ; - - arg1 = (aiScene *)jarg1; - result = (std::vector< aiMaterial * > *)aiScene_GetmMaterials(arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiScene_GetmMeshes(void * jarg1) { - void * jresult ; - aiScene *arg1 = (aiScene *) 0 ; - std::vector< aiMesh * > *result = 0 ; - - arg1 = (aiScene *)jarg1; - result = (std::vector< aiMesh * > *)aiScene_GetmMeshes(arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiScene_GetmTextures(void * jarg1) { - void * jresult ; - aiScene *arg1 = (aiScene *) 0 ; - std::vector< aiTexture * > *result = 0 ; - - arg1 = (aiScene *)jarg1; - result = (std::vector< aiTexture * > *)aiScene_GetmTextures(arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiTexel_b_set(void * jarg1, unsigned char jarg2) { - aiTexel *arg1 = (aiTexel *) 0 ; - unsigned char arg2 ; - - arg1 = (aiTexel *)jarg1; - arg2 = (unsigned char)jarg2; - if (arg1) (arg1)->b = arg2; -} - - -SWIGEXPORT unsigned char SWIGSTDCALL CSharp_aiTexel_b_get(void * jarg1) { - unsigned char jresult ; - aiTexel *arg1 = (aiTexel *) 0 ; - unsigned char result; - - arg1 = (aiTexel *)jarg1; - result = (unsigned char) ((arg1)->b); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiTexel_g_set(void * jarg1, unsigned char jarg2) { - aiTexel *arg1 = (aiTexel *) 0 ; - unsigned char arg2 ; - - arg1 = (aiTexel *)jarg1; - arg2 = (unsigned char)jarg2; - if (arg1) (arg1)->g = arg2; -} - - -SWIGEXPORT unsigned char SWIGSTDCALL CSharp_aiTexel_g_get(void * jarg1) { - unsigned char jresult ; - aiTexel *arg1 = (aiTexel *) 0 ; - unsigned char result; - - arg1 = (aiTexel *)jarg1; - result = (unsigned char) ((arg1)->g); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiTexel_r_set(void * jarg1, unsigned char jarg2) { - aiTexel *arg1 = (aiTexel *) 0 ; - unsigned char arg2 ; - - arg1 = (aiTexel *)jarg1; - arg2 = (unsigned char)jarg2; - if (arg1) (arg1)->r = arg2; -} - - -SWIGEXPORT unsigned char SWIGSTDCALL CSharp_aiTexel_r_get(void * jarg1) { - unsigned char jresult ; - aiTexel *arg1 = (aiTexel *) 0 ; - unsigned char result; - - arg1 = (aiTexel *)jarg1; - result = (unsigned char) ((arg1)->r); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiTexel_a_set(void * jarg1, unsigned char jarg2) { - aiTexel *arg1 = (aiTexel *) 0 ; - unsigned char arg2 ; - - arg1 = (aiTexel *)jarg1; - arg2 = (unsigned char)jarg2; - if (arg1) (arg1)->a = arg2; -} - - -SWIGEXPORT unsigned char SWIGSTDCALL CSharp_aiTexel_a_get(void * jarg1) { - unsigned char jresult ; - aiTexel *arg1 = (aiTexel *) 0 ; - unsigned char result; - - arg1 = (aiTexel *)jarg1; - result = (unsigned char) ((arg1)->a); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiTexel___equal__(void * jarg1, void * jarg2) { - unsigned int jresult ; - aiTexel *arg1 = (aiTexel *) 0 ; - aiTexel *arg2 = 0 ; - bool result; - - arg1 = (aiTexel *)jarg1; - arg2 = (aiTexel *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiTexel const & type is null", 0); - return 0; - } - result = (bool)((aiTexel const *)arg1)->operator ==((aiTexel const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiTexel___nequal__(void * jarg1, void * jarg2) { - unsigned int jresult ; - aiTexel *arg1 = (aiTexel *) 0 ; - aiTexel *arg2 = 0 ; - bool result; - - arg1 = (aiTexel *)jarg1; - arg2 = (aiTexel *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiTexel const & type is null", 0); - return 0; - } - result = (bool)((aiTexel const *)arg1)->operator !=((aiTexel const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiTexel() { - void * jresult ; - aiTexel *result = 0 ; - - result = (aiTexel *)new aiTexel(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_aiTexel(void * jarg1) { - aiTexel *arg1 = (aiTexel *) 0 ; - - arg1 = (aiTexel *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiTexture_mWidth_set(void * jarg1, unsigned int jarg2) { - aiTexture *arg1 = (aiTexture *) 0 ; - unsigned int arg2 ; - - arg1 = (aiTexture *)jarg1; - arg2 = (unsigned int)jarg2; - if (arg1) (arg1)->mWidth = arg2; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiTexture_mWidth_get(void * jarg1) { - unsigned int jresult ; - aiTexture *arg1 = (aiTexture *) 0 ; - unsigned int result; - - arg1 = (aiTexture *)jarg1; - result = (unsigned int) ((arg1)->mWidth); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiTexture_mHeight_set(void * jarg1, unsigned int jarg2) { - aiTexture *arg1 = (aiTexture *) 0 ; - unsigned int arg2 ; - - arg1 = (aiTexture *)jarg1; - arg2 = (unsigned int)jarg2; - if (arg1) (arg1)->mHeight = arg2; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiTexture_mHeight_get(void * jarg1) { - unsigned int jresult ; - aiTexture *arg1 = (aiTexture *) 0 ; - unsigned int result; - - arg1 = (aiTexture *)jarg1; - result = (unsigned int) ((arg1)->mHeight); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiTexture_achFormatHint_set(void * jarg1, char * jarg2) { - aiTexture *arg1 = (aiTexture *) 0 ; - char *arg2 ; - - arg1 = (aiTexture *)jarg1; - arg2 = (char *)jarg2; - { - if(arg2) { - strncpy((char*)arg1->achFormatHint, (const char *)arg2, 4-1); - arg1->achFormatHint[4-1] = 0; - } else { - arg1->achFormatHint[0] = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_aiTexture_achFormatHint_get(void * jarg1) { - char * jresult ; - aiTexture *arg1 = (aiTexture *) 0 ; - char *result = 0 ; - - arg1 = (aiTexture *)jarg1; - result = (char *)(char *) ((arg1)->achFormatHint); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiTexture_pcData_set(void * jarg1, void * jarg2) { - aiTexture *arg1 = (aiTexture *) 0 ; - aiTexel *arg2 = (aiTexel *) 0 ; - - arg1 = (aiTexture *)jarg1; - arg2 = (aiTexel *)jarg2; - if (arg1) (arg1)->pcData = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiTexture_pcData_get(void * jarg1) { - void * jresult ; - aiTexture *arg1 = (aiTexture *) 0 ; - aiTexel *result = 0 ; - - arg1 = (aiTexture *)jarg1; - result = (aiTexel *) ((arg1)->pcData); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiTexture_CheckFormat(void * jarg1, char * jarg2) { - unsigned int jresult ; - aiTexture *arg1 = (aiTexture *) 0 ; - char *arg2 = (char *) 0 ; - bool result; - - arg1 = (aiTexture *)jarg1; - arg2 = (char *)jarg2; - result = (bool)((aiTexture const *)arg1)->CheckFormat((char const *)arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiTexture() { - void * jresult ; - aiTexture *result = 0 ; - - result = (aiTexture *)new aiTexture(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_aiTexture(void * jarg1) { - aiTexture *arg1 = (aiTexture *) 0 ; - - arg1 = (aiTexture *)jarg1; - delete arg1; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_AI_PROPERTY_WAS_NOT_EXISTING_get() { - int jresult ; - int result; - - result = (int)(0xffffffff); - jresult = result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_Importer__SWIG_0() { - void * jresult ; - Assimp::Importer *result = 0 ; - - result = (Assimp::Importer *)new Assimp::Importer(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_Importer__SWIG_1(void * jarg1) { - void * jresult ; - Assimp::Importer *arg1 = 0 ; - Assimp::Importer *result = 0 ; - - arg1 = (Assimp::Importer *)jarg1; - if (!arg1) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Assimp::Importer const & type is null", 0); - return 0; - } - result = (Assimp::Importer *)new Assimp::Importer((Assimp::Importer const &)*arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_Importer(void * jarg1) { - Assimp::Importer *arg1 = (Assimp::Importer *) 0 ; - - arg1 = (Assimp::Importer *)jarg1; - delete arg1; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_Importer_GetPropertyInteger__SWIG_0(void * jarg1, char * jarg2, int jarg3) { - int jresult ; - Assimp::Importer *arg1 = (Assimp::Importer *) 0 ; - char *arg2 = (char *) 0 ; - int arg3 ; - int result; - - arg1 = (Assimp::Importer *)jarg1; - arg2 = (char *)jarg2; - arg3 = (int)jarg3; - result = (int)((Assimp::Importer const *)arg1)->GetPropertyInteger((char const *)arg2,arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_Importer_GetPropertyInteger__SWIG_1(void * jarg1, char * jarg2) { - int jresult ; - Assimp::Importer *arg1 = (Assimp::Importer *) 0 ; - char *arg2 = (char *) 0 ; - int result; - - arg1 = (Assimp::Importer *)jarg1; - arg2 = (char *)jarg2; - result = (int)((Assimp::Importer const *)arg1)->GetPropertyInteger((char const *)arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Importer_GetPropertyBool__SWIG_0(void * jarg1, char * jarg2, unsigned int jarg3) { - unsigned int jresult ; - Assimp::Importer *arg1 = (Assimp::Importer *) 0 ; - char *arg2 = (char *) 0 ; - bool arg3 ; - bool result; - - arg1 = (Assimp::Importer *)jarg1; - arg2 = (char *)jarg2; - arg3 = jarg3 ? true : false; - result = (bool)((Assimp::Importer const *)arg1)->GetPropertyBool((char const *)arg2,arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Importer_GetPropertyBool__SWIG_1(void * jarg1, char * jarg2) { - unsigned int jresult ; - Assimp::Importer *arg1 = (Assimp::Importer *) 0 ; - char *arg2 = (char *) 0 ; - bool result; - - arg1 = (Assimp::Importer *)jarg1; - arg2 = (char *)jarg2; - result = (bool)((Assimp::Importer const *)arg1)->GetPropertyBool((char const *)arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT float SWIGSTDCALL CSharp_Importer_GetPropertyFloat__SWIG_0(void * jarg1, char * jarg2, float jarg3) { - float jresult ; - Assimp::Importer *arg1 = (Assimp::Importer *) 0 ; - char *arg2 = (char *) 0 ; - float arg3 ; - float result; - - arg1 = (Assimp::Importer *)jarg1; - arg2 = (char *)jarg2; - arg3 = (float)jarg3; - result = (float)((Assimp::Importer const *)arg1)->GetPropertyFloat((char const *)arg2,arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT float SWIGSTDCALL CSharp_Importer_GetPropertyFloat__SWIG_1(void * jarg1, char * jarg2) { - float jresult ; - Assimp::Importer *arg1 = (Assimp::Importer *) 0 ; - char *arg2 = (char *) 0 ; - float result; - - arg1 = (Assimp::Importer *)jarg1; - arg2 = (char *)jarg2; - result = (float)((Assimp::Importer const *)arg1)->GetPropertyFloat((char const *)arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_Importer_GetPropertyString__SWIG_0(void * jarg1, char * jarg2, char * jarg3) { - char * jresult ; - Assimp::Importer *arg1 = (Assimp::Importer *) 0 ; - char *arg2 = (char *) 0 ; - std::string *arg3 = 0 ; - std::string *result = 0 ; - - arg1 = (Assimp::Importer *)jarg1; - arg2 = (char *)jarg2; - if (!jarg3) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0); - return 0; - } - std::string arg3_str(jarg3); - arg3 = &arg3_str; - result = (std::string *) &((Assimp::Importer const *)arg1)->GetPropertyString((char const *)arg2,(std::string const &)*arg3); - jresult = SWIG_csharp_string_callback(result->c_str()); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_Importer_GetPropertyString__SWIG_1(void * jarg1, char * jarg2) { - char * jresult ; - Assimp::Importer *arg1 = (Assimp::Importer *) 0 ; - char *arg2 = (char *) 0 ; - std::string *result = 0 ; - - arg1 = (Assimp::Importer *)jarg1; - arg2 = (char *)jarg2; - result = (std::string *) &((Assimp::Importer const *)arg1)->GetPropertyString((char const *)arg2); - jresult = SWIG_csharp_string_callback(result->c_str()); - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Importer_IsDefaultIOHandler(void * jarg1) { - unsigned int jresult ; - Assimp::Importer *arg1 = (Assimp::Importer *) 0 ; - bool result; - - arg1 = (Assimp::Importer *)jarg1; - result = (bool)((Assimp::Importer const *)arg1)->IsDefaultIOHandler(); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_Importer_SetProgressHandler(void * jarg1, void * jarg2) { - Assimp::Importer *arg1 = (Assimp::Importer *) 0 ; - Assimp::ProgressHandler *arg2 = (Assimp::ProgressHandler *) 0 ; - - arg1 = (Assimp::Importer *)jarg1; - arg2 = (Assimp::ProgressHandler *)jarg2; - (arg1)->SetProgressHandler(arg2); -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_Importer_GetProgressHandler(void * jarg1) { - void * jresult ; - Assimp::Importer *arg1 = (Assimp::Importer *) 0 ; - Assimp::ProgressHandler *result = 0 ; - - arg1 = (Assimp::Importer *)jarg1; - result = (Assimp::ProgressHandler *)((Assimp::Importer const *)arg1)->GetProgressHandler(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Importer_IsDefaultProgressHandler(void * jarg1) { - unsigned int jresult ; - Assimp::Importer *arg1 = (Assimp::Importer *) 0 ; - bool result; - - arg1 = (Assimp::Importer *)jarg1; - result = (bool)((Assimp::Importer const *)arg1)->IsDefaultProgressHandler(); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Importer_ValidateFlags(void * jarg1, unsigned int jarg2) { - unsigned int jresult ; - Assimp::Importer *arg1 = (Assimp::Importer *) 0 ; - unsigned int arg2 ; - bool result; - - arg1 = (Assimp::Importer *)jarg1; - arg2 = (unsigned int)jarg2; - result = (bool)((Assimp::Importer const *)arg1)->ValidateFlags(arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_Importer_ReadFile__SWIG_0(void * jarg1, char * jarg2, unsigned int jarg3) { - void * jresult ; - Assimp::Importer *arg1 = (Assimp::Importer *) 0 ; - char *arg2 = (char *) 0 ; - unsigned int arg3 ; - aiScene *result = 0 ; - - arg1 = (Assimp::Importer *)jarg1; - arg2 = (char *)jarg2; - arg3 = (unsigned int)jarg3; - result = (aiScene *)(arg1)->ReadFile((char const *)arg2,arg3); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_Importer_FreeScene(void * jarg1) { - Assimp::Importer *arg1 = (Assimp::Importer *) 0 ; - - arg1 = (Assimp::Importer *)jarg1; - (arg1)->FreeScene(); -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_Importer_GetErrorString(void * jarg1) { - char * jresult ; - Assimp::Importer *arg1 = (Assimp::Importer *) 0 ; - char *result = 0 ; - - arg1 = (Assimp::Importer *)jarg1; - result = (char *)((Assimp::Importer const *)arg1)->GetErrorString(); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_Importer_GetScene(void * jarg1) { - void * jresult ; - Assimp::Importer *arg1 = (Assimp::Importer *) 0 ; - aiScene *result = 0 ; - - arg1 = (Assimp::Importer *)jarg1; - result = (aiScene *)((Assimp::Importer const *)arg1)->GetScene(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_Importer_GetOrphanedScene(void * jarg1) { - void * jresult ; - Assimp::Importer *arg1 = (Assimp::Importer *) 0 ; - aiScene *result = 0 ; - - arg1 = (Assimp::Importer *)jarg1; - result = (aiScene *)(arg1)->GetOrphanedScene(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Importer_IsExtensionSupported__SWIG_0(void * jarg1, char * jarg2) { - unsigned int jresult ; - Assimp::Importer *arg1 = (Assimp::Importer *) 0 ; - char *arg2 = (char *) 0 ; - bool result; - - arg1 = (Assimp::Importer *)jarg1; - arg2 = (char *)jarg2; - result = (bool)((Assimp::Importer const *)arg1)->IsExtensionSupported((char const *)arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_Importer_GetExtensionList__SWIG_0(void * jarg1, void * jarg2) { - Assimp::Importer *arg1 = (Assimp::Importer *) 0 ; - aiString *arg2 = 0 ; - - arg1 = (Assimp::Importer *)jarg1; - arg2 = (aiString *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiString & type is null", 0); - return ; - } - ((Assimp::Importer const *)arg1)->GetExtensionList(*arg2); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_Importer_GetExtensionList__SWIG_1(void * jarg1, void * jarg2) { - Assimp::Importer *arg1 = (Assimp::Importer *) 0 ; - std::string *arg2 = 0 ; - - arg1 = (Assimp::Importer *)jarg1; - arg2 = (std::string *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::string & type is null", 0); - return ; - } - ((Assimp::Importer const *)arg1)->GetExtensionList(*arg2); -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_Importer_GetImporterCount(void * jarg1) { - unsigned long jresult ; - Assimp::Importer *arg1 = (Assimp::Importer *) 0 ; - size_t result; - - arg1 = (Assimp::Importer *)jarg1; - result = ((Assimp::Importer const *)arg1)->GetImporterCount(); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_Importer_GetImporterInfo(void * jarg1, unsigned long jarg2) { - void * jresult ; - Assimp::Importer *arg1 = (Assimp::Importer *) 0 ; - size_t arg2 ; - aiImporterDesc *result = 0 ; - - arg1 = (Assimp::Importer *)jarg1; - arg2 = (size_t)jarg2; - result = (aiImporterDesc *)((Assimp::Importer const *)arg1)->GetImporterInfo(arg2); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_Importer_GetImporter__SWIG_0(void * jarg1, unsigned long jarg2) { - void * jresult ; - Assimp::Importer *arg1 = (Assimp::Importer *) 0 ; - size_t arg2 ; - Assimp::BaseImporter *result = 0 ; - - arg1 = (Assimp::Importer *)jarg1; - arg2 = (size_t)jarg2; - result = (Assimp::BaseImporter *)((Assimp::Importer const *)arg1)->GetImporter(arg2); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_Importer_GetImporter__SWIG_1(void * jarg1, char * jarg2) { - void * jresult ; - Assimp::Importer *arg1 = (Assimp::Importer *) 0 ; - char *arg2 = (char *) 0 ; - Assimp::BaseImporter *result = 0 ; - - arg1 = (Assimp::Importer *)jarg1; - arg2 = (char *)jarg2; - result = (Assimp::BaseImporter *)((Assimp::Importer const *)arg1)->GetImporter((char const *)arg2); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_Importer_GetImporterIndex(void * jarg1, char * jarg2) { - unsigned long jresult ; - Assimp::Importer *arg1 = (Assimp::Importer *) 0 ; - char *arg2 = (char *) 0 ; - size_t result; - - arg1 = (Assimp::Importer *)jarg1; - arg2 = (char *)jarg2; - result = ((Assimp::Importer const *)arg1)->GetImporterIndex((char const *)arg2); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_Importer_GetMemoryRequirements(void * jarg1, void * jarg2) { - Assimp::Importer *arg1 = (Assimp::Importer *) 0 ; - aiMemoryInfo *arg2 = 0 ; - - arg1 = (Assimp::Importer *)jarg1; - arg2 = (aiMemoryInfo *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiMemoryInfo & type is null", 0); - return ; - } - ((Assimp::Importer const *)arg1)->GetMemoryRequirements(*arg2); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_Importer_SetExtraVerbose(void * jarg1, unsigned int jarg2) { - Assimp::Importer *arg1 = (Assimp::Importer *) 0 ; - bool arg2 ; - - arg1 = (Assimp::Importer *)jarg1; - arg2 = jarg2 ? true : false; - (arg1)->SetExtraVerbose(arg2); -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_Importer_Pimpl__SWIG_0(void * jarg1) { - void * jresult ; - Assimp::Importer *arg1 = (Assimp::Importer *) 0 ; - Assimp::ImporterPimpl *result = 0 ; - - arg1 = (Assimp::Importer *)jarg1; - result = (Assimp::ImporterPimpl *)(arg1)->Pimpl(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_Importer_GetExtensionList__SWIG_2(void * jarg1) { - char * jresult ; - Assimp::Importer *arg1 = (Assimp::Importer *) 0 ; - std::string result; - - arg1 = (Assimp::Importer *)jarg1; - result = Assimp_Importer_GetExtensionList__SWIG_2(arg1); - jresult = SWIG_csharp_string_callback((&result)->c_str()); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_ProgressHandler(void * jarg1) { - Assimp::ProgressHandler *arg1 = (Assimp::ProgressHandler *) 0 ; - - arg1 = (Assimp::ProgressHandler *)jarg1; - delete arg1; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_ProgressHandler_Update__SWIG_0(void * jarg1, float jarg2) { - unsigned int jresult ; - Assimp::ProgressHandler *arg1 = (Assimp::ProgressHandler *) 0 ; - float arg2 ; - bool result; - - arg1 = (Assimp::ProgressHandler *)jarg1; - arg2 = (float)jarg2; - result = (bool)(arg1)->Update(arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_ProgressHandler_Update__SWIG_1(void * jarg1) { - unsigned int jresult ; - Assimp::ProgressHandler *arg1 = (Assimp::ProgressHandler *) 0 ; - bool result; - - arg1 = (Assimp::ProgressHandler *)jarg1; - result = (bool)(arg1)->Update(); - jresult = result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiColor4D__SWIG_0() { - void * jresult ; - aiColor4t< float > *result = 0 ; - - result = (aiColor4t< float > *)new aiColor4t< float >(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiColor4D__SWIG_1(float jarg1, float jarg2, float jarg3, float jarg4) { - void * jresult ; - float arg1 ; - float arg2 ; - float arg3 ; - float arg4 ; - aiColor4t< float > *result = 0 ; - - arg1 = (float)jarg1; - arg2 = (float)jarg2; - arg3 = (float)jarg3; - arg4 = (float)jarg4; - result = (aiColor4t< float > *)new aiColor4t< float >(arg1,arg2,arg3,arg4); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiColor4D__SWIG_2(float jarg1) { - void * jresult ; - float arg1 ; - aiColor4t< float > *result = 0 ; - - arg1 = (float)jarg1; - result = (aiColor4t< float > *)new aiColor4t< float >(arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiColor4D__SWIG_3(void * jarg1) { - void * jresult ; - aiColor4t< float > *arg1 = 0 ; - aiColor4t< float > *result = 0 ; - - arg1 = (aiColor4t< float > *)jarg1; - if (!arg1) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiColor4t< float > const & type is null", 0); - return 0; - } - result = (aiColor4t< float > *)new aiColor4t< float >((aiColor4t< float > const &)*arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiColor4D___addnset__(void * jarg1, void * jarg2) { - void * jresult ; - aiColor4t< float > *arg1 = (aiColor4t< float > *) 0 ; - aiColor4t< float > *arg2 = 0 ; - aiColor4t< float > *result = 0 ; - - arg1 = (aiColor4t< float > *)jarg1; - arg2 = (aiColor4t< float > *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiColor4t< float > const & type is null", 0); - return 0; - } - result = (aiColor4t< float > *) &(arg1)->operator +=((aiColor4t< float > const &)*arg2); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiColor4D___subnset__(void * jarg1, void * jarg2) { - void * jresult ; - aiColor4t< float > *arg1 = (aiColor4t< float > *) 0 ; - aiColor4t< float > *arg2 = 0 ; - aiColor4t< float > *result = 0 ; - - arg1 = (aiColor4t< float > *)jarg1; - arg2 = (aiColor4t< float > *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiColor4t< float > const & type is null", 0); - return 0; - } - result = (aiColor4t< float > *) &(arg1)->operator -=((aiColor4t< float > const &)*arg2); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiColor4D___mulnset__(void * jarg1, float jarg2) { - void * jresult ; - aiColor4t< float > *arg1 = (aiColor4t< float > *) 0 ; - float arg2 ; - aiColor4t< float > *result = 0 ; - - arg1 = (aiColor4t< float > *)jarg1; - arg2 = (float)jarg2; - result = (aiColor4t< float > *) &(arg1)->operator *=(arg2); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiColor4D___divnset__(void * jarg1, float jarg2) { - void * jresult ; - aiColor4t< float > *arg1 = (aiColor4t< float > *) 0 ; - float arg2 ; - aiColor4t< float > *result = 0 ; - - arg1 = (aiColor4t< float > *)jarg1; - arg2 = (float)jarg2; - result = (aiColor4t< float > *) &(arg1)->operator /=(arg2); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiColor4D___equal__(void * jarg1, void * jarg2) { - unsigned int jresult ; - aiColor4t< float > *arg1 = (aiColor4t< float > *) 0 ; - aiColor4t< float > *arg2 = 0 ; - bool result; - - arg1 = (aiColor4t< float > *)jarg1; - arg2 = (aiColor4t< float > *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiColor4t< float > const & type is null", 0); - return 0; - } - result = (bool)((aiColor4t< float > const *)arg1)->operator ==((aiColor4t< float > const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiColor4D___nequal__(void * jarg1, void * jarg2) { - unsigned int jresult ; - aiColor4t< float > *arg1 = (aiColor4t< float > *) 0 ; - aiColor4t< float > *arg2 = 0 ; - bool result; - - arg1 = (aiColor4t< float > *)jarg1; - arg2 = (aiColor4t< float > *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiColor4t< float > const & type is null", 0); - return 0; - } - result = (bool)((aiColor4t< float > const *)arg1)->operator !=((aiColor4t< float > const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT float SWIGSTDCALL CSharp_aiColor4D___idx____SWIG_0(void * jarg1, unsigned int jarg2) { - float jresult ; - aiColor4t< float > *arg1 = (aiColor4t< float > *) 0 ; - unsigned int arg2 ; - float result; - - arg1 = (aiColor4t< float > *)jarg1; - arg2 = (unsigned int)jarg2; - result = (float)((aiColor4t< float > const *)arg1)->operator [](arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiColor4D_IsBlack(void * jarg1) { - unsigned int jresult ; - aiColor4t< float > *arg1 = (aiColor4t< float > *) 0 ; - bool result; - - arg1 = (aiColor4t< float > *)jarg1; - result = (bool)((aiColor4t< float > const *)arg1)->IsBlack(); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiColor4D_r_set(void * jarg1, float jarg2) { - aiColor4t< float > *arg1 = (aiColor4t< float > *) 0 ; - float arg2 ; - - arg1 = (aiColor4t< float > *)jarg1; - arg2 = (float)jarg2; - if (arg1) (arg1)->r = arg2; -} - - -SWIGEXPORT float SWIGSTDCALL CSharp_aiColor4D_r_get(void * jarg1) { - float jresult ; - aiColor4t< float > *arg1 = (aiColor4t< float > *) 0 ; - float result; - - arg1 = (aiColor4t< float > *)jarg1; - result = (float) ((arg1)->r); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiColor4D_g_set(void * jarg1, float jarg2) { - aiColor4t< float > *arg1 = (aiColor4t< float > *) 0 ; - float arg2 ; - - arg1 = (aiColor4t< float > *)jarg1; - arg2 = (float)jarg2; - if (arg1) (arg1)->g = arg2; -} - - -SWIGEXPORT float SWIGSTDCALL CSharp_aiColor4D_g_get(void * jarg1) { - float jresult ; - aiColor4t< float > *arg1 = (aiColor4t< float > *) 0 ; - float result; - - arg1 = (aiColor4t< float > *)jarg1; - result = (float) ((arg1)->g); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiColor4D_b_set(void * jarg1, float jarg2) { - aiColor4t< float > *arg1 = (aiColor4t< float > *) 0 ; - float arg2 ; - - arg1 = (aiColor4t< float > *)jarg1; - arg2 = (float)jarg2; - if (arg1) (arg1)->b = arg2; -} - - -SWIGEXPORT float SWIGSTDCALL CSharp_aiColor4D_b_get(void * jarg1) { - float jresult ; - aiColor4t< float > *arg1 = (aiColor4t< float > *) 0 ; - float result; - - arg1 = (aiColor4t< float > *)jarg1; - result = (float) ((arg1)->b); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiColor4D_a_set(void * jarg1, float jarg2) { - aiColor4t< float > *arg1 = (aiColor4t< float > *) 0 ; - float arg2 ; - - arg1 = (aiColor4t< float > *)jarg1; - arg2 = (float)jarg2; - if (arg1) (arg1)->a = arg2; -} - - -SWIGEXPORT float SWIGSTDCALL CSharp_aiColor4D_a_get(void * jarg1) { - float jresult ; - aiColor4t< float > *arg1 = (aiColor4t< float > *) 0 ; - float result; - - arg1 = (aiColor4t< float > *)jarg1; - result = (float) ((arg1)->a); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_aiColor4D(void * jarg1) { - aiColor4t< float > *arg1 = (aiColor4t< float > *) 0 ; - - arg1 = (aiColor4t< float > *)jarg1; - delete arg1; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiVector3D__SWIG_0() { - void * jresult ; - aiVector3t< float > *result = 0 ; - - result = (aiVector3t< float > *)new aiVector3t< float >(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiVector3D__SWIG_1(float jarg1, float jarg2, float jarg3) { - void * jresult ; - float arg1 ; - float arg2 ; - float arg3 ; - aiVector3t< float > *result = 0 ; - - arg1 = (float)jarg1; - arg2 = (float)jarg2; - arg3 = (float)jarg3; - result = (aiVector3t< float > *)new aiVector3t< float >(arg1,arg2,arg3); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiVector3D__SWIG_2(float jarg1) { - void * jresult ; - float arg1 ; - aiVector3t< float > *result = 0 ; - - arg1 = (float)jarg1; - result = (aiVector3t< float > *)new aiVector3t< float >(arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiVector3D__SWIG_3(void * jarg1) { - void * jresult ; - aiVector3t< float > *arg1 = 0 ; - aiVector3t< float > *result = 0 ; - - arg1 = (aiVector3t< float > *)jarg1; - if (!arg1) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiVector3t< float > const & type is null", 0); - return 0; - } - result = (aiVector3t< float > *)new aiVector3t< float >((aiVector3t< float > const &)*arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiVector3D___addnset__(void * jarg1, void * jarg2) { - void * jresult ; - aiVector3t< float > *arg1 = (aiVector3t< float > *) 0 ; - aiVector3t< float > *arg2 = 0 ; - aiVector3t< float > *result = 0 ; - - arg1 = (aiVector3t< float > *)jarg1; - arg2 = (aiVector3t< float > *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiVector3t< float > const & type is null", 0); - return 0; - } - result = (aiVector3t< float > *) &(arg1)->operator +=((aiVector3t< float > const &)*arg2); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiVector3D___subnset__(void * jarg1, void * jarg2) { - void * jresult ; - aiVector3t< float > *arg1 = (aiVector3t< float > *) 0 ; - aiVector3t< float > *arg2 = 0 ; - aiVector3t< float > *result = 0 ; - - arg1 = (aiVector3t< float > *)jarg1; - arg2 = (aiVector3t< float > *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiVector3t< float > const & type is null", 0); - return 0; - } - result = (aiVector3t< float > *) &(arg1)->operator -=((aiVector3t< float > const &)*arg2); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiVector3D___mulnset____SWIG_0(void * jarg1, float jarg2) { - void * jresult ; - aiVector3t< float > *arg1 = (aiVector3t< float > *) 0 ; - float arg2 ; - aiVector3t< float > *result = 0 ; - - arg1 = (aiVector3t< float > *)jarg1; - arg2 = (float)jarg2; - result = (aiVector3t< float > *) &(arg1)->operator *=(arg2); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiVector3D___divnset__(void * jarg1, float jarg2) { - void * jresult ; - aiVector3t< float > *arg1 = (aiVector3t< float > *) 0 ; - float arg2 ; - aiVector3t< float > *result = 0 ; - - arg1 = (aiVector3t< float > *)jarg1; - arg2 = (float)jarg2; - result = (aiVector3t< float > *) &(arg1)->operator /=(arg2); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiVector3D___mulnset____SWIG_1(void * jarg1, void * jarg2) { - void * jresult ; - aiVector3t< float > *arg1 = (aiVector3t< float > *) 0 ; - aiMatrix3x3t< float > *arg2 = 0 ; - aiVector3t< float > *result = 0 ; - - arg1 = (aiVector3t< float > *)jarg1; - arg2 = (aiMatrix3x3t< float > *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiMatrix3x3t< float > const & type is null", 0); - return 0; - } - result = (aiVector3t< float > *) &(arg1)->operator *=((aiMatrix3x3t< float > const &)*arg2); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiVector3D___mulnset____SWIG_2(void * jarg1, void * jarg2) { - void * jresult ; - aiVector3t< float > *arg1 = (aiVector3t< float > *) 0 ; - aiMatrix4x4t< float > *arg2 = 0 ; - aiVector3t< float > *result = 0 ; - - arg1 = (aiVector3t< float > *)jarg1; - arg2 = (aiMatrix4x4t< float > *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiMatrix4x4t< float > const & type is null", 0); - return 0; - } - result = (aiVector3t< float > *) &(arg1)->operator *=((aiMatrix4x4t< float > const &)*arg2); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT float SWIGSTDCALL CSharp_aiVector3D___idx____SWIG_0(void * jarg1, unsigned int jarg2) { - float jresult ; - aiVector3t< float > *arg1 = (aiVector3t< float > *) 0 ; - unsigned int arg2 ; - float result; - - arg1 = (aiVector3t< float > *)jarg1; - arg2 = (unsigned int)jarg2; - result = (float)((aiVector3t< float > const *)arg1)->operator [](arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiVector3D___equal__(void * jarg1, void * jarg2) { - unsigned int jresult ; - aiVector3t< float > *arg1 = (aiVector3t< float > *) 0 ; - aiVector3t< float > *arg2 = 0 ; - bool result; - - arg1 = (aiVector3t< float > *)jarg1; - arg2 = (aiVector3t< float > *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiVector3t< float > const & type is null", 0); - return 0; - } - result = (bool)((aiVector3t< float > const *)arg1)->operator ==((aiVector3t< float > const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiVector3D___nequal__(void * jarg1, void * jarg2) { - unsigned int jresult ; - aiVector3t< float > *arg1 = (aiVector3t< float > *) 0 ; - aiVector3t< float > *arg2 = 0 ; - bool result; - - arg1 = (aiVector3t< float > *)jarg1; - arg2 = (aiVector3t< float > *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiVector3t< float > const & type is null", 0); - return 0; - } - result = (bool)((aiVector3t< float > const *)arg1)->operator !=((aiVector3t< float > const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiVector3D_Set(void * jarg1, float jarg2, float jarg3, float jarg4) { - aiVector3t< float > *arg1 = (aiVector3t< float > *) 0 ; - float arg2 ; - float arg3 ; - float arg4 ; - - arg1 = (aiVector3t< float > *)jarg1; - arg2 = (float)jarg2; - arg3 = (float)jarg3; - arg4 = (float)jarg4; - (arg1)->Set(arg2,arg3,arg4); -} - - -SWIGEXPORT float SWIGSTDCALL CSharp_aiVector3D_SquareLength(void * jarg1) { - float jresult ; - aiVector3t< float > *arg1 = (aiVector3t< float > *) 0 ; - float result; - - arg1 = (aiVector3t< float > *)jarg1; - result = (float)((aiVector3t< float > const *)arg1)->SquareLength(); - jresult = result; - return jresult; -} - - -SWIGEXPORT float SWIGSTDCALL CSharp_aiVector3D_Length(void * jarg1) { - float jresult ; - aiVector3t< float > *arg1 = (aiVector3t< float > *) 0 ; - float result; - - arg1 = (aiVector3t< float > *)jarg1; - result = (float)((aiVector3t< float > const *)arg1)->Length(); - jresult = result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiVector3D_Normalize(void * jarg1) { - void * jresult ; - aiVector3t< float > *arg1 = (aiVector3t< float > *) 0 ; - aiVector3t< float > *result = 0 ; - - arg1 = (aiVector3t< float > *)jarg1; - result = (aiVector3t< float > *) &(arg1)->Normalize(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiVector3D_SymMul(void * jarg1, void * jarg2) { - void * jresult ; - aiVector3t< float > *arg1 = (aiVector3t< float > *) 0 ; - aiVector3t< float > *arg2 = 0 ; - aiVector3t< float > result; - - arg1 = (aiVector3t< float > *)jarg1; - arg2 = (aiVector3t< float > *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiVector3t< float > const & type is null", 0); - return 0; - } - result = (arg1)->SymMul((aiVector3t< float > const &)*arg2); - jresult = new aiVector3t< float >((const aiVector3t< float > &)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiVector3D_x_set(void * jarg1, float jarg2) { - aiVector3t< float > *arg1 = (aiVector3t< float > *) 0 ; - float arg2 ; - - arg1 = (aiVector3t< float > *)jarg1; - arg2 = (float)jarg2; - if (arg1) (arg1)->x = arg2; -} - - -SWIGEXPORT float SWIGSTDCALL CSharp_aiVector3D_x_get(void * jarg1) { - float jresult ; - aiVector3t< float > *arg1 = (aiVector3t< float > *) 0 ; - float result; - - arg1 = (aiVector3t< float > *)jarg1; - result = (float) ((arg1)->x); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiVector3D_y_set(void * jarg1, float jarg2) { - aiVector3t< float > *arg1 = (aiVector3t< float > *) 0 ; - float arg2 ; - - arg1 = (aiVector3t< float > *)jarg1; - arg2 = (float)jarg2; - if (arg1) (arg1)->y = arg2; -} - - -SWIGEXPORT float SWIGSTDCALL CSharp_aiVector3D_y_get(void * jarg1) { - float jresult ; - aiVector3t< float > *arg1 = (aiVector3t< float > *) 0 ; - float result; - - arg1 = (aiVector3t< float > *)jarg1; - result = (float) ((arg1)->y); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiVector3D_z_set(void * jarg1, float jarg2) { - aiVector3t< float > *arg1 = (aiVector3t< float > *) 0 ; - float arg2 ; - - arg1 = (aiVector3t< float > *)jarg1; - arg2 = (float)jarg2; - if (arg1) (arg1)->z = arg2; -} - - -SWIGEXPORT float SWIGSTDCALL CSharp_aiVector3D_z_get(void * jarg1) { - float jresult ; - aiVector3t< float > *arg1 = (aiVector3t< float > *) 0 ; - float result; - - arg1 = (aiVector3t< float > *)jarg1; - result = (float) ((arg1)->z); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_aiVector3D(void * jarg1) { - aiVector3t< float > *arg1 = (aiVector3t< float > *) 0 ; - - arg1 = (aiVector3t< float > *)jarg1; - delete arg1; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiVector2D__SWIG_0() { - void * jresult ; - aiVector2t< float > *result = 0 ; - - result = (aiVector2t< float > *)new aiVector2t< float >(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiVector2D__SWIG_1(float jarg1, float jarg2) { - void * jresult ; - float arg1 ; - float arg2 ; - aiVector2t< float > *result = 0 ; - - arg1 = (float)jarg1; - arg2 = (float)jarg2; - result = (aiVector2t< float > *)new aiVector2t< float >(arg1,arg2); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiVector2D__SWIG_2(float jarg1) { - void * jresult ; - float arg1 ; - aiVector2t< float > *result = 0 ; - - arg1 = (float)jarg1; - result = (aiVector2t< float > *)new aiVector2t< float >(arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiVector2D__SWIG_3(void * jarg1) { - void * jresult ; - aiVector2t< float > *arg1 = 0 ; - aiVector2t< float > *result = 0 ; - - arg1 = (aiVector2t< float > *)jarg1; - if (!arg1) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiVector2t< float > const & type is null", 0); - return 0; - } - result = (aiVector2t< float > *)new aiVector2t< float >((aiVector2t< float > const &)*arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiVector2D_Set(void * jarg1, float jarg2, float jarg3) { - aiVector2t< float > *arg1 = (aiVector2t< float > *) 0 ; - float arg2 ; - float arg3 ; - - arg1 = (aiVector2t< float > *)jarg1; - arg2 = (float)jarg2; - arg3 = (float)jarg3; - (arg1)->Set(arg2,arg3); -} - - -SWIGEXPORT float SWIGSTDCALL CSharp_aiVector2D_SquareLength(void * jarg1) { - float jresult ; - aiVector2t< float > *arg1 = (aiVector2t< float > *) 0 ; - float result; - - arg1 = (aiVector2t< float > *)jarg1; - result = (float)((aiVector2t< float > const *)arg1)->SquareLength(); - jresult = result; - return jresult; -} - - -SWIGEXPORT float SWIGSTDCALL CSharp_aiVector2D_Length(void * jarg1) { - float jresult ; - aiVector2t< float > *arg1 = (aiVector2t< float > *) 0 ; - float result; - - arg1 = (aiVector2t< float > *)jarg1; - result = (float)((aiVector2t< float > const *)arg1)->Length(); - jresult = result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiVector2D_Normalize(void * jarg1) { - void * jresult ; - aiVector2t< float > *arg1 = (aiVector2t< float > *) 0 ; - aiVector2t< float > *result = 0 ; - - arg1 = (aiVector2t< float > *)jarg1; - result = (aiVector2t< float > *) &(arg1)->Normalize(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiVector2D___addnset__(void * jarg1, void * jarg2) { - void * jresult ; - aiVector2t< float > *arg1 = (aiVector2t< float > *) 0 ; - aiVector2t< float > *arg2 = 0 ; - aiVector2t< float > *result = 0 ; - - arg1 = (aiVector2t< float > *)jarg1; - arg2 = (aiVector2t< float > *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiVector2t< float > const & type is null", 0); - return 0; - } - result = (aiVector2t< float > *) &(arg1)->operator +=((aiVector2t< float > const &)*arg2); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiVector2D___subnset__(void * jarg1, void * jarg2) { - void * jresult ; - aiVector2t< float > *arg1 = (aiVector2t< float > *) 0 ; - aiVector2t< float > *arg2 = 0 ; - aiVector2t< float > *result = 0 ; - - arg1 = (aiVector2t< float > *)jarg1; - arg2 = (aiVector2t< float > *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiVector2t< float > const & type is null", 0); - return 0; - } - result = (aiVector2t< float > *) &(arg1)->operator -=((aiVector2t< float > const &)*arg2); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiVector2D___mulnset__(void * jarg1, float jarg2) { - void * jresult ; - aiVector2t< float > *arg1 = (aiVector2t< float > *) 0 ; - float arg2 ; - aiVector2t< float > *result = 0 ; - - arg1 = (aiVector2t< float > *)jarg1; - arg2 = (float)jarg2; - result = (aiVector2t< float > *) &(arg1)->operator *=(arg2); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiVector2D___divnset__(void * jarg1, float jarg2) { - void * jresult ; - aiVector2t< float > *arg1 = (aiVector2t< float > *) 0 ; - float arg2 ; - aiVector2t< float > *result = 0 ; - - arg1 = (aiVector2t< float > *)jarg1; - arg2 = (float)jarg2; - result = (aiVector2t< float > *) &(arg1)->operator /=(arg2); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT float SWIGSTDCALL CSharp_aiVector2D___idx____SWIG_0(void * jarg1, unsigned int jarg2) { - float jresult ; - aiVector2t< float > *arg1 = (aiVector2t< float > *) 0 ; - unsigned int arg2 ; - float result; - - arg1 = (aiVector2t< float > *)jarg1; - arg2 = (unsigned int)jarg2; - result = (float)((aiVector2t< float > const *)arg1)->operator [](arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiVector2D___equal__(void * jarg1, void * jarg2) { - unsigned int jresult ; - aiVector2t< float > *arg1 = (aiVector2t< float > *) 0 ; - aiVector2t< float > *arg2 = 0 ; - bool result; - - arg1 = (aiVector2t< float > *)jarg1; - arg2 = (aiVector2t< float > *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiVector2t< float > const & type is null", 0); - return 0; - } - result = (bool)((aiVector2t< float > const *)arg1)->operator ==((aiVector2t< float > const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiVector2D___nequal__(void * jarg1, void * jarg2) { - unsigned int jresult ; - aiVector2t< float > *arg1 = (aiVector2t< float > *) 0 ; - aiVector2t< float > *arg2 = 0 ; - bool result; - - arg1 = (aiVector2t< float > *)jarg1; - arg2 = (aiVector2t< float > *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiVector2t< float > const & type is null", 0); - return 0; - } - result = (bool)((aiVector2t< float > const *)arg1)->operator !=((aiVector2t< float > const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiVector2D___set__(void * jarg1, float jarg2) { - void * jresult ; - aiVector2t< float > *arg1 = (aiVector2t< float > *) 0 ; - float arg2 ; - aiVector2t< float > *result = 0 ; - - arg1 = (aiVector2t< float > *)jarg1; - arg2 = (float)jarg2; - result = (aiVector2t< float > *) &(arg1)->operator =(arg2); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiVector2D_SymMul(void * jarg1, void * jarg2) { - void * jresult ; - aiVector2t< float > *arg1 = (aiVector2t< float > *) 0 ; - aiVector2t< float > *arg2 = 0 ; - aiVector2t< float > result; - - arg1 = (aiVector2t< float > *)jarg1; - arg2 = (aiVector2t< float > *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiVector2t< float > const & type is null", 0); - return 0; - } - result = (arg1)->SymMul((aiVector2t< float > const &)*arg2); - jresult = new aiVector2t< float >((const aiVector2t< float > &)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiVector2D_x_set(void * jarg1, float jarg2) { - aiVector2t< float > *arg1 = (aiVector2t< float > *) 0 ; - float arg2 ; - - arg1 = (aiVector2t< float > *)jarg1; - arg2 = (float)jarg2; - if (arg1) (arg1)->x = arg2; -} - - -SWIGEXPORT float SWIGSTDCALL CSharp_aiVector2D_x_get(void * jarg1) { - float jresult ; - aiVector2t< float > *arg1 = (aiVector2t< float > *) 0 ; - float result; - - arg1 = (aiVector2t< float > *)jarg1; - result = (float) ((arg1)->x); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiVector2D_y_set(void * jarg1, float jarg2) { - aiVector2t< float > *arg1 = (aiVector2t< float > *) 0 ; - float arg2 ; - - arg1 = (aiVector2t< float > *)jarg1; - arg2 = (float)jarg2; - if (arg1) (arg1)->y = arg2; -} - - -SWIGEXPORT float SWIGSTDCALL CSharp_aiVector2D_y_get(void * jarg1) { - float jresult ; - aiVector2t< float > *arg1 = (aiVector2t< float > *) 0 ; - float result; - - arg1 = (aiVector2t< float > *)jarg1; - result = (float) ((arg1)->y); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_aiVector2D(void * jarg1) { - aiVector2t< float > *arg1 = (aiVector2t< float > *) 0 ; - - arg1 = (aiVector2t< float > *)jarg1; - delete arg1; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiQuaternion__SWIG_0() { - void * jresult ; - aiQuaterniont< float > *result = 0 ; - - result = (aiQuaterniont< float > *)new aiQuaterniont< float >(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiQuaternion__SWIG_1(float jarg1, float jarg2, float jarg3, float jarg4) { - void * jresult ; - float arg1 ; - float arg2 ; - float arg3 ; - float arg4 ; - aiQuaterniont< float > *result = 0 ; - - arg1 = (float)jarg1; - arg2 = (float)jarg2; - arg3 = (float)jarg3; - arg4 = (float)jarg4; - result = (aiQuaterniont< float > *)new aiQuaterniont< float >(arg1,arg2,arg3,arg4); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiQuaternion__SWIG_2(void * jarg1) { - void * jresult ; - aiMatrix3x3t< float > *arg1 = 0 ; - aiQuaterniont< float > *result = 0 ; - - arg1 = (aiMatrix3x3t< float > *)jarg1; - if (!arg1) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiMatrix3x3t< float > const & type is null", 0); - return 0; - } - result = (aiQuaterniont< float > *)new aiQuaterniont< float >((aiMatrix3x3t< float > const &)*arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiQuaternion__SWIG_3(float jarg1, float jarg2, float jarg3) { - void * jresult ; - float arg1 ; - float arg2 ; - float arg3 ; - aiQuaterniont< float > *result = 0 ; - - arg1 = (float)jarg1; - arg2 = (float)jarg2; - arg3 = (float)jarg3; - result = (aiQuaterniont< float > *)new aiQuaterniont< float >(arg1,arg2,arg3); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiQuaternion__SWIG_4(void * jarg1, float jarg2) { - void * jresult ; - aiVector3t< float > arg1 ; - float arg2 ; - aiVector3t< float > *argp1 ; - aiQuaterniont< float > *result = 0 ; - - argp1 = (aiVector3t< float > *)jarg1; - if (!argp1) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null aiVector3t< float >", 0); - return 0; - } - arg1 = *argp1; - arg2 = (float)jarg2; - result = (aiQuaterniont< float > *)new aiQuaterniont< float >(arg1,arg2); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiQuaternion__SWIG_5(void * jarg1) { - void * jresult ; - aiVector3t< float > arg1 ; - aiVector3t< float > *argp1 ; - aiQuaterniont< float > *result = 0 ; - - argp1 = (aiVector3t< float > *)jarg1; - if (!argp1) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null aiVector3t< float >", 0); - return 0; - } - arg1 = *argp1; - result = (aiQuaterniont< float > *)new aiQuaterniont< float >(arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiQuaternion_GetMatrix(void * jarg1) { - void * jresult ; - aiQuaterniont< float > *arg1 = (aiQuaterniont< float > *) 0 ; - aiMatrix3x3t< float > result; - - arg1 = (aiQuaterniont< float > *)jarg1; - result = ((aiQuaterniont< float > const *)arg1)->GetMatrix(); - jresult = new aiMatrix3x3t< float >((const aiMatrix3x3t< float > &)result); - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiQuaternion___equal__(void * jarg1, void * jarg2) { - unsigned int jresult ; - aiQuaterniont< float > *arg1 = (aiQuaterniont< float > *) 0 ; - aiQuaterniont< float > *arg2 = 0 ; - bool result; - - arg1 = (aiQuaterniont< float > *)jarg1; - arg2 = (aiQuaterniont< float > *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiQuaterniont< float > const & type is null", 0); - return 0; - } - result = (bool)((aiQuaterniont< float > const *)arg1)->operator ==((aiQuaterniont< float > const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiQuaternion___nequal__(void * jarg1, void * jarg2) { - unsigned int jresult ; - aiQuaterniont< float > *arg1 = (aiQuaterniont< float > *) 0 ; - aiQuaterniont< float > *arg2 = 0 ; - bool result; - - arg1 = (aiQuaterniont< float > *)jarg1; - arg2 = (aiQuaterniont< float > *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiQuaterniont< float > const & type is null", 0); - return 0; - } - result = (bool)((aiQuaterniont< float > const *)arg1)->operator !=((aiQuaterniont< float > const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiQuaternion_Normalize(void * jarg1) { - void * jresult ; - aiQuaterniont< float > *arg1 = (aiQuaterniont< float > *) 0 ; - aiQuaterniont< float > *result = 0 ; - - arg1 = (aiQuaterniont< float > *)jarg1; - result = (aiQuaterniont< float > *) &(arg1)->Normalize(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiQuaternion_Conjugate(void * jarg1) { - void * jresult ; - aiQuaterniont< float > *arg1 = (aiQuaterniont< float > *) 0 ; - aiQuaterniont< float > *result = 0 ; - - arg1 = (aiQuaterniont< float > *)jarg1; - result = (aiQuaterniont< float > *) &(arg1)->Conjugate(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiQuaternion_Rotate(void * jarg1, void * jarg2) { - void * jresult ; - aiQuaterniont< float > *arg1 = (aiQuaterniont< float > *) 0 ; - aiVector3t< float > *arg2 = 0 ; - aiVector3t< float > result; - - arg1 = (aiQuaterniont< float > *)jarg1; - arg2 = (aiVector3t< float > *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiVector3t< float > const & type is null", 0); - return 0; - } - result = (arg1)->Rotate((aiVector3t< float > const &)*arg2); - jresult = new aiVector3t< float >((const aiVector3t< float > &)result); - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiQuaternion___mul__(void * jarg1, void * jarg2) { - void * jresult ; - aiQuaterniont< float > *arg1 = (aiQuaterniont< float > *) 0 ; - aiQuaterniont< float > *arg2 = 0 ; - aiQuaterniont< float > result; - - arg1 = (aiQuaterniont< float > *)jarg1; - arg2 = (aiQuaterniont< float > *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiQuaterniont< float > const & type is null", 0); - return 0; - } - result = ((aiQuaterniont< float > const *)arg1)->operator *((aiQuaterniont< float > const &)*arg2); - jresult = new aiQuaterniont< float >((const aiQuaterniont< float > &)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiQuaternion_Interpolate(void * jarg1, void * jarg2, void * jarg3, float jarg4) { - aiQuaterniont< float > *arg1 = 0 ; - aiQuaterniont< float > *arg2 = 0 ; - aiQuaterniont< float > *arg3 = 0 ; - float arg4 ; - - arg1 = (aiQuaterniont< float > *)jarg1; - if (!arg1) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiQuaterniont< float > & type is null", 0); - return ; - } - arg2 = (aiQuaterniont< float > *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiQuaterniont< float > const & type is null", 0); - return ; - } - arg3 = (aiQuaterniont< float > *)jarg3; - if (!arg3) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiQuaterniont< float > const & type is null", 0); - return ; - } - arg4 = (float)jarg4; - aiQuaterniont< float >::SWIGTEMPLATEDISAMBIGUATOR Interpolate(*arg1,(aiQuaterniont< float > const &)*arg2,(aiQuaterniont< float > const &)*arg3,arg4); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiQuaternion_w_set(void * jarg1, float jarg2) { - aiQuaterniont< float > *arg1 = (aiQuaterniont< float > *) 0 ; - float arg2 ; - - arg1 = (aiQuaterniont< float > *)jarg1; - arg2 = (float)jarg2; - if (arg1) (arg1)->w = arg2; -} - - -SWIGEXPORT float SWIGSTDCALL CSharp_aiQuaternion_w_get(void * jarg1) { - float jresult ; - aiQuaterniont< float > *arg1 = (aiQuaterniont< float > *) 0 ; - float result; - - arg1 = (aiQuaterniont< float > *)jarg1; - result = (float) ((arg1)->w); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiQuaternion_x_set(void * jarg1, float jarg2) { - aiQuaterniont< float > *arg1 = (aiQuaterniont< float > *) 0 ; - float arg2 ; - - arg1 = (aiQuaterniont< float > *)jarg1; - arg2 = (float)jarg2; - if (arg1) (arg1)->x = arg2; -} - - -SWIGEXPORT float SWIGSTDCALL CSharp_aiQuaternion_x_get(void * jarg1) { - float jresult ; - aiQuaterniont< float > *arg1 = (aiQuaterniont< float > *) 0 ; - float result; - - arg1 = (aiQuaterniont< float > *)jarg1; - result = (float) ((arg1)->x); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiQuaternion_y_set(void * jarg1, float jarg2) { - aiQuaterniont< float > *arg1 = (aiQuaterniont< float > *) 0 ; - float arg2 ; - - arg1 = (aiQuaterniont< float > *)jarg1; - arg2 = (float)jarg2; - if (arg1) (arg1)->y = arg2; -} - - -SWIGEXPORT float SWIGSTDCALL CSharp_aiQuaternion_y_get(void * jarg1) { - float jresult ; - aiQuaterniont< float > *arg1 = (aiQuaterniont< float > *) 0 ; - float result; - - arg1 = (aiQuaterniont< float > *)jarg1; - result = (float) ((arg1)->y); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiQuaternion_z_set(void * jarg1, float jarg2) { - aiQuaterniont< float > *arg1 = (aiQuaterniont< float > *) 0 ; - float arg2 ; - - arg1 = (aiQuaterniont< float > *)jarg1; - arg2 = (float)jarg2; - if (arg1) (arg1)->z = arg2; -} - - -SWIGEXPORT float SWIGSTDCALL CSharp_aiQuaternion_z_get(void * jarg1) { - float jresult ; - aiQuaterniont< float > *arg1 = (aiQuaterniont< float > *) 0 ; - float result; - - arg1 = (aiQuaterniont< float > *)jarg1; - result = (float) ((arg1)->z); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_aiQuaternion(void * jarg1) { - aiQuaterniont< float > *arg1 = (aiQuaterniont< float > *) 0 ; - - arg1 = (aiQuaterniont< float > *)jarg1; - delete arg1; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiMatrix3x3__SWIG_0() { - void * jresult ; - aiMatrix3x3t< float > *result = 0 ; - - result = (aiMatrix3x3t< float > *)new aiMatrix3x3t< float >(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiMatrix3x3__SWIG_1(float jarg1, float jarg2, float jarg3, float jarg4, float jarg5, float jarg6, float jarg7, float jarg8, float jarg9) { - void * jresult ; - float arg1 ; - float arg2 ; - float arg3 ; - float arg4 ; - float arg5 ; - float arg6 ; - float arg7 ; - float arg8 ; - float arg9 ; - aiMatrix3x3t< float > *result = 0 ; - - arg1 = (float)jarg1; - arg2 = (float)jarg2; - arg3 = (float)jarg3; - arg4 = (float)jarg4; - arg5 = (float)jarg5; - arg6 = (float)jarg6; - arg7 = (float)jarg7; - arg8 = (float)jarg8; - arg9 = (float)jarg9; - result = (aiMatrix3x3t< float > *)new aiMatrix3x3t< float >(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiMatrix3x3___mulnset__(void * jarg1, void * jarg2) { - void * jresult ; - aiMatrix3x3t< float > *arg1 = (aiMatrix3x3t< float > *) 0 ; - aiMatrix3x3t< float > *arg2 = 0 ; - aiMatrix3x3t< float > *result = 0 ; - - arg1 = (aiMatrix3x3t< float > *)jarg1; - arg2 = (aiMatrix3x3t< float > *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiMatrix3x3t< float > const & type is null", 0); - return 0; - } - result = (aiMatrix3x3t< float > *) &(arg1)->operator *=((aiMatrix3x3t< float > const &)*arg2); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiMatrix3x3___mul__(void * jarg1, void * jarg2) { - void * jresult ; - aiMatrix3x3t< float > *arg1 = (aiMatrix3x3t< float > *) 0 ; - aiMatrix3x3t< float > *arg2 = 0 ; - aiMatrix3x3t< float > result; - - arg1 = (aiMatrix3x3t< float > *)jarg1; - arg2 = (aiMatrix3x3t< float > *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiMatrix3x3t< float > const & type is null", 0); - return 0; - } - result = ((aiMatrix3x3t< float > const *)arg1)->operator *((aiMatrix3x3t< float > const &)*arg2); - jresult = new aiMatrix3x3t< float >((const aiMatrix3x3t< float > &)result); - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiMatrix3x3___idx____SWIG_0(void * jarg1, unsigned int jarg2) { - void * jresult ; - aiMatrix3x3t< float > *arg1 = (aiMatrix3x3t< float > *) 0 ; - unsigned int arg2 ; - float *result = 0 ; - - arg1 = (aiMatrix3x3t< float > *)jarg1; - arg2 = (unsigned int)jarg2; - result = (float *)(arg1)->operator [](arg2); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiMatrix3x3___equal__(void * jarg1, void * jarg2) { - unsigned int jresult ; - aiMatrix3x3t< float > *arg1 = (aiMatrix3x3t< float > *) 0 ; - aiMatrix4x4t< float > arg2 ; - aiMatrix4x4t< float > const *argp2 ; - bool result; - - arg1 = (aiMatrix3x3t< float > *)jarg1; - argp2 = (aiMatrix4x4t< float > *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null aiMatrix4x4t< float > const", 0); - return 0; - } - arg2 = *argp2; - result = (bool)((aiMatrix3x3t< float > const *)arg1)->operator ==(arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiMatrix3x3___nequal__(void * jarg1, void * jarg2) { - unsigned int jresult ; - aiMatrix3x3t< float > *arg1 = (aiMatrix3x3t< float > *) 0 ; - aiMatrix4x4t< float > arg2 ; - aiMatrix4x4t< float > const *argp2 ; - bool result; - - arg1 = (aiMatrix3x3t< float > *)jarg1; - argp2 = (aiMatrix4x4t< float > *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null aiMatrix4x4t< float > const", 0); - return 0; - } - arg2 = *argp2; - result = (bool)((aiMatrix3x3t< float > const *)arg1)->operator !=(arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiMatrix3x3__SWIG_2(void * jarg1) { - void * jresult ; - aiMatrix4x4t< float > *arg1 = 0 ; - aiMatrix3x3t< float > *result = 0 ; - - arg1 = (aiMatrix4x4t< float > *)jarg1; - if (!arg1) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiMatrix4x4t< float > const & type is null", 0); - return 0; - } - result = (aiMatrix3x3t< float > *)new aiMatrix3x3t< float >((aiMatrix4x4t< float > const &)*arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiMatrix3x3_Transpose(void * jarg1) { - void * jresult ; - aiMatrix3x3t< float > *arg1 = (aiMatrix3x3t< float > *) 0 ; - aiMatrix3x3t< float > *result = 0 ; - - arg1 = (aiMatrix3x3t< float > *)jarg1; - result = (aiMatrix3x3t< float > *) &(arg1)->Transpose(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiMatrix3x3_Inverse(void * jarg1) { - void * jresult ; - aiMatrix3x3t< float > *arg1 = (aiMatrix3x3t< float > *) 0 ; - aiMatrix3x3t< float > *result = 0 ; - - arg1 = (aiMatrix3x3t< float > *)jarg1; - result = (aiMatrix3x3t< float > *) &(arg1)->Inverse(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT float SWIGSTDCALL CSharp_aiMatrix3x3_Determinant(void * jarg1) { - float jresult ; - aiMatrix3x3t< float > *arg1 = (aiMatrix3x3t< float > *) 0 ; - float result; - - arg1 = (aiMatrix3x3t< float > *)jarg1; - result = (float)((aiMatrix3x3t< float > const *)arg1)->Determinant(); - jresult = result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiMatrix3x3_RotationZ(float jarg1, void * jarg2) { - void * jresult ; - float arg1 ; - aiMatrix3x3t< float > *arg2 = 0 ; - aiMatrix3x3t< float > *result = 0 ; - - arg1 = (float)jarg1; - arg2 = (aiMatrix3x3t< float > *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiMatrix3x3t< float > & type is null", 0); - return 0; - } - result = (aiMatrix3x3t< float > *) &aiMatrix3x3t< float >::SWIGTEMPLATEDISAMBIGUATOR RotationZ(arg1,*arg2); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiMatrix3x3_Rotation(float jarg1, void * jarg2, void * jarg3) { - void * jresult ; - float arg1 ; - aiVector3t< float > *arg2 = 0 ; - aiMatrix3x3t< float > *arg3 = 0 ; - aiMatrix3x3t< float > *result = 0 ; - - arg1 = (float)jarg1; - arg2 = (aiVector3t< float > *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiVector3t< float > const & type is null", 0); - return 0; - } - arg3 = (aiMatrix3x3t< float > *)jarg3; - if (!arg3) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiMatrix3x3t< float > & type is null", 0); - return 0; - } - result = (aiMatrix3x3t< float > *) &aiMatrix3x3t< float >::SWIGTEMPLATEDISAMBIGUATOR Rotation(arg1,(aiVector3t< float > const &)*arg2,*arg3); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiMatrix3x3_Translation(void * jarg1, void * jarg2) { - void * jresult ; - aiVector2t< float > *arg1 = 0 ; - aiMatrix3x3t< float > *arg2 = 0 ; - aiMatrix3x3t< float > *result = 0 ; - - arg1 = (aiVector2t< float > *)jarg1; - if (!arg1) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiVector2t< float > const & type is null", 0); - return 0; - } - arg2 = (aiMatrix3x3t< float > *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiMatrix3x3t< float > & type is null", 0); - return 0; - } - result = (aiMatrix3x3t< float > *) &aiMatrix3x3t< float >::SWIGTEMPLATEDISAMBIGUATOR Translation((aiVector2t< float > const &)*arg1,*arg2); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiMatrix3x3_FromToMatrix(void * jarg1, void * jarg2, void * jarg3) { - void * jresult ; - aiVector3t< float > *arg1 = 0 ; - aiVector3t< float > *arg2 = 0 ; - aiMatrix3x3t< float > *arg3 = 0 ; - aiMatrix3x3t< float > *result = 0 ; - - arg1 = (aiVector3t< float > *)jarg1; - if (!arg1) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiVector3t< float > const & type is null", 0); - return 0; - } - arg2 = (aiVector3t< float > *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiVector3t< float > const & type is null", 0); - return 0; - } - arg3 = (aiMatrix3x3t< float > *)jarg3; - if (!arg3) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiMatrix3x3t< float > & type is null", 0); - return 0; - } - result = (aiMatrix3x3t< float > *) &aiMatrix3x3t< float >::SWIGTEMPLATEDISAMBIGUATOR FromToMatrix((aiVector3t< float > const &)*arg1,(aiVector3t< float > const &)*arg2,*arg3); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMatrix3x3_a1_set(void * jarg1, float jarg2) { - aiMatrix3x3t< float > *arg1 = (aiMatrix3x3t< float > *) 0 ; - float arg2 ; - - arg1 = (aiMatrix3x3t< float > *)jarg1; - arg2 = (float)jarg2; - if (arg1) (arg1)->a1 = arg2; -} - - -SWIGEXPORT float SWIGSTDCALL CSharp_aiMatrix3x3_a1_get(void * jarg1) { - float jresult ; - aiMatrix3x3t< float > *arg1 = (aiMatrix3x3t< float > *) 0 ; - float result; - - arg1 = (aiMatrix3x3t< float > *)jarg1; - result = (float) ((arg1)->a1); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMatrix3x3_a2_set(void * jarg1, float jarg2) { - aiMatrix3x3t< float > *arg1 = (aiMatrix3x3t< float > *) 0 ; - float arg2 ; - - arg1 = (aiMatrix3x3t< float > *)jarg1; - arg2 = (float)jarg2; - if (arg1) (arg1)->a2 = arg2; -} - - -SWIGEXPORT float SWIGSTDCALL CSharp_aiMatrix3x3_a2_get(void * jarg1) { - float jresult ; - aiMatrix3x3t< float > *arg1 = (aiMatrix3x3t< float > *) 0 ; - float result; - - arg1 = (aiMatrix3x3t< float > *)jarg1; - result = (float) ((arg1)->a2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMatrix3x3_a3_set(void * jarg1, float jarg2) { - aiMatrix3x3t< float > *arg1 = (aiMatrix3x3t< float > *) 0 ; - float arg2 ; - - arg1 = (aiMatrix3x3t< float > *)jarg1; - arg2 = (float)jarg2; - if (arg1) (arg1)->a3 = arg2; -} - - -SWIGEXPORT float SWIGSTDCALL CSharp_aiMatrix3x3_a3_get(void * jarg1) { - float jresult ; - aiMatrix3x3t< float > *arg1 = (aiMatrix3x3t< float > *) 0 ; - float result; - - arg1 = (aiMatrix3x3t< float > *)jarg1; - result = (float) ((arg1)->a3); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMatrix3x3_b1_set(void * jarg1, float jarg2) { - aiMatrix3x3t< float > *arg1 = (aiMatrix3x3t< float > *) 0 ; - float arg2 ; - - arg1 = (aiMatrix3x3t< float > *)jarg1; - arg2 = (float)jarg2; - if (arg1) (arg1)->b1 = arg2; -} - - -SWIGEXPORT float SWIGSTDCALL CSharp_aiMatrix3x3_b1_get(void * jarg1) { - float jresult ; - aiMatrix3x3t< float > *arg1 = (aiMatrix3x3t< float > *) 0 ; - float result; - - arg1 = (aiMatrix3x3t< float > *)jarg1; - result = (float) ((arg1)->b1); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMatrix3x3_b2_set(void * jarg1, float jarg2) { - aiMatrix3x3t< float > *arg1 = (aiMatrix3x3t< float > *) 0 ; - float arg2 ; - - arg1 = (aiMatrix3x3t< float > *)jarg1; - arg2 = (float)jarg2; - if (arg1) (arg1)->b2 = arg2; -} - - -SWIGEXPORT float SWIGSTDCALL CSharp_aiMatrix3x3_b2_get(void * jarg1) { - float jresult ; - aiMatrix3x3t< float > *arg1 = (aiMatrix3x3t< float > *) 0 ; - float result; - - arg1 = (aiMatrix3x3t< float > *)jarg1; - result = (float) ((arg1)->b2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMatrix3x3_b3_set(void * jarg1, float jarg2) { - aiMatrix3x3t< float > *arg1 = (aiMatrix3x3t< float > *) 0 ; - float arg2 ; - - arg1 = (aiMatrix3x3t< float > *)jarg1; - arg2 = (float)jarg2; - if (arg1) (arg1)->b3 = arg2; -} - - -SWIGEXPORT float SWIGSTDCALL CSharp_aiMatrix3x3_b3_get(void * jarg1) { - float jresult ; - aiMatrix3x3t< float > *arg1 = (aiMatrix3x3t< float > *) 0 ; - float result; - - arg1 = (aiMatrix3x3t< float > *)jarg1; - result = (float) ((arg1)->b3); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMatrix3x3_c1_set(void * jarg1, float jarg2) { - aiMatrix3x3t< float > *arg1 = (aiMatrix3x3t< float > *) 0 ; - float arg2 ; - - arg1 = (aiMatrix3x3t< float > *)jarg1; - arg2 = (float)jarg2; - if (arg1) (arg1)->c1 = arg2; -} - - -SWIGEXPORT float SWIGSTDCALL CSharp_aiMatrix3x3_c1_get(void * jarg1) { - float jresult ; - aiMatrix3x3t< float > *arg1 = (aiMatrix3x3t< float > *) 0 ; - float result; - - arg1 = (aiMatrix3x3t< float > *)jarg1; - result = (float) ((arg1)->c1); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMatrix3x3_c2_set(void * jarg1, float jarg2) { - aiMatrix3x3t< float > *arg1 = (aiMatrix3x3t< float > *) 0 ; - float arg2 ; - - arg1 = (aiMatrix3x3t< float > *)jarg1; - arg2 = (float)jarg2; - if (arg1) (arg1)->c2 = arg2; -} - - -SWIGEXPORT float SWIGSTDCALL CSharp_aiMatrix3x3_c2_get(void * jarg1) { - float jresult ; - aiMatrix3x3t< float > *arg1 = (aiMatrix3x3t< float > *) 0 ; - float result; - - arg1 = (aiMatrix3x3t< float > *)jarg1; - result = (float) ((arg1)->c2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMatrix3x3_c3_set(void * jarg1, float jarg2) { - aiMatrix3x3t< float > *arg1 = (aiMatrix3x3t< float > *) 0 ; - float arg2 ; - - arg1 = (aiMatrix3x3t< float > *)jarg1; - arg2 = (float)jarg2; - if (arg1) (arg1)->c3 = arg2; -} - - -SWIGEXPORT float SWIGSTDCALL CSharp_aiMatrix3x3_c3_get(void * jarg1) { - float jresult ; - aiMatrix3x3t< float > *arg1 = (aiMatrix3x3t< float > *) 0 ; - float result; - - arg1 = (aiMatrix3x3t< float > *)jarg1; - result = (float) ((arg1)->c3); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_aiMatrix3x3(void * jarg1) { - aiMatrix3x3t< float > *arg1 = (aiMatrix3x3t< float > *) 0 ; - - arg1 = (aiMatrix3x3t< float > *)jarg1; - delete arg1; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiMatrix4x4__SWIG_0() { - void * jresult ; - aiMatrix4x4t< float > *result = 0 ; - - result = (aiMatrix4x4t< float > *)new aiMatrix4x4t< float >(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiMatrix4x4__SWIG_1(float jarg1, float jarg2, float jarg3, float jarg4, float jarg5, float jarg6, float jarg7, float jarg8, float jarg9, float jarg10, float jarg11, float jarg12, float jarg13, float jarg14, float jarg15, float jarg16) { - void * jresult ; - 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 ; - aiMatrix4x4t< float > *result = 0 ; - - arg1 = (float)jarg1; - arg2 = (float)jarg2; - arg3 = (float)jarg3; - arg4 = (float)jarg4; - arg5 = (float)jarg5; - arg6 = (float)jarg6; - arg7 = (float)jarg7; - arg8 = (float)jarg8; - arg9 = (float)jarg9; - arg10 = (float)jarg10; - arg11 = (float)jarg11; - arg12 = (float)jarg12; - arg13 = (float)jarg13; - arg14 = (float)jarg14; - arg15 = (float)jarg15; - arg16 = (float)jarg16; - result = (aiMatrix4x4t< float > *)new aiMatrix4x4t< float >(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13,arg14,arg15,arg16); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiMatrix4x4__SWIG_2(void * jarg1) { - void * jresult ; - aiMatrix3x3t< float > *arg1 = 0 ; - aiMatrix4x4t< float > *result = 0 ; - - arg1 = (aiMatrix3x3t< float > *)jarg1; - if (!arg1) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiMatrix3x3t< float > const & type is null", 0); - return 0; - } - result = (aiMatrix4x4t< float > *)new aiMatrix4x4t< float >((aiMatrix3x3t< float > const &)*arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiMatrix4x4___idx____SWIG_0(void * jarg1, unsigned int jarg2) { - void * jresult ; - aiMatrix4x4t< float > *arg1 = (aiMatrix4x4t< float > *) 0 ; - unsigned int arg2 ; - float *result = 0 ; - - arg1 = (aiMatrix4x4t< float > *)jarg1; - arg2 = (unsigned int)jarg2; - result = (float *)(arg1)->operator [](arg2); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiMatrix4x4___equal__(void * jarg1, void * jarg2) { - unsigned int jresult ; - aiMatrix4x4t< float > *arg1 = (aiMatrix4x4t< float > *) 0 ; - aiMatrix4x4t< float > arg2 ; - aiMatrix4x4t< float > const *argp2 ; - bool result; - - arg1 = (aiMatrix4x4t< float > *)jarg1; - argp2 = (aiMatrix4x4t< float > *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null aiMatrix4x4t< float > const", 0); - return 0; - } - arg2 = *argp2; - result = (bool)((aiMatrix4x4t< float > const *)arg1)->operator ==(arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiMatrix4x4___nequal__(void * jarg1, void * jarg2) { - unsigned int jresult ; - aiMatrix4x4t< float > *arg1 = (aiMatrix4x4t< float > *) 0 ; - aiMatrix4x4t< float > arg2 ; - aiMatrix4x4t< float > const *argp2 ; - bool result; - - arg1 = (aiMatrix4x4t< float > *)jarg1; - argp2 = (aiMatrix4x4t< float > *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null aiMatrix4x4t< float > const", 0); - return 0; - } - arg2 = *argp2; - result = (bool)((aiMatrix4x4t< float > const *)arg1)->operator !=(arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiMatrix4x4___mulnset__(void * jarg1, void * jarg2) { - void * jresult ; - aiMatrix4x4t< float > *arg1 = (aiMatrix4x4t< float > *) 0 ; - aiMatrix4x4t< float > *arg2 = 0 ; - aiMatrix4x4t< float > *result = 0 ; - - arg1 = (aiMatrix4x4t< float > *)jarg1; - arg2 = (aiMatrix4x4t< float > *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiMatrix4x4t< float > const & type is null", 0); - return 0; - } - result = (aiMatrix4x4t< float > *) &(arg1)->operator *=((aiMatrix4x4t< float > const &)*arg2); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiMatrix4x4___mul__(void * jarg1, void * jarg2) { - void * jresult ; - aiMatrix4x4t< float > *arg1 = (aiMatrix4x4t< float > *) 0 ; - aiMatrix4x4t< float > *arg2 = 0 ; - aiMatrix4x4t< float > result; - - arg1 = (aiMatrix4x4t< float > *)jarg1; - arg2 = (aiMatrix4x4t< float > *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiMatrix4x4t< float > const & type is null", 0); - return 0; - } - result = ((aiMatrix4x4t< float > const *)arg1)->operator *((aiMatrix4x4t< float > const &)*arg2); - jresult = new aiMatrix4x4t< float >((const aiMatrix4x4t< float > &)result); - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiMatrix4x4_Transpose(void * jarg1) { - void * jresult ; - aiMatrix4x4t< float > *arg1 = (aiMatrix4x4t< float > *) 0 ; - aiMatrix4x4t< float > *result = 0 ; - - arg1 = (aiMatrix4x4t< float > *)jarg1; - result = (aiMatrix4x4t< float > *) &(arg1)->Transpose(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiMatrix4x4_Inverse(void * jarg1) { - void * jresult ; - aiMatrix4x4t< float > *arg1 = (aiMatrix4x4t< float > *) 0 ; - aiMatrix4x4t< float > *result = 0 ; - - arg1 = (aiMatrix4x4t< float > *)jarg1; - result = (aiMatrix4x4t< float > *) &(arg1)->Inverse(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT float SWIGSTDCALL CSharp_aiMatrix4x4_Determinant(void * jarg1) { - float jresult ; - aiMatrix4x4t< float > *arg1 = (aiMatrix4x4t< float > *) 0 ; - float result; - - arg1 = (aiMatrix4x4t< float > *)jarg1; - result = (float)((aiMatrix4x4t< float > const *)arg1)->Determinant(); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiMatrix4x4_IsIdentity(void * jarg1) { - unsigned int jresult ; - aiMatrix4x4t< float > *arg1 = (aiMatrix4x4t< float > *) 0 ; - bool result; - - arg1 = (aiMatrix4x4t< float > *)jarg1; - result = (bool)((aiMatrix4x4t< float > const *)arg1)->IsIdentity(); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMatrix4x4_Decompose(void * jarg1, void * jarg2, void * jarg3, void * jarg4) { - aiMatrix4x4t< float > *arg1 = (aiMatrix4x4t< float > *) 0 ; - aiVector3t< float > *arg2 = 0 ; - aiQuaterniont< float > *arg3 = 0 ; - aiVector3t< float > *arg4 = 0 ; - - arg1 = (aiMatrix4x4t< float > *)jarg1; - arg2 = (aiVector3t< float > *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiVector3t< float > & type is null", 0); - return ; - } - arg3 = (aiQuaterniont< float > *)jarg3; - if (!arg3) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiQuaterniont< float > & type is null", 0); - return ; - } - arg4 = (aiVector3t< float > *)jarg4; - if (!arg4) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiVector3t< float > & type is null", 0); - return ; - } - ((aiMatrix4x4t< float > const *)arg1)->Decompose(*arg2,*arg3,*arg4); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMatrix4x4_DecomposeNoScaling(void * jarg1, void * jarg2, void * jarg3) { - aiMatrix4x4t< float > *arg1 = (aiMatrix4x4t< float > *) 0 ; - aiQuaterniont< float > *arg2 = 0 ; - aiVector3t< float > *arg3 = 0 ; - - arg1 = (aiMatrix4x4t< float > *)jarg1; - arg2 = (aiQuaterniont< float > *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiQuaterniont< float > & type is null", 0); - return ; - } - arg3 = (aiVector3t< float > *)jarg3; - if (!arg3) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiVector3t< float > & type is null", 0); - return ; - } - ((aiMatrix4x4t< float > const *)arg1)->DecomposeNoScaling(*arg2,*arg3); -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiMatrix4x4_FromEulerAnglesXYZ__SWIG_0(void * jarg1, float jarg2, float jarg3, float jarg4) { - void * jresult ; - aiMatrix4x4t< float > *arg1 = (aiMatrix4x4t< float > *) 0 ; - float arg2 ; - float arg3 ; - float arg4 ; - aiMatrix4x4t< float > *result = 0 ; - - arg1 = (aiMatrix4x4t< float > *)jarg1; - arg2 = (float)jarg2; - arg3 = (float)jarg3; - arg4 = (float)jarg4; - result = (aiMatrix4x4t< float > *) &(arg1)->FromEulerAnglesXYZ(arg2,arg3,arg4); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiMatrix4x4_FromEulerAnglesXYZ__SWIG_1(void * jarg1, void * jarg2) { - void * jresult ; - aiMatrix4x4t< float > *arg1 = (aiMatrix4x4t< float > *) 0 ; - aiVector3t< float > *arg2 = 0 ; - aiMatrix4x4t< float > *result = 0 ; - - arg1 = (aiMatrix4x4t< float > *)jarg1; - arg2 = (aiVector3t< float > *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiVector3t< float > const & type is null", 0); - return 0; - } - result = (aiMatrix4x4t< float > *) &(arg1)->FromEulerAnglesXYZ((aiVector3t< float > const &)*arg2); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiMatrix4x4_RotationX(float jarg1, void * jarg2) { - void * jresult ; - float arg1 ; - aiMatrix4x4t< float > *arg2 = 0 ; - aiMatrix4x4t< float > *result = 0 ; - - arg1 = (float)jarg1; - arg2 = (aiMatrix4x4t< float > *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiMatrix4x4t< float > & type is null", 0); - return 0; - } - result = (aiMatrix4x4t< float > *) &aiMatrix4x4t< float >::SWIGTEMPLATEDISAMBIGUATOR RotationX(arg1,*arg2); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiMatrix4x4_RotationY(float jarg1, void * jarg2) { - void * jresult ; - float arg1 ; - aiMatrix4x4t< float > *arg2 = 0 ; - aiMatrix4x4t< float > *result = 0 ; - - arg1 = (float)jarg1; - arg2 = (aiMatrix4x4t< float > *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiMatrix4x4t< float > & type is null", 0); - return 0; - } - result = (aiMatrix4x4t< float > *) &aiMatrix4x4t< float >::SWIGTEMPLATEDISAMBIGUATOR RotationY(arg1,*arg2); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiMatrix4x4_RotationZ(float jarg1, void * jarg2) { - void * jresult ; - float arg1 ; - aiMatrix4x4t< float > *arg2 = 0 ; - aiMatrix4x4t< float > *result = 0 ; - - arg1 = (float)jarg1; - arg2 = (aiMatrix4x4t< float > *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiMatrix4x4t< float > & type is null", 0); - return 0; - } - result = (aiMatrix4x4t< float > *) &aiMatrix4x4t< float >::SWIGTEMPLATEDISAMBIGUATOR RotationZ(arg1,*arg2); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiMatrix4x4_Rotation(float jarg1, void * jarg2, void * jarg3) { - void * jresult ; - float arg1 ; - aiVector3t< float > *arg2 = 0 ; - aiMatrix4x4t< float > *arg3 = 0 ; - aiMatrix4x4t< float > *result = 0 ; - - arg1 = (float)jarg1; - arg2 = (aiVector3t< float > *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiVector3t< float > const & type is null", 0); - return 0; - } - arg3 = (aiMatrix4x4t< float > *)jarg3; - if (!arg3) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiMatrix4x4t< float > & type is null", 0); - return 0; - } - result = (aiMatrix4x4t< float > *) &aiMatrix4x4t< float >::SWIGTEMPLATEDISAMBIGUATOR Rotation(arg1,(aiVector3t< float > const &)*arg2,*arg3); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiMatrix4x4_Translation(void * jarg1, void * jarg2) { - void * jresult ; - aiVector3t< float > *arg1 = 0 ; - aiMatrix4x4t< float > *arg2 = 0 ; - aiMatrix4x4t< float > *result = 0 ; - - arg1 = (aiVector3t< float > *)jarg1; - if (!arg1) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiVector3t< float > const & type is null", 0); - return 0; - } - arg2 = (aiMatrix4x4t< float > *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiMatrix4x4t< float > & type is null", 0); - return 0; - } - result = (aiMatrix4x4t< float > *) &aiMatrix4x4t< float >::SWIGTEMPLATEDISAMBIGUATOR Translation((aiVector3t< float > const &)*arg1,*arg2); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiMatrix4x4_Scaling(void * jarg1, void * jarg2) { - void * jresult ; - aiVector3t< float > *arg1 = 0 ; - aiMatrix4x4t< float > *arg2 = 0 ; - aiMatrix4x4t< float > *result = 0 ; - - arg1 = (aiVector3t< float > *)jarg1; - if (!arg1) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiVector3t< float > const & type is null", 0); - return 0; - } - arg2 = (aiMatrix4x4t< float > *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiMatrix4x4t< float > & type is null", 0); - return 0; - } - result = (aiMatrix4x4t< float > *) &aiMatrix4x4t< float >::SWIGTEMPLATEDISAMBIGUATOR Scaling((aiVector3t< float > const &)*arg1,*arg2); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiMatrix4x4_FromToMatrix(void * jarg1, void * jarg2, void * jarg3) { - void * jresult ; - aiVector3t< float > *arg1 = 0 ; - aiVector3t< float > *arg2 = 0 ; - aiMatrix4x4t< float > *arg3 = 0 ; - aiMatrix4x4t< float > *result = 0 ; - - arg1 = (aiVector3t< float > *)jarg1; - if (!arg1) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiVector3t< float > const & type is null", 0); - return 0; - } - arg2 = (aiVector3t< float > *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiVector3t< float > const & type is null", 0); - return 0; - } - arg3 = (aiMatrix4x4t< float > *)jarg3; - if (!arg3) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "aiMatrix4x4t< float > & type is null", 0); - return 0; - } - result = (aiMatrix4x4t< float > *) &aiMatrix4x4t< float >::SWIGTEMPLATEDISAMBIGUATOR FromToMatrix((aiVector3t< float > const &)*arg1,(aiVector3t< float > const &)*arg2,*arg3); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMatrix4x4_a1_set(void * jarg1, float jarg2) { - aiMatrix4x4t< float > *arg1 = (aiMatrix4x4t< float > *) 0 ; - float arg2 ; - - arg1 = (aiMatrix4x4t< float > *)jarg1; - arg2 = (float)jarg2; - if (arg1) (arg1)->a1 = arg2; -} - - -SWIGEXPORT float SWIGSTDCALL CSharp_aiMatrix4x4_a1_get(void * jarg1) { - float jresult ; - aiMatrix4x4t< float > *arg1 = (aiMatrix4x4t< float > *) 0 ; - float result; - - arg1 = (aiMatrix4x4t< float > *)jarg1; - result = (float) ((arg1)->a1); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMatrix4x4_a2_set(void * jarg1, float jarg2) { - aiMatrix4x4t< float > *arg1 = (aiMatrix4x4t< float > *) 0 ; - float arg2 ; - - arg1 = (aiMatrix4x4t< float > *)jarg1; - arg2 = (float)jarg2; - if (arg1) (arg1)->a2 = arg2; -} - - -SWIGEXPORT float SWIGSTDCALL CSharp_aiMatrix4x4_a2_get(void * jarg1) { - float jresult ; - aiMatrix4x4t< float > *arg1 = (aiMatrix4x4t< float > *) 0 ; - float result; - - arg1 = (aiMatrix4x4t< float > *)jarg1; - result = (float) ((arg1)->a2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMatrix4x4_a3_set(void * jarg1, float jarg2) { - aiMatrix4x4t< float > *arg1 = (aiMatrix4x4t< float > *) 0 ; - float arg2 ; - - arg1 = (aiMatrix4x4t< float > *)jarg1; - arg2 = (float)jarg2; - if (arg1) (arg1)->a3 = arg2; -} - - -SWIGEXPORT float SWIGSTDCALL CSharp_aiMatrix4x4_a3_get(void * jarg1) { - float jresult ; - aiMatrix4x4t< float > *arg1 = (aiMatrix4x4t< float > *) 0 ; - float result; - - arg1 = (aiMatrix4x4t< float > *)jarg1; - result = (float) ((arg1)->a3); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMatrix4x4_a4_set(void * jarg1, float jarg2) { - aiMatrix4x4t< float > *arg1 = (aiMatrix4x4t< float > *) 0 ; - float arg2 ; - - arg1 = (aiMatrix4x4t< float > *)jarg1; - arg2 = (float)jarg2; - if (arg1) (arg1)->a4 = arg2; -} - - -SWIGEXPORT float SWIGSTDCALL CSharp_aiMatrix4x4_a4_get(void * jarg1) { - float jresult ; - aiMatrix4x4t< float > *arg1 = (aiMatrix4x4t< float > *) 0 ; - float result; - - arg1 = (aiMatrix4x4t< float > *)jarg1; - result = (float) ((arg1)->a4); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMatrix4x4_b1_set(void * jarg1, float jarg2) { - aiMatrix4x4t< float > *arg1 = (aiMatrix4x4t< float > *) 0 ; - float arg2 ; - - arg1 = (aiMatrix4x4t< float > *)jarg1; - arg2 = (float)jarg2; - if (arg1) (arg1)->b1 = arg2; -} - - -SWIGEXPORT float SWIGSTDCALL CSharp_aiMatrix4x4_b1_get(void * jarg1) { - float jresult ; - aiMatrix4x4t< float > *arg1 = (aiMatrix4x4t< float > *) 0 ; - float result; - - arg1 = (aiMatrix4x4t< float > *)jarg1; - result = (float) ((arg1)->b1); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMatrix4x4_b2_set(void * jarg1, float jarg2) { - aiMatrix4x4t< float > *arg1 = (aiMatrix4x4t< float > *) 0 ; - float arg2 ; - - arg1 = (aiMatrix4x4t< float > *)jarg1; - arg2 = (float)jarg2; - if (arg1) (arg1)->b2 = arg2; -} - - -SWIGEXPORT float SWIGSTDCALL CSharp_aiMatrix4x4_b2_get(void * jarg1) { - float jresult ; - aiMatrix4x4t< float > *arg1 = (aiMatrix4x4t< float > *) 0 ; - float result; - - arg1 = (aiMatrix4x4t< float > *)jarg1; - result = (float) ((arg1)->b2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMatrix4x4_b3_set(void * jarg1, float jarg2) { - aiMatrix4x4t< float > *arg1 = (aiMatrix4x4t< float > *) 0 ; - float arg2 ; - - arg1 = (aiMatrix4x4t< float > *)jarg1; - arg2 = (float)jarg2; - if (arg1) (arg1)->b3 = arg2; -} - - -SWIGEXPORT float SWIGSTDCALL CSharp_aiMatrix4x4_b3_get(void * jarg1) { - float jresult ; - aiMatrix4x4t< float > *arg1 = (aiMatrix4x4t< float > *) 0 ; - float result; - - arg1 = (aiMatrix4x4t< float > *)jarg1; - result = (float) ((arg1)->b3); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMatrix4x4_b4_set(void * jarg1, float jarg2) { - aiMatrix4x4t< float > *arg1 = (aiMatrix4x4t< float > *) 0 ; - float arg2 ; - - arg1 = (aiMatrix4x4t< float > *)jarg1; - arg2 = (float)jarg2; - if (arg1) (arg1)->b4 = arg2; -} - - -SWIGEXPORT float SWIGSTDCALL CSharp_aiMatrix4x4_b4_get(void * jarg1) { - float jresult ; - aiMatrix4x4t< float > *arg1 = (aiMatrix4x4t< float > *) 0 ; - float result; - - arg1 = (aiMatrix4x4t< float > *)jarg1; - result = (float) ((arg1)->b4); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMatrix4x4_c1_set(void * jarg1, float jarg2) { - aiMatrix4x4t< float > *arg1 = (aiMatrix4x4t< float > *) 0 ; - float arg2 ; - - arg1 = (aiMatrix4x4t< float > *)jarg1; - arg2 = (float)jarg2; - if (arg1) (arg1)->c1 = arg2; -} - - -SWIGEXPORT float SWIGSTDCALL CSharp_aiMatrix4x4_c1_get(void * jarg1) { - float jresult ; - aiMatrix4x4t< float > *arg1 = (aiMatrix4x4t< float > *) 0 ; - float result; - - arg1 = (aiMatrix4x4t< float > *)jarg1; - result = (float) ((arg1)->c1); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMatrix4x4_c2_set(void * jarg1, float jarg2) { - aiMatrix4x4t< float > *arg1 = (aiMatrix4x4t< float > *) 0 ; - float arg2 ; - - arg1 = (aiMatrix4x4t< float > *)jarg1; - arg2 = (float)jarg2; - if (arg1) (arg1)->c2 = arg2; -} - - -SWIGEXPORT float SWIGSTDCALL CSharp_aiMatrix4x4_c2_get(void * jarg1) { - float jresult ; - aiMatrix4x4t< float > *arg1 = (aiMatrix4x4t< float > *) 0 ; - float result; - - arg1 = (aiMatrix4x4t< float > *)jarg1; - result = (float) ((arg1)->c2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMatrix4x4_c3_set(void * jarg1, float jarg2) { - aiMatrix4x4t< float > *arg1 = (aiMatrix4x4t< float > *) 0 ; - float arg2 ; - - arg1 = (aiMatrix4x4t< float > *)jarg1; - arg2 = (float)jarg2; - if (arg1) (arg1)->c3 = arg2; -} - - -SWIGEXPORT float SWIGSTDCALL CSharp_aiMatrix4x4_c3_get(void * jarg1) { - float jresult ; - aiMatrix4x4t< float > *arg1 = (aiMatrix4x4t< float > *) 0 ; - float result; - - arg1 = (aiMatrix4x4t< float > *)jarg1; - result = (float) ((arg1)->c3); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMatrix4x4_c4_set(void * jarg1, float jarg2) { - aiMatrix4x4t< float > *arg1 = (aiMatrix4x4t< float > *) 0 ; - float arg2 ; - - arg1 = (aiMatrix4x4t< float > *)jarg1; - arg2 = (float)jarg2; - if (arg1) (arg1)->c4 = arg2; -} - - -SWIGEXPORT float SWIGSTDCALL CSharp_aiMatrix4x4_c4_get(void * jarg1) { - float jresult ; - aiMatrix4x4t< float > *arg1 = (aiMatrix4x4t< float > *) 0 ; - float result; - - arg1 = (aiMatrix4x4t< float > *)jarg1; - result = (float) ((arg1)->c4); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMatrix4x4_d1_set(void * jarg1, float jarg2) { - aiMatrix4x4t< float > *arg1 = (aiMatrix4x4t< float > *) 0 ; - float arg2 ; - - arg1 = (aiMatrix4x4t< float > *)jarg1; - arg2 = (float)jarg2; - if (arg1) (arg1)->d1 = arg2; -} - - -SWIGEXPORT float SWIGSTDCALL CSharp_aiMatrix4x4_d1_get(void * jarg1) { - float jresult ; - aiMatrix4x4t< float > *arg1 = (aiMatrix4x4t< float > *) 0 ; - float result; - - arg1 = (aiMatrix4x4t< float > *)jarg1; - result = (float) ((arg1)->d1); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMatrix4x4_d2_set(void * jarg1, float jarg2) { - aiMatrix4x4t< float > *arg1 = (aiMatrix4x4t< float > *) 0 ; - float arg2 ; - - arg1 = (aiMatrix4x4t< float > *)jarg1; - arg2 = (float)jarg2; - if (arg1) (arg1)->d2 = arg2; -} - - -SWIGEXPORT float SWIGSTDCALL CSharp_aiMatrix4x4_d2_get(void * jarg1) { - float jresult ; - aiMatrix4x4t< float > *arg1 = (aiMatrix4x4t< float > *) 0 ; - float result; - - arg1 = (aiMatrix4x4t< float > *)jarg1; - result = (float) ((arg1)->d2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMatrix4x4_d3_set(void * jarg1, float jarg2) { - aiMatrix4x4t< float > *arg1 = (aiMatrix4x4t< float > *) 0 ; - float arg2 ; - - arg1 = (aiMatrix4x4t< float > *)jarg1; - arg2 = (float)jarg2; - if (arg1) (arg1)->d3 = arg2; -} - - -SWIGEXPORT float SWIGSTDCALL CSharp_aiMatrix4x4_d3_get(void * jarg1) { - float jresult ; - aiMatrix4x4t< float > *arg1 = (aiMatrix4x4t< float > *) 0 ; - float result; - - arg1 = (aiMatrix4x4t< float > *)jarg1; - result = (float) ((arg1)->d3); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMatrix4x4_d4_set(void * jarg1, float jarg2) { - aiMatrix4x4t< float > *arg1 = (aiMatrix4x4t< float > *) 0 ; - float arg2 ; - - arg1 = (aiMatrix4x4t< float > *)jarg1; - arg2 = (float)jarg2; - if (arg1) (arg1)->d4 = arg2; -} - - -SWIGEXPORT float SWIGSTDCALL CSharp_aiMatrix4x4_d4_get(void * jarg1) { - float jresult ; - aiMatrix4x4t< float > *arg1 = (aiMatrix4x4t< float > *) 0 ; - float result; - - arg1 = (aiMatrix4x4t< float > *)jarg1; - result = (float) ((arg1)->d4); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_aiMatrix4x4(void * jarg1) { - aiMatrix4x4t< float > *arg1 = (aiMatrix4x4t< float > *) 0 ; - - arg1 = (aiMatrix4x4t< float > *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_FloatVector_Clear(void * jarg1) { - std::vector< float > *arg1 = (std::vector< float > *) 0 ; - - arg1 = (std::vector< float > *)jarg1; - (arg1)->clear(); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_FloatVector_Add(void * jarg1, float jarg2) { - std::vector< float > *arg1 = (std::vector< float > *) 0 ; - float *arg2 = 0 ; - float temp2 ; - - arg1 = (std::vector< float > *)jarg1; - temp2 = (float)jarg2; - arg2 = &temp2; - (arg1)->push_back((float const &)*arg2); -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FloatVector_size(void * jarg1) { - unsigned long jresult ; - std::vector< float > *arg1 = (std::vector< float > *) 0 ; - std::vector< float >::size_type result; - - arg1 = (std::vector< float > *)jarg1; - result = ((std::vector< float > const *)arg1)->size(); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FloatVector_capacity(void * jarg1) { - unsigned long jresult ; - std::vector< float > *arg1 = (std::vector< float > *) 0 ; - std::vector< float >::size_type result; - - arg1 = (std::vector< float > *)jarg1; - result = ((std::vector< float > const *)arg1)->capacity(); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_FloatVector_reserve(void * jarg1, unsigned long jarg2) { - std::vector< float > *arg1 = (std::vector< float > *) 0 ; - std::vector< float >::size_type arg2 ; - - arg1 = (std::vector< float > *)jarg1; - arg2 = (std::vector< float >::size_type)jarg2; - (arg1)->reserve(arg2); -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_FloatVector__SWIG_0() { - void * jresult ; - std::vector< float > *result = 0 ; - - result = (std::vector< float > *)new std::vector< float >(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_FloatVector__SWIG_1(void * jarg1) { - void * jresult ; - std::vector< float > *arg1 = 0 ; - std::vector< float > *result = 0 ; - - arg1 = (std::vector< float > *)jarg1; - if (!arg1) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< float > const & type is null", 0); - return 0; - } - result = (std::vector< float > *)new std::vector< float >((std::vector< float > const &)*arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_FloatVector__SWIG_2(int jarg1) { - void * jresult ; - int arg1 ; - std::vector< float > *result = 0 ; - - arg1 = (int)jarg1; - try { - result = (std::vector< float > *)new_std_vector_Sl_float_Sg___SWIG_2(arg1); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT float SWIGSTDCALL CSharp_FloatVector_getitemcopy(void * jarg1, int jarg2) { - float jresult ; - std::vector< float > *arg1 = (std::vector< float > *) 0 ; - int arg2 ; - float result; - - arg1 = (std::vector< float > *)jarg1; - arg2 = (int)jarg2; - try { - result = (float)std_vector_Sl_float_Sg__getitemcopy(arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = result; - return jresult; -} - - -SWIGEXPORT float SWIGSTDCALL CSharp_FloatVector_getitem(void * jarg1, int jarg2) { - float jresult ; - std::vector< float > *arg1 = (std::vector< float > *) 0 ; - int arg2 ; - float *result = 0 ; - - arg1 = (std::vector< float > *)jarg1; - arg2 = (int)jarg2; - try { - result = (float *) &std_vector_Sl_float_Sg__getitem(arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = *result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_FloatVector_setitem(void * jarg1, int jarg2, float jarg3) { - std::vector< float > *arg1 = (std::vector< float > *) 0 ; - int arg2 ; - float *arg3 = 0 ; - float temp3 ; - - arg1 = (std::vector< float > *)jarg1; - arg2 = (int)jarg2; - temp3 = (float)jarg3; - arg3 = &temp3; - try { - std_vector_Sl_float_Sg__setitem(arg1,arg2,(float const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_FloatVector_AddRange(void * jarg1, void * jarg2) { - std::vector< float > *arg1 = (std::vector< float > *) 0 ; - std::vector< float > *arg2 = 0 ; - - arg1 = (std::vector< float > *)jarg1; - arg2 = (std::vector< float > *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< float > const & type is null", 0); - return ; - } - std_vector_Sl_float_Sg__AddRange(arg1,(std::vector< float > const &)*arg2); -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_FloatVector_GetRange(void * jarg1, int jarg2, int jarg3) { - void * jresult ; - std::vector< float > *arg1 = (std::vector< float > *) 0 ; - int arg2 ; - int arg3 ; - std::vector< float > *result = 0 ; - - arg1 = (std::vector< float > *)jarg1; - arg2 = (int)jarg2; - arg3 = (int)jarg3; - try { - result = (std::vector< float > *)std_vector_Sl_float_Sg__GetRange(arg1,arg2,arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - catch(std::invalid_argument &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentException, (&_e)->what(), ""); - return 0; - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_FloatVector_Insert(void * jarg1, int jarg2, float jarg3) { - std::vector< float > *arg1 = (std::vector< float > *) 0 ; - int arg2 ; - float *arg3 = 0 ; - float temp3 ; - - arg1 = (std::vector< float > *)jarg1; - arg2 = (int)jarg2; - temp3 = (float)jarg3; - arg3 = &temp3; - try { - std_vector_Sl_float_Sg__Insert(arg1,arg2,(float const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_FloatVector_InsertRange(void * jarg1, int jarg2, void * jarg3) { - std::vector< float > *arg1 = (std::vector< float > *) 0 ; - int arg2 ; - std::vector< float > *arg3 = 0 ; - - arg1 = (std::vector< float > *)jarg1; - arg2 = (int)jarg2; - arg3 = (std::vector< float > *)jarg3; - if (!arg3) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< float > const & type is null", 0); - return ; - } - try { - std_vector_Sl_float_Sg__InsertRange(arg1,arg2,(std::vector< float > const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_FloatVector_RemoveAt(void * jarg1, int jarg2) { - std::vector< float > *arg1 = (std::vector< float > *) 0 ; - int arg2 ; - - arg1 = (std::vector< float > *)jarg1; - arg2 = (int)jarg2; - try { - std_vector_Sl_float_Sg__RemoveAt(arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_FloatVector_RemoveRange(void * jarg1, int jarg2, int jarg3) { - std::vector< float > *arg1 = (std::vector< float > *) 0 ; - int arg2 ; - int arg3 ; - - arg1 = (std::vector< float > *)jarg1; - arg2 = (int)jarg2; - arg3 = (int)jarg3; - try { - std_vector_Sl_float_Sg__RemoveRange(arg1,arg2,arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - catch(std::invalid_argument &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentException, (&_e)->what(), ""); - return ; - } - -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_FloatVector_Repeat(float jarg1, int jarg2) { - void * jresult ; - float *arg1 = 0 ; - int arg2 ; - float temp1 ; - std::vector< float > *result = 0 ; - - temp1 = (float)jarg1; - arg1 = &temp1; - arg2 = (int)jarg2; - try { - result = (std::vector< float > *)std_vector_Sl_float_Sg__Repeat((float const &)*arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_FloatVector_Reverse__SWIG_0(void * jarg1) { - std::vector< float > *arg1 = (std::vector< float > *) 0 ; - - arg1 = (std::vector< float > *)jarg1; - std_vector_Sl_float_Sg__Reverse__SWIG_0(arg1); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_FloatVector_Reverse__SWIG_1(void * jarg1, int jarg2, int jarg3) { - std::vector< float > *arg1 = (std::vector< float > *) 0 ; - int arg2 ; - int arg3 ; - - arg1 = (std::vector< float > *)jarg1; - arg2 = (int)jarg2; - arg3 = (int)jarg3; - try { - std_vector_Sl_float_Sg__Reverse__SWIG_1(arg1,arg2,arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - catch(std::invalid_argument &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentException, (&_e)->what(), ""); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_FloatVector_SetRange(void * jarg1, int jarg2, void * jarg3) { - std::vector< float > *arg1 = (std::vector< float > *) 0 ; - int arg2 ; - std::vector< float > *arg3 = 0 ; - - arg1 = (std::vector< float > *)jarg1; - arg2 = (int)jarg2; - arg3 = (std::vector< float > *)jarg3; - if (!arg3) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< float > const & type is null", 0); - return ; - } - try { - std_vector_Sl_float_Sg__SetRange(arg1,arg2,(std::vector< float > const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_FloatVector_Contains(void * jarg1, float jarg2) { - unsigned int jresult ; - std::vector< float > *arg1 = (std::vector< float > *) 0 ; - float *arg2 = 0 ; - float temp2 ; - bool result; - - arg1 = (std::vector< float > *)jarg1; - temp2 = (float)jarg2; - arg2 = &temp2; - result = (bool)std_vector_Sl_float_Sg__Contains(arg1,(float const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_FloatVector_IndexOf(void * jarg1, float jarg2) { - int jresult ; - std::vector< float > *arg1 = (std::vector< float > *) 0 ; - float *arg2 = 0 ; - float temp2 ; - int result; - - arg1 = (std::vector< float > *)jarg1; - temp2 = (float)jarg2; - arg2 = &temp2; - result = (int)std_vector_Sl_float_Sg__IndexOf(arg1,(float const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_FloatVector_LastIndexOf(void * jarg1, float jarg2) { - int jresult ; - std::vector< float > *arg1 = (std::vector< float > *) 0 ; - float *arg2 = 0 ; - float temp2 ; - int result; - - arg1 = (std::vector< float > *)jarg1; - temp2 = (float)jarg2; - arg2 = &temp2; - result = (int)std_vector_Sl_float_Sg__LastIndexOf(arg1,(float const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_FloatVector_Remove(void * jarg1, float jarg2) { - unsigned int jresult ; - std::vector< float > *arg1 = (std::vector< float > *) 0 ; - float *arg2 = 0 ; - float temp2 ; - bool result; - - arg1 = (std::vector< float > *)jarg1; - temp2 = (float)jarg2; - arg2 = &temp2; - result = (bool)std_vector_Sl_float_Sg__Remove(arg1,(float const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_FloatVector(void * jarg1) { - std::vector< float > *arg1 = (std::vector< float > *) 0 ; - - arg1 = (std::vector< float > *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_UintVector_Clear(void * jarg1) { - std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; - - arg1 = (std::vector< unsigned int > *)jarg1; - (arg1)->clear(); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_UintVector_Add(void * jarg1, unsigned int jarg2) { - std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; - unsigned int *arg2 = 0 ; - unsigned int temp2 ; - - arg1 = (std::vector< unsigned int > *)jarg1; - temp2 = (unsigned int)jarg2; - arg2 = &temp2; - (arg1)->push_back((unsigned int const &)*arg2); -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_UintVector_size(void * jarg1) { - unsigned long jresult ; - std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; - std::vector< unsigned int >::size_type result; - - arg1 = (std::vector< unsigned int > *)jarg1; - result = ((std::vector< unsigned int > const *)arg1)->size(); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_UintVector_capacity(void * jarg1) { - unsigned long jresult ; - std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; - std::vector< unsigned int >::size_type result; - - arg1 = (std::vector< unsigned int > *)jarg1; - result = ((std::vector< unsigned int > const *)arg1)->capacity(); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_UintVector_reserve(void * jarg1, unsigned long jarg2) { - std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; - std::vector< unsigned int >::size_type arg2 ; - - arg1 = (std::vector< unsigned int > *)jarg1; - arg2 = (std::vector< unsigned int >::size_type)jarg2; - (arg1)->reserve(arg2); -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_UintVector__SWIG_0() { - void * jresult ; - std::vector< unsigned int > *result = 0 ; - - result = (std::vector< unsigned int > *)new std::vector< unsigned int >(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_UintVector__SWIG_1(void * jarg1) { - void * jresult ; - std::vector< unsigned int > *arg1 = 0 ; - std::vector< unsigned int > *result = 0 ; - - arg1 = (std::vector< unsigned int > *)jarg1; - if (!arg1) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< unsigned int > const & type is null", 0); - return 0; - } - result = (std::vector< unsigned int > *)new std::vector< unsigned int >((std::vector< unsigned int > const &)*arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_UintVector__SWIG_2(int jarg1) { - void * jresult ; - int arg1 ; - std::vector< unsigned int > *result = 0 ; - - arg1 = (int)jarg1; - try { - result = (std::vector< unsigned int > *)new_std_vector_Sl_unsigned_SS_int_Sg___SWIG_2(arg1); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_UintVector_getitemcopy(void * jarg1, int jarg2) { - unsigned int jresult ; - std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; - int arg2 ; - unsigned int result; - - arg1 = (std::vector< unsigned int > *)jarg1; - arg2 = (int)jarg2; - try { - result = (unsigned int)std_vector_Sl_unsigned_SS_int_Sg__getitemcopy(arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_UintVector_getitem(void * jarg1, int jarg2) { - unsigned int jresult ; - std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; - int arg2 ; - unsigned int *result = 0 ; - - arg1 = (std::vector< unsigned int > *)jarg1; - arg2 = (int)jarg2; - try { - result = (unsigned int *) &std_vector_Sl_unsigned_SS_int_Sg__getitem(arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = *result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_UintVector_setitem(void * jarg1, int jarg2, unsigned int jarg3) { - std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; - int arg2 ; - unsigned int *arg3 = 0 ; - unsigned int temp3 ; - - arg1 = (std::vector< unsigned int > *)jarg1; - arg2 = (int)jarg2; - temp3 = (unsigned int)jarg3; - arg3 = &temp3; - try { - std_vector_Sl_unsigned_SS_int_Sg__setitem(arg1,arg2,(unsigned int const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_UintVector_AddRange(void * jarg1, void * jarg2) { - std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; - std::vector< unsigned int > *arg2 = 0 ; - - arg1 = (std::vector< unsigned int > *)jarg1; - arg2 = (std::vector< unsigned int > *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< unsigned int > const & type is null", 0); - return ; - } - std_vector_Sl_unsigned_SS_int_Sg__AddRange(arg1,(std::vector< unsigned int > const &)*arg2); -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_UintVector_GetRange(void * jarg1, int jarg2, int jarg3) { - void * jresult ; - std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; - int arg2 ; - int arg3 ; - std::vector< unsigned int > *result = 0 ; - - arg1 = (std::vector< unsigned int > *)jarg1; - arg2 = (int)jarg2; - arg3 = (int)jarg3; - try { - result = (std::vector< unsigned int > *)std_vector_Sl_unsigned_SS_int_Sg__GetRange(arg1,arg2,arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - catch(std::invalid_argument &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentException, (&_e)->what(), ""); - return 0; - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_UintVector_Insert(void * jarg1, int jarg2, unsigned int jarg3) { - std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; - int arg2 ; - unsigned int *arg3 = 0 ; - unsigned int temp3 ; - - arg1 = (std::vector< unsigned int > *)jarg1; - arg2 = (int)jarg2; - temp3 = (unsigned int)jarg3; - arg3 = &temp3; - try { - std_vector_Sl_unsigned_SS_int_Sg__Insert(arg1,arg2,(unsigned int const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_UintVector_InsertRange(void * jarg1, int jarg2, void * jarg3) { - std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; - int arg2 ; - std::vector< unsigned int > *arg3 = 0 ; - - arg1 = (std::vector< unsigned int > *)jarg1; - arg2 = (int)jarg2; - arg3 = (std::vector< unsigned int > *)jarg3; - if (!arg3) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< unsigned int > const & type is null", 0); - return ; - } - try { - std_vector_Sl_unsigned_SS_int_Sg__InsertRange(arg1,arg2,(std::vector< unsigned int > const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_UintVector_RemoveAt(void * jarg1, int jarg2) { - std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; - int arg2 ; - - arg1 = (std::vector< unsigned int > *)jarg1; - arg2 = (int)jarg2; - try { - std_vector_Sl_unsigned_SS_int_Sg__RemoveAt(arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_UintVector_RemoveRange(void * jarg1, int jarg2, int jarg3) { - std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; - int arg2 ; - int arg3 ; - - arg1 = (std::vector< unsigned int > *)jarg1; - arg2 = (int)jarg2; - arg3 = (int)jarg3; - try { - std_vector_Sl_unsigned_SS_int_Sg__RemoveRange(arg1,arg2,arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - catch(std::invalid_argument &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentException, (&_e)->what(), ""); - return ; - } - -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_UintVector_Repeat(unsigned int jarg1, int jarg2) { - void * jresult ; - unsigned int *arg1 = 0 ; - int arg2 ; - unsigned int temp1 ; - std::vector< unsigned int > *result = 0 ; - - temp1 = (unsigned int)jarg1; - arg1 = &temp1; - arg2 = (int)jarg2; - try { - result = (std::vector< unsigned int > *)std_vector_Sl_unsigned_SS_int_Sg__Repeat((unsigned int const &)*arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_UintVector_Reverse__SWIG_0(void * jarg1) { - std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; - - arg1 = (std::vector< unsigned int > *)jarg1; - std_vector_Sl_unsigned_SS_int_Sg__Reverse__SWIG_0(arg1); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_UintVector_Reverse__SWIG_1(void * jarg1, int jarg2, int jarg3) { - std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; - int arg2 ; - int arg3 ; - - arg1 = (std::vector< unsigned int > *)jarg1; - arg2 = (int)jarg2; - arg3 = (int)jarg3; - try { - std_vector_Sl_unsigned_SS_int_Sg__Reverse__SWIG_1(arg1,arg2,arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - catch(std::invalid_argument &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentException, (&_e)->what(), ""); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_UintVector_SetRange(void * jarg1, int jarg2, void * jarg3) { - std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; - int arg2 ; - std::vector< unsigned int > *arg3 = 0 ; - - arg1 = (std::vector< unsigned int > *)jarg1; - arg2 = (int)jarg2; - arg3 = (std::vector< unsigned int > *)jarg3; - if (!arg3) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< unsigned int > const & type is null", 0); - return ; - } - try { - std_vector_Sl_unsigned_SS_int_Sg__SetRange(arg1,arg2,(std::vector< unsigned int > const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_UintVector_Contains(void * jarg1, unsigned int jarg2) { - unsigned int jresult ; - std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; - unsigned int *arg2 = 0 ; - unsigned int temp2 ; - bool result; - - arg1 = (std::vector< unsigned int > *)jarg1; - temp2 = (unsigned int)jarg2; - arg2 = &temp2; - result = (bool)std_vector_Sl_unsigned_SS_int_Sg__Contains(arg1,(unsigned int const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_UintVector_IndexOf(void * jarg1, unsigned int jarg2) { - int jresult ; - std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; - unsigned int *arg2 = 0 ; - unsigned int temp2 ; - int result; - - arg1 = (std::vector< unsigned int > *)jarg1; - temp2 = (unsigned int)jarg2; - arg2 = &temp2; - result = (int)std_vector_Sl_unsigned_SS_int_Sg__IndexOf(arg1,(unsigned int const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_UintVector_LastIndexOf(void * jarg1, unsigned int jarg2) { - int jresult ; - std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; - unsigned int *arg2 = 0 ; - unsigned int temp2 ; - int result; - - arg1 = (std::vector< unsigned int > *)jarg1; - temp2 = (unsigned int)jarg2; - arg2 = &temp2; - result = (int)std_vector_Sl_unsigned_SS_int_Sg__LastIndexOf(arg1,(unsigned int const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_UintVector_Remove(void * jarg1, unsigned int jarg2) { - unsigned int jresult ; - std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; - unsigned int *arg2 = 0 ; - unsigned int temp2 ; - bool result; - - arg1 = (std::vector< unsigned int > *)jarg1; - temp2 = (unsigned int)jarg2; - arg2 = &temp2; - result = (bool)std_vector_Sl_unsigned_SS_int_Sg__Remove(arg1,(unsigned int const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_UintVector(void * jarg1) { - std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; - - arg1 = (std::vector< unsigned int > *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiAnimationVector_Clear(void * jarg1) { - std::vector< aiAnimation * > *arg1 = (std::vector< aiAnimation * > *) 0 ; - - arg1 = (std::vector< aiAnimation * > *)jarg1; - (arg1)->clear(); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiAnimationVector_Add(void * jarg1, void * jarg2) { - std::vector< aiAnimation * > *arg1 = (std::vector< aiAnimation * > *) 0 ; - aiAnimation **arg2 = 0 ; - aiAnimation *temp2 = 0 ; - - arg1 = (std::vector< aiAnimation * > *)jarg1; - temp2 = (aiAnimation *)jarg2; - arg2 = (aiAnimation **)&temp2; - (arg1)->push_back((aiAnimation *const &)*arg2); -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_aiAnimationVector_size(void * jarg1) { - unsigned long jresult ; - std::vector< aiAnimation * > *arg1 = (std::vector< aiAnimation * > *) 0 ; - std::vector< aiAnimation * >::size_type result; - - arg1 = (std::vector< aiAnimation * > *)jarg1; - result = ((std::vector< aiAnimation * > const *)arg1)->size(); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_aiAnimationVector_capacity(void * jarg1) { - unsigned long jresult ; - std::vector< aiAnimation * > *arg1 = (std::vector< aiAnimation * > *) 0 ; - std::vector< aiAnimation * >::size_type result; - - arg1 = (std::vector< aiAnimation * > *)jarg1; - result = ((std::vector< aiAnimation * > const *)arg1)->capacity(); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiAnimationVector_reserve(void * jarg1, unsigned long jarg2) { - std::vector< aiAnimation * > *arg1 = (std::vector< aiAnimation * > *) 0 ; - std::vector< aiAnimation * >::size_type arg2 ; - - arg1 = (std::vector< aiAnimation * > *)jarg1; - arg2 = (std::vector< aiAnimation * >::size_type)jarg2; - (arg1)->reserve(arg2); -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiAnimationVector__SWIG_0() { - void * jresult ; - std::vector< aiAnimation * > *result = 0 ; - - result = (std::vector< aiAnimation * > *)new std::vector< aiAnimation * >(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiAnimationVector__SWIG_1(void * jarg1) { - void * jresult ; - std::vector< aiAnimation * > *arg1 = 0 ; - std::vector< aiAnimation * > *result = 0 ; - - arg1 = (std::vector< aiAnimation * > *)jarg1; - if (!arg1) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< aiAnimation * > const & type is null", 0); - return 0; - } - result = (std::vector< aiAnimation * > *)new std::vector< aiAnimation * >((std::vector< aiAnimation * > const &)*arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiAnimationVector__SWIG_2(int jarg1) { - void * jresult ; - int arg1 ; - std::vector< aiAnimation * > *result = 0 ; - - arg1 = (int)jarg1; - try { - result = (std::vector< aiAnimation * > *)new_std_vector_Sl_aiAnimation_Sm__Sg___SWIG_2(arg1); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiAnimationVector_getitemcopy(void * jarg1, int jarg2) { - void * jresult ; - std::vector< aiAnimation * > *arg1 = (std::vector< aiAnimation * > *) 0 ; - int arg2 ; - aiAnimation *result = 0 ; - - arg1 = (std::vector< aiAnimation * > *)jarg1; - arg2 = (int)jarg2; - try { - result = (aiAnimation *)std_vector_Sl_aiAnimation_Sm__Sg__getitemcopy(arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiAnimationVector_getitem(void * jarg1, int jarg2) { - void * jresult ; - std::vector< aiAnimation * > *arg1 = (std::vector< aiAnimation * > *) 0 ; - int arg2 ; - aiAnimation **result = 0 ; - - arg1 = (std::vector< aiAnimation * > *)jarg1; - arg2 = (int)jarg2; - try { - result = (aiAnimation **) &std_vector_Sl_aiAnimation_Sm__Sg__getitem(arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = (void *)*result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiAnimationVector_setitem(void * jarg1, int jarg2, void * jarg3) { - std::vector< aiAnimation * > *arg1 = (std::vector< aiAnimation * > *) 0 ; - int arg2 ; - aiAnimation **arg3 = 0 ; - aiAnimation *temp3 = 0 ; - - arg1 = (std::vector< aiAnimation * > *)jarg1; - arg2 = (int)jarg2; - temp3 = (aiAnimation *)jarg3; - arg3 = (aiAnimation **)&temp3; - try { - std_vector_Sl_aiAnimation_Sm__Sg__setitem(arg1,arg2,(aiAnimation *const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiAnimationVector_AddRange(void * jarg1, void * jarg2) { - std::vector< aiAnimation * > *arg1 = (std::vector< aiAnimation * > *) 0 ; - std::vector< aiAnimation * > *arg2 = 0 ; - - arg1 = (std::vector< aiAnimation * > *)jarg1; - arg2 = (std::vector< aiAnimation * > *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< aiAnimation * > const & type is null", 0); - return ; - } - std_vector_Sl_aiAnimation_Sm__Sg__AddRange(arg1,(std::vector< aiAnimation * > const &)*arg2); -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiAnimationVector_GetRange(void * jarg1, int jarg2, int jarg3) { - void * jresult ; - std::vector< aiAnimation * > *arg1 = (std::vector< aiAnimation * > *) 0 ; - int arg2 ; - int arg3 ; - std::vector< aiAnimation * > *result = 0 ; - - arg1 = (std::vector< aiAnimation * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (int)jarg3; - try { - result = (std::vector< aiAnimation * > *)std_vector_Sl_aiAnimation_Sm__Sg__GetRange(arg1,arg2,arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - catch(std::invalid_argument &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentException, (&_e)->what(), ""); - return 0; - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiAnimationVector_Insert(void * jarg1, int jarg2, void * jarg3) { - std::vector< aiAnimation * > *arg1 = (std::vector< aiAnimation * > *) 0 ; - int arg2 ; - aiAnimation **arg3 = 0 ; - aiAnimation *temp3 = 0 ; - - arg1 = (std::vector< aiAnimation * > *)jarg1; - arg2 = (int)jarg2; - temp3 = (aiAnimation *)jarg3; - arg3 = (aiAnimation **)&temp3; - try { - std_vector_Sl_aiAnimation_Sm__Sg__Insert(arg1,arg2,(aiAnimation *const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiAnimationVector_InsertRange(void * jarg1, int jarg2, void * jarg3) { - std::vector< aiAnimation * > *arg1 = (std::vector< aiAnimation * > *) 0 ; - int arg2 ; - std::vector< aiAnimation * > *arg3 = 0 ; - - arg1 = (std::vector< aiAnimation * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (std::vector< aiAnimation * > *)jarg3; - if (!arg3) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< aiAnimation * > const & type is null", 0); - return ; - } - try { - std_vector_Sl_aiAnimation_Sm__Sg__InsertRange(arg1,arg2,(std::vector< aiAnimation * > const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiAnimationVector_RemoveAt(void * jarg1, int jarg2) { - std::vector< aiAnimation * > *arg1 = (std::vector< aiAnimation * > *) 0 ; - int arg2 ; - - arg1 = (std::vector< aiAnimation * > *)jarg1; - arg2 = (int)jarg2; - try { - std_vector_Sl_aiAnimation_Sm__Sg__RemoveAt(arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiAnimationVector_RemoveRange(void * jarg1, int jarg2, int jarg3) { - std::vector< aiAnimation * > *arg1 = (std::vector< aiAnimation * > *) 0 ; - int arg2 ; - int arg3 ; - - arg1 = (std::vector< aiAnimation * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (int)jarg3; - try { - std_vector_Sl_aiAnimation_Sm__Sg__RemoveRange(arg1,arg2,arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - catch(std::invalid_argument &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentException, (&_e)->what(), ""); - return ; - } - -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiAnimationVector_Repeat(void * jarg1, int jarg2) { - void * jresult ; - aiAnimation **arg1 = 0 ; - int arg2 ; - aiAnimation *temp1 = 0 ; - std::vector< aiAnimation * > *result = 0 ; - - temp1 = (aiAnimation *)jarg1; - arg1 = (aiAnimation **)&temp1; - arg2 = (int)jarg2; - try { - result = (std::vector< aiAnimation * > *)std_vector_Sl_aiAnimation_Sm__Sg__Repeat((aiAnimation *const &)*arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiAnimationVector_Reverse__SWIG_0(void * jarg1) { - std::vector< aiAnimation * > *arg1 = (std::vector< aiAnimation * > *) 0 ; - - arg1 = (std::vector< aiAnimation * > *)jarg1; - std_vector_Sl_aiAnimation_Sm__Sg__Reverse__SWIG_0(arg1); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiAnimationVector_Reverse__SWIG_1(void * jarg1, int jarg2, int jarg3) { - std::vector< aiAnimation * > *arg1 = (std::vector< aiAnimation * > *) 0 ; - int arg2 ; - int arg3 ; - - arg1 = (std::vector< aiAnimation * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (int)jarg3; - try { - std_vector_Sl_aiAnimation_Sm__Sg__Reverse__SWIG_1(arg1,arg2,arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - catch(std::invalid_argument &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentException, (&_e)->what(), ""); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiAnimationVector_SetRange(void * jarg1, int jarg2, void * jarg3) { - std::vector< aiAnimation * > *arg1 = (std::vector< aiAnimation * > *) 0 ; - int arg2 ; - std::vector< aiAnimation * > *arg3 = 0 ; - - arg1 = (std::vector< aiAnimation * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (std::vector< aiAnimation * > *)jarg3; - if (!arg3) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< aiAnimation * > const & type is null", 0); - return ; - } - try { - std_vector_Sl_aiAnimation_Sm__Sg__SetRange(arg1,arg2,(std::vector< aiAnimation * > const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiAnimationVector_Contains(void * jarg1, void * jarg2) { - unsigned int jresult ; - std::vector< aiAnimation * > *arg1 = (std::vector< aiAnimation * > *) 0 ; - aiAnimation **arg2 = 0 ; - aiAnimation *temp2 = 0 ; - bool result; - - arg1 = (std::vector< aiAnimation * > *)jarg1; - temp2 = (aiAnimation *)jarg2; - arg2 = (aiAnimation **)&temp2; - result = (bool)std_vector_Sl_aiAnimation_Sm__Sg__Contains(arg1,(aiAnimation *const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_aiAnimationVector_IndexOf(void * jarg1, void * jarg2) { - int jresult ; - std::vector< aiAnimation * > *arg1 = (std::vector< aiAnimation * > *) 0 ; - aiAnimation **arg2 = 0 ; - aiAnimation *temp2 = 0 ; - int result; - - arg1 = (std::vector< aiAnimation * > *)jarg1; - temp2 = (aiAnimation *)jarg2; - arg2 = (aiAnimation **)&temp2; - result = (int)std_vector_Sl_aiAnimation_Sm__Sg__IndexOf(arg1,(aiAnimation *const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_aiAnimationVector_LastIndexOf(void * jarg1, void * jarg2) { - int jresult ; - std::vector< aiAnimation * > *arg1 = (std::vector< aiAnimation * > *) 0 ; - aiAnimation **arg2 = 0 ; - aiAnimation *temp2 = 0 ; - int result; - - arg1 = (std::vector< aiAnimation * > *)jarg1; - temp2 = (aiAnimation *)jarg2; - arg2 = (aiAnimation **)&temp2; - result = (int)std_vector_Sl_aiAnimation_Sm__Sg__LastIndexOf(arg1,(aiAnimation *const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiAnimationVector_Remove(void * jarg1, void * jarg2) { - unsigned int jresult ; - std::vector< aiAnimation * > *arg1 = (std::vector< aiAnimation * > *) 0 ; - aiAnimation **arg2 = 0 ; - aiAnimation *temp2 = 0 ; - bool result; - - arg1 = (std::vector< aiAnimation * > *)jarg1; - temp2 = (aiAnimation *)jarg2; - arg2 = (aiAnimation **)&temp2; - result = (bool)std_vector_Sl_aiAnimation_Sm__Sg__Remove(arg1,(aiAnimation *const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_aiAnimationVector(void * jarg1) { - std::vector< aiAnimation * > *arg1 = (std::vector< aiAnimation * > *) 0 ; - - arg1 = (std::vector< aiAnimation * > *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiAnimMeshVector_Clear(void * jarg1) { - std::vector< aiAnimMesh * > *arg1 = (std::vector< aiAnimMesh * > *) 0 ; - - arg1 = (std::vector< aiAnimMesh * > *)jarg1; - (arg1)->clear(); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiAnimMeshVector_Add(void * jarg1, void * jarg2) { - std::vector< aiAnimMesh * > *arg1 = (std::vector< aiAnimMesh * > *) 0 ; - aiAnimMesh **arg2 = 0 ; - aiAnimMesh *temp2 = 0 ; - - arg1 = (std::vector< aiAnimMesh * > *)jarg1; - temp2 = (aiAnimMesh *)jarg2; - arg2 = (aiAnimMesh **)&temp2; - (arg1)->push_back((aiAnimMesh *const &)*arg2); -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_aiAnimMeshVector_size(void * jarg1) { - unsigned long jresult ; - std::vector< aiAnimMesh * > *arg1 = (std::vector< aiAnimMesh * > *) 0 ; - std::vector< aiAnimMesh * >::size_type result; - - arg1 = (std::vector< aiAnimMesh * > *)jarg1; - result = ((std::vector< aiAnimMesh * > const *)arg1)->size(); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_aiAnimMeshVector_capacity(void * jarg1) { - unsigned long jresult ; - std::vector< aiAnimMesh * > *arg1 = (std::vector< aiAnimMesh * > *) 0 ; - std::vector< aiAnimMesh * >::size_type result; - - arg1 = (std::vector< aiAnimMesh * > *)jarg1; - result = ((std::vector< aiAnimMesh * > const *)arg1)->capacity(); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiAnimMeshVector_reserve(void * jarg1, unsigned long jarg2) { - std::vector< aiAnimMesh * > *arg1 = (std::vector< aiAnimMesh * > *) 0 ; - std::vector< aiAnimMesh * >::size_type arg2 ; - - arg1 = (std::vector< aiAnimMesh * > *)jarg1; - arg2 = (std::vector< aiAnimMesh * >::size_type)jarg2; - (arg1)->reserve(arg2); -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiAnimMeshVector__SWIG_0() { - void * jresult ; - std::vector< aiAnimMesh * > *result = 0 ; - - result = (std::vector< aiAnimMesh * > *)new std::vector< aiAnimMesh * >(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiAnimMeshVector__SWIG_1(void * jarg1) { - void * jresult ; - std::vector< aiAnimMesh * > *arg1 = 0 ; - std::vector< aiAnimMesh * > *result = 0 ; - - arg1 = (std::vector< aiAnimMesh * > *)jarg1; - if (!arg1) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< aiAnimMesh * > const & type is null", 0); - return 0; - } - result = (std::vector< aiAnimMesh * > *)new std::vector< aiAnimMesh * >((std::vector< aiAnimMesh * > const &)*arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiAnimMeshVector__SWIG_2(int jarg1) { - void * jresult ; - int arg1 ; - std::vector< aiAnimMesh * > *result = 0 ; - - arg1 = (int)jarg1; - try { - result = (std::vector< aiAnimMesh * > *)new_std_vector_Sl_aiAnimMesh_Sm__Sg___SWIG_2(arg1); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiAnimMeshVector_getitemcopy(void * jarg1, int jarg2) { - void * jresult ; - std::vector< aiAnimMesh * > *arg1 = (std::vector< aiAnimMesh * > *) 0 ; - int arg2 ; - aiAnimMesh *result = 0 ; - - arg1 = (std::vector< aiAnimMesh * > *)jarg1; - arg2 = (int)jarg2; - try { - result = (aiAnimMesh *)std_vector_Sl_aiAnimMesh_Sm__Sg__getitemcopy(arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiAnimMeshVector_getitem(void * jarg1, int jarg2) { - void * jresult ; - std::vector< aiAnimMesh * > *arg1 = (std::vector< aiAnimMesh * > *) 0 ; - int arg2 ; - aiAnimMesh **result = 0 ; - - arg1 = (std::vector< aiAnimMesh * > *)jarg1; - arg2 = (int)jarg2; - try { - result = (aiAnimMesh **) &std_vector_Sl_aiAnimMesh_Sm__Sg__getitem(arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = (void *)*result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiAnimMeshVector_setitem(void * jarg1, int jarg2, void * jarg3) { - std::vector< aiAnimMesh * > *arg1 = (std::vector< aiAnimMesh * > *) 0 ; - int arg2 ; - aiAnimMesh **arg3 = 0 ; - aiAnimMesh *temp3 = 0 ; - - arg1 = (std::vector< aiAnimMesh * > *)jarg1; - arg2 = (int)jarg2; - temp3 = (aiAnimMesh *)jarg3; - arg3 = (aiAnimMesh **)&temp3; - try { - std_vector_Sl_aiAnimMesh_Sm__Sg__setitem(arg1,arg2,(aiAnimMesh *const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiAnimMeshVector_AddRange(void * jarg1, void * jarg2) { - std::vector< aiAnimMesh * > *arg1 = (std::vector< aiAnimMesh * > *) 0 ; - std::vector< aiAnimMesh * > *arg2 = 0 ; - - arg1 = (std::vector< aiAnimMesh * > *)jarg1; - arg2 = (std::vector< aiAnimMesh * > *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< aiAnimMesh * > const & type is null", 0); - return ; - } - std_vector_Sl_aiAnimMesh_Sm__Sg__AddRange(arg1,(std::vector< aiAnimMesh * > const &)*arg2); -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiAnimMeshVector_GetRange(void * jarg1, int jarg2, int jarg3) { - void * jresult ; - std::vector< aiAnimMesh * > *arg1 = (std::vector< aiAnimMesh * > *) 0 ; - int arg2 ; - int arg3 ; - std::vector< aiAnimMesh * > *result = 0 ; - - arg1 = (std::vector< aiAnimMesh * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (int)jarg3; - try { - result = (std::vector< aiAnimMesh * > *)std_vector_Sl_aiAnimMesh_Sm__Sg__GetRange(arg1,arg2,arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - catch(std::invalid_argument &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentException, (&_e)->what(), ""); - return 0; - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiAnimMeshVector_Insert(void * jarg1, int jarg2, void * jarg3) { - std::vector< aiAnimMesh * > *arg1 = (std::vector< aiAnimMesh * > *) 0 ; - int arg2 ; - aiAnimMesh **arg3 = 0 ; - aiAnimMesh *temp3 = 0 ; - - arg1 = (std::vector< aiAnimMesh * > *)jarg1; - arg2 = (int)jarg2; - temp3 = (aiAnimMesh *)jarg3; - arg3 = (aiAnimMesh **)&temp3; - try { - std_vector_Sl_aiAnimMesh_Sm__Sg__Insert(arg1,arg2,(aiAnimMesh *const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiAnimMeshVector_InsertRange(void * jarg1, int jarg2, void * jarg3) { - std::vector< aiAnimMesh * > *arg1 = (std::vector< aiAnimMesh * > *) 0 ; - int arg2 ; - std::vector< aiAnimMesh * > *arg3 = 0 ; - - arg1 = (std::vector< aiAnimMesh * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (std::vector< aiAnimMesh * > *)jarg3; - if (!arg3) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< aiAnimMesh * > const & type is null", 0); - return ; - } - try { - std_vector_Sl_aiAnimMesh_Sm__Sg__InsertRange(arg1,arg2,(std::vector< aiAnimMesh * > const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiAnimMeshVector_RemoveAt(void * jarg1, int jarg2) { - std::vector< aiAnimMesh * > *arg1 = (std::vector< aiAnimMesh * > *) 0 ; - int arg2 ; - - arg1 = (std::vector< aiAnimMesh * > *)jarg1; - arg2 = (int)jarg2; - try { - std_vector_Sl_aiAnimMesh_Sm__Sg__RemoveAt(arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiAnimMeshVector_RemoveRange(void * jarg1, int jarg2, int jarg3) { - std::vector< aiAnimMesh * > *arg1 = (std::vector< aiAnimMesh * > *) 0 ; - int arg2 ; - int arg3 ; - - arg1 = (std::vector< aiAnimMesh * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (int)jarg3; - try { - std_vector_Sl_aiAnimMesh_Sm__Sg__RemoveRange(arg1,arg2,arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - catch(std::invalid_argument &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentException, (&_e)->what(), ""); - return ; - } - -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiAnimMeshVector_Repeat(void * jarg1, int jarg2) { - void * jresult ; - aiAnimMesh **arg1 = 0 ; - int arg2 ; - aiAnimMesh *temp1 = 0 ; - std::vector< aiAnimMesh * > *result = 0 ; - - temp1 = (aiAnimMesh *)jarg1; - arg1 = (aiAnimMesh **)&temp1; - arg2 = (int)jarg2; - try { - result = (std::vector< aiAnimMesh * > *)std_vector_Sl_aiAnimMesh_Sm__Sg__Repeat((aiAnimMesh *const &)*arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiAnimMeshVector_Reverse__SWIG_0(void * jarg1) { - std::vector< aiAnimMesh * > *arg1 = (std::vector< aiAnimMesh * > *) 0 ; - - arg1 = (std::vector< aiAnimMesh * > *)jarg1; - std_vector_Sl_aiAnimMesh_Sm__Sg__Reverse__SWIG_0(arg1); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiAnimMeshVector_Reverse__SWIG_1(void * jarg1, int jarg2, int jarg3) { - std::vector< aiAnimMesh * > *arg1 = (std::vector< aiAnimMesh * > *) 0 ; - int arg2 ; - int arg3 ; - - arg1 = (std::vector< aiAnimMesh * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (int)jarg3; - try { - std_vector_Sl_aiAnimMesh_Sm__Sg__Reverse__SWIG_1(arg1,arg2,arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - catch(std::invalid_argument &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentException, (&_e)->what(), ""); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiAnimMeshVector_SetRange(void * jarg1, int jarg2, void * jarg3) { - std::vector< aiAnimMesh * > *arg1 = (std::vector< aiAnimMesh * > *) 0 ; - int arg2 ; - std::vector< aiAnimMesh * > *arg3 = 0 ; - - arg1 = (std::vector< aiAnimMesh * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (std::vector< aiAnimMesh * > *)jarg3; - if (!arg3) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< aiAnimMesh * > const & type is null", 0); - return ; - } - try { - std_vector_Sl_aiAnimMesh_Sm__Sg__SetRange(arg1,arg2,(std::vector< aiAnimMesh * > const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiAnimMeshVector_Contains(void * jarg1, void * jarg2) { - unsigned int jresult ; - std::vector< aiAnimMesh * > *arg1 = (std::vector< aiAnimMesh * > *) 0 ; - aiAnimMesh **arg2 = 0 ; - aiAnimMesh *temp2 = 0 ; - bool result; - - arg1 = (std::vector< aiAnimMesh * > *)jarg1; - temp2 = (aiAnimMesh *)jarg2; - arg2 = (aiAnimMesh **)&temp2; - result = (bool)std_vector_Sl_aiAnimMesh_Sm__Sg__Contains(arg1,(aiAnimMesh *const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_aiAnimMeshVector_IndexOf(void * jarg1, void * jarg2) { - int jresult ; - std::vector< aiAnimMesh * > *arg1 = (std::vector< aiAnimMesh * > *) 0 ; - aiAnimMesh **arg2 = 0 ; - aiAnimMesh *temp2 = 0 ; - int result; - - arg1 = (std::vector< aiAnimMesh * > *)jarg1; - temp2 = (aiAnimMesh *)jarg2; - arg2 = (aiAnimMesh **)&temp2; - result = (int)std_vector_Sl_aiAnimMesh_Sm__Sg__IndexOf(arg1,(aiAnimMesh *const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_aiAnimMeshVector_LastIndexOf(void * jarg1, void * jarg2) { - int jresult ; - std::vector< aiAnimMesh * > *arg1 = (std::vector< aiAnimMesh * > *) 0 ; - aiAnimMesh **arg2 = 0 ; - aiAnimMesh *temp2 = 0 ; - int result; - - arg1 = (std::vector< aiAnimMesh * > *)jarg1; - temp2 = (aiAnimMesh *)jarg2; - arg2 = (aiAnimMesh **)&temp2; - result = (int)std_vector_Sl_aiAnimMesh_Sm__Sg__LastIndexOf(arg1,(aiAnimMesh *const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiAnimMeshVector_Remove(void * jarg1, void * jarg2) { - unsigned int jresult ; - std::vector< aiAnimMesh * > *arg1 = (std::vector< aiAnimMesh * > *) 0 ; - aiAnimMesh **arg2 = 0 ; - aiAnimMesh *temp2 = 0 ; - bool result; - - arg1 = (std::vector< aiAnimMesh * > *)jarg1; - temp2 = (aiAnimMesh *)jarg2; - arg2 = (aiAnimMesh **)&temp2; - result = (bool)std_vector_Sl_aiAnimMesh_Sm__Sg__Remove(arg1,(aiAnimMesh *const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_aiAnimMeshVector(void * jarg1) { - std::vector< aiAnimMesh * > *arg1 = (std::vector< aiAnimMesh * > *) 0 ; - - arg1 = (std::vector< aiAnimMesh * > *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiBoneVector_Clear(void * jarg1) { - std::vector< aiBone * > *arg1 = (std::vector< aiBone * > *) 0 ; - - arg1 = (std::vector< aiBone * > *)jarg1; - (arg1)->clear(); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiBoneVector_Add(void * jarg1, void * jarg2) { - std::vector< aiBone * > *arg1 = (std::vector< aiBone * > *) 0 ; - aiBone **arg2 = 0 ; - aiBone *temp2 = 0 ; - - arg1 = (std::vector< aiBone * > *)jarg1; - temp2 = (aiBone *)jarg2; - arg2 = (aiBone **)&temp2; - (arg1)->push_back((aiBone *const &)*arg2); -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_aiBoneVector_size(void * jarg1) { - unsigned long jresult ; - std::vector< aiBone * > *arg1 = (std::vector< aiBone * > *) 0 ; - std::vector< aiBone * >::size_type result; - - arg1 = (std::vector< aiBone * > *)jarg1; - result = ((std::vector< aiBone * > const *)arg1)->size(); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_aiBoneVector_capacity(void * jarg1) { - unsigned long jresult ; - std::vector< aiBone * > *arg1 = (std::vector< aiBone * > *) 0 ; - std::vector< aiBone * >::size_type result; - - arg1 = (std::vector< aiBone * > *)jarg1; - result = ((std::vector< aiBone * > const *)arg1)->capacity(); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiBoneVector_reserve(void * jarg1, unsigned long jarg2) { - std::vector< aiBone * > *arg1 = (std::vector< aiBone * > *) 0 ; - std::vector< aiBone * >::size_type arg2 ; - - arg1 = (std::vector< aiBone * > *)jarg1; - arg2 = (std::vector< aiBone * >::size_type)jarg2; - (arg1)->reserve(arg2); -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiBoneVector__SWIG_0() { - void * jresult ; - std::vector< aiBone * > *result = 0 ; - - result = (std::vector< aiBone * > *)new std::vector< aiBone * >(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiBoneVector__SWIG_1(void * jarg1) { - void * jresult ; - std::vector< aiBone * > *arg1 = 0 ; - std::vector< aiBone * > *result = 0 ; - - arg1 = (std::vector< aiBone * > *)jarg1; - if (!arg1) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< aiBone * > const & type is null", 0); - return 0; - } - result = (std::vector< aiBone * > *)new std::vector< aiBone * >((std::vector< aiBone * > const &)*arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiBoneVector__SWIG_2(int jarg1) { - void * jresult ; - int arg1 ; - std::vector< aiBone * > *result = 0 ; - - arg1 = (int)jarg1; - try { - result = (std::vector< aiBone * > *)new_std_vector_Sl_aiBone_Sm__Sg___SWIG_2(arg1); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiBoneVector_getitemcopy(void * jarg1, int jarg2) { - void * jresult ; - std::vector< aiBone * > *arg1 = (std::vector< aiBone * > *) 0 ; - int arg2 ; - aiBone *result = 0 ; - - arg1 = (std::vector< aiBone * > *)jarg1; - arg2 = (int)jarg2; - try { - result = (aiBone *)std_vector_Sl_aiBone_Sm__Sg__getitemcopy(arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiBoneVector_getitem(void * jarg1, int jarg2) { - void * jresult ; - std::vector< aiBone * > *arg1 = (std::vector< aiBone * > *) 0 ; - int arg2 ; - aiBone **result = 0 ; - - arg1 = (std::vector< aiBone * > *)jarg1; - arg2 = (int)jarg2; - try { - result = (aiBone **) &std_vector_Sl_aiBone_Sm__Sg__getitem(arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = (void *)*result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiBoneVector_setitem(void * jarg1, int jarg2, void * jarg3) { - std::vector< aiBone * > *arg1 = (std::vector< aiBone * > *) 0 ; - int arg2 ; - aiBone **arg3 = 0 ; - aiBone *temp3 = 0 ; - - arg1 = (std::vector< aiBone * > *)jarg1; - arg2 = (int)jarg2; - temp3 = (aiBone *)jarg3; - arg3 = (aiBone **)&temp3; - try { - std_vector_Sl_aiBone_Sm__Sg__setitem(arg1,arg2,(aiBone *const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiBoneVector_AddRange(void * jarg1, void * jarg2) { - std::vector< aiBone * > *arg1 = (std::vector< aiBone * > *) 0 ; - std::vector< aiBone * > *arg2 = 0 ; - - arg1 = (std::vector< aiBone * > *)jarg1; - arg2 = (std::vector< aiBone * > *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< aiBone * > const & type is null", 0); - return ; - } - std_vector_Sl_aiBone_Sm__Sg__AddRange(arg1,(std::vector< aiBone * > const &)*arg2); -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiBoneVector_GetRange(void * jarg1, int jarg2, int jarg3) { - void * jresult ; - std::vector< aiBone * > *arg1 = (std::vector< aiBone * > *) 0 ; - int arg2 ; - int arg3 ; - std::vector< aiBone * > *result = 0 ; - - arg1 = (std::vector< aiBone * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (int)jarg3; - try { - result = (std::vector< aiBone * > *)std_vector_Sl_aiBone_Sm__Sg__GetRange(arg1,arg2,arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - catch(std::invalid_argument &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentException, (&_e)->what(), ""); - return 0; - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiBoneVector_Insert(void * jarg1, int jarg2, void * jarg3) { - std::vector< aiBone * > *arg1 = (std::vector< aiBone * > *) 0 ; - int arg2 ; - aiBone **arg3 = 0 ; - aiBone *temp3 = 0 ; - - arg1 = (std::vector< aiBone * > *)jarg1; - arg2 = (int)jarg2; - temp3 = (aiBone *)jarg3; - arg3 = (aiBone **)&temp3; - try { - std_vector_Sl_aiBone_Sm__Sg__Insert(arg1,arg2,(aiBone *const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiBoneVector_InsertRange(void * jarg1, int jarg2, void * jarg3) { - std::vector< aiBone * > *arg1 = (std::vector< aiBone * > *) 0 ; - int arg2 ; - std::vector< aiBone * > *arg3 = 0 ; - - arg1 = (std::vector< aiBone * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (std::vector< aiBone * > *)jarg3; - if (!arg3) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< aiBone * > const & type is null", 0); - return ; - } - try { - std_vector_Sl_aiBone_Sm__Sg__InsertRange(arg1,arg2,(std::vector< aiBone * > const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiBoneVector_RemoveAt(void * jarg1, int jarg2) { - std::vector< aiBone * > *arg1 = (std::vector< aiBone * > *) 0 ; - int arg2 ; - - arg1 = (std::vector< aiBone * > *)jarg1; - arg2 = (int)jarg2; - try { - std_vector_Sl_aiBone_Sm__Sg__RemoveAt(arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiBoneVector_RemoveRange(void * jarg1, int jarg2, int jarg3) { - std::vector< aiBone * > *arg1 = (std::vector< aiBone * > *) 0 ; - int arg2 ; - int arg3 ; - - arg1 = (std::vector< aiBone * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (int)jarg3; - try { - std_vector_Sl_aiBone_Sm__Sg__RemoveRange(arg1,arg2,arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - catch(std::invalid_argument &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentException, (&_e)->what(), ""); - return ; - } - -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiBoneVector_Repeat(void * jarg1, int jarg2) { - void * jresult ; - aiBone **arg1 = 0 ; - int arg2 ; - aiBone *temp1 = 0 ; - std::vector< aiBone * > *result = 0 ; - - temp1 = (aiBone *)jarg1; - arg1 = (aiBone **)&temp1; - arg2 = (int)jarg2; - try { - result = (std::vector< aiBone * > *)std_vector_Sl_aiBone_Sm__Sg__Repeat((aiBone *const &)*arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiBoneVector_Reverse__SWIG_0(void * jarg1) { - std::vector< aiBone * > *arg1 = (std::vector< aiBone * > *) 0 ; - - arg1 = (std::vector< aiBone * > *)jarg1; - std_vector_Sl_aiBone_Sm__Sg__Reverse__SWIG_0(arg1); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiBoneVector_Reverse__SWIG_1(void * jarg1, int jarg2, int jarg3) { - std::vector< aiBone * > *arg1 = (std::vector< aiBone * > *) 0 ; - int arg2 ; - int arg3 ; - - arg1 = (std::vector< aiBone * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (int)jarg3; - try { - std_vector_Sl_aiBone_Sm__Sg__Reverse__SWIG_1(arg1,arg2,arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - catch(std::invalid_argument &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentException, (&_e)->what(), ""); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiBoneVector_SetRange(void * jarg1, int jarg2, void * jarg3) { - std::vector< aiBone * > *arg1 = (std::vector< aiBone * > *) 0 ; - int arg2 ; - std::vector< aiBone * > *arg3 = 0 ; - - arg1 = (std::vector< aiBone * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (std::vector< aiBone * > *)jarg3; - if (!arg3) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< aiBone * > const & type is null", 0); - return ; - } - try { - std_vector_Sl_aiBone_Sm__Sg__SetRange(arg1,arg2,(std::vector< aiBone * > const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiBoneVector_Contains(void * jarg1, void * jarg2) { - unsigned int jresult ; - std::vector< aiBone * > *arg1 = (std::vector< aiBone * > *) 0 ; - aiBone **arg2 = 0 ; - aiBone *temp2 = 0 ; - bool result; - - arg1 = (std::vector< aiBone * > *)jarg1; - temp2 = (aiBone *)jarg2; - arg2 = (aiBone **)&temp2; - result = (bool)std_vector_Sl_aiBone_Sm__Sg__Contains(arg1,(aiBone *const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_aiBoneVector_IndexOf(void * jarg1, void * jarg2) { - int jresult ; - std::vector< aiBone * > *arg1 = (std::vector< aiBone * > *) 0 ; - aiBone **arg2 = 0 ; - aiBone *temp2 = 0 ; - int result; - - arg1 = (std::vector< aiBone * > *)jarg1; - temp2 = (aiBone *)jarg2; - arg2 = (aiBone **)&temp2; - result = (int)std_vector_Sl_aiBone_Sm__Sg__IndexOf(arg1,(aiBone *const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_aiBoneVector_LastIndexOf(void * jarg1, void * jarg2) { - int jresult ; - std::vector< aiBone * > *arg1 = (std::vector< aiBone * > *) 0 ; - aiBone **arg2 = 0 ; - aiBone *temp2 = 0 ; - int result; - - arg1 = (std::vector< aiBone * > *)jarg1; - temp2 = (aiBone *)jarg2; - arg2 = (aiBone **)&temp2; - result = (int)std_vector_Sl_aiBone_Sm__Sg__LastIndexOf(arg1,(aiBone *const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiBoneVector_Remove(void * jarg1, void * jarg2) { - unsigned int jresult ; - std::vector< aiBone * > *arg1 = (std::vector< aiBone * > *) 0 ; - aiBone **arg2 = 0 ; - aiBone *temp2 = 0 ; - bool result; - - arg1 = (std::vector< aiBone * > *)jarg1; - temp2 = (aiBone *)jarg2; - arg2 = (aiBone **)&temp2; - result = (bool)std_vector_Sl_aiBone_Sm__Sg__Remove(arg1,(aiBone *const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_aiBoneVector(void * jarg1) { - std::vector< aiBone * > *arg1 = (std::vector< aiBone * > *) 0 ; - - arg1 = (std::vector< aiBone * > *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiCameraVector_Clear(void * jarg1) { - std::vector< aiCamera * > *arg1 = (std::vector< aiCamera * > *) 0 ; - - arg1 = (std::vector< aiCamera * > *)jarg1; - (arg1)->clear(); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiCameraVector_Add(void * jarg1, void * jarg2) { - std::vector< aiCamera * > *arg1 = (std::vector< aiCamera * > *) 0 ; - aiCamera **arg2 = 0 ; - aiCamera *temp2 = 0 ; - - arg1 = (std::vector< aiCamera * > *)jarg1; - temp2 = (aiCamera *)jarg2; - arg2 = (aiCamera **)&temp2; - (arg1)->push_back((aiCamera *const &)*arg2); -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_aiCameraVector_size(void * jarg1) { - unsigned long jresult ; - std::vector< aiCamera * > *arg1 = (std::vector< aiCamera * > *) 0 ; - std::vector< aiCamera * >::size_type result; - - arg1 = (std::vector< aiCamera * > *)jarg1; - result = ((std::vector< aiCamera * > const *)arg1)->size(); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_aiCameraVector_capacity(void * jarg1) { - unsigned long jresult ; - std::vector< aiCamera * > *arg1 = (std::vector< aiCamera * > *) 0 ; - std::vector< aiCamera * >::size_type result; - - arg1 = (std::vector< aiCamera * > *)jarg1; - result = ((std::vector< aiCamera * > const *)arg1)->capacity(); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiCameraVector_reserve(void * jarg1, unsigned long jarg2) { - std::vector< aiCamera * > *arg1 = (std::vector< aiCamera * > *) 0 ; - std::vector< aiCamera * >::size_type arg2 ; - - arg1 = (std::vector< aiCamera * > *)jarg1; - arg2 = (std::vector< aiCamera * >::size_type)jarg2; - (arg1)->reserve(arg2); -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiCameraVector__SWIG_0() { - void * jresult ; - std::vector< aiCamera * > *result = 0 ; - - result = (std::vector< aiCamera * > *)new std::vector< aiCamera * >(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiCameraVector__SWIG_1(void * jarg1) { - void * jresult ; - std::vector< aiCamera * > *arg1 = 0 ; - std::vector< aiCamera * > *result = 0 ; - - arg1 = (std::vector< aiCamera * > *)jarg1; - if (!arg1) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< aiCamera * > const & type is null", 0); - return 0; - } - result = (std::vector< aiCamera * > *)new std::vector< aiCamera * >((std::vector< aiCamera * > const &)*arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiCameraVector__SWIG_2(int jarg1) { - void * jresult ; - int arg1 ; - std::vector< aiCamera * > *result = 0 ; - - arg1 = (int)jarg1; - try { - result = (std::vector< aiCamera * > *)new_std_vector_Sl_aiCamera_Sm__Sg___SWIG_2(arg1); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiCameraVector_getitemcopy(void * jarg1, int jarg2) { - void * jresult ; - std::vector< aiCamera * > *arg1 = (std::vector< aiCamera * > *) 0 ; - int arg2 ; - aiCamera *result = 0 ; - - arg1 = (std::vector< aiCamera * > *)jarg1; - arg2 = (int)jarg2; - try { - result = (aiCamera *)std_vector_Sl_aiCamera_Sm__Sg__getitemcopy(arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiCameraVector_getitem(void * jarg1, int jarg2) { - void * jresult ; - std::vector< aiCamera * > *arg1 = (std::vector< aiCamera * > *) 0 ; - int arg2 ; - aiCamera **result = 0 ; - - arg1 = (std::vector< aiCamera * > *)jarg1; - arg2 = (int)jarg2; - try { - result = (aiCamera **) &std_vector_Sl_aiCamera_Sm__Sg__getitem(arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = (void *)*result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiCameraVector_setitem(void * jarg1, int jarg2, void * jarg3) { - std::vector< aiCamera * > *arg1 = (std::vector< aiCamera * > *) 0 ; - int arg2 ; - aiCamera **arg3 = 0 ; - aiCamera *temp3 = 0 ; - - arg1 = (std::vector< aiCamera * > *)jarg1; - arg2 = (int)jarg2; - temp3 = (aiCamera *)jarg3; - arg3 = (aiCamera **)&temp3; - try { - std_vector_Sl_aiCamera_Sm__Sg__setitem(arg1,arg2,(aiCamera *const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiCameraVector_AddRange(void * jarg1, void * jarg2) { - std::vector< aiCamera * > *arg1 = (std::vector< aiCamera * > *) 0 ; - std::vector< aiCamera * > *arg2 = 0 ; - - arg1 = (std::vector< aiCamera * > *)jarg1; - arg2 = (std::vector< aiCamera * > *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< aiCamera * > const & type is null", 0); - return ; - } - std_vector_Sl_aiCamera_Sm__Sg__AddRange(arg1,(std::vector< aiCamera * > const &)*arg2); -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiCameraVector_GetRange(void * jarg1, int jarg2, int jarg3) { - void * jresult ; - std::vector< aiCamera * > *arg1 = (std::vector< aiCamera * > *) 0 ; - int arg2 ; - int arg3 ; - std::vector< aiCamera * > *result = 0 ; - - arg1 = (std::vector< aiCamera * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (int)jarg3; - try { - result = (std::vector< aiCamera * > *)std_vector_Sl_aiCamera_Sm__Sg__GetRange(arg1,arg2,arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - catch(std::invalid_argument &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentException, (&_e)->what(), ""); - return 0; - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiCameraVector_Insert(void * jarg1, int jarg2, void * jarg3) { - std::vector< aiCamera * > *arg1 = (std::vector< aiCamera * > *) 0 ; - int arg2 ; - aiCamera **arg3 = 0 ; - aiCamera *temp3 = 0 ; - - arg1 = (std::vector< aiCamera * > *)jarg1; - arg2 = (int)jarg2; - temp3 = (aiCamera *)jarg3; - arg3 = (aiCamera **)&temp3; - try { - std_vector_Sl_aiCamera_Sm__Sg__Insert(arg1,arg2,(aiCamera *const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiCameraVector_InsertRange(void * jarg1, int jarg2, void * jarg3) { - std::vector< aiCamera * > *arg1 = (std::vector< aiCamera * > *) 0 ; - int arg2 ; - std::vector< aiCamera * > *arg3 = 0 ; - - arg1 = (std::vector< aiCamera * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (std::vector< aiCamera * > *)jarg3; - if (!arg3) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< aiCamera * > const & type is null", 0); - return ; - } - try { - std_vector_Sl_aiCamera_Sm__Sg__InsertRange(arg1,arg2,(std::vector< aiCamera * > const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiCameraVector_RemoveAt(void * jarg1, int jarg2) { - std::vector< aiCamera * > *arg1 = (std::vector< aiCamera * > *) 0 ; - int arg2 ; - - arg1 = (std::vector< aiCamera * > *)jarg1; - arg2 = (int)jarg2; - try { - std_vector_Sl_aiCamera_Sm__Sg__RemoveAt(arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiCameraVector_RemoveRange(void * jarg1, int jarg2, int jarg3) { - std::vector< aiCamera * > *arg1 = (std::vector< aiCamera * > *) 0 ; - int arg2 ; - int arg3 ; - - arg1 = (std::vector< aiCamera * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (int)jarg3; - try { - std_vector_Sl_aiCamera_Sm__Sg__RemoveRange(arg1,arg2,arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - catch(std::invalid_argument &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentException, (&_e)->what(), ""); - return ; - } - -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiCameraVector_Repeat(void * jarg1, int jarg2) { - void * jresult ; - aiCamera **arg1 = 0 ; - int arg2 ; - aiCamera *temp1 = 0 ; - std::vector< aiCamera * > *result = 0 ; - - temp1 = (aiCamera *)jarg1; - arg1 = (aiCamera **)&temp1; - arg2 = (int)jarg2; - try { - result = (std::vector< aiCamera * > *)std_vector_Sl_aiCamera_Sm__Sg__Repeat((aiCamera *const &)*arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiCameraVector_Reverse__SWIG_0(void * jarg1) { - std::vector< aiCamera * > *arg1 = (std::vector< aiCamera * > *) 0 ; - - arg1 = (std::vector< aiCamera * > *)jarg1; - std_vector_Sl_aiCamera_Sm__Sg__Reverse__SWIG_0(arg1); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiCameraVector_Reverse__SWIG_1(void * jarg1, int jarg2, int jarg3) { - std::vector< aiCamera * > *arg1 = (std::vector< aiCamera * > *) 0 ; - int arg2 ; - int arg3 ; - - arg1 = (std::vector< aiCamera * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (int)jarg3; - try { - std_vector_Sl_aiCamera_Sm__Sg__Reverse__SWIG_1(arg1,arg2,arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - catch(std::invalid_argument &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentException, (&_e)->what(), ""); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiCameraVector_SetRange(void * jarg1, int jarg2, void * jarg3) { - std::vector< aiCamera * > *arg1 = (std::vector< aiCamera * > *) 0 ; - int arg2 ; - std::vector< aiCamera * > *arg3 = 0 ; - - arg1 = (std::vector< aiCamera * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (std::vector< aiCamera * > *)jarg3; - if (!arg3) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< aiCamera * > const & type is null", 0); - return ; - } - try { - std_vector_Sl_aiCamera_Sm__Sg__SetRange(arg1,arg2,(std::vector< aiCamera * > const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiCameraVector_Contains(void * jarg1, void * jarg2) { - unsigned int jresult ; - std::vector< aiCamera * > *arg1 = (std::vector< aiCamera * > *) 0 ; - aiCamera **arg2 = 0 ; - aiCamera *temp2 = 0 ; - bool result; - - arg1 = (std::vector< aiCamera * > *)jarg1; - temp2 = (aiCamera *)jarg2; - arg2 = (aiCamera **)&temp2; - result = (bool)std_vector_Sl_aiCamera_Sm__Sg__Contains(arg1,(aiCamera *const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_aiCameraVector_IndexOf(void * jarg1, void * jarg2) { - int jresult ; - std::vector< aiCamera * > *arg1 = (std::vector< aiCamera * > *) 0 ; - aiCamera **arg2 = 0 ; - aiCamera *temp2 = 0 ; - int result; - - arg1 = (std::vector< aiCamera * > *)jarg1; - temp2 = (aiCamera *)jarg2; - arg2 = (aiCamera **)&temp2; - result = (int)std_vector_Sl_aiCamera_Sm__Sg__IndexOf(arg1,(aiCamera *const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_aiCameraVector_LastIndexOf(void * jarg1, void * jarg2) { - int jresult ; - std::vector< aiCamera * > *arg1 = (std::vector< aiCamera * > *) 0 ; - aiCamera **arg2 = 0 ; - aiCamera *temp2 = 0 ; - int result; - - arg1 = (std::vector< aiCamera * > *)jarg1; - temp2 = (aiCamera *)jarg2; - arg2 = (aiCamera **)&temp2; - result = (int)std_vector_Sl_aiCamera_Sm__Sg__LastIndexOf(arg1,(aiCamera *const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiCameraVector_Remove(void * jarg1, void * jarg2) { - unsigned int jresult ; - std::vector< aiCamera * > *arg1 = (std::vector< aiCamera * > *) 0 ; - aiCamera **arg2 = 0 ; - aiCamera *temp2 = 0 ; - bool result; - - arg1 = (std::vector< aiCamera * > *)jarg1; - temp2 = (aiCamera *)jarg2; - arg2 = (aiCamera **)&temp2; - result = (bool)std_vector_Sl_aiCamera_Sm__Sg__Remove(arg1,(aiCamera *const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_aiCameraVector(void * jarg1) { - std::vector< aiCamera * > *arg1 = (std::vector< aiCamera * > *) 0 ; - - arg1 = (std::vector< aiCamera * > *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiColor4DVectorVector_Clear(void * jarg1) { - std::vector< std::vector< aiColor4D * > > *arg1 = (std::vector< std::vector< aiColor4D * > > *) 0 ; - - arg1 = (std::vector< std::vector< aiColor4D * > > *)jarg1; - (arg1)->clear(); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiColor4DVectorVector_Add(void * jarg1, void * jarg2) { - std::vector< std::vector< aiColor4D * > > *arg1 = (std::vector< std::vector< aiColor4D * > > *) 0 ; - std::vector< aiColor4t< float > * > *arg2 = 0 ; - - arg1 = (std::vector< std::vector< aiColor4D * > > *)jarg1; - arg2 = (std::vector< aiColor4t< float > * > *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< aiColor4t< float > * > const & type is null", 0); - return ; - } - (arg1)->push_back((std::vector< aiColor4t< float > * > const &)*arg2); -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_aiColor4DVectorVector_size(void * jarg1) { - unsigned long jresult ; - std::vector< std::vector< aiColor4D * > > *arg1 = (std::vector< std::vector< aiColor4D * > > *) 0 ; - std::vector< std::vector< aiColor4t< float > * > >::size_type result; - - arg1 = (std::vector< std::vector< aiColor4D * > > *)jarg1; - result = ((std::vector< std::vector< aiColor4D * > > const *)arg1)->size(); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_aiColor4DVectorVector_capacity(void * jarg1) { - unsigned long jresult ; - std::vector< std::vector< aiColor4D * > > *arg1 = (std::vector< std::vector< aiColor4D * > > *) 0 ; - std::vector< std::vector< aiColor4t< float > * > >::size_type result; - - arg1 = (std::vector< std::vector< aiColor4D * > > *)jarg1; - result = ((std::vector< std::vector< aiColor4D * > > const *)arg1)->capacity(); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiColor4DVectorVector_reserve(void * jarg1, unsigned long jarg2) { - std::vector< std::vector< aiColor4D * > > *arg1 = (std::vector< std::vector< aiColor4D * > > *) 0 ; - std::vector< std::vector< aiColor4t< float > * > >::size_type arg2 ; - - arg1 = (std::vector< std::vector< aiColor4D * > > *)jarg1; - arg2 = (std::vector< std::vector< aiColor4t< float > * > >::size_type)jarg2; - (arg1)->reserve(arg2); -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiColor4DVectorVector__SWIG_0() { - void * jresult ; - std::vector< std::vector< aiColor4D * > > *result = 0 ; - - result = (std::vector< std::vector< aiColor4D * > > *)new std::vector< std::vector< aiColor4D * > >(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiColor4DVectorVector__SWIG_1(void * jarg1) { - void * jresult ; - std::vector< std::vector< aiColor4D * > > *arg1 = 0 ; - std::vector< std::vector< aiColor4D * > > *result = 0 ; - - arg1 = (std::vector< std::vector< aiColor4D * > > *)jarg1; - if (!arg1) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< std::vector< aiColor4D * > > const & type is null", 0); - return 0; - } - result = (std::vector< std::vector< aiColor4D * > > *)new std::vector< std::vector< aiColor4D * > >((std::vector< std::vector< aiColor4D * > > const &)*arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiColor4DVectorVector__SWIG_2(int jarg1) { - void * jresult ; - int arg1 ; - std::vector< std::vector< aiColor4D * > > *result = 0 ; - - arg1 = (int)jarg1; - try { - result = (std::vector< std::vector< aiColor4D * > > *)new_std_vector_Sl_std_vector_Sl_aiColor4D_Sm__Sg__Sg___SWIG_2(arg1); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiColor4DVectorVector_getitemcopy(void * jarg1, int jarg2) { - void * jresult ; - std::vector< std::vector< aiColor4D * > > *arg1 = (std::vector< std::vector< aiColor4D * > > *) 0 ; - int arg2 ; - std::vector< aiColor4t< float > * > result; - - arg1 = (std::vector< std::vector< aiColor4D * > > *)jarg1; - arg2 = (int)jarg2; - try { - result = std_vector_Sl_std_vector_Sl_aiColor4D_Sm__Sg__Sg__getitemcopy(arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = new std::vector< aiColor4t< float > * >((const std::vector< aiColor4t< float > * > &)result); - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiColor4DVectorVector_getitem(void * jarg1, int jarg2) { - void * jresult ; - std::vector< std::vector< aiColor4D * > > *arg1 = (std::vector< std::vector< aiColor4D * > > *) 0 ; - int arg2 ; - std::vector< aiColor4t< float > * > *result = 0 ; - - arg1 = (std::vector< std::vector< aiColor4D * > > *)jarg1; - arg2 = (int)jarg2; - try { - result = (std::vector< aiColor4t< float > * > *) &std_vector_Sl_std_vector_Sl_aiColor4D_Sm__Sg__Sg__getitem(arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiColor4DVectorVector_setitem(void * jarg1, int jarg2, void * jarg3) { - std::vector< std::vector< aiColor4D * > > *arg1 = (std::vector< std::vector< aiColor4D * > > *) 0 ; - int arg2 ; - std::vector< aiColor4t< float > * > *arg3 = 0 ; - - arg1 = (std::vector< std::vector< aiColor4D * > > *)jarg1; - arg2 = (int)jarg2; - arg3 = (std::vector< aiColor4t< float > * > *)jarg3; - if (!arg3) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< aiColor4t< float > * > const & type is null", 0); - return ; - } - try { - std_vector_Sl_std_vector_Sl_aiColor4D_Sm__Sg__Sg__setitem(arg1,arg2,(std::vector< aiColor4t< float > * > const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiColor4DVectorVector_AddRange(void * jarg1, void * jarg2) { - std::vector< std::vector< aiColor4D * > > *arg1 = (std::vector< std::vector< aiColor4D * > > *) 0 ; - std::vector< std::vector< aiColor4t< float > * > > *arg2 = 0 ; - - arg1 = (std::vector< std::vector< aiColor4D * > > *)jarg1; - arg2 = (std::vector< std::vector< aiColor4t< float > * > > *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< std::vector< aiColor4t< float > * > > const & type is null", 0); - return ; - } - std_vector_Sl_std_vector_Sl_aiColor4D_Sm__Sg__Sg__AddRange(arg1,(std::vector< std::vector< aiColor4t< float > * > > const &)*arg2); -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiColor4DVectorVector_GetRange(void * jarg1, int jarg2, int jarg3) { - void * jresult ; - std::vector< std::vector< aiColor4D * > > *arg1 = (std::vector< std::vector< aiColor4D * > > *) 0 ; - int arg2 ; - int arg3 ; - std::vector< std::vector< aiColor4t< float > * > > *result = 0 ; - - arg1 = (std::vector< std::vector< aiColor4D * > > *)jarg1; - arg2 = (int)jarg2; - arg3 = (int)jarg3; - try { - result = (std::vector< std::vector< aiColor4t< float > * > > *)std_vector_Sl_std_vector_Sl_aiColor4D_Sm__Sg__Sg__GetRange(arg1,arg2,arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - catch(std::invalid_argument &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentException, (&_e)->what(), ""); - return 0; - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiColor4DVectorVector_Insert(void * jarg1, int jarg2, void * jarg3) { - std::vector< std::vector< aiColor4D * > > *arg1 = (std::vector< std::vector< aiColor4D * > > *) 0 ; - int arg2 ; - std::vector< aiColor4t< float > * > *arg3 = 0 ; - - arg1 = (std::vector< std::vector< aiColor4D * > > *)jarg1; - arg2 = (int)jarg2; - arg3 = (std::vector< aiColor4t< float > * > *)jarg3; - if (!arg3) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< aiColor4t< float > * > const & type is null", 0); - return ; - } - try { - std_vector_Sl_std_vector_Sl_aiColor4D_Sm__Sg__Sg__Insert(arg1,arg2,(std::vector< aiColor4t< float > * > const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiColor4DVectorVector_InsertRange(void * jarg1, int jarg2, void * jarg3) { - std::vector< std::vector< aiColor4D * > > *arg1 = (std::vector< std::vector< aiColor4D * > > *) 0 ; - int arg2 ; - std::vector< std::vector< aiColor4t< float > * > > *arg3 = 0 ; - - arg1 = (std::vector< std::vector< aiColor4D * > > *)jarg1; - arg2 = (int)jarg2; - arg3 = (std::vector< std::vector< aiColor4t< float > * > > *)jarg3; - if (!arg3) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< std::vector< aiColor4t< float > * > > const & type is null", 0); - return ; - } - try { - std_vector_Sl_std_vector_Sl_aiColor4D_Sm__Sg__Sg__InsertRange(arg1,arg2,(std::vector< std::vector< aiColor4t< float > * > > const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiColor4DVectorVector_RemoveAt(void * jarg1, int jarg2) { - std::vector< std::vector< aiColor4D * > > *arg1 = (std::vector< std::vector< aiColor4D * > > *) 0 ; - int arg2 ; - - arg1 = (std::vector< std::vector< aiColor4D * > > *)jarg1; - arg2 = (int)jarg2; - try { - std_vector_Sl_std_vector_Sl_aiColor4D_Sm__Sg__Sg__RemoveAt(arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiColor4DVectorVector_RemoveRange(void * jarg1, int jarg2, int jarg3) { - std::vector< std::vector< aiColor4D * > > *arg1 = (std::vector< std::vector< aiColor4D * > > *) 0 ; - int arg2 ; - int arg3 ; - - arg1 = (std::vector< std::vector< aiColor4D * > > *)jarg1; - arg2 = (int)jarg2; - arg3 = (int)jarg3; - try { - std_vector_Sl_std_vector_Sl_aiColor4D_Sm__Sg__Sg__RemoveRange(arg1,arg2,arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - catch(std::invalid_argument &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentException, (&_e)->what(), ""); - return ; - } - -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiColor4DVectorVector_Repeat(void * jarg1, int jarg2) { - void * jresult ; - std::vector< aiColor4t< float > * > *arg1 = 0 ; - int arg2 ; - std::vector< std::vector< aiColor4t< float > * > > *result = 0 ; - - arg1 = (std::vector< aiColor4t< float > * > *)jarg1; - if (!arg1) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< aiColor4t< float > * > const & type is null", 0); - return 0; - } - arg2 = (int)jarg2; - try { - result = (std::vector< std::vector< aiColor4t< float > * > > *)std_vector_Sl_std_vector_Sl_aiColor4D_Sm__Sg__Sg__Repeat((std::vector< aiColor4t< float > * > const &)*arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiColor4DVectorVector_Reverse__SWIG_0(void * jarg1) { - std::vector< std::vector< aiColor4D * > > *arg1 = (std::vector< std::vector< aiColor4D * > > *) 0 ; - - arg1 = (std::vector< std::vector< aiColor4D * > > *)jarg1; - std_vector_Sl_std_vector_Sl_aiColor4D_Sm__Sg__Sg__Reverse__SWIG_0(arg1); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiColor4DVectorVector_Reverse__SWIG_1(void * jarg1, int jarg2, int jarg3) { - std::vector< std::vector< aiColor4D * > > *arg1 = (std::vector< std::vector< aiColor4D * > > *) 0 ; - int arg2 ; - int arg3 ; - - arg1 = (std::vector< std::vector< aiColor4D * > > *)jarg1; - arg2 = (int)jarg2; - arg3 = (int)jarg3; - try { - std_vector_Sl_std_vector_Sl_aiColor4D_Sm__Sg__Sg__Reverse__SWIG_1(arg1,arg2,arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - catch(std::invalid_argument &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentException, (&_e)->what(), ""); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiColor4DVectorVector_SetRange(void * jarg1, int jarg2, void * jarg3) { - std::vector< std::vector< aiColor4D * > > *arg1 = (std::vector< std::vector< aiColor4D * > > *) 0 ; - int arg2 ; - std::vector< std::vector< aiColor4t< float > * > > *arg3 = 0 ; - - arg1 = (std::vector< std::vector< aiColor4D * > > *)jarg1; - arg2 = (int)jarg2; - arg3 = (std::vector< std::vector< aiColor4t< float > * > > *)jarg3; - if (!arg3) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< std::vector< aiColor4t< float > * > > const & type is null", 0); - return ; - } - try { - std_vector_Sl_std_vector_Sl_aiColor4D_Sm__Sg__Sg__SetRange(arg1,arg2,(std::vector< std::vector< aiColor4t< float > * > > const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_aiColor4DVectorVector(void * jarg1) { - std::vector< std::vector< aiColor4D * > > *arg1 = (std::vector< std::vector< aiColor4D * > > *) 0 ; - - arg1 = (std::vector< std::vector< aiColor4D * > > *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiColor4DVector_Clear(void * jarg1) { - std::vector< aiColor4D * > *arg1 = (std::vector< aiColor4D * > *) 0 ; - - arg1 = (std::vector< aiColor4D * > *)jarg1; - (arg1)->clear(); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiColor4DVector_Add(void * jarg1, void * jarg2) { - std::vector< aiColor4D * > *arg1 = (std::vector< aiColor4D * > *) 0 ; - aiColor4t< float > **arg2 = 0 ; - aiColor4t< float > *temp2 = 0 ; - - arg1 = (std::vector< aiColor4D * > *)jarg1; - temp2 = (aiColor4t< float > *)jarg2; - arg2 = (aiColor4t< float > **)&temp2; - (arg1)->push_back((aiColor4t< float > *const &)*arg2); -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_aiColor4DVector_size(void * jarg1) { - unsigned long jresult ; - std::vector< aiColor4D * > *arg1 = (std::vector< aiColor4D * > *) 0 ; - std::vector< aiColor4t< float > * >::size_type result; - - arg1 = (std::vector< aiColor4D * > *)jarg1; - result = ((std::vector< aiColor4D * > const *)arg1)->size(); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_aiColor4DVector_capacity(void * jarg1) { - unsigned long jresult ; - std::vector< aiColor4D * > *arg1 = (std::vector< aiColor4D * > *) 0 ; - std::vector< aiColor4t< float > * >::size_type result; - - arg1 = (std::vector< aiColor4D * > *)jarg1; - result = ((std::vector< aiColor4D * > const *)arg1)->capacity(); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiColor4DVector_reserve(void * jarg1, unsigned long jarg2) { - std::vector< aiColor4D * > *arg1 = (std::vector< aiColor4D * > *) 0 ; - std::vector< aiColor4t< float > * >::size_type arg2 ; - - arg1 = (std::vector< aiColor4D * > *)jarg1; - arg2 = (std::vector< aiColor4t< float > * >::size_type)jarg2; - (arg1)->reserve(arg2); -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiColor4DVector__SWIG_0() { - void * jresult ; - std::vector< aiColor4D * > *result = 0 ; - - result = (std::vector< aiColor4D * > *)new std::vector< aiColor4D * >(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiColor4DVector__SWIG_1(void * jarg1) { - void * jresult ; - std::vector< aiColor4D * > *arg1 = 0 ; - std::vector< aiColor4D * > *result = 0 ; - - arg1 = (std::vector< aiColor4D * > *)jarg1; - if (!arg1) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< aiColor4D * > const & type is null", 0); - return 0; - } - result = (std::vector< aiColor4D * > *)new std::vector< aiColor4D * >((std::vector< aiColor4D * > const &)*arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiColor4DVector__SWIG_2(int jarg1) { - void * jresult ; - int arg1 ; - std::vector< aiColor4D * > *result = 0 ; - - arg1 = (int)jarg1; - try { - result = (std::vector< aiColor4D * > *)new_std_vector_Sl_aiColor4D_Sm__Sg___SWIG_2(arg1); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiColor4DVector_getitemcopy(void * jarg1, int jarg2) { - void * jresult ; - std::vector< aiColor4D * > *arg1 = (std::vector< aiColor4D * > *) 0 ; - int arg2 ; - aiColor4t< float > *result = 0 ; - - arg1 = (std::vector< aiColor4D * > *)jarg1; - arg2 = (int)jarg2; - try { - result = (aiColor4t< float > *)std_vector_Sl_aiColor4D_Sm__Sg__getitemcopy(arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiColor4DVector_getitem(void * jarg1, int jarg2) { - void * jresult ; - std::vector< aiColor4D * > *arg1 = (std::vector< aiColor4D * > *) 0 ; - int arg2 ; - aiColor4t< float > **result = 0 ; - - arg1 = (std::vector< aiColor4D * > *)jarg1; - arg2 = (int)jarg2; - try { - result = (aiColor4t< float > **) &std_vector_Sl_aiColor4D_Sm__Sg__getitem(arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = (void *)*result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiColor4DVector_setitem(void * jarg1, int jarg2, void * jarg3) { - std::vector< aiColor4D * > *arg1 = (std::vector< aiColor4D * > *) 0 ; - int arg2 ; - aiColor4t< float > **arg3 = 0 ; - aiColor4t< float > *temp3 = 0 ; - - arg1 = (std::vector< aiColor4D * > *)jarg1; - arg2 = (int)jarg2; - temp3 = (aiColor4t< float > *)jarg3; - arg3 = (aiColor4t< float > **)&temp3; - try { - std_vector_Sl_aiColor4D_Sm__Sg__setitem(arg1,arg2,(aiColor4t< float > *const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiColor4DVector_AddRange(void * jarg1, void * jarg2) { - std::vector< aiColor4D * > *arg1 = (std::vector< aiColor4D * > *) 0 ; - std::vector< aiColor4t< float > * > *arg2 = 0 ; - - arg1 = (std::vector< aiColor4D * > *)jarg1; - arg2 = (std::vector< aiColor4t< float > * > *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< aiColor4t< float > * > const & type is null", 0); - return ; - } - std_vector_Sl_aiColor4D_Sm__Sg__AddRange(arg1,(std::vector< aiColor4t< float > * > const &)*arg2); -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiColor4DVector_GetRange(void * jarg1, int jarg2, int jarg3) { - void * jresult ; - std::vector< aiColor4D * > *arg1 = (std::vector< aiColor4D * > *) 0 ; - int arg2 ; - int arg3 ; - std::vector< aiColor4t< float > * > *result = 0 ; - - arg1 = (std::vector< aiColor4D * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (int)jarg3; - try { - result = (std::vector< aiColor4t< float > * > *)std_vector_Sl_aiColor4D_Sm__Sg__GetRange(arg1,arg2,arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - catch(std::invalid_argument &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentException, (&_e)->what(), ""); - return 0; - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiColor4DVector_Insert(void * jarg1, int jarg2, void * jarg3) { - std::vector< aiColor4D * > *arg1 = (std::vector< aiColor4D * > *) 0 ; - int arg2 ; - aiColor4t< float > **arg3 = 0 ; - aiColor4t< float > *temp3 = 0 ; - - arg1 = (std::vector< aiColor4D * > *)jarg1; - arg2 = (int)jarg2; - temp3 = (aiColor4t< float > *)jarg3; - arg3 = (aiColor4t< float > **)&temp3; - try { - std_vector_Sl_aiColor4D_Sm__Sg__Insert(arg1,arg2,(aiColor4t< float > *const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiColor4DVector_InsertRange(void * jarg1, int jarg2, void * jarg3) { - std::vector< aiColor4D * > *arg1 = (std::vector< aiColor4D * > *) 0 ; - int arg2 ; - std::vector< aiColor4t< float > * > *arg3 = 0 ; - - arg1 = (std::vector< aiColor4D * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (std::vector< aiColor4t< float > * > *)jarg3; - if (!arg3) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< aiColor4t< float > * > const & type is null", 0); - return ; - } - try { - std_vector_Sl_aiColor4D_Sm__Sg__InsertRange(arg1,arg2,(std::vector< aiColor4t< float > * > const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiColor4DVector_RemoveAt(void * jarg1, int jarg2) { - std::vector< aiColor4D * > *arg1 = (std::vector< aiColor4D * > *) 0 ; - int arg2 ; - - arg1 = (std::vector< aiColor4D * > *)jarg1; - arg2 = (int)jarg2; - try { - std_vector_Sl_aiColor4D_Sm__Sg__RemoveAt(arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiColor4DVector_RemoveRange(void * jarg1, int jarg2, int jarg3) { - std::vector< aiColor4D * > *arg1 = (std::vector< aiColor4D * > *) 0 ; - int arg2 ; - int arg3 ; - - arg1 = (std::vector< aiColor4D * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (int)jarg3; - try { - std_vector_Sl_aiColor4D_Sm__Sg__RemoveRange(arg1,arg2,arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - catch(std::invalid_argument &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentException, (&_e)->what(), ""); - return ; - } - -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiColor4DVector_Repeat(void * jarg1, int jarg2) { - void * jresult ; - aiColor4t< float > **arg1 = 0 ; - int arg2 ; - aiColor4t< float > *temp1 = 0 ; - std::vector< aiColor4t< float > * > *result = 0 ; - - temp1 = (aiColor4t< float > *)jarg1; - arg1 = (aiColor4t< float > **)&temp1; - arg2 = (int)jarg2; - try { - result = (std::vector< aiColor4t< float > * > *)std_vector_Sl_aiColor4D_Sm__Sg__Repeat((aiColor4t< float > *const &)*arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiColor4DVector_Reverse__SWIG_0(void * jarg1) { - std::vector< aiColor4D * > *arg1 = (std::vector< aiColor4D * > *) 0 ; - - arg1 = (std::vector< aiColor4D * > *)jarg1; - std_vector_Sl_aiColor4D_Sm__Sg__Reverse__SWIG_0(arg1); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiColor4DVector_Reverse__SWIG_1(void * jarg1, int jarg2, int jarg3) { - std::vector< aiColor4D * > *arg1 = (std::vector< aiColor4D * > *) 0 ; - int arg2 ; - int arg3 ; - - arg1 = (std::vector< aiColor4D * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (int)jarg3; - try { - std_vector_Sl_aiColor4D_Sm__Sg__Reverse__SWIG_1(arg1,arg2,arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - catch(std::invalid_argument &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentException, (&_e)->what(), ""); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiColor4DVector_SetRange(void * jarg1, int jarg2, void * jarg3) { - std::vector< aiColor4D * > *arg1 = (std::vector< aiColor4D * > *) 0 ; - int arg2 ; - std::vector< aiColor4t< float > * > *arg3 = 0 ; - - arg1 = (std::vector< aiColor4D * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (std::vector< aiColor4t< float > * > *)jarg3; - if (!arg3) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< aiColor4t< float > * > const & type is null", 0); - return ; - } - try { - std_vector_Sl_aiColor4D_Sm__Sg__SetRange(arg1,arg2,(std::vector< aiColor4t< float > * > const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiColor4DVector_Contains(void * jarg1, void * jarg2) { - unsigned int jresult ; - std::vector< aiColor4D * > *arg1 = (std::vector< aiColor4D * > *) 0 ; - aiColor4t< float > **arg2 = 0 ; - aiColor4t< float > *temp2 = 0 ; - bool result; - - arg1 = (std::vector< aiColor4D * > *)jarg1; - temp2 = (aiColor4t< float > *)jarg2; - arg2 = (aiColor4t< float > **)&temp2; - result = (bool)std_vector_Sl_aiColor4D_Sm__Sg__Contains(arg1,(aiColor4t< float > *const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_aiColor4DVector_IndexOf(void * jarg1, void * jarg2) { - int jresult ; - std::vector< aiColor4D * > *arg1 = (std::vector< aiColor4D * > *) 0 ; - aiColor4t< float > **arg2 = 0 ; - aiColor4t< float > *temp2 = 0 ; - int result; - - arg1 = (std::vector< aiColor4D * > *)jarg1; - temp2 = (aiColor4t< float > *)jarg2; - arg2 = (aiColor4t< float > **)&temp2; - result = (int)std_vector_Sl_aiColor4D_Sm__Sg__IndexOf(arg1,(aiColor4t< float > *const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_aiColor4DVector_LastIndexOf(void * jarg1, void * jarg2) { - int jresult ; - std::vector< aiColor4D * > *arg1 = (std::vector< aiColor4D * > *) 0 ; - aiColor4t< float > **arg2 = 0 ; - aiColor4t< float > *temp2 = 0 ; - int result; - - arg1 = (std::vector< aiColor4D * > *)jarg1; - temp2 = (aiColor4t< float > *)jarg2; - arg2 = (aiColor4t< float > **)&temp2; - result = (int)std_vector_Sl_aiColor4D_Sm__Sg__LastIndexOf(arg1,(aiColor4t< float > *const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiColor4DVector_Remove(void * jarg1, void * jarg2) { - unsigned int jresult ; - std::vector< aiColor4D * > *arg1 = (std::vector< aiColor4D * > *) 0 ; - aiColor4t< float > **arg2 = 0 ; - aiColor4t< float > *temp2 = 0 ; - bool result; - - arg1 = (std::vector< aiColor4D * > *)jarg1; - temp2 = (aiColor4t< float > *)jarg2; - arg2 = (aiColor4t< float > **)&temp2; - result = (bool)std_vector_Sl_aiColor4D_Sm__Sg__Remove(arg1,(aiColor4t< float > *const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_aiColor4DVector(void * jarg1) { - std::vector< aiColor4D * > *arg1 = (std::vector< aiColor4D * > *) 0 ; - - arg1 = (std::vector< aiColor4D * > *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiFaceVector_Clear(void * jarg1) { - std::vector< aiFace * > *arg1 = (std::vector< aiFace * > *) 0 ; - - arg1 = (std::vector< aiFace * > *)jarg1; - (arg1)->clear(); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiFaceVector_Add(void * jarg1, void * jarg2) { - std::vector< aiFace * > *arg1 = (std::vector< aiFace * > *) 0 ; - aiFace **arg2 = 0 ; - aiFace *temp2 = 0 ; - - arg1 = (std::vector< aiFace * > *)jarg1; - temp2 = (aiFace *)jarg2; - arg2 = (aiFace **)&temp2; - (arg1)->push_back((aiFace *const &)*arg2); -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_aiFaceVector_size(void * jarg1) { - unsigned long jresult ; - std::vector< aiFace * > *arg1 = (std::vector< aiFace * > *) 0 ; - std::vector< aiFace * >::size_type result; - - arg1 = (std::vector< aiFace * > *)jarg1; - result = ((std::vector< aiFace * > const *)arg1)->size(); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_aiFaceVector_capacity(void * jarg1) { - unsigned long jresult ; - std::vector< aiFace * > *arg1 = (std::vector< aiFace * > *) 0 ; - std::vector< aiFace * >::size_type result; - - arg1 = (std::vector< aiFace * > *)jarg1; - result = ((std::vector< aiFace * > const *)arg1)->capacity(); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiFaceVector_reserve(void * jarg1, unsigned long jarg2) { - std::vector< aiFace * > *arg1 = (std::vector< aiFace * > *) 0 ; - std::vector< aiFace * >::size_type arg2 ; - - arg1 = (std::vector< aiFace * > *)jarg1; - arg2 = (std::vector< aiFace * >::size_type)jarg2; - (arg1)->reserve(arg2); -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiFaceVector__SWIG_0() { - void * jresult ; - std::vector< aiFace * > *result = 0 ; - - result = (std::vector< aiFace * > *)new std::vector< aiFace * >(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiFaceVector__SWIG_1(void * jarg1) { - void * jresult ; - std::vector< aiFace * > *arg1 = 0 ; - std::vector< aiFace * > *result = 0 ; - - arg1 = (std::vector< aiFace * > *)jarg1; - if (!arg1) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< aiFace * > const & type is null", 0); - return 0; - } - result = (std::vector< aiFace * > *)new std::vector< aiFace * >((std::vector< aiFace * > const &)*arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiFaceVector__SWIG_2(int jarg1) { - void * jresult ; - int arg1 ; - std::vector< aiFace * > *result = 0 ; - - arg1 = (int)jarg1; - try { - result = (std::vector< aiFace * > *)new_std_vector_Sl_aiFace_Sm__Sg___SWIG_2(arg1); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiFaceVector_getitemcopy(void * jarg1, int jarg2) { - void * jresult ; - std::vector< aiFace * > *arg1 = (std::vector< aiFace * > *) 0 ; - int arg2 ; - aiFace *result = 0 ; - - arg1 = (std::vector< aiFace * > *)jarg1; - arg2 = (int)jarg2; - try { - result = (aiFace *)std_vector_Sl_aiFace_Sm__Sg__getitemcopy(arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiFaceVector_getitem(void * jarg1, int jarg2) { - void * jresult ; - std::vector< aiFace * > *arg1 = (std::vector< aiFace * > *) 0 ; - int arg2 ; - aiFace **result = 0 ; - - arg1 = (std::vector< aiFace * > *)jarg1; - arg2 = (int)jarg2; - try { - result = (aiFace **) &std_vector_Sl_aiFace_Sm__Sg__getitem(arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = (void *)*result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiFaceVector_setitem(void * jarg1, int jarg2, void * jarg3) { - std::vector< aiFace * > *arg1 = (std::vector< aiFace * > *) 0 ; - int arg2 ; - aiFace **arg3 = 0 ; - aiFace *temp3 = 0 ; - - arg1 = (std::vector< aiFace * > *)jarg1; - arg2 = (int)jarg2; - temp3 = (aiFace *)jarg3; - arg3 = (aiFace **)&temp3; - try { - std_vector_Sl_aiFace_Sm__Sg__setitem(arg1,arg2,(aiFace *const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiFaceVector_AddRange(void * jarg1, void * jarg2) { - std::vector< aiFace * > *arg1 = (std::vector< aiFace * > *) 0 ; - std::vector< aiFace * > *arg2 = 0 ; - - arg1 = (std::vector< aiFace * > *)jarg1; - arg2 = (std::vector< aiFace * > *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< aiFace * > const & type is null", 0); - return ; - } - std_vector_Sl_aiFace_Sm__Sg__AddRange(arg1,(std::vector< aiFace * > const &)*arg2); -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiFaceVector_GetRange(void * jarg1, int jarg2, int jarg3) { - void * jresult ; - std::vector< aiFace * > *arg1 = (std::vector< aiFace * > *) 0 ; - int arg2 ; - int arg3 ; - std::vector< aiFace * > *result = 0 ; - - arg1 = (std::vector< aiFace * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (int)jarg3; - try { - result = (std::vector< aiFace * > *)std_vector_Sl_aiFace_Sm__Sg__GetRange(arg1,arg2,arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - catch(std::invalid_argument &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentException, (&_e)->what(), ""); - return 0; - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiFaceVector_Insert(void * jarg1, int jarg2, void * jarg3) { - std::vector< aiFace * > *arg1 = (std::vector< aiFace * > *) 0 ; - int arg2 ; - aiFace **arg3 = 0 ; - aiFace *temp3 = 0 ; - - arg1 = (std::vector< aiFace * > *)jarg1; - arg2 = (int)jarg2; - temp3 = (aiFace *)jarg3; - arg3 = (aiFace **)&temp3; - try { - std_vector_Sl_aiFace_Sm__Sg__Insert(arg1,arg2,(aiFace *const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiFaceVector_InsertRange(void * jarg1, int jarg2, void * jarg3) { - std::vector< aiFace * > *arg1 = (std::vector< aiFace * > *) 0 ; - int arg2 ; - std::vector< aiFace * > *arg3 = 0 ; - - arg1 = (std::vector< aiFace * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (std::vector< aiFace * > *)jarg3; - if (!arg3) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< aiFace * > const & type is null", 0); - return ; - } - try { - std_vector_Sl_aiFace_Sm__Sg__InsertRange(arg1,arg2,(std::vector< aiFace * > const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiFaceVector_RemoveAt(void * jarg1, int jarg2) { - std::vector< aiFace * > *arg1 = (std::vector< aiFace * > *) 0 ; - int arg2 ; - - arg1 = (std::vector< aiFace * > *)jarg1; - arg2 = (int)jarg2; - try { - std_vector_Sl_aiFace_Sm__Sg__RemoveAt(arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiFaceVector_RemoveRange(void * jarg1, int jarg2, int jarg3) { - std::vector< aiFace * > *arg1 = (std::vector< aiFace * > *) 0 ; - int arg2 ; - int arg3 ; - - arg1 = (std::vector< aiFace * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (int)jarg3; - try { - std_vector_Sl_aiFace_Sm__Sg__RemoveRange(arg1,arg2,arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - catch(std::invalid_argument &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentException, (&_e)->what(), ""); - return ; - } - -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiFaceVector_Repeat(void * jarg1, int jarg2) { - void * jresult ; - aiFace **arg1 = 0 ; - int arg2 ; - aiFace *temp1 = 0 ; - std::vector< aiFace * > *result = 0 ; - - temp1 = (aiFace *)jarg1; - arg1 = (aiFace **)&temp1; - arg2 = (int)jarg2; - try { - result = (std::vector< aiFace * > *)std_vector_Sl_aiFace_Sm__Sg__Repeat((aiFace *const &)*arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiFaceVector_Reverse__SWIG_0(void * jarg1) { - std::vector< aiFace * > *arg1 = (std::vector< aiFace * > *) 0 ; - - arg1 = (std::vector< aiFace * > *)jarg1; - std_vector_Sl_aiFace_Sm__Sg__Reverse__SWIG_0(arg1); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiFaceVector_Reverse__SWIG_1(void * jarg1, int jarg2, int jarg3) { - std::vector< aiFace * > *arg1 = (std::vector< aiFace * > *) 0 ; - int arg2 ; - int arg3 ; - - arg1 = (std::vector< aiFace * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (int)jarg3; - try { - std_vector_Sl_aiFace_Sm__Sg__Reverse__SWIG_1(arg1,arg2,arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - catch(std::invalid_argument &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentException, (&_e)->what(), ""); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiFaceVector_SetRange(void * jarg1, int jarg2, void * jarg3) { - std::vector< aiFace * > *arg1 = (std::vector< aiFace * > *) 0 ; - int arg2 ; - std::vector< aiFace * > *arg3 = 0 ; - - arg1 = (std::vector< aiFace * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (std::vector< aiFace * > *)jarg3; - if (!arg3) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< aiFace * > const & type is null", 0); - return ; - } - try { - std_vector_Sl_aiFace_Sm__Sg__SetRange(arg1,arg2,(std::vector< aiFace * > const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiFaceVector_Contains(void * jarg1, void * jarg2) { - unsigned int jresult ; - std::vector< aiFace * > *arg1 = (std::vector< aiFace * > *) 0 ; - aiFace **arg2 = 0 ; - aiFace *temp2 = 0 ; - bool result; - - arg1 = (std::vector< aiFace * > *)jarg1; - temp2 = (aiFace *)jarg2; - arg2 = (aiFace **)&temp2; - result = (bool)std_vector_Sl_aiFace_Sm__Sg__Contains(arg1,(aiFace *const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_aiFaceVector_IndexOf(void * jarg1, void * jarg2) { - int jresult ; - std::vector< aiFace * > *arg1 = (std::vector< aiFace * > *) 0 ; - aiFace **arg2 = 0 ; - aiFace *temp2 = 0 ; - int result; - - arg1 = (std::vector< aiFace * > *)jarg1; - temp2 = (aiFace *)jarg2; - arg2 = (aiFace **)&temp2; - result = (int)std_vector_Sl_aiFace_Sm__Sg__IndexOf(arg1,(aiFace *const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_aiFaceVector_LastIndexOf(void * jarg1, void * jarg2) { - int jresult ; - std::vector< aiFace * > *arg1 = (std::vector< aiFace * > *) 0 ; - aiFace **arg2 = 0 ; - aiFace *temp2 = 0 ; - int result; - - arg1 = (std::vector< aiFace * > *)jarg1; - temp2 = (aiFace *)jarg2; - arg2 = (aiFace **)&temp2; - result = (int)std_vector_Sl_aiFace_Sm__Sg__LastIndexOf(arg1,(aiFace *const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiFaceVector_Remove(void * jarg1, void * jarg2) { - unsigned int jresult ; - std::vector< aiFace * > *arg1 = (std::vector< aiFace * > *) 0 ; - aiFace **arg2 = 0 ; - aiFace *temp2 = 0 ; - bool result; - - arg1 = (std::vector< aiFace * > *)jarg1; - temp2 = (aiFace *)jarg2; - arg2 = (aiFace **)&temp2; - result = (bool)std_vector_Sl_aiFace_Sm__Sg__Remove(arg1,(aiFace *const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_aiFaceVector(void * jarg1) { - std::vector< aiFace * > *arg1 = (std::vector< aiFace * > *) 0 ; - - arg1 = (std::vector< aiFace * > *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiLightVector_Clear(void * jarg1) { - std::vector< aiLight * > *arg1 = (std::vector< aiLight * > *) 0 ; - - arg1 = (std::vector< aiLight * > *)jarg1; - (arg1)->clear(); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiLightVector_Add(void * jarg1, void * jarg2) { - std::vector< aiLight * > *arg1 = (std::vector< aiLight * > *) 0 ; - aiLight **arg2 = 0 ; - aiLight *temp2 = 0 ; - - arg1 = (std::vector< aiLight * > *)jarg1; - temp2 = (aiLight *)jarg2; - arg2 = (aiLight **)&temp2; - (arg1)->push_back((aiLight *const &)*arg2); -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_aiLightVector_size(void * jarg1) { - unsigned long jresult ; - std::vector< aiLight * > *arg1 = (std::vector< aiLight * > *) 0 ; - std::vector< aiLight * >::size_type result; - - arg1 = (std::vector< aiLight * > *)jarg1; - result = ((std::vector< aiLight * > const *)arg1)->size(); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_aiLightVector_capacity(void * jarg1) { - unsigned long jresult ; - std::vector< aiLight * > *arg1 = (std::vector< aiLight * > *) 0 ; - std::vector< aiLight * >::size_type result; - - arg1 = (std::vector< aiLight * > *)jarg1; - result = ((std::vector< aiLight * > const *)arg1)->capacity(); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiLightVector_reserve(void * jarg1, unsigned long jarg2) { - std::vector< aiLight * > *arg1 = (std::vector< aiLight * > *) 0 ; - std::vector< aiLight * >::size_type arg2 ; - - arg1 = (std::vector< aiLight * > *)jarg1; - arg2 = (std::vector< aiLight * >::size_type)jarg2; - (arg1)->reserve(arg2); -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiLightVector__SWIG_0() { - void * jresult ; - std::vector< aiLight * > *result = 0 ; - - result = (std::vector< aiLight * > *)new std::vector< aiLight * >(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiLightVector__SWIG_1(void * jarg1) { - void * jresult ; - std::vector< aiLight * > *arg1 = 0 ; - std::vector< aiLight * > *result = 0 ; - - arg1 = (std::vector< aiLight * > *)jarg1; - if (!arg1) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< aiLight * > const & type is null", 0); - return 0; - } - result = (std::vector< aiLight * > *)new std::vector< aiLight * >((std::vector< aiLight * > const &)*arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiLightVector__SWIG_2(int jarg1) { - void * jresult ; - int arg1 ; - std::vector< aiLight * > *result = 0 ; - - arg1 = (int)jarg1; - try { - result = (std::vector< aiLight * > *)new_std_vector_Sl_aiLight_Sm__Sg___SWIG_2(arg1); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiLightVector_getitemcopy(void * jarg1, int jarg2) { - void * jresult ; - std::vector< aiLight * > *arg1 = (std::vector< aiLight * > *) 0 ; - int arg2 ; - aiLight *result = 0 ; - - arg1 = (std::vector< aiLight * > *)jarg1; - arg2 = (int)jarg2; - try { - result = (aiLight *)std_vector_Sl_aiLight_Sm__Sg__getitemcopy(arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiLightVector_getitem(void * jarg1, int jarg2) { - void * jresult ; - std::vector< aiLight * > *arg1 = (std::vector< aiLight * > *) 0 ; - int arg2 ; - aiLight **result = 0 ; - - arg1 = (std::vector< aiLight * > *)jarg1; - arg2 = (int)jarg2; - try { - result = (aiLight **) &std_vector_Sl_aiLight_Sm__Sg__getitem(arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = (void *)*result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiLightVector_setitem(void * jarg1, int jarg2, void * jarg3) { - std::vector< aiLight * > *arg1 = (std::vector< aiLight * > *) 0 ; - int arg2 ; - aiLight **arg3 = 0 ; - aiLight *temp3 = 0 ; - - arg1 = (std::vector< aiLight * > *)jarg1; - arg2 = (int)jarg2; - temp3 = (aiLight *)jarg3; - arg3 = (aiLight **)&temp3; - try { - std_vector_Sl_aiLight_Sm__Sg__setitem(arg1,arg2,(aiLight *const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiLightVector_AddRange(void * jarg1, void * jarg2) { - std::vector< aiLight * > *arg1 = (std::vector< aiLight * > *) 0 ; - std::vector< aiLight * > *arg2 = 0 ; - - arg1 = (std::vector< aiLight * > *)jarg1; - arg2 = (std::vector< aiLight * > *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< aiLight * > const & type is null", 0); - return ; - } - std_vector_Sl_aiLight_Sm__Sg__AddRange(arg1,(std::vector< aiLight * > const &)*arg2); -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiLightVector_GetRange(void * jarg1, int jarg2, int jarg3) { - void * jresult ; - std::vector< aiLight * > *arg1 = (std::vector< aiLight * > *) 0 ; - int arg2 ; - int arg3 ; - std::vector< aiLight * > *result = 0 ; - - arg1 = (std::vector< aiLight * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (int)jarg3; - try { - result = (std::vector< aiLight * > *)std_vector_Sl_aiLight_Sm__Sg__GetRange(arg1,arg2,arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - catch(std::invalid_argument &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentException, (&_e)->what(), ""); - return 0; - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiLightVector_Insert(void * jarg1, int jarg2, void * jarg3) { - std::vector< aiLight * > *arg1 = (std::vector< aiLight * > *) 0 ; - int arg2 ; - aiLight **arg3 = 0 ; - aiLight *temp3 = 0 ; - - arg1 = (std::vector< aiLight * > *)jarg1; - arg2 = (int)jarg2; - temp3 = (aiLight *)jarg3; - arg3 = (aiLight **)&temp3; - try { - std_vector_Sl_aiLight_Sm__Sg__Insert(arg1,arg2,(aiLight *const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiLightVector_InsertRange(void * jarg1, int jarg2, void * jarg3) { - std::vector< aiLight * > *arg1 = (std::vector< aiLight * > *) 0 ; - int arg2 ; - std::vector< aiLight * > *arg3 = 0 ; - - arg1 = (std::vector< aiLight * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (std::vector< aiLight * > *)jarg3; - if (!arg3) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< aiLight * > const & type is null", 0); - return ; - } - try { - std_vector_Sl_aiLight_Sm__Sg__InsertRange(arg1,arg2,(std::vector< aiLight * > const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiLightVector_RemoveAt(void * jarg1, int jarg2) { - std::vector< aiLight * > *arg1 = (std::vector< aiLight * > *) 0 ; - int arg2 ; - - arg1 = (std::vector< aiLight * > *)jarg1; - arg2 = (int)jarg2; - try { - std_vector_Sl_aiLight_Sm__Sg__RemoveAt(arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiLightVector_RemoveRange(void * jarg1, int jarg2, int jarg3) { - std::vector< aiLight * > *arg1 = (std::vector< aiLight * > *) 0 ; - int arg2 ; - int arg3 ; - - arg1 = (std::vector< aiLight * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (int)jarg3; - try { - std_vector_Sl_aiLight_Sm__Sg__RemoveRange(arg1,arg2,arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - catch(std::invalid_argument &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentException, (&_e)->what(), ""); - return ; - } - -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiLightVector_Repeat(void * jarg1, int jarg2) { - void * jresult ; - aiLight **arg1 = 0 ; - int arg2 ; - aiLight *temp1 = 0 ; - std::vector< aiLight * > *result = 0 ; - - temp1 = (aiLight *)jarg1; - arg1 = (aiLight **)&temp1; - arg2 = (int)jarg2; - try { - result = (std::vector< aiLight * > *)std_vector_Sl_aiLight_Sm__Sg__Repeat((aiLight *const &)*arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiLightVector_Reverse__SWIG_0(void * jarg1) { - std::vector< aiLight * > *arg1 = (std::vector< aiLight * > *) 0 ; - - arg1 = (std::vector< aiLight * > *)jarg1; - std_vector_Sl_aiLight_Sm__Sg__Reverse__SWIG_0(arg1); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiLightVector_Reverse__SWIG_1(void * jarg1, int jarg2, int jarg3) { - std::vector< aiLight * > *arg1 = (std::vector< aiLight * > *) 0 ; - int arg2 ; - int arg3 ; - - arg1 = (std::vector< aiLight * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (int)jarg3; - try { - std_vector_Sl_aiLight_Sm__Sg__Reverse__SWIG_1(arg1,arg2,arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - catch(std::invalid_argument &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentException, (&_e)->what(), ""); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiLightVector_SetRange(void * jarg1, int jarg2, void * jarg3) { - std::vector< aiLight * > *arg1 = (std::vector< aiLight * > *) 0 ; - int arg2 ; - std::vector< aiLight * > *arg3 = 0 ; - - arg1 = (std::vector< aiLight * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (std::vector< aiLight * > *)jarg3; - if (!arg3) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< aiLight * > const & type is null", 0); - return ; - } - try { - std_vector_Sl_aiLight_Sm__Sg__SetRange(arg1,arg2,(std::vector< aiLight * > const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiLightVector_Contains(void * jarg1, void * jarg2) { - unsigned int jresult ; - std::vector< aiLight * > *arg1 = (std::vector< aiLight * > *) 0 ; - aiLight **arg2 = 0 ; - aiLight *temp2 = 0 ; - bool result; - - arg1 = (std::vector< aiLight * > *)jarg1; - temp2 = (aiLight *)jarg2; - arg2 = (aiLight **)&temp2; - result = (bool)std_vector_Sl_aiLight_Sm__Sg__Contains(arg1,(aiLight *const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_aiLightVector_IndexOf(void * jarg1, void * jarg2) { - int jresult ; - std::vector< aiLight * > *arg1 = (std::vector< aiLight * > *) 0 ; - aiLight **arg2 = 0 ; - aiLight *temp2 = 0 ; - int result; - - arg1 = (std::vector< aiLight * > *)jarg1; - temp2 = (aiLight *)jarg2; - arg2 = (aiLight **)&temp2; - result = (int)std_vector_Sl_aiLight_Sm__Sg__IndexOf(arg1,(aiLight *const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_aiLightVector_LastIndexOf(void * jarg1, void * jarg2) { - int jresult ; - std::vector< aiLight * > *arg1 = (std::vector< aiLight * > *) 0 ; - aiLight **arg2 = 0 ; - aiLight *temp2 = 0 ; - int result; - - arg1 = (std::vector< aiLight * > *)jarg1; - temp2 = (aiLight *)jarg2; - arg2 = (aiLight **)&temp2; - result = (int)std_vector_Sl_aiLight_Sm__Sg__LastIndexOf(arg1,(aiLight *const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiLightVector_Remove(void * jarg1, void * jarg2) { - unsigned int jresult ; - std::vector< aiLight * > *arg1 = (std::vector< aiLight * > *) 0 ; - aiLight **arg2 = 0 ; - aiLight *temp2 = 0 ; - bool result; - - arg1 = (std::vector< aiLight * > *)jarg1; - temp2 = (aiLight *)jarg2; - arg2 = (aiLight **)&temp2; - result = (bool)std_vector_Sl_aiLight_Sm__Sg__Remove(arg1,(aiLight *const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_aiLightVector(void * jarg1) { - std::vector< aiLight * > *arg1 = (std::vector< aiLight * > *) 0 ; - - arg1 = (std::vector< aiLight * > *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMaterialVector_Clear(void * jarg1) { - std::vector< aiMaterial * > *arg1 = (std::vector< aiMaterial * > *) 0 ; - - arg1 = (std::vector< aiMaterial * > *)jarg1; - (arg1)->clear(); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMaterialVector_Add(void * jarg1, void * jarg2) { - std::vector< aiMaterial * > *arg1 = (std::vector< aiMaterial * > *) 0 ; - aiMaterial **arg2 = 0 ; - aiMaterial *temp2 = 0 ; - - arg1 = (std::vector< aiMaterial * > *)jarg1; - temp2 = (aiMaterial *)jarg2; - arg2 = (aiMaterial **)&temp2; - (arg1)->push_back((aiMaterial *const &)*arg2); -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_aiMaterialVector_size(void * jarg1) { - unsigned long jresult ; - std::vector< aiMaterial * > *arg1 = (std::vector< aiMaterial * > *) 0 ; - std::vector< aiMaterial * >::size_type result; - - arg1 = (std::vector< aiMaterial * > *)jarg1; - result = ((std::vector< aiMaterial * > const *)arg1)->size(); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_aiMaterialVector_capacity(void * jarg1) { - unsigned long jresult ; - std::vector< aiMaterial * > *arg1 = (std::vector< aiMaterial * > *) 0 ; - std::vector< aiMaterial * >::size_type result; - - arg1 = (std::vector< aiMaterial * > *)jarg1; - result = ((std::vector< aiMaterial * > const *)arg1)->capacity(); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMaterialVector_reserve(void * jarg1, unsigned long jarg2) { - std::vector< aiMaterial * > *arg1 = (std::vector< aiMaterial * > *) 0 ; - std::vector< aiMaterial * >::size_type arg2 ; - - arg1 = (std::vector< aiMaterial * > *)jarg1; - arg2 = (std::vector< aiMaterial * >::size_type)jarg2; - (arg1)->reserve(arg2); -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiMaterialVector__SWIG_0() { - void * jresult ; - std::vector< aiMaterial * > *result = 0 ; - - result = (std::vector< aiMaterial * > *)new std::vector< aiMaterial * >(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiMaterialVector__SWIG_1(void * jarg1) { - void * jresult ; - std::vector< aiMaterial * > *arg1 = 0 ; - std::vector< aiMaterial * > *result = 0 ; - - arg1 = (std::vector< aiMaterial * > *)jarg1; - if (!arg1) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< aiMaterial * > const & type is null", 0); - return 0; - } - result = (std::vector< aiMaterial * > *)new std::vector< aiMaterial * >((std::vector< aiMaterial * > const &)*arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiMaterialVector__SWIG_2(int jarg1) { - void * jresult ; - int arg1 ; - std::vector< aiMaterial * > *result = 0 ; - - arg1 = (int)jarg1; - try { - result = (std::vector< aiMaterial * > *)new_std_vector_Sl_aiMaterial_Sm__Sg___SWIG_2(arg1); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiMaterialVector_getitemcopy(void * jarg1, int jarg2) { - void * jresult ; - std::vector< aiMaterial * > *arg1 = (std::vector< aiMaterial * > *) 0 ; - int arg2 ; - aiMaterial *result = 0 ; - - arg1 = (std::vector< aiMaterial * > *)jarg1; - arg2 = (int)jarg2; - try { - result = (aiMaterial *)std_vector_Sl_aiMaterial_Sm__Sg__getitemcopy(arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiMaterialVector_getitem(void * jarg1, int jarg2) { - void * jresult ; - std::vector< aiMaterial * > *arg1 = (std::vector< aiMaterial * > *) 0 ; - int arg2 ; - aiMaterial **result = 0 ; - - arg1 = (std::vector< aiMaterial * > *)jarg1; - arg2 = (int)jarg2; - try { - result = (aiMaterial **) &std_vector_Sl_aiMaterial_Sm__Sg__getitem(arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = (void *)*result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMaterialVector_setitem(void * jarg1, int jarg2, void * jarg3) { - std::vector< aiMaterial * > *arg1 = (std::vector< aiMaterial * > *) 0 ; - int arg2 ; - aiMaterial **arg3 = 0 ; - aiMaterial *temp3 = 0 ; - - arg1 = (std::vector< aiMaterial * > *)jarg1; - arg2 = (int)jarg2; - temp3 = (aiMaterial *)jarg3; - arg3 = (aiMaterial **)&temp3; - try { - std_vector_Sl_aiMaterial_Sm__Sg__setitem(arg1,arg2,(aiMaterial *const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMaterialVector_AddRange(void * jarg1, void * jarg2) { - std::vector< aiMaterial * > *arg1 = (std::vector< aiMaterial * > *) 0 ; - std::vector< aiMaterial * > *arg2 = 0 ; - - arg1 = (std::vector< aiMaterial * > *)jarg1; - arg2 = (std::vector< aiMaterial * > *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< aiMaterial * > const & type is null", 0); - return ; - } - std_vector_Sl_aiMaterial_Sm__Sg__AddRange(arg1,(std::vector< aiMaterial * > const &)*arg2); -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiMaterialVector_GetRange(void * jarg1, int jarg2, int jarg3) { - void * jresult ; - std::vector< aiMaterial * > *arg1 = (std::vector< aiMaterial * > *) 0 ; - int arg2 ; - int arg3 ; - std::vector< aiMaterial * > *result = 0 ; - - arg1 = (std::vector< aiMaterial * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (int)jarg3; - try { - result = (std::vector< aiMaterial * > *)std_vector_Sl_aiMaterial_Sm__Sg__GetRange(arg1,arg2,arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - catch(std::invalid_argument &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentException, (&_e)->what(), ""); - return 0; - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMaterialVector_Insert(void * jarg1, int jarg2, void * jarg3) { - std::vector< aiMaterial * > *arg1 = (std::vector< aiMaterial * > *) 0 ; - int arg2 ; - aiMaterial **arg3 = 0 ; - aiMaterial *temp3 = 0 ; - - arg1 = (std::vector< aiMaterial * > *)jarg1; - arg2 = (int)jarg2; - temp3 = (aiMaterial *)jarg3; - arg3 = (aiMaterial **)&temp3; - try { - std_vector_Sl_aiMaterial_Sm__Sg__Insert(arg1,arg2,(aiMaterial *const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMaterialVector_InsertRange(void * jarg1, int jarg2, void * jarg3) { - std::vector< aiMaterial * > *arg1 = (std::vector< aiMaterial * > *) 0 ; - int arg2 ; - std::vector< aiMaterial * > *arg3 = 0 ; - - arg1 = (std::vector< aiMaterial * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (std::vector< aiMaterial * > *)jarg3; - if (!arg3) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< aiMaterial * > const & type is null", 0); - return ; - } - try { - std_vector_Sl_aiMaterial_Sm__Sg__InsertRange(arg1,arg2,(std::vector< aiMaterial * > const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMaterialVector_RemoveAt(void * jarg1, int jarg2) { - std::vector< aiMaterial * > *arg1 = (std::vector< aiMaterial * > *) 0 ; - int arg2 ; - - arg1 = (std::vector< aiMaterial * > *)jarg1; - arg2 = (int)jarg2; - try { - std_vector_Sl_aiMaterial_Sm__Sg__RemoveAt(arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMaterialVector_RemoveRange(void * jarg1, int jarg2, int jarg3) { - std::vector< aiMaterial * > *arg1 = (std::vector< aiMaterial * > *) 0 ; - int arg2 ; - int arg3 ; - - arg1 = (std::vector< aiMaterial * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (int)jarg3; - try { - std_vector_Sl_aiMaterial_Sm__Sg__RemoveRange(arg1,arg2,arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - catch(std::invalid_argument &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentException, (&_e)->what(), ""); - return ; - } - -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiMaterialVector_Repeat(void * jarg1, int jarg2) { - void * jresult ; - aiMaterial **arg1 = 0 ; - int arg2 ; - aiMaterial *temp1 = 0 ; - std::vector< aiMaterial * > *result = 0 ; - - temp1 = (aiMaterial *)jarg1; - arg1 = (aiMaterial **)&temp1; - arg2 = (int)jarg2; - try { - result = (std::vector< aiMaterial * > *)std_vector_Sl_aiMaterial_Sm__Sg__Repeat((aiMaterial *const &)*arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMaterialVector_Reverse__SWIG_0(void * jarg1) { - std::vector< aiMaterial * > *arg1 = (std::vector< aiMaterial * > *) 0 ; - - arg1 = (std::vector< aiMaterial * > *)jarg1; - std_vector_Sl_aiMaterial_Sm__Sg__Reverse__SWIG_0(arg1); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMaterialVector_Reverse__SWIG_1(void * jarg1, int jarg2, int jarg3) { - std::vector< aiMaterial * > *arg1 = (std::vector< aiMaterial * > *) 0 ; - int arg2 ; - int arg3 ; - - arg1 = (std::vector< aiMaterial * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (int)jarg3; - try { - std_vector_Sl_aiMaterial_Sm__Sg__Reverse__SWIG_1(arg1,arg2,arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - catch(std::invalid_argument &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentException, (&_e)->what(), ""); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMaterialVector_SetRange(void * jarg1, int jarg2, void * jarg3) { - std::vector< aiMaterial * > *arg1 = (std::vector< aiMaterial * > *) 0 ; - int arg2 ; - std::vector< aiMaterial * > *arg3 = 0 ; - - arg1 = (std::vector< aiMaterial * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (std::vector< aiMaterial * > *)jarg3; - if (!arg3) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< aiMaterial * > const & type is null", 0); - return ; - } - try { - std_vector_Sl_aiMaterial_Sm__Sg__SetRange(arg1,arg2,(std::vector< aiMaterial * > const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiMaterialVector_Contains(void * jarg1, void * jarg2) { - unsigned int jresult ; - std::vector< aiMaterial * > *arg1 = (std::vector< aiMaterial * > *) 0 ; - aiMaterial **arg2 = 0 ; - aiMaterial *temp2 = 0 ; - bool result; - - arg1 = (std::vector< aiMaterial * > *)jarg1; - temp2 = (aiMaterial *)jarg2; - arg2 = (aiMaterial **)&temp2; - result = (bool)std_vector_Sl_aiMaterial_Sm__Sg__Contains(arg1,(aiMaterial *const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_aiMaterialVector_IndexOf(void * jarg1, void * jarg2) { - int jresult ; - std::vector< aiMaterial * > *arg1 = (std::vector< aiMaterial * > *) 0 ; - aiMaterial **arg2 = 0 ; - aiMaterial *temp2 = 0 ; - int result; - - arg1 = (std::vector< aiMaterial * > *)jarg1; - temp2 = (aiMaterial *)jarg2; - arg2 = (aiMaterial **)&temp2; - result = (int)std_vector_Sl_aiMaterial_Sm__Sg__IndexOf(arg1,(aiMaterial *const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_aiMaterialVector_LastIndexOf(void * jarg1, void * jarg2) { - int jresult ; - std::vector< aiMaterial * > *arg1 = (std::vector< aiMaterial * > *) 0 ; - aiMaterial **arg2 = 0 ; - aiMaterial *temp2 = 0 ; - int result; - - arg1 = (std::vector< aiMaterial * > *)jarg1; - temp2 = (aiMaterial *)jarg2; - arg2 = (aiMaterial **)&temp2; - result = (int)std_vector_Sl_aiMaterial_Sm__Sg__LastIndexOf(arg1,(aiMaterial *const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiMaterialVector_Remove(void * jarg1, void * jarg2) { - unsigned int jresult ; - std::vector< aiMaterial * > *arg1 = (std::vector< aiMaterial * > *) 0 ; - aiMaterial **arg2 = 0 ; - aiMaterial *temp2 = 0 ; - bool result; - - arg1 = (std::vector< aiMaterial * > *)jarg1; - temp2 = (aiMaterial *)jarg2; - arg2 = (aiMaterial **)&temp2; - result = (bool)std_vector_Sl_aiMaterial_Sm__Sg__Remove(arg1,(aiMaterial *const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_aiMaterialVector(void * jarg1) { - std::vector< aiMaterial * > *arg1 = (std::vector< aiMaterial * > *) 0 ; - - arg1 = (std::vector< aiMaterial * > *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMeshAnimVector_Clear(void * jarg1) { - std::vector< aiMeshAnim * > *arg1 = (std::vector< aiMeshAnim * > *) 0 ; - - arg1 = (std::vector< aiMeshAnim * > *)jarg1; - (arg1)->clear(); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMeshAnimVector_Add(void * jarg1, void * jarg2) { - std::vector< aiMeshAnim * > *arg1 = (std::vector< aiMeshAnim * > *) 0 ; - aiMeshAnim **arg2 = 0 ; - aiMeshAnim *temp2 = 0 ; - - arg1 = (std::vector< aiMeshAnim * > *)jarg1; - temp2 = (aiMeshAnim *)jarg2; - arg2 = (aiMeshAnim **)&temp2; - (arg1)->push_back((aiMeshAnim *const &)*arg2); -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_aiMeshAnimVector_size(void * jarg1) { - unsigned long jresult ; - std::vector< aiMeshAnim * > *arg1 = (std::vector< aiMeshAnim * > *) 0 ; - std::vector< aiMeshAnim * >::size_type result; - - arg1 = (std::vector< aiMeshAnim * > *)jarg1; - result = ((std::vector< aiMeshAnim * > const *)arg1)->size(); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_aiMeshAnimVector_capacity(void * jarg1) { - unsigned long jresult ; - std::vector< aiMeshAnim * > *arg1 = (std::vector< aiMeshAnim * > *) 0 ; - std::vector< aiMeshAnim * >::size_type result; - - arg1 = (std::vector< aiMeshAnim * > *)jarg1; - result = ((std::vector< aiMeshAnim * > const *)arg1)->capacity(); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMeshAnimVector_reserve(void * jarg1, unsigned long jarg2) { - std::vector< aiMeshAnim * > *arg1 = (std::vector< aiMeshAnim * > *) 0 ; - std::vector< aiMeshAnim * >::size_type arg2 ; - - arg1 = (std::vector< aiMeshAnim * > *)jarg1; - arg2 = (std::vector< aiMeshAnim * >::size_type)jarg2; - (arg1)->reserve(arg2); -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiMeshAnimVector__SWIG_0() { - void * jresult ; - std::vector< aiMeshAnim * > *result = 0 ; - - result = (std::vector< aiMeshAnim * > *)new std::vector< aiMeshAnim * >(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiMeshAnimVector__SWIG_1(void * jarg1) { - void * jresult ; - std::vector< aiMeshAnim * > *arg1 = 0 ; - std::vector< aiMeshAnim * > *result = 0 ; - - arg1 = (std::vector< aiMeshAnim * > *)jarg1; - if (!arg1) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< aiMeshAnim * > const & type is null", 0); - return 0; - } - result = (std::vector< aiMeshAnim * > *)new std::vector< aiMeshAnim * >((std::vector< aiMeshAnim * > const &)*arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiMeshAnimVector__SWIG_2(int jarg1) { - void * jresult ; - int arg1 ; - std::vector< aiMeshAnim * > *result = 0 ; - - arg1 = (int)jarg1; - try { - result = (std::vector< aiMeshAnim * > *)new_std_vector_Sl_aiMeshAnim_Sm__Sg___SWIG_2(arg1); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiMeshAnimVector_getitemcopy(void * jarg1, int jarg2) { - void * jresult ; - std::vector< aiMeshAnim * > *arg1 = (std::vector< aiMeshAnim * > *) 0 ; - int arg2 ; - aiMeshAnim *result = 0 ; - - arg1 = (std::vector< aiMeshAnim * > *)jarg1; - arg2 = (int)jarg2; - try { - result = (aiMeshAnim *)std_vector_Sl_aiMeshAnim_Sm__Sg__getitemcopy(arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiMeshAnimVector_getitem(void * jarg1, int jarg2) { - void * jresult ; - std::vector< aiMeshAnim * > *arg1 = (std::vector< aiMeshAnim * > *) 0 ; - int arg2 ; - aiMeshAnim **result = 0 ; - - arg1 = (std::vector< aiMeshAnim * > *)jarg1; - arg2 = (int)jarg2; - try { - result = (aiMeshAnim **) &std_vector_Sl_aiMeshAnim_Sm__Sg__getitem(arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = (void *)*result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMeshAnimVector_setitem(void * jarg1, int jarg2, void * jarg3) { - std::vector< aiMeshAnim * > *arg1 = (std::vector< aiMeshAnim * > *) 0 ; - int arg2 ; - aiMeshAnim **arg3 = 0 ; - aiMeshAnim *temp3 = 0 ; - - arg1 = (std::vector< aiMeshAnim * > *)jarg1; - arg2 = (int)jarg2; - temp3 = (aiMeshAnim *)jarg3; - arg3 = (aiMeshAnim **)&temp3; - try { - std_vector_Sl_aiMeshAnim_Sm__Sg__setitem(arg1,arg2,(aiMeshAnim *const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMeshAnimVector_AddRange(void * jarg1, void * jarg2) { - std::vector< aiMeshAnim * > *arg1 = (std::vector< aiMeshAnim * > *) 0 ; - std::vector< aiMeshAnim * > *arg2 = 0 ; - - arg1 = (std::vector< aiMeshAnim * > *)jarg1; - arg2 = (std::vector< aiMeshAnim * > *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< aiMeshAnim * > const & type is null", 0); - return ; - } - std_vector_Sl_aiMeshAnim_Sm__Sg__AddRange(arg1,(std::vector< aiMeshAnim * > const &)*arg2); -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiMeshAnimVector_GetRange(void * jarg1, int jarg2, int jarg3) { - void * jresult ; - std::vector< aiMeshAnim * > *arg1 = (std::vector< aiMeshAnim * > *) 0 ; - int arg2 ; - int arg3 ; - std::vector< aiMeshAnim * > *result = 0 ; - - arg1 = (std::vector< aiMeshAnim * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (int)jarg3; - try { - result = (std::vector< aiMeshAnim * > *)std_vector_Sl_aiMeshAnim_Sm__Sg__GetRange(arg1,arg2,arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - catch(std::invalid_argument &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentException, (&_e)->what(), ""); - return 0; - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMeshAnimVector_Insert(void * jarg1, int jarg2, void * jarg3) { - std::vector< aiMeshAnim * > *arg1 = (std::vector< aiMeshAnim * > *) 0 ; - int arg2 ; - aiMeshAnim **arg3 = 0 ; - aiMeshAnim *temp3 = 0 ; - - arg1 = (std::vector< aiMeshAnim * > *)jarg1; - arg2 = (int)jarg2; - temp3 = (aiMeshAnim *)jarg3; - arg3 = (aiMeshAnim **)&temp3; - try { - std_vector_Sl_aiMeshAnim_Sm__Sg__Insert(arg1,arg2,(aiMeshAnim *const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMeshAnimVector_InsertRange(void * jarg1, int jarg2, void * jarg3) { - std::vector< aiMeshAnim * > *arg1 = (std::vector< aiMeshAnim * > *) 0 ; - int arg2 ; - std::vector< aiMeshAnim * > *arg3 = 0 ; - - arg1 = (std::vector< aiMeshAnim * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (std::vector< aiMeshAnim * > *)jarg3; - if (!arg3) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< aiMeshAnim * > const & type is null", 0); - return ; - } - try { - std_vector_Sl_aiMeshAnim_Sm__Sg__InsertRange(arg1,arg2,(std::vector< aiMeshAnim * > const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMeshAnimVector_RemoveAt(void * jarg1, int jarg2) { - std::vector< aiMeshAnim * > *arg1 = (std::vector< aiMeshAnim * > *) 0 ; - int arg2 ; - - arg1 = (std::vector< aiMeshAnim * > *)jarg1; - arg2 = (int)jarg2; - try { - std_vector_Sl_aiMeshAnim_Sm__Sg__RemoveAt(arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMeshAnimVector_RemoveRange(void * jarg1, int jarg2, int jarg3) { - std::vector< aiMeshAnim * > *arg1 = (std::vector< aiMeshAnim * > *) 0 ; - int arg2 ; - int arg3 ; - - arg1 = (std::vector< aiMeshAnim * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (int)jarg3; - try { - std_vector_Sl_aiMeshAnim_Sm__Sg__RemoveRange(arg1,arg2,arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - catch(std::invalid_argument &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentException, (&_e)->what(), ""); - return ; - } - -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiMeshAnimVector_Repeat(void * jarg1, int jarg2) { - void * jresult ; - aiMeshAnim **arg1 = 0 ; - int arg2 ; - aiMeshAnim *temp1 = 0 ; - std::vector< aiMeshAnim * > *result = 0 ; - - temp1 = (aiMeshAnim *)jarg1; - arg1 = (aiMeshAnim **)&temp1; - arg2 = (int)jarg2; - try { - result = (std::vector< aiMeshAnim * > *)std_vector_Sl_aiMeshAnim_Sm__Sg__Repeat((aiMeshAnim *const &)*arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMeshAnimVector_Reverse__SWIG_0(void * jarg1) { - std::vector< aiMeshAnim * > *arg1 = (std::vector< aiMeshAnim * > *) 0 ; - - arg1 = (std::vector< aiMeshAnim * > *)jarg1; - std_vector_Sl_aiMeshAnim_Sm__Sg__Reverse__SWIG_0(arg1); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMeshAnimVector_Reverse__SWIG_1(void * jarg1, int jarg2, int jarg3) { - std::vector< aiMeshAnim * > *arg1 = (std::vector< aiMeshAnim * > *) 0 ; - int arg2 ; - int arg3 ; - - arg1 = (std::vector< aiMeshAnim * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (int)jarg3; - try { - std_vector_Sl_aiMeshAnim_Sm__Sg__Reverse__SWIG_1(arg1,arg2,arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - catch(std::invalid_argument &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentException, (&_e)->what(), ""); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMeshAnimVector_SetRange(void * jarg1, int jarg2, void * jarg3) { - std::vector< aiMeshAnim * > *arg1 = (std::vector< aiMeshAnim * > *) 0 ; - int arg2 ; - std::vector< aiMeshAnim * > *arg3 = 0 ; - - arg1 = (std::vector< aiMeshAnim * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (std::vector< aiMeshAnim * > *)jarg3; - if (!arg3) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< aiMeshAnim * > const & type is null", 0); - return ; - } - try { - std_vector_Sl_aiMeshAnim_Sm__Sg__SetRange(arg1,arg2,(std::vector< aiMeshAnim * > const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiMeshAnimVector_Contains(void * jarg1, void * jarg2) { - unsigned int jresult ; - std::vector< aiMeshAnim * > *arg1 = (std::vector< aiMeshAnim * > *) 0 ; - aiMeshAnim **arg2 = 0 ; - aiMeshAnim *temp2 = 0 ; - bool result; - - arg1 = (std::vector< aiMeshAnim * > *)jarg1; - temp2 = (aiMeshAnim *)jarg2; - arg2 = (aiMeshAnim **)&temp2; - result = (bool)std_vector_Sl_aiMeshAnim_Sm__Sg__Contains(arg1,(aiMeshAnim *const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_aiMeshAnimVector_IndexOf(void * jarg1, void * jarg2) { - int jresult ; - std::vector< aiMeshAnim * > *arg1 = (std::vector< aiMeshAnim * > *) 0 ; - aiMeshAnim **arg2 = 0 ; - aiMeshAnim *temp2 = 0 ; - int result; - - arg1 = (std::vector< aiMeshAnim * > *)jarg1; - temp2 = (aiMeshAnim *)jarg2; - arg2 = (aiMeshAnim **)&temp2; - result = (int)std_vector_Sl_aiMeshAnim_Sm__Sg__IndexOf(arg1,(aiMeshAnim *const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_aiMeshAnimVector_LastIndexOf(void * jarg1, void * jarg2) { - int jresult ; - std::vector< aiMeshAnim * > *arg1 = (std::vector< aiMeshAnim * > *) 0 ; - aiMeshAnim **arg2 = 0 ; - aiMeshAnim *temp2 = 0 ; - int result; - - arg1 = (std::vector< aiMeshAnim * > *)jarg1; - temp2 = (aiMeshAnim *)jarg2; - arg2 = (aiMeshAnim **)&temp2; - result = (int)std_vector_Sl_aiMeshAnim_Sm__Sg__LastIndexOf(arg1,(aiMeshAnim *const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiMeshAnimVector_Remove(void * jarg1, void * jarg2) { - unsigned int jresult ; - std::vector< aiMeshAnim * > *arg1 = (std::vector< aiMeshAnim * > *) 0 ; - aiMeshAnim **arg2 = 0 ; - aiMeshAnim *temp2 = 0 ; - bool result; - - arg1 = (std::vector< aiMeshAnim * > *)jarg1; - temp2 = (aiMeshAnim *)jarg2; - arg2 = (aiMeshAnim **)&temp2; - result = (bool)std_vector_Sl_aiMeshAnim_Sm__Sg__Remove(arg1,(aiMeshAnim *const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_aiMeshAnimVector(void * jarg1) { - std::vector< aiMeshAnim * > *arg1 = (std::vector< aiMeshAnim * > *) 0 ; - - arg1 = (std::vector< aiMeshAnim * > *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMeshKeyVector_Clear(void * jarg1) { - std::vector< aiMeshKey * > *arg1 = (std::vector< aiMeshKey * > *) 0 ; - - arg1 = (std::vector< aiMeshKey * > *)jarg1; - (arg1)->clear(); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMeshKeyVector_Add(void * jarg1, void * jarg2) { - std::vector< aiMeshKey * > *arg1 = (std::vector< aiMeshKey * > *) 0 ; - aiMeshKey **arg2 = 0 ; - aiMeshKey *temp2 = 0 ; - - arg1 = (std::vector< aiMeshKey * > *)jarg1; - temp2 = (aiMeshKey *)jarg2; - arg2 = (aiMeshKey **)&temp2; - (arg1)->push_back((aiMeshKey *const &)*arg2); -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_aiMeshKeyVector_size(void * jarg1) { - unsigned long jresult ; - std::vector< aiMeshKey * > *arg1 = (std::vector< aiMeshKey * > *) 0 ; - std::vector< aiMeshKey * >::size_type result; - - arg1 = (std::vector< aiMeshKey * > *)jarg1; - result = ((std::vector< aiMeshKey * > const *)arg1)->size(); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_aiMeshKeyVector_capacity(void * jarg1) { - unsigned long jresult ; - std::vector< aiMeshKey * > *arg1 = (std::vector< aiMeshKey * > *) 0 ; - std::vector< aiMeshKey * >::size_type result; - - arg1 = (std::vector< aiMeshKey * > *)jarg1; - result = ((std::vector< aiMeshKey * > const *)arg1)->capacity(); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMeshKeyVector_reserve(void * jarg1, unsigned long jarg2) { - std::vector< aiMeshKey * > *arg1 = (std::vector< aiMeshKey * > *) 0 ; - std::vector< aiMeshKey * >::size_type arg2 ; - - arg1 = (std::vector< aiMeshKey * > *)jarg1; - arg2 = (std::vector< aiMeshKey * >::size_type)jarg2; - (arg1)->reserve(arg2); -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiMeshKeyVector__SWIG_0() { - void * jresult ; - std::vector< aiMeshKey * > *result = 0 ; - - result = (std::vector< aiMeshKey * > *)new std::vector< aiMeshKey * >(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiMeshKeyVector__SWIG_1(void * jarg1) { - void * jresult ; - std::vector< aiMeshKey * > *arg1 = 0 ; - std::vector< aiMeshKey * > *result = 0 ; - - arg1 = (std::vector< aiMeshKey * > *)jarg1; - if (!arg1) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< aiMeshKey * > const & type is null", 0); - return 0; - } - result = (std::vector< aiMeshKey * > *)new std::vector< aiMeshKey * >((std::vector< aiMeshKey * > const &)*arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiMeshKeyVector__SWIG_2(int jarg1) { - void * jresult ; - int arg1 ; - std::vector< aiMeshKey * > *result = 0 ; - - arg1 = (int)jarg1; - try { - result = (std::vector< aiMeshKey * > *)new_std_vector_Sl_aiMeshKey_Sm__Sg___SWIG_2(arg1); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiMeshKeyVector_getitemcopy(void * jarg1, int jarg2) { - void * jresult ; - std::vector< aiMeshKey * > *arg1 = (std::vector< aiMeshKey * > *) 0 ; - int arg2 ; - aiMeshKey *result = 0 ; - - arg1 = (std::vector< aiMeshKey * > *)jarg1; - arg2 = (int)jarg2; - try { - result = (aiMeshKey *)std_vector_Sl_aiMeshKey_Sm__Sg__getitemcopy(arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiMeshKeyVector_getitem(void * jarg1, int jarg2) { - void * jresult ; - std::vector< aiMeshKey * > *arg1 = (std::vector< aiMeshKey * > *) 0 ; - int arg2 ; - aiMeshKey **result = 0 ; - - arg1 = (std::vector< aiMeshKey * > *)jarg1; - arg2 = (int)jarg2; - try { - result = (aiMeshKey **) &std_vector_Sl_aiMeshKey_Sm__Sg__getitem(arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = (void *)*result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMeshKeyVector_setitem(void * jarg1, int jarg2, void * jarg3) { - std::vector< aiMeshKey * > *arg1 = (std::vector< aiMeshKey * > *) 0 ; - int arg2 ; - aiMeshKey **arg3 = 0 ; - aiMeshKey *temp3 = 0 ; - - arg1 = (std::vector< aiMeshKey * > *)jarg1; - arg2 = (int)jarg2; - temp3 = (aiMeshKey *)jarg3; - arg3 = (aiMeshKey **)&temp3; - try { - std_vector_Sl_aiMeshKey_Sm__Sg__setitem(arg1,arg2,(aiMeshKey *const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMeshKeyVector_AddRange(void * jarg1, void * jarg2) { - std::vector< aiMeshKey * > *arg1 = (std::vector< aiMeshKey * > *) 0 ; - std::vector< aiMeshKey * > *arg2 = 0 ; - - arg1 = (std::vector< aiMeshKey * > *)jarg1; - arg2 = (std::vector< aiMeshKey * > *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< aiMeshKey * > const & type is null", 0); - return ; - } - std_vector_Sl_aiMeshKey_Sm__Sg__AddRange(arg1,(std::vector< aiMeshKey * > const &)*arg2); -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiMeshKeyVector_GetRange(void * jarg1, int jarg2, int jarg3) { - void * jresult ; - std::vector< aiMeshKey * > *arg1 = (std::vector< aiMeshKey * > *) 0 ; - int arg2 ; - int arg3 ; - std::vector< aiMeshKey * > *result = 0 ; - - arg1 = (std::vector< aiMeshKey * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (int)jarg3; - try { - result = (std::vector< aiMeshKey * > *)std_vector_Sl_aiMeshKey_Sm__Sg__GetRange(arg1,arg2,arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - catch(std::invalid_argument &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentException, (&_e)->what(), ""); - return 0; - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMeshKeyVector_Insert(void * jarg1, int jarg2, void * jarg3) { - std::vector< aiMeshKey * > *arg1 = (std::vector< aiMeshKey * > *) 0 ; - int arg2 ; - aiMeshKey **arg3 = 0 ; - aiMeshKey *temp3 = 0 ; - - arg1 = (std::vector< aiMeshKey * > *)jarg1; - arg2 = (int)jarg2; - temp3 = (aiMeshKey *)jarg3; - arg3 = (aiMeshKey **)&temp3; - try { - std_vector_Sl_aiMeshKey_Sm__Sg__Insert(arg1,arg2,(aiMeshKey *const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMeshKeyVector_InsertRange(void * jarg1, int jarg2, void * jarg3) { - std::vector< aiMeshKey * > *arg1 = (std::vector< aiMeshKey * > *) 0 ; - int arg2 ; - std::vector< aiMeshKey * > *arg3 = 0 ; - - arg1 = (std::vector< aiMeshKey * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (std::vector< aiMeshKey * > *)jarg3; - if (!arg3) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< aiMeshKey * > const & type is null", 0); - return ; - } - try { - std_vector_Sl_aiMeshKey_Sm__Sg__InsertRange(arg1,arg2,(std::vector< aiMeshKey * > const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMeshKeyVector_RemoveAt(void * jarg1, int jarg2) { - std::vector< aiMeshKey * > *arg1 = (std::vector< aiMeshKey * > *) 0 ; - int arg2 ; - - arg1 = (std::vector< aiMeshKey * > *)jarg1; - arg2 = (int)jarg2; - try { - std_vector_Sl_aiMeshKey_Sm__Sg__RemoveAt(arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMeshKeyVector_RemoveRange(void * jarg1, int jarg2, int jarg3) { - std::vector< aiMeshKey * > *arg1 = (std::vector< aiMeshKey * > *) 0 ; - int arg2 ; - int arg3 ; - - arg1 = (std::vector< aiMeshKey * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (int)jarg3; - try { - std_vector_Sl_aiMeshKey_Sm__Sg__RemoveRange(arg1,arg2,arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - catch(std::invalid_argument &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentException, (&_e)->what(), ""); - return ; - } - -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiMeshKeyVector_Repeat(void * jarg1, int jarg2) { - void * jresult ; - aiMeshKey **arg1 = 0 ; - int arg2 ; - aiMeshKey *temp1 = 0 ; - std::vector< aiMeshKey * > *result = 0 ; - - temp1 = (aiMeshKey *)jarg1; - arg1 = (aiMeshKey **)&temp1; - arg2 = (int)jarg2; - try { - result = (std::vector< aiMeshKey * > *)std_vector_Sl_aiMeshKey_Sm__Sg__Repeat((aiMeshKey *const &)*arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMeshKeyVector_Reverse__SWIG_0(void * jarg1) { - std::vector< aiMeshKey * > *arg1 = (std::vector< aiMeshKey * > *) 0 ; - - arg1 = (std::vector< aiMeshKey * > *)jarg1; - std_vector_Sl_aiMeshKey_Sm__Sg__Reverse__SWIG_0(arg1); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMeshKeyVector_Reverse__SWIG_1(void * jarg1, int jarg2, int jarg3) { - std::vector< aiMeshKey * > *arg1 = (std::vector< aiMeshKey * > *) 0 ; - int arg2 ; - int arg3 ; - - arg1 = (std::vector< aiMeshKey * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (int)jarg3; - try { - std_vector_Sl_aiMeshKey_Sm__Sg__Reverse__SWIG_1(arg1,arg2,arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - catch(std::invalid_argument &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentException, (&_e)->what(), ""); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMeshKeyVector_SetRange(void * jarg1, int jarg2, void * jarg3) { - std::vector< aiMeshKey * > *arg1 = (std::vector< aiMeshKey * > *) 0 ; - int arg2 ; - std::vector< aiMeshKey * > *arg3 = 0 ; - - arg1 = (std::vector< aiMeshKey * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (std::vector< aiMeshKey * > *)jarg3; - if (!arg3) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< aiMeshKey * > const & type is null", 0); - return ; - } - try { - std_vector_Sl_aiMeshKey_Sm__Sg__SetRange(arg1,arg2,(std::vector< aiMeshKey * > const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiMeshKeyVector_Contains(void * jarg1, void * jarg2) { - unsigned int jresult ; - std::vector< aiMeshKey * > *arg1 = (std::vector< aiMeshKey * > *) 0 ; - aiMeshKey **arg2 = 0 ; - aiMeshKey *temp2 = 0 ; - bool result; - - arg1 = (std::vector< aiMeshKey * > *)jarg1; - temp2 = (aiMeshKey *)jarg2; - arg2 = (aiMeshKey **)&temp2; - result = (bool)std_vector_Sl_aiMeshKey_Sm__Sg__Contains(arg1,(aiMeshKey *const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_aiMeshKeyVector_IndexOf(void * jarg1, void * jarg2) { - int jresult ; - std::vector< aiMeshKey * > *arg1 = (std::vector< aiMeshKey * > *) 0 ; - aiMeshKey **arg2 = 0 ; - aiMeshKey *temp2 = 0 ; - int result; - - arg1 = (std::vector< aiMeshKey * > *)jarg1; - temp2 = (aiMeshKey *)jarg2; - arg2 = (aiMeshKey **)&temp2; - result = (int)std_vector_Sl_aiMeshKey_Sm__Sg__IndexOf(arg1,(aiMeshKey *const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_aiMeshKeyVector_LastIndexOf(void * jarg1, void * jarg2) { - int jresult ; - std::vector< aiMeshKey * > *arg1 = (std::vector< aiMeshKey * > *) 0 ; - aiMeshKey **arg2 = 0 ; - aiMeshKey *temp2 = 0 ; - int result; - - arg1 = (std::vector< aiMeshKey * > *)jarg1; - temp2 = (aiMeshKey *)jarg2; - arg2 = (aiMeshKey **)&temp2; - result = (int)std_vector_Sl_aiMeshKey_Sm__Sg__LastIndexOf(arg1,(aiMeshKey *const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiMeshKeyVector_Remove(void * jarg1, void * jarg2) { - unsigned int jresult ; - std::vector< aiMeshKey * > *arg1 = (std::vector< aiMeshKey * > *) 0 ; - aiMeshKey **arg2 = 0 ; - aiMeshKey *temp2 = 0 ; - bool result; - - arg1 = (std::vector< aiMeshKey * > *)jarg1; - temp2 = (aiMeshKey *)jarg2; - arg2 = (aiMeshKey **)&temp2; - result = (bool)std_vector_Sl_aiMeshKey_Sm__Sg__Remove(arg1,(aiMeshKey *const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_aiMeshKeyVector(void * jarg1) { - std::vector< aiMeshKey * > *arg1 = (std::vector< aiMeshKey * > *) 0 ; - - arg1 = (std::vector< aiMeshKey * > *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMeshVector_Clear(void * jarg1) { - std::vector< aiMesh * > *arg1 = (std::vector< aiMesh * > *) 0 ; - - arg1 = (std::vector< aiMesh * > *)jarg1; - (arg1)->clear(); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMeshVector_Add(void * jarg1, void * jarg2) { - std::vector< aiMesh * > *arg1 = (std::vector< aiMesh * > *) 0 ; - aiMesh **arg2 = 0 ; - aiMesh *temp2 = 0 ; - - arg1 = (std::vector< aiMesh * > *)jarg1; - temp2 = (aiMesh *)jarg2; - arg2 = (aiMesh **)&temp2; - (arg1)->push_back((aiMesh *const &)*arg2); -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_aiMeshVector_size(void * jarg1) { - unsigned long jresult ; - std::vector< aiMesh * > *arg1 = (std::vector< aiMesh * > *) 0 ; - std::vector< aiMesh * >::size_type result; - - arg1 = (std::vector< aiMesh * > *)jarg1; - result = ((std::vector< aiMesh * > const *)arg1)->size(); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_aiMeshVector_capacity(void * jarg1) { - unsigned long jresult ; - std::vector< aiMesh * > *arg1 = (std::vector< aiMesh * > *) 0 ; - std::vector< aiMesh * >::size_type result; - - arg1 = (std::vector< aiMesh * > *)jarg1; - result = ((std::vector< aiMesh * > const *)arg1)->capacity(); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMeshVector_reserve(void * jarg1, unsigned long jarg2) { - std::vector< aiMesh * > *arg1 = (std::vector< aiMesh * > *) 0 ; - std::vector< aiMesh * >::size_type arg2 ; - - arg1 = (std::vector< aiMesh * > *)jarg1; - arg2 = (std::vector< aiMesh * >::size_type)jarg2; - (arg1)->reserve(arg2); -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiMeshVector__SWIG_0() { - void * jresult ; - std::vector< aiMesh * > *result = 0 ; - - result = (std::vector< aiMesh * > *)new std::vector< aiMesh * >(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiMeshVector__SWIG_1(void * jarg1) { - void * jresult ; - std::vector< aiMesh * > *arg1 = 0 ; - std::vector< aiMesh * > *result = 0 ; - - arg1 = (std::vector< aiMesh * > *)jarg1; - if (!arg1) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< aiMesh * > const & type is null", 0); - return 0; - } - result = (std::vector< aiMesh * > *)new std::vector< aiMesh * >((std::vector< aiMesh * > const &)*arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiMeshVector__SWIG_2(int jarg1) { - void * jresult ; - int arg1 ; - std::vector< aiMesh * > *result = 0 ; - - arg1 = (int)jarg1; - try { - result = (std::vector< aiMesh * > *)new_std_vector_Sl_aiMesh_Sm__Sg___SWIG_2(arg1); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiMeshVector_getitemcopy(void * jarg1, int jarg2) { - void * jresult ; - std::vector< aiMesh * > *arg1 = (std::vector< aiMesh * > *) 0 ; - int arg2 ; - aiMesh *result = 0 ; - - arg1 = (std::vector< aiMesh * > *)jarg1; - arg2 = (int)jarg2; - try { - result = (aiMesh *)std_vector_Sl_aiMesh_Sm__Sg__getitemcopy(arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiMeshVector_getitem(void * jarg1, int jarg2) { - void * jresult ; - std::vector< aiMesh * > *arg1 = (std::vector< aiMesh * > *) 0 ; - int arg2 ; - aiMesh **result = 0 ; - - arg1 = (std::vector< aiMesh * > *)jarg1; - arg2 = (int)jarg2; - try { - result = (aiMesh **) &std_vector_Sl_aiMesh_Sm__Sg__getitem(arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = (void *)*result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMeshVector_setitem(void * jarg1, int jarg2, void * jarg3) { - std::vector< aiMesh * > *arg1 = (std::vector< aiMesh * > *) 0 ; - int arg2 ; - aiMesh **arg3 = 0 ; - aiMesh *temp3 = 0 ; - - arg1 = (std::vector< aiMesh * > *)jarg1; - arg2 = (int)jarg2; - temp3 = (aiMesh *)jarg3; - arg3 = (aiMesh **)&temp3; - try { - std_vector_Sl_aiMesh_Sm__Sg__setitem(arg1,arg2,(aiMesh *const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMeshVector_AddRange(void * jarg1, void * jarg2) { - std::vector< aiMesh * > *arg1 = (std::vector< aiMesh * > *) 0 ; - std::vector< aiMesh * > *arg2 = 0 ; - - arg1 = (std::vector< aiMesh * > *)jarg1; - arg2 = (std::vector< aiMesh * > *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< aiMesh * > const & type is null", 0); - return ; - } - std_vector_Sl_aiMesh_Sm__Sg__AddRange(arg1,(std::vector< aiMesh * > const &)*arg2); -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiMeshVector_GetRange(void * jarg1, int jarg2, int jarg3) { - void * jresult ; - std::vector< aiMesh * > *arg1 = (std::vector< aiMesh * > *) 0 ; - int arg2 ; - int arg3 ; - std::vector< aiMesh * > *result = 0 ; - - arg1 = (std::vector< aiMesh * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (int)jarg3; - try { - result = (std::vector< aiMesh * > *)std_vector_Sl_aiMesh_Sm__Sg__GetRange(arg1,arg2,arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - catch(std::invalid_argument &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentException, (&_e)->what(), ""); - return 0; - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMeshVector_Insert(void * jarg1, int jarg2, void * jarg3) { - std::vector< aiMesh * > *arg1 = (std::vector< aiMesh * > *) 0 ; - int arg2 ; - aiMesh **arg3 = 0 ; - aiMesh *temp3 = 0 ; - - arg1 = (std::vector< aiMesh * > *)jarg1; - arg2 = (int)jarg2; - temp3 = (aiMesh *)jarg3; - arg3 = (aiMesh **)&temp3; - try { - std_vector_Sl_aiMesh_Sm__Sg__Insert(arg1,arg2,(aiMesh *const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMeshVector_InsertRange(void * jarg1, int jarg2, void * jarg3) { - std::vector< aiMesh * > *arg1 = (std::vector< aiMesh * > *) 0 ; - int arg2 ; - std::vector< aiMesh * > *arg3 = 0 ; - - arg1 = (std::vector< aiMesh * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (std::vector< aiMesh * > *)jarg3; - if (!arg3) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< aiMesh * > const & type is null", 0); - return ; - } - try { - std_vector_Sl_aiMesh_Sm__Sg__InsertRange(arg1,arg2,(std::vector< aiMesh * > const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMeshVector_RemoveAt(void * jarg1, int jarg2) { - std::vector< aiMesh * > *arg1 = (std::vector< aiMesh * > *) 0 ; - int arg2 ; - - arg1 = (std::vector< aiMesh * > *)jarg1; - arg2 = (int)jarg2; - try { - std_vector_Sl_aiMesh_Sm__Sg__RemoveAt(arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMeshVector_RemoveRange(void * jarg1, int jarg2, int jarg3) { - std::vector< aiMesh * > *arg1 = (std::vector< aiMesh * > *) 0 ; - int arg2 ; - int arg3 ; - - arg1 = (std::vector< aiMesh * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (int)jarg3; - try { - std_vector_Sl_aiMesh_Sm__Sg__RemoveRange(arg1,arg2,arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - catch(std::invalid_argument &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentException, (&_e)->what(), ""); - return ; - } - -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiMeshVector_Repeat(void * jarg1, int jarg2) { - void * jresult ; - aiMesh **arg1 = 0 ; - int arg2 ; - aiMesh *temp1 = 0 ; - std::vector< aiMesh * > *result = 0 ; - - temp1 = (aiMesh *)jarg1; - arg1 = (aiMesh **)&temp1; - arg2 = (int)jarg2; - try { - result = (std::vector< aiMesh * > *)std_vector_Sl_aiMesh_Sm__Sg__Repeat((aiMesh *const &)*arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMeshVector_Reverse__SWIG_0(void * jarg1) { - std::vector< aiMesh * > *arg1 = (std::vector< aiMesh * > *) 0 ; - - arg1 = (std::vector< aiMesh * > *)jarg1; - std_vector_Sl_aiMesh_Sm__Sg__Reverse__SWIG_0(arg1); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMeshVector_Reverse__SWIG_1(void * jarg1, int jarg2, int jarg3) { - std::vector< aiMesh * > *arg1 = (std::vector< aiMesh * > *) 0 ; - int arg2 ; - int arg3 ; - - arg1 = (std::vector< aiMesh * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (int)jarg3; - try { - std_vector_Sl_aiMesh_Sm__Sg__Reverse__SWIG_1(arg1,arg2,arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - catch(std::invalid_argument &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentException, (&_e)->what(), ""); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiMeshVector_SetRange(void * jarg1, int jarg2, void * jarg3) { - std::vector< aiMesh * > *arg1 = (std::vector< aiMesh * > *) 0 ; - int arg2 ; - std::vector< aiMesh * > *arg3 = 0 ; - - arg1 = (std::vector< aiMesh * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (std::vector< aiMesh * > *)jarg3; - if (!arg3) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< aiMesh * > const & type is null", 0); - return ; - } - try { - std_vector_Sl_aiMesh_Sm__Sg__SetRange(arg1,arg2,(std::vector< aiMesh * > const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiMeshVector_Contains(void * jarg1, void * jarg2) { - unsigned int jresult ; - std::vector< aiMesh * > *arg1 = (std::vector< aiMesh * > *) 0 ; - aiMesh **arg2 = 0 ; - aiMesh *temp2 = 0 ; - bool result; - - arg1 = (std::vector< aiMesh * > *)jarg1; - temp2 = (aiMesh *)jarg2; - arg2 = (aiMesh **)&temp2; - result = (bool)std_vector_Sl_aiMesh_Sm__Sg__Contains(arg1,(aiMesh *const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_aiMeshVector_IndexOf(void * jarg1, void * jarg2) { - int jresult ; - std::vector< aiMesh * > *arg1 = (std::vector< aiMesh * > *) 0 ; - aiMesh **arg2 = 0 ; - aiMesh *temp2 = 0 ; - int result; - - arg1 = (std::vector< aiMesh * > *)jarg1; - temp2 = (aiMesh *)jarg2; - arg2 = (aiMesh **)&temp2; - result = (int)std_vector_Sl_aiMesh_Sm__Sg__IndexOf(arg1,(aiMesh *const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_aiMeshVector_LastIndexOf(void * jarg1, void * jarg2) { - int jresult ; - std::vector< aiMesh * > *arg1 = (std::vector< aiMesh * > *) 0 ; - aiMesh **arg2 = 0 ; - aiMesh *temp2 = 0 ; - int result; - - arg1 = (std::vector< aiMesh * > *)jarg1; - temp2 = (aiMesh *)jarg2; - arg2 = (aiMesh **)&temp2; - result = (int)std_vector_Sl_aiMesh_Sm__Sg__LastIndexOf(arg1,(aiMesh *const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiMeshVector_Remove(void * jarg1, void * jarg2) { - unsigned int jresult ; - std::vector< aiMesh * > *arg1 = (std::vector< aiMesh * > *) 0 ; - aiMesh **arg2 = 0 ; - aiMesh *temp2 = 0 ; - bool result; - - arg1 = (std::vector< aiMesh * > *)jarg1; - temp2 = (aiMesh *)jarg2; - arg2 = (aiMesh **)&temp2; - result = (bool)std_vector_Sl_aiMesh_Sm__Sg__Remove(arg1,(aiMesh *const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_aiMeshVector(void * jarg1) { - std::vector< aiMesh * > *arg1 = (std::vector< aiMesh * > *) 0 ; - - arg1 = (std::vector< aiMesh * > *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiNodeVector_Clear(void * jarg1) { - std::vector< aiNode * > *arg1 = (std::vector< aiNode * > *) 0 ; - - arg1 = (std::vector< aiNode * > *)jarg1; - (arg1)->clear(); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiNodeVector_Add(void * jarg1, void * jarg2) { - std::vector< aiNode * > *arg1 = (std::vector< aiNode * > *) 0 ; - aiNode **arg2 = 0 ; - aiNode *temp2 = 0 ; - - arg1 = (std::vector< aiNode * > *)jarg1; - temp2 = (aiNode *)jarg2; - arg2 = (aiNode **)&temp2; - (arg1)->push_back((aiNode *const &)*arg2); -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_aiNodeVector_size(void * jarg1) { - unsigned long jresult ; - std::vector< aiNode * > *arg1 = (std::vector< aiNode * > *) 0 ; - std::vector< aiNode * >::size_type result; - - arg1 = (std::vector< aiNode * > *)jarg1; - result = ((std::vector< aiNode * > const *)arg1)->size(); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_aiNodeVector_capacity(void * jarg1) { - unsigned long jresult ; - std::vector< aiNode * > *arg1 = (std::vector< aiNode * > *) 0 ; - std::vector< aiNode * >::size_type result; - - arg1 = (std::vector< aiNode * > *)jarg1; - result = ((std::vector< aiNode * > const *)arg1)->capacity(); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiNodeVector_reserve(void * jarg1, unsigned long jarg2) { - std::vector< aiNode * > *arg1 = (std::vector< aiNode * > *) 0 ; - std::vector< aiNode * >::size_type arg2 ; - - arg1 = (std::vector< aiNode * > *)jarg1; - arg2 = (std::vector< aiNode * >::size_type)jarg2; - (arg1)->reserve(arg2); -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiNodeVector__SWIG_0() { - void * jresult ; - std::vector< aiNode * > *result = 0 ; - - result = (std::vector< aiNode * > *)new std::vector< aiNode * >(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiNodeVector__SWIG_1(void * jarg1) { - void * jresult ; - std::vector< aiNode * > *arg1 = 0 ; - std::vector< aiNode * > *result = 0 ; - - arg1 = (std::vector< aiNode * > *)jarg1; - if (!arg1) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< aiNode * > const & type is null", 0); - return 0; - } - result = (std::vector< aiNode * > *)new std::vector< aiNode * >((std::vector< aiNode * > const &)*arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiNodeVector__SWIG_2(int jarg1) { - void * jresult ; - int arg1 ; - std::vector< aiNode * > *result = 0 ; - - arg1 = (int)jarg1; - try { - result = (std::vector< aiNode * > *)new_std_vector_Sl_aiNode_Sm__Sg___SWIG_2(arg1); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiNodeVector_getitemcopy(void * jarg1, int jarg2) { - void * jresult ; - std::vector< aiNode * > *arg1 = (std::vector< aiNode * > *) 0 ; - int arg2 ; - aiNode *result = 0 ; - - arg1 = (std::vector< aiNode * > *)jarg1; - arg2 = (int)jarg2; - try { - result = (aiNode *)std_vector_Sl_aiNode_Sm__Sg__getitemcopy(arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiNodeVector_getitem(void * jarg1, int jarg2) { - void * jresult ; - std::vector< aiNode * > *arg1 = (std::vector< aiNode * > *) 0 ; - int arg2 ; - aiNode **result = 0 ; - - arg1 = (std::vector< aiNode * > *)jarg1; - arg2 = (int)jarg2; - try { - result = (aiNode **) &std_vector_Sl_aiNode_Sm__Sg__getitem(arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = (void *)*result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiNodeVector_setitem(void * jarg1, int jarg2, void * jarg3) { - std::vector< aiNode * > *arg1 = (std::vector< aiNode * > *) 0 ; - int arg2 ; - aiNode **arg3 = 0 ; - aiNode *temp3 = 0 ; - - arg1 = (std::vector< aiNode * > *)jarg1; - arg2 = (int)jarg2; - temp3 = (aiNode *)jarg3; - arg3 = (aiNode **)&temp3; - try { - std_vector_Sl_aiNode_Sm__Sg__setitem(arg1,arg2,(aiNode *const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiNodeVector_AddRange(void * jarg1, void * jarg2) { - std::vector< aiNode * > *arg1 = (std::vector< aiNode * > *) 0 ; - std::vector< aiNode * > *arg2 = 0 ; - - arg1 = (std::vector< aiNode * > *)jarg1; - arg2 = (std::vector< aiNode * > *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< aiNode * > const & type is null", 0); - return ; - } - std_vector_Sl_aiNode_Sm__Sg__AddRange(arg1,(std::vector< aiNode * > const &)*arg2); -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiNodeVector_GetRange(void * jarg1, int jarg2, int jarg3) { - void * jresult ; - std::vector< aiNode * > *arg1 = (std::vector< aiNode * > *) 0 ; - int arg2 ; - int arg3 ; - std::vector< aiNode * > *result = 0 ; - - arg1 = (std::vector< aiNode * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (int)jarg3; - try { - result = (std::vector< aiNode * > *)std_vector_Sl_aiNode_Sm__Sg__GetRange(arg1,arg2,arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - catch(std::invalid_argument &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentException, (&_e)->what(), ""); - return 0; - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiNodeVector_Insert(void * jarg1, int jarg2, void * jarg3) { - std::vector< aiNode * > *arg1 = (std::vector< aiNode * > *) 0 ; - int arg2 ; - aiNode **arg3 = 0 ; - aiNode *temp3 = 0 ; - - arg1 = (std::vector< aiNode * > *)jarg1; - arg2 = (int)jarg2; - temp3 = (aiNode *)jarg3; - arg3 = (aiNode **)&temp3; - try { - std_vector_Sl_aiNode_Sm__Sg__Insert(arg1,arg2,(aiNode *const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiNodeVector_InsertRange(void * jarg1, int jarg2, void * jarg3) { - std::vector< aiNode * > *arg1 = (std::vector< aiNode * > *) 0 ; - int arg2 ; - std::vector< aiNode * > *arg3 = 0 ; - - arg1 = (std::vector< aiNode * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (std::vector< aiNode * > *)jarg3; - if (!arg3) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< aiNode * > const & type is null", 0); - return ; - } - try { - std_vector_Sl_aiNode_Sm__Sg__InsertRange(arg1,arg2,(std::vector< aiNode * > const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiNodeVector_RemoveAt(void * jarg1, int jarg2) { - std::vector< aiNode * > *arg1 = (std::vector< aiNode * > *) 0 ; - int arg2 ; - - arg1 = (std::vector< aiNode * > *)jarg1; - arg2 = (int)jarg2; - try { - std_vector_Sl_aiNode_Sm__Sg__RemoveAt(arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiNodeVector_RemoveRange(void * jarg1, int jarg2, int jarg3) { - std::vector< aiNode * > *arg1 = (std::vector< aiNode * > *) 0 ; - int arg2 ; - int arg3 ; - - arg1 = (std::vector< aiNode * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (int)jarg3; - try { - std_vector_Sl_aiNode_Sm__Sg__RemoveRange(arg1,arg2,arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - catch(std::invalid_argument &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentException, (&_e)->what(), ""); - return ; - } - -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiNodeVector_Repeat(void * jarg1, int jarg2) { - void * jresult ; - aiNode **arg1 = 0 ; - int arg2 ; - aiNode *temp1 = 0 ; - std::vector< aiNode * > *result = 0 ; - - temp1 = (aiNode *)jarg1; - arg1 = (aiNode **)&temp1; - arg2 = (int)jarg2; - try { - result = (std::vector< aiNode * > *)std_vector_Sl_aiNode_Sm__Sg__Repeat((aiNode *const &)*arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiNodeVector_Reverse__SWIG_0(void * jarg1) { - std::vector< aiNode * > *arg1 = (std::vector< aiNode * > *) 0 ; - - arg1 = (std::vector< aiNode * > *)jarg1; - std_vector_Sl_aiNode_Sm__Sg__Reverse__SWIG_0(arg1); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiNodeVector_Reverse__SWIG_1(void * jarg1, int jarg2, int jarg3) { - std::vector< aiNode * > *arg1 = (std::vector< aiNode * > *) 0 ; - int arg2 ; - int arg3 ; - - arg1 = (std::vector< aiNode * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (int)jarg3; - try { - std_vector_Sl_aiNode_Sm__Sg__Reverse__SWIG_1(arg1,arg2,arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - catch(std::invalid_argument &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentException, (&_e)->what(), ""); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiNodeVector_SetRange(void * jarg1, int jarg2, void * jarg3) { - std::vector< aiNode * > *arg1 = (std::vector< aiNode * > *) 0 ; - int arg2 ; - std::vector< aiNode * > *arg3 = 0 ; - - arg1 = (std::vector< aiNode * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (std::vector< aiNode * > *)jarg3; - if (!arg3) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< aiNode * > const & type is null", 0); - return ; - } - try { - std_vector_Sl_aiNode_Sm__Sg__SetRange(arg1,arg2,(std::vector< aiNode * > const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiNodeVector_Contains(void * jarg1, void * jarg2) { - unsigned int jresult ; - std::vector< aiNode * > *arg1 = (std::vector< aiNode * > *) 0 ; - aiNode **arg2 = 0 ; - aiNode *temp2 = 0 ; - bool result; - - arg1 = (std::vector< aiNode * > *)jarg1; - temp2 = (aiNode *)jarg2; - arg2 = (aiNode **)&temp2; - result = (bool)std_vector_Sl_aiNode_Sm__Sg__Contains(arg1,(aiNode *const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_aiNodeVector_IndexOf(void * jarg1, void * jarg2) { - int jresult ; - std::vector< aiNode * > *arg1 = (std::vector< aiNode * > *) 0 ; - aiNode **arg2 = 0 ; - aiNode *temp2 = 0 ; - int result; - - arg1 = (std::vector< aiNode * > *)jarg1; - temp2 = (aiNode *)jarg2; - arg2 = (aiNode **)&temp2; - result = (int)std_vector_Sl_aiNode_Sm__Sg__IndexOf(arg1,(aiNode *const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_aiNodeVector_LastIndexOf(void * jarg1, void * jarg2) { - int jresult ; - std::vector< aiNode * > *arg1 = (std::vector< aiNode * > *) 0 ; - aiNode **arg2 = 0 ; - aiNode *temp2 = 0 ; - int result; - - arg1 = (std::vector< aiNode * > *)jarg1; - temp2 = (aiNode *)jarg2; - arg2 = (aiNode **)&temp2; - result = (int)std_vector_Sl_aiNode_Sm__Sg__LastIndexOf(arg1,(aiNode *const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiNodeVector_Remove(void * jarg1, void * jarg2) { - unsigned int jresult ; - std::vector< aiNode * > *arg1 = (std::vector< aiNode * > *) 0 ; - aiNode **arg2 = 0 ; - aiNode *temp2 = 0 ; - bool result; - - arg1 = (std::vector< aiNode * > *)jarg1; - temp2 = (aiNode *)jarg2; - arg2 = (aiNode **)&temp2; - result = (bool)std_vector_Sl_aiNode_Sm__Sg__Remove(arg1,(aiNode *const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_aiNodeVector(void * jarg1) { - std::vector< aiNode * > *arg1 = (std::vector< aiNode * > *) 0 ; - - arg1 = (std::vector< aiNode * > *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiNodeAnimVector_Clear(void * jarg1) { - std::vector< aiNodeAnim * > *arg1 = (std::vector< aiNodeAnim * > *) 0 ; - - arg1 = (std::vector< aiNodeAnim * > *)jarg1; - (arg1)->clear(); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiNodeAnimVector_Add(void * jarg1, void * jarg2) { - std::vector< aiNodeAnim * > *arg1 = (std::vector< aiNodeAnim * > *) 0 ; - aiNodeAnim **arg2 = 0 ; - aiNodeAnim *temp2 = 0 ; - - arg1 = (std::vector< aiNodeAnim * > *)jarg1; - temp2 = (aiNodeAnim *)jarg2; - arg2 = (aiNodeAnim **)&temp2; - (arg1)->push_back((aiNodeAnim *const &)*arg2); -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_aiNodeAnimVector_size(void * jarg1) { - unsigned long jresult ; - std::vector< aiNodeAnim * > *arg1 = (std::vector< aiNodeAnim * > *) 0 ; - std::vector< aiNodeAnim * >::size_type result; - - arg1 = (std::vector< aiNodeAnim * > *)jarg1; - result = ((std::vector< aiNodeAnim * > const *)arg1)->size(); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_aiNodeAnimVector_capacity(void * jarg1) { - unsigned long jresult ; - std::vector< aiNodeAnim * > *arg1 = (std::vector< aiNodeAnim * > *) 0 ; - std::vector< aiNodeAnim * >::size_type result; - - arg1 = (std::vector< aiNodeAnim * > *)jarg1; - result = ((std::vector< aiNodeAnim * > const *)arg1)->capacity(); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiNodeAnimVector_reserve(void * jarg1, unsigned long jarg2) { - std::vector< aiNodeAnim * > *arg1 = (std::vector< aiNodeAnim * > *) 0 ; - std::vector< aiNodeAnim * >::size_type arg2 ; - - arg1 = (std::vector< aiNodeAnim * > *)jarg1; - arg2 = (std::vector< aiNodeAnim * >::size_type)jarg2; - (arg1)->reserve(arg2); -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiNodeAnimVector__SWIG_0() { - void * jresult ; - std::vector< aiNodeAnim * > *result = 0 ; - - result = (std::vector< aiNodeAnim * > *)new std::vector< aiNodeAnim * >(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiNodeAnimVector__SWIG_1(void * jarg1) { - void * jresult ; - std::vector< aiNodeAnim * > *arg1 = 0 ; - std::vector< aiNodeAnim * > *result = 0 ; - - arg1 = (std::vector< aiNodeAnim * > *)jarg1; - if (!arg1) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< aiNodeAnim * > const & type is null", 0); - return 0; - } - result = (std::vector< aiNodeAnim * > *)new std::vector< aiNodeAnim * >((std::vector< aiNodeAnim * > const &)*arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiNodeAnimVector__SWIG_2(int jarg1) { - void * jresult ; - int arg1 ; - std::vector< aiNodeAnim * > *result = 0 ; - - arg1 = (int)jarg1; - try { - result = (std::vector< aiNodeAnim * > *)new_std_vector_Sl_aiNodeAnim_Sm__Sg___SWIG_2(arg1); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiNodeAnimVector_getitemcopy(void * jarg1, int jarg2) { - void * jresult ; - std::vector< aiNodeAnim * > *arg1 = (std::vector< aiNodeAnim * > *) 0 ; - int arg2 ; - aiNodeAnim *result = 0 ; - - arg1 = (std::vector< aiNodeAnim * > *)jarg1; - arg2 = (int)jarg2; - try { - result = (aiNodeAnim *)std_vector_Sl_aiNodeAnim_Sm__Sg__getitemcopy(arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiNodeAnimVector_getitem(void * jarg1, int jarg2) { - void * jresult ; - std::vector< aiNodeAnim * > *arg1 = (std::vector< aiNodeAnim * > *) 0 ; - int arg2 ; - aiNodeAnim **result = 0 ; - - arg1 = (std::vector< aiNodeAnim * > *)jarg1; - arg2 = (int)jarg2; - try { - result = (aiNodeAnim **) &std_vector_Sl_aiNodeAnim_Sm__Sg__getitem(arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = (void *)*result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiNodeAnimVector_setitem(void * jarg1, int jarg2, void * jarg3) { - std::vector< aiNodeAnim * > *arg1 = (std::vector< aiNodeAnim * > *) 0 ; - int arg2 ; - aiNodeAnim **arg3 = 0 ; - aiNodeAnim *temp3 = 0 ; - - arg1 = (std::vector< aiNodeAnim * > *)jarg1; - arg2 = (int)jarg2; - temp3 = (aiNodeAnim *)jarg3; - arg3 = (aiNodeAnim **)&temp3; - try { - std_vector_Sl_aiNodeAnim_Sm__Sg__setitem(arg1,arg2,(aiNodeAnim *const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiNodeAnimVector_AddRange(void * jarg1, void * jarg2) { - std::vector< aiNodeAnim * > *arg1 = (std::vector< aiNodeAnim * > *) 0 ; - std::vector< aiNodeAnim * > *arg2 = 0 ; - - arg1 = (std::vector< aiNodeAnim * > *)jarg1; - arg2 = (std::vector< aiNodeAnim * > *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< aiNodeAnim * > const & type is null", 0); - return ; - } - std_vector_Sl_aiNodeAnim_Sm__Sg__AddRange(arg1,(std::vector< aiNodeAnim * > const &)*arg2); -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiNodeAnimVector_GetRange(void * jarg1, int jarg2, int jarg3) { - void * jresult ; - std::vector< aiNodeAnim * > *arg1 = (std::vector< aiNodeAnim * > *) 0 ; - int arg2 ; - int arg3 ; - std::vector< aiNodeAnim * > *result = 0 ; - - arg1 = (std::vector< aiNodeAnim * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (int)jarg3; - try { - result = (std::vector< aiNodeAnim * > *)std_vector_Sl_aiNodeAnim_Sm__Sg__GetRange(arg1,arg2,arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - catch(std::invalid_argument &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentException, (&_e)->what(), ""); - return 0; - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiNodeAnimVector_Insert(void * jarg1, int jarg2, void * jarg3) { - std::vector< aiNodeAnim * > *arg1 = (std::vector< aiNodeAnim * > *) 0 ; - int arg2 ; - aiNodeAnim **arg3 = 0 ; - aiNodeAnim *temp3 = 0 ; - - arg1 = (std::vector< aiNodeAnim * > *)jarg1; - arg2 = (int)jarg2; - temp3 = (aiNodeAnim *)jarg3; - arg3 = (aiNodeAnim **)&temp3; - try { - std_vector_Sl_aiNodeAnim_Sm__Sg__Insert(arg1,arg2,(aiNodeAnim *const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiNodeAnimVector_InsertRange(void * jarg1, int jarg2, void * jarg3) { - std::vector< aiNodeAnim * > *arg1 = (std::vector< aiNodeAnim * > *) 0 ; - int arg2 ; - std::vector< aiNodeAnim * > *arg3 = 0 ; - - arg1 = (std::vector< aiNodeAnim * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (std::vector< aiNodeAnim * > *)jarg3; - if (!arg3) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< aiNodeAnim * > const & type is null", 0); - return ; - } - try { - std_vector_Sl_aiNodeAnim_Sm__Sg__InsertRange(arg1,arg2,(std::vector< aiNodeAnim * > const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiNodeAnimVector_RemoveAt(void * jarg1, int jarg2) { - std::vector< aiNodeAnim * > *arg1 = (std::vector< aiNodeAnim * > *) 0 ; - int arg2 ; - - arg1 = (std::vector< aiNodeAnim * > *)jarg1; - arg2 = (int)jarg2; - try { - std_vector_Sl_aiNodeAnim_Sm__Sg__RemoveAt(arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiNodeAnimVector_RemoveRange(void * jarg1, int jarg2, int jarg3) { - std::vector< aiNodeAnim * > *arg1 = (std::vector< aiNodeAnim * > *) 0 ; - int arg2 ; - int arg3 ; - - arg1 = (std::vector< aiNodeAnim * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (int)jarg3; - try { - std_vector_Sl_aiNodeAnim_Sm__Sg__RemoveRange(arg1,arg2,arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - catch(std::invalid_argument &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentException, (&_e)->what(), ""); - return ; - } - -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiNodeAnimVector_Repeat(void * jarg1, int jarg2) { - void * jresult ; - aiNodeAnim **arg1 = 0 ; - int arg2 ; - aiNodeAnim *temp1 = 0 ; - std::vector< aiNodeAnim * > *result = 0 ; - - temp1 = (aiNodeAnim *)jarg1; - arg1 = (aiNodeAnim **)&temp1; - arg2 = (int)jarg2; - try { - result = (std::vector< aiNodeAnim * > *)std_vector_Sl_aiNodeAnim_Sm__Sg__Repeat((aiNodeAnim *const &)*arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiNodeAnimVector_Reverse__SWIG_0(void * jarg1) { - std::vector< aiNodeAnim * > *arg1 = (std::vector< aiNodeAnim * > *) 0 ; - - arg1 = (std::vector< aiNodeAnim * > *)jarg1; - std_vector_Sl_aiNodeAnim_Sm__Sg__Reverse__SWIG_0(arg1); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiNodeAnimVector_Reverse__SWIG_1(void * jarg1, int jarg2, int jarg3) { - std::vector< aiNodeAnim * > *arg1 = (std::vector< aiNodeAnim * > *) 0 ; - int arg2 ; - int arg3 ; - - arg1 = (std::vector< aiNodeAnim * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (int)jarg3; - try { - std_vector_Sl_aiNodeAnim_Sm__Sg__Reverse__SWIG_1(arg1,arg2,arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - catch(std::invalid_argument &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentException, (&_e)->what(), ""); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiNodeAnimVector_SetRange(void * jarg1, int jarg2, void * jarg3) { - std::vector< aiNodeAnim * > *arg1 = (std::vector< aiNodeAnim * > *) 0 ; - int arg2 ; - std::vector< aiNodeAnim * > *arg3 = 0 ; - - arg1 = (std::vector< aiNodeAnim * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (std::vector< aiNodeAnim * > *)jarg3; - if (!arg3) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< aiNodeAnim * > const & type is null", 0); - return ; - } - try { - std_vector_Sl_aiNodeAnim_Sm__Sg__SetRange(arg1,arg2,(std::vector< aiNodeAnim * > const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiNodeAnimVector_Contains(void * jarg1, void * jarg2) { - unsigned int jresult ; - std::vector< aiNodeAnim * > *arg1 = (std::vector< aiNodeAnim * > *) 0 ; - aiNodeAnim **arg2 = 0 ; - aiNodeAnim *temp2 = 0 ; - bool result; - - arg1 = (std::vector< aiNodeAnim * > *)jarg1; - temp2 = (aiNodeAnim *)jarg2; - arg2 = (aiNodeAnim **)&temp2; - result = (bool)std_vector_Sl_aiNodeAnim_Sm__Sg__Contains(arg1,(aiNodeAnim *const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_aiNodeAnimVector_IndexOf(void * jarg1, void * jarg2) { - int jresult ; - std::vector< aiNodeAnim * > *arg1 = (std::vector< aiNodeAnim * > *) 0 ; - aiNodeAnim **arg2 = 0 ; - aiNodeAnim *temp2 = 0 ; - int result; - - arg1 = (std::vector< aiNodeAnim * > *)jarg1; - temp2 = (aiNodeAnim *)jarg2; - arg2 = (aiNodeAnim **)&temp2; - result = (int)std_vector_Sl_aiNodeAnim_Sm__Sg__IndexOf(arg1,(aiNodeAnim *const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_aiNodeAnimVector_LastIndexOf(void * jarg1, void * jarg2) { - int jresult ; - std::vector< aiNodeAnim * > *arg1 = (std::vector< aiNodeAnim * > *) 0 ; - aiNodeAnim **arg2 = 0 ; - aiNodeAnim *temp2 = 0 ; - int result; - - arg1 = (std::vector< aiNodeAnim * > *)jarg1; - temp2 = (aiNodeAnim *)jarg2; - arg2 = (aiNodeAnim **)&temp2; - result = (int)std_vector_Sl_aiNodeAnim_Sm__Sg__LastIndexOf(arg1,(aiNodeAnim *const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiNodeAnimVector_Remove(void * jarg1, void * jarg2) { - unsigned int jresult ; - std::vector< aiNodeAnim * > *arg1 = (std::vector< aiNodeAnim * > *) 0 ; - aiNodeAnim **arg2 = 0 ; - aiNodeAnim *temp2 = 0 ; - bool result; - - arg1 = (std::vector< aiNodeAnim * > *)jarg1; - temp2 = (aiNodeAnim *)jarg2; - arg2 = (aiNodeAnim **)&temp2; - result = (bool)std_vector_Sl_aiNodeAnim_Sm__Sg__Remove(arg1,(aiNodeAnim *const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_aiNodeAnimVector(void * jarg1) { - std::vector< aiNodeAnim * > *arg1 = (std::vector< aiNodeAnim * > *) 0 ; - - arg1 = (std::vector< aiNodeAnim * > *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiQuatKeyVector_Clear(void * jarg1) { - std::vector< aiQuatKey * > *arg1 = (std::vector< aiQuatKey * > *) 0 ; - - arg1 = (std::vector< aiQuatKey * > *)jarg1; - (arg1)->clear(); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiQuatKeyVector_Add(void * jarg1, void * jarg2) { - std::vector< aiQuatKey * > *arg1 = (std::vector< aiQuatKey * > *) 0 ; - aiQuatKey **arg2 = 0 ; - aiQuatKey *temp2 = 0 ; - - arg1 = (std::vector< aiQuatKey * > *)jarg1; - temp2 = (aiQuatKey *)jarg2; - arg2 = (aiQuatKey **)&temp2; - (arg1)->push_back((aiQuatKey *const &)*arg2); -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_aiQuatKeyVector_size(void * jarg1) { - unsigned long jresult ; - std::vector< aiQuatKey * > *arg1 = (std::vector< aiQuatKey * > *) 0 ; - std::vector< aiQuatKey * >::size_type result; - - arg1 = (std::vector< aiQuatKey * > *)jarg1; - result = ((std::vector< aiQuatKey * > const *)arg1)->size(); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_aiQuatKeyVector_capacity(void * jarg1) { - unsigned long jresult ; - std::vector< aiQuatKey * > *arg1 = (std::vector< aiQuatKey * > *) 0 ; - std::vector< aiQuatKey * >::size_type result; - - arg1 = (std::vector< aiQuatKey * > *)jarg1; - result = ((std::vector< aiQuatKey * > const *)arg1)->capacity(); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiQuatKeyVector_reserve(void * jarg1, unsigned long jarg2) { - std::vector< aiQuatKey * > *arg1 = (std::vector< aiQuatKey * > *) 0 ; - std::vector< aiQuatKey * >::size_type arg2 ; - - arg1 = (std::vector< aiQuatKey * > *)jarg1; - arg2 = (std::vector< aiQuatKey * >::size_type)jarg2; - (arg1)->reserve(arg2); -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiQuatKeyVector__SWIG_0() { - void * jresult ; - std::vector< aiQuatKey * > *result = 0 ; - - result = (std::vector< aiQuatKey * > *)new std::vector< aiQuatKey * >(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiQuatKeyVector__SWIG_1(void * jarg1) { - void * jresult ; - std::vector< aiQuatKey * > *arg1 = 0 ; - std::vector< aiQuatKey * > *result = 0 ; - - arg1 = (std::vector< aiQuatKey * > *)jarg1; - if (!arg1) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< aiQuatKey * > const & type is null", 0); - return 0; - } - result = (std::vector< aiQuatKey * > *)new std::vector< aiQuatKey * >((std::vector< aiQuatKey * > const &)*arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiQuatKeyVector__SWIG_2(int jarg1) { - void * jresult ; - int arg1 ; - std::vector< aiQuatKey * > *result = 0 ; - - arg1 = (int)jarg1; - try { - result = (std::vector< aiQuatKey * > *)new_std_vector_Sl_aiQuatKey_Sm__Sg___SWIG_2(arg1); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiQuatKeyVector_getitemcopy(void * jarg1, int jarg2) { - void * jresult ; - std::vector< aiQuatKey * > *arg1 = (std::vector< aiQuatKey * > *) 0 ; - int arg2 ; - aiQuatKey *result = 0 ; - - arg1 = (std::vector< aiQuatKey * > *)jarg1; - arg2 = (int)jarg2; - try { - result = (aiQuatKey *)std_vector_Sl_aiQuatKey_Sm__Sg__getitemcopy(arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiQuatKeyVector_getitem(void * jarg1, int jarg2) { - void * jresult ; - std::vector< aiQuatKey * > *arg1 = (std::vector< aiQuatKey * > *) 0 ; - int arg2 ; - aiQuatKey **result = 0 ; - - arg1 = (std::vector< aiQuatKey * > *)jarg1; - arg2 = (int)jarg2; - try { - result = (aiQuatKey **) &std_vector_Sl_aiQuatKey_Sm__Sg__getitem(arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = (void *)*result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiQuatKeyVector_setitem(void * jarg1, int jarg2, void * jarg3) { - std::vector< aiQuatKey * > *arg1 = (std::vector< aiQuatKey * > *) 0 ; - int arg2 ; - aiQuatKey **arg3 = 0 ; - aiQuatKey *temp3 = 0 ; - - arg1 = (std::vector< aiQuatKey * > *)jarg1; - arg2 = (int)jarg2; - temp3 = (aiQuatKey *)jarg3; - arg3 = (aiQuatKey **)&temp3; - try { - std_vector_Sl_aiQuatKey_Sm__Sg__setitem(arg1,arg2,(aiQuatKey *const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiQuatKeyVector_AddRange(void * jarg1, void * jarg2) { - std::vector< aiQuatKey * > *arg1 = (std::vector< aiQuatKey * > *) 0 ; - std::vector< aiQuatKey * > *arg2 = 0 ; - - arg1 = (std::vector< aiQuatKey * > *)jarg1; - arg2 = (std::vector< aiQuatKey * > *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< aiQuatKey * > const & type is null", 0); - return ; - } - std_vector_Sl_aiQuatKey_Sm__Sg__AddRange(arg1,(std::vector< aiQuatKey * > const &)*arg2); -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiQuatKeyVector_GetRange(void * jarg1, int jarg2, int jarg3) { - void * jresult ; - std::vector< aiQuatKey * > *arg1 = (std::vector< aiQuatKey * > *) 0 ; - int arg2 ; - int arg3 ; - std::vector< aiQuatKey * > *result = 0 ; - - arg1 = (std::vector< aiQuatKey * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (int)jarg3; - try { - result = (std::vector< aiQuatKey * > *)std_vector_Sl_aiQuatKey_Sm__Sg__GetRange(arg1,arg2,arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - catch(std::invalid_argument &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentException, (&_e)->what(), ""); - return 0; - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiQuatKeyVector_Insert(void * jarg1, int jarg2, void * jarg3) { - std::vector< aiQuatKey * > *arg1 = (std::vector< aiQuatKey * > *) 0 ; - int arg2 ; - aiQuatKey **arg3 = 0 ; - aiQuatKey *temp3 = 0 ; - - arg1 = (std::vector< aiQuatKey * > *)jarg1; - arg2 = (int)jarg2; - temp3 = (aiQuatKey *)jarg3; - arg3 = (aiQuatKey **)&temp3; - try { - std_vector_Sl_aiQuatKey_Sm__Sg__Insert(arg1,arg2,(aiQuatKey *const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiQuatKeyVector_InsertRange(void * jarg1, int jarg2, void * jarg3) { - std::vector< aiQuatKey * > *arg1 = (std::vector< aiQuatKey * > *) 0 ; - int arg2 ; - std::vector< aiQuatKey * > *arg3 = 0 ; - - arg1 = (std::vector< aiQuatKey * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (std::vector< aiQuatKey * > *)jarg3; - if (!arg3) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< aiQuatKey * > const & type is null", 0); - return ; - } - try { - std_vector_Sl_aiQuatKey_Sm__Sg__InsertRange(arg1,arg2,(std::vector< aiQuatKey * > const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiQuatKeyVector_RemoveAt(void * jarg1, int jarg2) { - std::vector< aiQuatKey * > *arg1 = (std::vector< aiQuatKey * > *) 0 ; - int arg2 ; - - arg1 = (std::vector< aiQuatKey * > *)jarg1; - arg2 = (int)jarg2; - try { - std_vector_Sl_aiQuatKey_Sm__Sg__RemoveAt(arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiQuatKeyVector_RemoveRange(void * jarg1, int jarg2, int jarg3) { - std::vector< aiQuatKey * > *arg1 = (std::vector< aiQuatKey * > *) 0 ; - int arg2 ; - int arg3 ; - - arg1 = (std::vector< aiQuatKey * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (int)jarg3; - try { - std_vector_Sl_aiQuatKey_Sm__Sg__RemoveRange(arg1,arg2,arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - catch(std::invalid_argument &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentException, (&_e)->what(), ""); - return ; - } - -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiQuatKeyVector_Repeat(void * jarg1, int jarg2) { - void * jresult ; - aiQuatKey **arg1 = 0 ; - int arg2 ; - aiQuatKey *temp1 = 0 ; - std::vector< aiQuatKey * > *result = 0 ; - - temp1 = (aiQuatKey *)jarg1; - arg1 = (aiQuatKey **)&temp1; - arg2 = (int)jarg2; - try { - result = (std::vector< aiQuatKey * > *)std_vector_Sl_aiQuatKey_Sm__Sg__Repeat((aiQuatKey *const &)*arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiQuatKeyVector_Reverse__SWIG_0(void * jarg1) { - std::vector< aiQuatKey * > *arg1 = (std::vector< aiQuatKey * > *) 0 ; - - arg1 = (std::vector< aiQuatKey * > *)jarg1; - std_vector_Sl_aiQuatKey_Sm__Sg__Reverse__SWIG_0(arg1); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiQuatKeyVector_Reverse__SWIG_1(void * jarg1, int jarg2, int jarg3) { - std::vector< aiQuatKey * > *arg1 = (std::vector< aiQuatKey * > *) 0 ; - int arg2 ; - int arg3 ; - - arg1 = (std::vector< aiQuatKey * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (int)jarg3; - try { - std_vector_Sl_aiQuatKey_Sm__Sg__Reverse__SWIG_1(arg1,arg2,arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - catch(std::invalid_argument &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentException, (&_e)->what(), ""); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiQuatKeyVector_SetRange(void * jarg1, int jarg2, void * jarg3) { - std::vector< aiQuatKey * > *arg1 = (std::vector< aiQuatKey * > *) 0 ; - int arg2 ; - std::vector< aiQuatKey * > *arg3 = 0 ; - - arg1 = (std::vector< aiQuatKey * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (std::vector< aiQuatKey * > *)jarg3; - if (!arg3) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< aiQuatKey * > const & type is null", 0); - return ; - } - try { - std_vector_Sl_aiQuatKey_Sm__Sg__SetRange(arg1,arg2,(std::vector< aiQuatKey * > const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiQuatKeyVector_Contains(void * jarg1, void * jarg2) { - unsigned int jresult ; - std::vector< aiQuatKey * > *arg1 = (std::vector< aiQuatKey * > *) 0 ; - aiQuatKey **arg2 = 0 ; - aiQuatKey *temp2 = 0 ; - bool result; - - arg1 = (std::vector< aiQuatKey * > *)jarg1; - temp2 = (aiQuatKey *)jarg2; - arg2 = (aiQuatKey **)&temp2; - result = (bool)std_vector_Sl_aiQuatKey_Sm__Sg__Contains(arg1,(aiQuatKey *const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_aiQuatKeyVector_IndexOf(void * jarg1, void * jarg2) { - int jresult ; - std::vector< aiQuatKey * > *arg1 = (std::vector< aiQuatKey * > *) 0 ; - aiQuatKey **arg2 = 0 ; - aiQuatKey *temp2 = 0 ; - int result; - - arg1 = (std::vector< aiQuatKey * > *)jarg1; - temp2 = (aiQuatKey *)jarg2; - arg2 = (aiQuatKey **)&temp2; - result = (int)std_vector_Sl_aiQuatKey_Sm__Sg__IndexOf(arg1,(aiQuatKey *const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_aiQuatKeyVector_LastIndexOf(void * jarg1, void * jarg2) { - int jresult ; - std::vector< aiQuatKey * > *arg1 = (std::vector< aiQuatKey * > *) 0 ; - aiQuatKey **arg2 = 0 ; - aiQuatKey *temp2 = 0 ; - int result; - - arg1 = (std::vector< aiQuatKey * > *)jarg1; - temp2 = (aiQuatKey *)jarg2; - arg2 = (aiQuatKey **)&temp2; - result = (int)std_vector_Sl_aiQuatKey_Sm__Sg__LastIndexOf(arg1,(aiQuatKey *const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiQuatKeyVector_Remove(void * jarg1, void * jarg2) { - unsigned int jresult ; - std::vector< aiQuatKey * > *arg1 = (std::vector< aiQuatKey * > *) 0 ; - aiQuatKey **arg2 = 0 ; - aiQuatKey *temp2 = 0 ; - bool result; - - arg1 = (std::vector< aiQuatKey * > *)jarg1; - temp2 = (aiQuatKey *)jarg2; - arg2 = (aiQuatKey **)&temp2; - result = (bool)std_vector_Sl_aiQuatKey_Sm__Sg__Remove(arg1,(aiQuatKey *const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_aiQuatKeyVector(void * jarg1) { - std::vector< aiQuatKey * > *arg1 = (std::vector< aiQuatKey * > *) 0 ; - - arg1 = (std::vector< aiQuatKey * > *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiTextureVector_Clear(void * jarg1) { - std::vector< aiTexture * > *arg1 = (std::vector< aiTexture * > *) 0 ; - - arg1 = (std::vector< aiTexture * > *)jarg1; - (arg1)->clear(); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiTextureVector_Add(void * jarg1, void * jarg2) { - std::vector< aiTexture * > *arg1 = (std::vector< aiTexture * > *) 0 ; - aiTexture **arg2 = 0 ; - aiTexture *temp2 = 0 ; - - arg1 = (std::vector< aiTexture * > *)jarg1; - temp2 = (aiTexture *)jarg2; - arg2 = (aiTexture **)&temp2; - (arg1)->push_back((aiTexture *const &)*arg2); -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_aiTextureVector_size(void * jarg1) { - unsigned long jresult ; - std::vector< aiTexture * > *arg1 = (std::vector< aiTexture * > *) 0 ; - std::vector< aiTexture * >::size_type result; - - arg1 = (std::vector< aiTexture * > *)jarg1; - result = ((std::vector< aiTexture * > const *)arg1)->size(); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_aiTextureVector_capacity(void * jarg1) { - unsigned long jresult ; - std::vector< aiTexture * > *arg1 = (std::vector< aiTexture * > *) 0 ; - std::vector< aiTexture * >::size_type result; - - arg1 = (std::vector< aiTexture * > *)jarg1; - result = ((std::vector< aiTexture * > const *)arg1)->capacity(); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiTextureVector_reserve(void * jarg1, unsigned long jarg2) { - std::vector< aiTexture * > *arg1 = (std::vector< aiTexture * > *) 0 ; - std::vector< aiTexture * >::size_type arg2 ; - - arg1 = (std::vector< aiTexture * > *)jarg1; - arg2 = (std::vector< aiTexture * >::size_type)jarg2; - (arg1)->reserve(arg2); -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiTextureVector__SWIG_0() { - void * jresult ; - std::vector< aiTexture * > *result = 0 ; - - result = (std::vector< aiTexture * > *)new std::vector< aiTexture * >(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiTextureVector__SWIG_1(void * jarg1) { - void * jresult ; - std::vector< aiTexture * > *arg1 = 0 ; - std::vector< aiTexture * > *result = 0 ; - - arg1 = (std::vector< aiTexture * > *)jarg1; - if (!arg1) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< aiTexture * > const & type is null", 0); - return 0; - } - result = (std::vector< aiTexture * > *)new std::vector< aiTexture * >((std::vector< aiTexture * > const &)*arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiTextureVector__SWIG_2(int jarg1) { - void * jresult ; - int arg1 ; - std::vector< aiTexture * > *result = 0 ; - - arg1 = (int)jarg1; - try { - result = (std::vector< aiTexture * > *)new_std_vector_Sl_aiTexture_Sm__Sg___SWIG_2(arg1); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiTextureVector_getitemcopy(void * jarg1, int jarg2) { - void * jresult ; - std::vector< aiTexture * > *arg1 = (std::vector< aiTexture * > *) 0 ; - int arg2 ; - aiTexture *result = 0 ; - - arg1 = (std::vector< aiTexture * > *)jarg1; - arg2 = (int)jarg2; - try { - result = (aiTexture *)std_vector_Sl_aiTexture_Sm__Sg__getitemcopy(arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiTextureVector_getitem(void * jarg1, int jarg2) { - void * jresult ; - std::vector< aiTexture * > *arg1 = (std::vector< aiTexture * > *) 0 ; - int arg2 ; - aiTexture **result = 0 ; - - arg1 = (std::vector< aiTexture * > *)jarg1; - arg2 = (int)jarg2; - try { - result = (aiTexture **) &std_vector_Sl_aiTexture_Sm__Sg__getitem(arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = (void *)*result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiTextureVector_setitem(void * jarg1, int jarg2, void * jarg3) { - std::vector< aiTexture * > *arg1 = (std::vector< aiTexture * > *) 0 ; - int arg2 ; - aiTexture **arg3 = 0 ; - aiTexture *temp3 = 0 ; - - arg1 = (std::vector< aiTexture * > *)jarg1; - arg2 = (int)jarg2; - temp3 = (aiTexture *)jarg3; - arg3 = (aiTexture **)&temp3; - try { - std_vector_Sl_aiTexture_Sm__Sg__setitem(arg1,arg2,(aiTexture *const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiTextureVector_AddRange(void * jarg1, void * jarg2) { - std::vector< aiTexture * > *arg1 = (std::vector< aiTexture * > *) 0 ; - std::vector< aiTexture * > *arg2 = 0 ; - - arg1 = (std::vector< aiTexture * > *)jarg1; - arg2 = (std::vector< aiTexture * > *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< aiTexture * > const & type is null", 0); - return ; - } - std_vector_Sl_aiTexture_Sm__Sg__AddRange(arg1,(std::vector< aiTexture * > const &)*arg2); -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiTextureVector_GetRange(void * jarg1, int jarg2, int jarg3) { - void * jresult ; - std::vector< aiTexture * > *arg1 = (std::vector< aiTexture * > *) 0 ; - int arg2 ; - int arg3 ; - std::vector< aiTexture * > *result = 0 ; - - arg1 = (std::vector< aiTexture * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (int)jarg3; - try { - result = (std::vector< aiTexture * > *)std_vector_Sl_aiTexture_Sm__Sg__GetRange(arg1,arg2,arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - catch(std::invalid_argument &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentException, (&_e)->what(), ""); - return 0; - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiTextureVector_Insert(void * jarg1, int jarg2, void * jarg3) { - std::vector< aiTexture * > *arg1 = (std::vector< aiTexture * > *) 0 ; - int arg2 ; - aiTexture **arg3 = 0 ; - aiTexture *temp3 = 0 ; - - arg1 = (std::vector< aiTexture * > *)jarg1; - arg2 = (int)jarg2; - temp3 = (aiTexture *)jarg3; - arg3 = (aiTexture **)&temp3; - try { - std_vector_Sl_aiTexture_Sm__Sg__Insert(arg1,arg2,(aiTexture *const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiTextureVector_InsertRange(void * jarg1, int jarg2, void * jarg3) { - std::vector< aiTexture * > *arg1 = (std::vector< aiTexture * > *) 0 ; - int arg2 ; - std::vector< aiTexture * > *arg3 = 0 ; - - arg1 = (std::vector< aiTexture * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (std::vector< aiTexture * > *)jarg3; - if (!arg3) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< aiTexture * > const & type is null", 0); - return ; - } - try { - std_vector_Sl_aiTexture_Sm__Sg__InsertRange(arg1,arg2,(std::vector< aiTexture * > const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiTextureVector_RemoveAt(void * jarg1, int jarg2) { - std::vector< aiTexture * > *arg1 = (std::vector< aiTexture * > *) 0 ; - int arg2 ; - - arg1 = (std::vector< aiTexture * > *)jarg1; - arg2 = (int)jarg2; - try { - std_vector_Sl_aiTexture_Sm__Sg__RemoveAt(arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiTextureVector_RemoveRange(void * jarg1, int jarg2, int jarg3) { - std::vector< aiTexture * > *arg1 = (std::vector< aiTexture * > *) 0 ; - int arg2 ; - int arg3 ; - - arg1 = (std::vector< aiTexture * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (int)jarg3; - try { - std_vector_Sl_aiTexture_Sm__Sg__RemoveRange(arg1,arg2,arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - catch(std::invalid_argument &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentException, (&_e)->what(), ""); - return ; - } - -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiTextureVector_Repeat(void * jarg1, int jarg2) { - void * jresult ; - aiTexture **arg1 = 0 ; - int arg2 ; - aiTexture *temp1 = 0 ; - std::vector< aiTexture * > *result = 0 ; - - temp1 = (aiTexture *)jarg1; - arg1 = (aiTexture **)&temp1; - arg2 = (int)jarg2; - try { - result = (std::vector< aiTexture * > *)std_vector_Sl_aiTexture_Sm__Sg__Repeat((aiTexture *const &)*arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiTextureVector_Reverse__SWIG_0(void * jarg1) { - std::vector< aiTexture * > *arg1 = (std::vector< aiTexture * > *) 0 ; - - arg1 = (std::vector< aiTexture * > *)jarg1; - std_vector_Sl_aiTexture_Sm__Sg__Reverse__SWIG_0(arg1); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiTextureVector_Reverse__SWIG_1(void * jarg1, int jarg2, int jarg3) { - std::vector< aiTexture * > *arg1 = (std::vector< aiTexture * > *) 0 ; - int arg2 ; - int arg3 ; - - arg1 = (std::vector< aiTexture * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (int)jarg3; - try { - std_vector_Sl_aiTexture_Sm__Sg__Reverse__SWIG_1(arg1,arg2,arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - catch(std::invalid_argument &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentException, (&_e)->what(), ""); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiTextureVector_SetRange(void * jarg1, int jarg2, void * jarg3) { - std::vector< aiTexture * > *arg1 = (std::vector< aiTexture * > *) 0 ; - int arg2 ; - std::vector< aiTexture * > *arg3 = 0 ; - - arg1 = (std::vector< aiTexture * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (std::vector< aiTexture * > *)jarg3; - if (!arg3) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< aiTexture * > const & type is null", 0); - return ; - } - try { - std_vector_Sl_aiTexture_Sm__Sg__SetRange(arg1,arg2,(std::vector< aiTexture * > const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiTextureVector_Contains(void * jarg1, void * jarg2) { - unsigned int jresult ; - std::vector< aiTexture * > *arg1 = (std::vector< aiTexture * > *) 0 ; - aiTexture **arg2 = 0 ; - aiTexture *temp2 = 0 ; - bool result; - - arg1 = (std::vector< aiTexture * > *)jarg1; - temp2 = (aiTexture *)jarg2; - arg2 = (aiTexture **)&temp2; - result = (bool)std_vector_Sl_aiTexture_Sm__Sg__Contains(arg1,(aiTexture *const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_aiTextureVector_IndexOf(void * jarg1, void * jarg2) { - int jresult ; - std::vector< aiTexture * > *arg1 = (std::vector< aiTexture * > *) 0 ; - aiTexture **arg2 = 0 ; - aiTexture *temp2 = 0 ; - int result; - - arg1 = (std::vector< aiTexture * > *)jarg1; - temp2 = (aiTexture *)jarg2; - arg2 = (aiTexture **)&temp2; - result = (int)std_vector_Sl_aiTexture_Sm__Sg__IndexOf(arg1,(aiTexture *const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_aiTextureVector_LastIndexOf(void * jarg1, void * jarg2) { - int jresult ; - std::vector< aiTexture * > *arg1 = (std::vector< aiTexture * > *) 0 ; - aiTexture **arg2 = 0 ; - aiTexture *temp2 = 0 ; - int result; - - arg1 = (std::vector< aiTexture * > *)jarg1; - temp2 = (aiTexture *)jarg2; - arg2 = (aiTexture **)&temp2; - result = (int)std_vector_Sl_aiTexture_Sm__Sg__LastIndexOf(arg1,(aiTexture *const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiTextureVector_Remove(void * jarg1, void * jarg2) { - unsigned int jresult ; - std::vector< aiTexture * > *arg1 = (std::vector< aiTexture * > *) 0 ; - aiTexture **arg2 = 0 ; - aiTexture *temp2 = 0 ; - bool result; - - arg1 = (std::vector< aiTexture * > *)jarg1; - temp2 = (aiTexture *)jarg2; - arg2 = (aiTexture **)&temp2; - result = (bool)std_vector_Sl_aiTexture_Sm__Sg__Remove(arg1,(aiTexture *const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_aiTextureVector(void * jarg1) { - std::vector< aiTexture * > *arg1 = (std::vector< aiTexture * > *) 0 ; - - arg1 = (std::vector< aiTexture * > *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiVector3DVector_Clear(void * jarg1) { - std::vector< aiVector3D * > *arg1 = (std::vector< aiVector3D * > *) 0 ; - - arg1 = (std::vector< aiVector3D * > *)jarg1; - (arg1)->clear(); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiVector3DVector_Add(void * jarg1, void * jarg2) { - std::vector< aiVector3D * > *arg1 = (std::vector< aiVector3D * > *) 0 ; - aiVector3t< float > **arg2 = 0 ; - aiVector3t< float > *temp2 = 0 ; - - arg1 = (std::vector< aiVector3D * > *)jarg1; - temp2 = (aiVector3t< float > *)jarg2; - arg2 = (aiVector3t< float > **)&temp2; - (arg1)->push_back((aiVector3t< float > *const &)*arg2); -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_aiVector3DVector_size(void * jarg1) { - unsigned long jresult ; - std::vector< aiVector3D * > *arg1 = (std::vector< aiVector3D * > *) 0 ; - std::vector< aiVector3t< float > * >::size_type result; - - arg1 = (std::vector< aiVector3D * > *)jarg1; - result = ((std::vector< aiVector3D * > const *)arg1)->size(); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_aiVector3DVector_capacity(void * jarg1) { - unsigned long jresult ; - std::vector< aiVector3D * > *arg1 = (std::vector< aiVector3D * > *) 0 ; - std::vector< aiVector3t< float > * >::size_type result; - - arg1 = (std::vector< aiVector3D * > *)jarg1; - result = ((std::vector< aiVector3D * > const *)arg1)->capacity(); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiVector3DVector_reserve(void * jarg1, unsigned long jarg2) { - std::vector< aiVector3D * > *arg1 = (std::vector< aiVector3D * > *) 0 ; - std::vector< aiVector3t< float > * >::size_type arg2 ; - - arg1 = (std::vector< aiVector3D * > *)jarg1; - arg2 = (std::vector< aiVector3t< float > * >::size_type)jarg2; - (arg1)->reserve(arg2); -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiVector3DVector__SWIG_0() { - void * jresult ; - std::vector< aiVector3D * > *result = 0 ; - - result = (std::vector< aiVector3D * > *)new std::vector< aiVector3D * >(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiVector3DVector__SWIG_1(void * jarg1) { - void * jresult ; - std::vector< aiVector3D * > *arg1 = 0 ; - std::vector< aiVector3D * > *result = 0 ; - - arg1 = (std::vector< aiVector3D * > *)jarg1; - if (!arg1) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< aiVector3D * > const & type is null", 0); - return 0; - } - result = (std::vector< aiVector3D * > *)new std::vector< aiVector3D * >((std::vector< aiVector3D * > const &)*arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiVector3DVector__SWIG_2(int jarg1) { - void * jresult ; - int arg1 ; - std::vector< aiVector3D * > *result = 0 ; - - arg1 = (int)jarg1; - try { - result = (std::vector< aiVector3D * > *)new_std_vector_Sl_aiVector3D_Sm__Sg___SWIG_2(arg1); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiVector3DVector_getitemcopy(void * jarg1, int jarg2) { - void * jresult ; - std::vector< aiVector3D * > *arg1 = (std::vector< aiVector3D * > *) 0 ; - int arg2 ; - aiVector3t< float > *result = 0 ; - - arg1 = (std::vector< aiVector3D * > *)jarg1; - arg2 = (int)jarg2; - try { - result = (aiVector3t< float > *)std_vector_Sl_aiVector3D_Sm__Sg__getitemcopy(arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiVector3DVector_getitem(void * jarg1, int jarg2) { - void * jresult ; - std::vector< aiVector3D * > *arg1 = (std::vector< aiVector3D * > *) 0 ; - int arg2 ; - aiVector3t< float > **result = 0 ; - - arg1 = (std::vector< aiVector3D * > *)jarg1; - arg2 = (int)jarg2; - try { - result = (aiVector3t< float > **) &std_vector_Sl_aiVector3D_Sm__Sg__getitem(arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = (void *)*result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiVector3DVector_setitem(void * jarg1, int jarg2, void * jarg3) { - std::vector< aiVector3D * > *arg1 = (std::vector< aiVector3D * > *) 0 ; - int arg2 ; - aiVector3t< float > **arg3 = 0 ; - aiVector3t< float > *temp3 = 0 ; - - arg1 = (std::vector< aiVector3D * > *)jarg1; - arg2 = (int)jarg2; - temp3 = (aiVector3t< float > *)jarg3; - arg3 = (aiVector3t< float > **)&temp3; - try { - std_vector_Sl_aiVector3D_Sm__Sg__setitem(arg1,arg2,(aiVector3t< float > *const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiVector3DVector_AddRange(void * jarg1, void * jarg2) { - std::vector< aiVector3D * > *arg1 = (std::vector< aiVector3D * > *) 0 ; - std::vector< aiVector3t< float > * > *arg2 = 0 ; - - arg1 = (std::vector< aiVector3D * > *)jarg1; - arg2 = (std::vector< aiVector3t< float > * > *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< aiVector3t< float > * > const & type is null", 0); - return ; - } - std_vector_Sl_aiVector3D_Sm__Sg__AddRange(arg1,(std::vector< aiVector3t< float > * > const &)*arg2); -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiVector3DVector_GetRange(void * jarg1, int jarg2, int jarg3) { - void * jresult ; - std::vector< aiVector3D * > *arg1 = (std::vector< aiVector3D * > *) 0 ; - int arg2 ; - int arg3 ; - std::vector< aiVector3t< float > * > *result = 0 ; - - arg1 = (std::vector< aiVector3D * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (int)jarg3; - try { - result = (std::vector< aiVector3t< float > * > *)std_vector_Sl_aiVector3D_Sm__Sg__GetRange(arg1,arg2,arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - catch(std::invalid_argument &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentException, (&_e)->what(), ""); - return 0; - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiVector3DVector_Insert(void * jarg1, int jarg2, void * jarg3) { - std::vector< aiVector3D * > *arg1 = (std::vector< aiVector3D * > *) 0 ; - int arg2 ; - aiVector3t< float > **arg3 = 0 ; - aiVector3t< float > *temp3 = 0 ; - - arg1 = (std::vector< aiVector3D * > *)jarg1; - arg2 = (int)jarg2; - temp3 = (aiVector3t< float > *)jarg3; - arg3 = (aiVector3t< float > **)&temp3; - try { - std_vector_Sl_aiVector3D_Sm__Sg__Insert(arg1,arg2,(aiVector3t< float > *const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiVector3DVector_InsertRange(void * jarg1, int jarg2, void * jarg3) { - std::vector< aiVector3D * > *arg1 = (std::vector< aiVector3D * > *) 0 ; - int arg2 ; - std::vector< aiVector3t< float > * > *arg3 = 0 ; - - arg1 = (std::vector< aiVector3D * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (std::vector< aiVector3t< float > * > *)jarg3; - if (!arg3) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< aiVector3t< float > * > const & type is null", 0); - return ; - } - try { - std_vector_Sl_aiVector3D_Sm__Sg__InsertRange(arg1,arg2,(std::vector< aiVector3t< float > * > const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiVector3DVector_RemoveAt(void * jarg1, int jarg2) { - std::vector< aiVector3D * > *arg1 = (std::vector< aiVector3D * > *) 0 ; - int arg2 ; - - arg1 = (std::vector< aiVector3D * > *)jarg1; - arg2 = (int)jarg2; - try { - std_vector_Sl_aiVector3D_Sm__Sg__RemoveAt(arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiVector3DVector_RemoveRange(void * jarg1, int jarg2, int jarg3) { - std::vector< aiVector3D * > *arg1 = (std::vector< aiVector3D * > *) 0 ; - int arg2 ; - int arg3 ; - - arg1 = (std::vector< aiVector3D * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (int)jarg3; - try { - std_vector_Sl_aiVector3D_Sm__Sg__RemoveRange(arg1,arg2,arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - catch(std::invalid_argument &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentException, (&_e)->what(), ""); - return ; - } - -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiVector3DVector_Repeat(void * jarg1, int jarg2) { - void * jresult ; - aiVector3t< float > **arg1 = 0 ; - int arg2 ; - aiVector3t< float > *temp1 = 0 ; - std::vector< aiVector3t< float > * > *result = 0 ; - - temp1 = (aiVector3t< float > *)jarg1; - arg1 = (aiVector3t< float > **)&temp1; - arg2 = (int)jarg2; - try { - result = (std::vector< aiVector3t< float > * > *)std_vector_Sl_aiVector3D_Sm__Sg__Repeat((aiVector3t< float > *const &)*arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiVector3DVector_Reverse__SWIG_0(void * jarg1) { - std::vector< aiVector3D * > *arg1 = (std::vector< aiVector3D * > *) 0 ; - - arg1 = (std::vector< aiVector3D * > *)jarg1; - std_vector_Sl_aiVector3D_Sm__Sg__Reverse__SWIG_0(arg1); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiVector3DVector_Reverse__SWIG_1(void * jarg1, int jarg2, int jarg3) { - std::vector< aiVector3D * > *arg1 = (std::vector< aiVector3D * > *) 0 ; - int arg2 ; - int arg3 ; - - arg1 = (std::vector< aiVector3D * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (int)jarg3; - try { - std_vector_Sl_aiVector3D_Sm__Sg__Reverse__SWIG_1(arg1,arg2,arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - catch(std::invalid_argument &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentException, (&_e)->what(), ""); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiVector3DVector_SetRange(void * jarg1, int jarg2, void * jarg3) { - std::vector< aiVector3D * > *arg1 = (std::vector< aiVector3D * > *) 0 ; - int arg2 ; - std::vector< aiVector3t< float > * > *arg3 = 0 ; - - arg1 = (std::vector< aiVector3D * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (std::vector< aiVector3t< float > * > *)jarg3; - if (!arg3) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< aiVector3t< float > * > const & type is null", 0); - return ; - } - try { - std_vector_Sl_aiVector3D_Sm__Sg__SetRange(arg1,arg2,(std::vector< aiVector3t< float > * > const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiVector3DVector_Contains(void * jarg1, void * jarg2) { - unsigned int jresult ; - std::vector< aiVector3D * > *arg1 = (std::vector< aiVector3D * > *) 0 ; - aiVector3t< float > **arg2 = 0 ; - aiVector3t< float > *temp2 = 0 ; - bool result; - - arg1 = (std::vector< aiVector3D * > *)jarg1; - temp2 = (aiVector3t< float > *)jarg2; - arg2 = (aiVector3t< float > **)&temp2; - result = (bool)std_vector_Sl_aiVector3D_Sm__Sg__Contains(arg1,(aiVector3t< float > *const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_aiVector3DVector_IndexOf(void * jarg1, void * jarg2) { - int jresult ; - std::vector< aiVector3D * > *arg1 = (std::vector< aiVector3D * > *) 0 ; - aiVector3t< float > **arg2 = 0 ; - aiVector3t< float > *temp2 = 0 ; - int result; - - arg1 = (std::vector< aiVector3D * > *)jarg1; - temp2 = (aiVector3t< float > *)jarg2; - arg2 = (aiVector3t< float > **)&temp2; - result = (int)std_vector_Sl_aiVector3D_Sm__Sg__IndexOf(arg1,(aiVector3t< float > *const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_aiVector3DVector_LastIndexOf(void * jarg1, void * jarg2) { - int jresult ; - std::vector< aiVector3D * > *arg1 = (std::vector< aiVector3D * > *) 0 ; - aiVector3t< float > **arg2 = 0 ; - aiVector3t< float > *temp2 = 0 ; - int result; - - arg1 = (std::vector< aiVector3D * > *)jarg1; - temp2 = (aiVector3t< float > *)jarg2; - arg2 = (aiVector3t< float > **)&temp2; - result = (int)std_vector_Sl_aiVector3D_Sm__Sg__LastIndexOf(arg1,(aiVector3t< float > *const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiVector3DVector_Remove(void * jarg1, void * jarg2) { - unsigned int jresult ; - std::vector< aiVector3D * > *arg1 = (std::vector< aiVector3D * > *) 0 ; - aiVector3t< float > **arg2 = 0 ; - aiVector3t< float > *temp2 = 0 ; - bool result; - - arg1 = (std::vector< aiVector3D * > *)jarg1; - temp2 = (aiVector3t< float > *)jarg2; - arg2 = (aiVector3t< float > **)&temp2; - result = (bool)std_vector_Sl_aiVector3D_Sm__Sg__Remove(arg1,(aiVector3t< float > *const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_aiVector3DVector(void * jarg1) { - std::vector< aiVector3D * > *arg1 = (std::vector< aiVector3D * > *) 0 ; - - arg1 = (std::vector< aiVector3D * > *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiVector3DVectorVector_Clear(void * jarg1) { - std::vector< std::vector< aiVector3D * > > *arg1 = (std::vector< std::vector< aiVector3D * > > *) 0 ; - - arg1 = (std::vector< std::vector< aiVector3D * > > *)jarg1; - (arg1)->clear(); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiVector3DVectorVector_Add(void * jarg1, void * jarg2) { - std::vector< std::vector< aiVector3D * > > *arg1 = (std::vector< std::vector< aiVector3D * > > *) 0 ; - std::vector< aiVector3D * > *arg2 = 0 ; - - arg1 = (std::vector< std::vector< aiVector3D * > > *)jarg1; - arg2 = (std::vector< aiVector3D * > *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< aiVector3D * > const & type is null", 0); - return ; - } - (arg1)->push_back((std::vector< aiVector3D * > const &)*arg2); -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_aiVector3DVectorVector_size(void * jarg1) { - unsigned long jresult ; - std::vector< std::vector< aiVector3D * > > *arg1 = (std::vector< std::vector< aiVector3D * > > *) 0 ; - std::vector< std::vector< aiVector3t< float > * > >::size_type result; - - arg1 = (std::vector< std::vector< aiVector3D * > > *)jarg1; - result = ((std::vector< std::vector< aiVector3D * > > const *)arg1)->size(); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_aiVector3DVectorVector_capacity(void * jarg1) { - unsigned long jresult ; - std::vector< std::vector< aiVector3D * > > *arg1 = (std::vector< std::vector< aiVector3D * > > *) 0 ; - std::vector< std::vector< aiVector3t< float > * > >::size_type result; - - arg1 = (std::vector< std::vector< aiVector3D * > > *)jarg1; - result = ((std::vector< std::vector< aiVector3D * > > const *)arg1)->capacity(); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiVector3DVectorVector_reserve(void * jarg1, unsigned long jarg2) { - std::vector< std::vector< aiVector3D * > > *arg1 = (std::vector< std::vector< aiVector3D * > > *) 0 ; - std::vector< std::vector< aiVector3t< float > * > >::size_type arg2 ; - - arg1 = (std::vector< std::vector< aiVector3D * > > *)jarg1; - arg2 = (std::vector< std::vector< aiVector3t< float > * > >::size_type)jarg2; - (arg1)->reserve(arg2); -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiVector3DVectorVector__SWIG_0() { - void * jresult ; - std::vector< std::vector< aiVector3D * > > *result = 0 ; - - result = (std::vector< std::vector< aiVector3D * > > *)new std::vector< std::vector< aiVector3D * > >(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiVector3DVectorVector__SWIG_1(void * jarg1) { - void * jresult ; - std::vector< std::vector< aiVector3D * > > *arg1 = 0 ; - std::vector< std::vector< aiVector3D * > > *result = 0 ; - - arg1 = (std::vector< std::vector< aiVector3D * > > *)jarg1; - if (!arg1) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< std::vector< aiVector3D * > > const & type is null", 0); - return 0; - } - result = (std::vector< std::vector< aiVector3D * > > *)new std::vector< std::vector< aiVector3D * > >((std::vector< std::vector< aiVector3D * > > const &)*arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiVector3DVectorVector__SWIG_2(int jarg1) { - void * jresult ; - int arg1 ; - std::vector< std::vector< aiVector3D * > > *result = 0 ; - - arg1 = (int)jarg1; - try { - result = (std::vector< std::vector< aiVector3D * > > *)new_std_vector_Sl_std_vector_Sl_aiVector3D_Sm__Sg__Sg___SWIG_2(arg1); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiVector3DVectorVector_getitemcopy(void * jarg1, int jarg2) { - void * jresult ; - std::vector< std::vector< aiVector3D * > > *arg1 = (std::vector< std::vector< aiVector3D * > > *) 0 ; - int arg2 ; - std::vector< aiVector3D * > result; - - arg1 = (std::vector< std::vector< aiVector3D * > > *)jarg1; - arg2 = (int)jarg2; - try { - result = std_vector_Sl_std_vector_Sl_aiVector3D_Sm__Sg__Sg__getitemcopy(arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = new std::vector< aiVector3D * >((const std::vector< aiVector3D * > &)result); - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiVector3DVectorVector_getitem(void * jarg1, int jarg2) { - void * jresult ; - std::vector< std::vector< aiVector3D * > > *arg1 = (std::vector< std::vector< aiVector3D * > > *) 0 ; - int arg2 ; - std::vector< aiVector3D * > *result = 0 ; - - arg1 = (std::vector< std::vector< aiVector3D * > > *)jarg1; - arg2 = (int)jarg2; - try { - result = (std::vector< aiVector3D * > *) &std_vector_Sl_std_vector_Sl_aiVector3D_Sm__Sg__Sg__getitem(arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiVector3DVectorVector_setitem(void * jarg1, int jarg2, void * jarg3) { - std::vector< std::vector< aiVector3D * > > *arg1 = (std::vector< std::vector< aiVector3D * > > *) 0 ; - int arg2 ; - std::vector< aiVector3D * > *arg3 = 0 ; - - arg1 = (std::vector< std::vector< aiVector3D * > > *)jarg1; - arg2 = (int)jarg2; - arg3 = (std::vector< aiVector3D * > *)jarg3; - if (!arg3) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< aiVector3D * > const & type is null", 0); - return ; - } - try { - std_vector_Sl_std_vector_Sl_aiVector3D_Sm__Sg__Sg__setitem(arg1,arg2,(std::vector< aiVector3t< float > * > const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiVector3DVectorVector_AddRange(void * jarg1, void * jarg2) { - std::vector< std::vector< aiVector3D * > > *arg1 = (std::vector< std::vector< aiVector3D * > > *) 0 ; - std::vector< std::vector< aiVector3D * > > *arg2 = 0 ; - - arg1 = (std::vector< std::vector< aiVector3D * > > *)jarg1; - arg2 = (std::vector< std::vector< aiVector3D * > > *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< std::vector< aiVector3D * > > const & type is null", 0); - return ; - } - std_vector_Sl_std_vector_Sl_aiVector3D_Sm__Sg__Sg__AddRange(arg1,(std::vector< std::vector< aiVector3t< float > * > > const &)*arg2); -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiVector3DVectorVector_GetRange(void * jarg1, int jarg2, int jarg3) { - void * jresult ; - std::vector< std::vector< aiVector3D * > > *arg1 = (std::vector< std::vector< aiVector3D * > > *) 0 ; - int arg2 ; - int arg3 ; - std::vector< std::vector< aiVector3D * > > *result = 0 ; - - arg1 = (std::vector< std::vector< aiVector3D * > > *)jarg1; - arg2 = (int)jarg2; - arg3 = (int)jarg3; - try { - result = (std::vector< std::vector< aiVector3D * > > *)std_vector_Sl_std_vector_Sl_aiVector3D_Sm__Sg__Sg__GetRange(arg1,arg2,arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - catch(std::invalid_argument &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentException, (&_e)->what(), ""); - return 0; - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiVector3DVectorVector_Insert(void * jarg1, int jarg2, void * jarg3) { - std::vector< std::vector< aiVector3D * > > *arg1 = (std::vector< std::vector< aiVector3D * > > *) 0 ; - int arg2 ; - std::vector< aiVector3D * > *arg3 = 0 ; - - arg1 = (std::vector< std::vector< aiVector3D * > > *)jarg1; - arg2 = (int)jarg2; - arg3 = (std::vector< aiVector3D * > *)jarg3; - if (!arg3) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< aiVector3D * > const & type is null", 0); - return ; - } - try { - std_vector_Sl_std_vector_Sl_aiVector3D_Sm__Sg__Sg__Insert(arg1,arg2,(std::vector< aiVector3t< float > * > const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiVector3DVectorVector_InsertRange(void * jarg1, int jarg2, void * jarg3) { - std::vector< std::vector< aiVector3D * > > *arg1 = (std::vector< std::vector< aiVector3D * > > *) 0 ; - int arg2 ; - std::vector< std::vector< aiVector3D * > > *arg3 = 0 ; - - arg1 = (std::vector< std::vector< aiVector3D * > > *)jarg1; - arg2 = (int)jarg2; - arg3 = (std::vector< std::vector< aiVector3D * > > *)jarg3; - if (!arg3) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< std::vector< aiVector3D * > > const & type is null", 0); - return ; - } - try { - std_vector_Sl_std_vector_Sl_aiVector3D_Sm__Sg__Sg__InsertRange(arg1,arg2,(std::vector< std::vector< aiVector3t< float > * > > const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiVector3DVectorVector_RemoveAt(void * jarg1, int jarg2) { - std::vector< std::vector< aiVector3D * > > *arg1 = (std::vector< std::vector< aiVector3D * > > *) 0 ; - int arg2 ; - - arg1 = (std::vector< std::vector< aiVector3D * > > *)jarg1; - arg2 = (int)jarg2; - try { - std_vector_Sl_std_vector_Sl_aiVector3D_Sm__Sg__Sg__RemoveAt(arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiVector3DVectorVector_RemoveRange(void * jarg1, int jarg2, int jarg3) { - std::vector< std::vector< aiVector3D * > > *arg1 = (std::vector< std::vector< aiVector3D * > > *) 0 ; - int arg2 ; - int arg3 ; - - arg1 = (std::vector< std::vector< aiVector3D * > > *)jarg1; - arg2 = (int)jarg2; - arg3 = (int)jarg3; - try { - std_vector_Sl_std_vector_Sl_aiVector3D_Sm__Sg__Sg__RemoveRange(arg1,arg2,arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - catch(std::invalid_argument &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentException, (&_e)->what(), ""); - return ; - } - -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiVector3DVectorVector_Repeat(void * jarg1, int jarg2) { - void * jresult ; - std::vector< aiVector3D * > *arg1 = 0 ; - int arg2 ; - std::vector< std::vector< aiVector3D * > > *result = 0 ; - - arg1 = (std::vector< aiVector3D * > *)jarg1; - if (!arg1) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< aiVector3D * > const & type is null", 0); - return 0; - } - arg2 = (int)jarg2; - try { - result = (std::vector< std::vector< aiVector3D * > > *)std_vector_Sl_std_vector_Sl_aiVector3D_Sm__Sg__Sg__Repeat((std::vector< aiVector3t< float > * > const &)*arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiVector3DVectorVector_Reverse__SWIG_0(void * jarg1) { - std::vector< std::vector< aiVector3D * > > *arg1 = (std::vector< std::vector< aiVector3D * > > *) 0 ; - - arg1 = (std::vector< std::vector< aiVector3D * > > *)jarg1; - std_vector_Sl_std_vector_Sl_aiVector3D_Sm__Sg__Sg__Reverse__SWIG_0(arg1); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiVector3DVectorVector_Reverse__SWIG_1(void * jarg1, int jarg2, int jarg3) { - std::vector< std::vector< aiVector3D * > > *arg1 = (std::vector< std::vector< aiVector3D * > > *) 0 ; - int arg2 ; - int arg3 ; - - arg1 = (std::vector< std::vector< aiVector3D * > > *)jarg1; - arg2 = (int)jarg2; - arg3 = (int)jarg3; - try { - std_vector_Sl_std_vector_Sl_aiVector3D_Sm__Sg__Sg__Reverse__SWIG_1(arg1,arg2,arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - catch(std::invalid_argument &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentException, (&_e)->what(), ""); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiVector3DVectorVector_SetRange(void * jarg1, int jarg2, void * jarg3) { - std::vector< std::vector< aiVector3D * > > *arg1 = (std::vector< std::vector< aiVector3D * > > *) 0 ; - int arg2 ; - std::vector< std::vector< aiVector3D * > > *arg3 = 0 ; - - arg1 = (std::vector< std::vector< aiVector3D * > > *)jarg1; - arg2 = (int)jarg2; - arg3 = (std::vector< std::vector< aiVector3D * > > *)jarg3; - if (!arg3) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< std::vector< aiVector3D * > > const & type is null", 0); - return ; - } - try { - std_vector_Sl_std_vector_Sl_aiVector3D_Sm__Sg__Sg__SetRange(arg1,arg2,(std::vector< std::vector< aiVector3t< float > * > > const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_aiVector3DVectorVector(void * jarg1) { - std::vector< std::vector< aiVector3D * > > *arg1 = (std::vector< std::vector< aiVector3D * > > *) 0 ; - - arg1 = (std::vector< std::vector< aiVector3D * > > *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiVectorKeyVector_Clear(void * jarg1) { - std::vector< aiVectorKey * > *arg1 = (std::vector< aiVectorKey * > *) 0 ; - - arg1 = (std::vector< aiVectorKey * > *)jarg1; - (arg1)->clear(); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiVectorKeyVector_Add(void * jarg1, void * jarg2) { - std::vector< aiVectorKey * > *arg1 = (std::vector< aiVectorKey * > *) 0 ; - aiVectorKey **arg2 = 0 ; - aiVectorKey *temp2 = 0 ; - - arg1 = (std::vector< aiVectorKey * > *)jarg1; - temp2 = (aiVectorKey *)jarg2; - arg2 = (aiVectorKey **)&temp2; - (arg1)->push_back((aiVectorKey *const &)*arg2); -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_aiVectorKeyVector_size(void * jarg1) { - unsigned long jresult ; - std::vector< aiVectorKey * > *arg1 = (std::vector< aiVectorKey * > *) 0 ; - std::vector< aiVectorKey * >::size_type result; - - arg1 = (std::vector< aiVectorKey * > *)jarg1; - result = ((std::vector< aiVectorKey * > const *)arg1)->size(); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_aiVectorKeyVector_capacity(void * jarg1) { - unsigned long jresult ; - std::vector< aiVectorKey * > *arg1 = (std::vector< aiVectorKey * > *) 0 ; - std::vector< aiVectorKey * >::size_type result; - - arg1 = (std::vector< aiVectorKey * > *)jarg1; - result = ((std::vector< aiVectorKey * > const *)arg1)->capacity(); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiVectorKeyVector_reserve(void * jarg1, unsigned long jarg2) { - std::vector< aiVectorKey * > *arg1 = (std::vector< aiVectorKey * > *) 0 ; - std::vector< aiVectorKey * >::size_type arg2 ; - - arg1 = (std::vector< aiVectorKey * > *)jarg1; - arg2 = (std::vector< aiVectorKey * >::size_type)jarg2; - (arg1)->reserve(arg2); -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiVectorKeyVector__SWIG_0() { - void * jresult ; - std::vector< aiVectorKey * > *result = 0 ; - - result = (std::vector< aiVectorKey * > *)new std::vector< aiVectorKey * >(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiVectorKeyVector__SWIG_1(void * jarg1) { - void * jresult ; - std::vector< aiVectorKey * > *arg1 = 0 ; - std::vector< aiVectorKey * > *result = 0 ; - - arg1 = (std::vector< aiVectorKey * > *)jarg1; - if (!arg1) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< aiVectorKey * > const & type is null", 0); - return 0; - } - result = (std::vector< aiVectorKey * > *)new std::vector< aiVectorKey * >((std::vector< aiVectorKey * > const &)*arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiVectorKeyVector__SWIG_2(int jarg1) { - void * jresult ; - int arg1 ; - std::vector< aiVectorKey * > *result = 0 ; - - arg1 = (int)jarg1; - try { - result = (std::vector< aiVectorKey * > *)new_std_vector_Sl_aiVectorKey_Sm__Sg___SWIG_2(arg1); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiVectorKeyVector_getitemcopy(void * jarg1, int jarg2) { - void * jresult ; - std::vector< aiVectorKey * > *arg1 = (std::vector< aiVectorKey * > *) 0 ; - int arg2 ; - aiVectorKey *result = 0 ; - - arg1 = (std::vector< aiVectorKey * > *)jarg1; - arg2 = (int)jarg2; - try { - result = (aiVectorKey *)std_vector_Sl_aiVectorKey_Sm__Sg__getitemcopy(arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiVectorKeyVector_getitem(void * jarg1, int jarg2) { - void * jresult ; - std::vector< aiVectorKey * > *arg1 = (std::vector< aiVectorKey * > *) 0 ; - int arg2 ; - aiVectorKey **result = 0 ; - - arg1 = (std::vector< aiVectorKey * > *)jarg1; - arg2 = (int)jarg2; - try { - result = (aiVectorKey **) &std_vector_Sl_aiVectorKey_Sm__Sg__getitem(arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = (void *)*result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiVectorKeyVector_setitem(void * jarg1, int jarg2, void * jarg3) { - std::vector< aiVectorKey * > *arg1 = (std::vector< aiVectorKey * > *) 0 ; - int arg2 ; - aiVectorKey **arg3 = 0 ; - aiVectorKey *temp3 = 0 ; - - arg1 = (std::vector< aiVectorKey * > *)jarg1; - arg2 = (int)jarg2; - temp3 = (aiVectorKey *)jarg3; - arg3 = (aiVectorKey **)&temp3; - try { - std_vector_Sl_aiVectorKey_Sm__Sg__setitem(arg1,arg2,(aiVectorKey *const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiVectorKeyVector_AddRange(void * jarg1, void * jarg2) { - std::vector< aiVectorKey * > *arg1 = (std::vector< aiVectorKey * > *) 0 ; - std::vector< aiVectorKey * > *arg2 = 0 ; - - arg1 = (std::vector< aiVectorKey * > *)jarg1; - arg2 = (std::vector< aiVectorKey * > *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< aiVectorKey * > const & type is null", 0); - return ; - } - std_vector_Sl_aiVectorKey_Sm__Sg__AddRange(arg1,(std::vector< aiVectorKey * > const &)*arg2); -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiVectorKeyVector_GetRange(void * jarg1, int jarg2, int jarg3) { - void * jresult ; - std::vector< aiVectorKey * > *arg1 = (std::vector< aiVectorKey * > *) 0 ; - int arg2 ; - int arg3 ; - std::vector< aiVectorKey * > *result = 0 ; - - arg1 = (std::vector< aiVectorKey * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (int)jarg3; - try { - result = (std::vector< aiVectorKey * > *)std_vector_Sl_aiVectorKey_Sm__Sg__GetRange(arg1,arg2,arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - catch(std::invalid_argument &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentException, (&_e)->what(), ""); - return 0; - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiVectorKeyVector_Insert(void * jarg1, int jarg2, void * jarg3) { - std::vector< aiVectorKey * > *arg1 = (std::vector< aiVectorKey * > *) 0 ; - int arg2 ; - aiVectorKey **arg3 = 0 ; - aiVectorKey *temp3 = 0 ; - - arg1 = (std::vector< aiVectorKey * > *)jarg1; - arg2 = (int)jarg2; - temp3 = (aiVectorKey *)jarg3; - arg3 = (aiVectorKey **)&temp3; - try { - std_vector_Sl_aiVectorKey_Sm__Sg__Insert(arg1,arg2,(aiVectorKey *const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiVectorKeyVector_InsertRange(void * jarg1, int jarg2, void * jarg3) { - std::vector< aiVectorKey * > *arg1 = (std::vector< aiVectorKey * > *) 0 ; - int arg2 ; - std::vector< aiVectorKey * > *arg3 = 0 ; - - arg1 = (std::vector< aiVectorKey * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (std::vector< aiVectorKey * > *)jarg3; - if (!arg3) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< aiVectorKey * > const & type is null", 0); - return ; - } - try { - std_vector_Sl_aiVectorKey_Sm__Sg__InsertRange(arg1,arg2,(std::vector< aiVectorKey * > const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiVectorKeyVector_RemoveAt(void * jarg1, int jarg2) { - std::vector< aiVectorKey * > *arg1 = (std::vector< aiVectorKey * > *) 0 ; - int arg2 ; - - arg1 = (std::vector< aiVectorKey * > *)jarg1; - arg2 = (int)jarg2; - try { - std_vector_Sl_aiVectorKey_Sm__Sg__RemoveAt(arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiVectorKeyVector_RemoveRange(void * jarg1, int jarg2, int jarg3) { - std::vector< aiVectorKey * > *arg1 = (std::vector< aiVectorKey * > *) 0 ; - int arg2 ; - int arg3 ; - - arg1 = (std::vector< aiVectorKey * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (int)jarg3; - try { - std_vector_Sl_aiVectorKey_Sm__Sg__RemoveRange(arg1,arg2,arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - catch(std::invalid_argument &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentException, (&_e)->what(), ""); - return ; - } - -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiVectorKeyVector_Repeat(void * jarg1, int jarg2) { - void * jresult ; - aiVectorKey **arg1 = 0 ; - int arg2 ; - aiVectorKey *temp1 = 0 ; - std::vector< aiVectorKey * > *result = 0 ; - - temp1 = (aiVectorKey *)jarg1; - arg1 = (aiVectorKey **)&temp1; - arg2 = (int)jarg2; - try { - result = (std::vector< aiVectorKey * > *)std_vector_Sl_aiVectorKey_Sm__Sg__Repeat((aiVectorKey *const &)*arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiVectorKeyVector_Reverse__SWIG_0(void * jarg1) { - std::vector< aiVectorKey * > *arg1 = (std::vector< aiVectorKey * > *) 0 ; - - arg1 = (std::vector< aiVectorKey * > *)jarg1; - std_vector_Sl_aiVectorKey_Sm__Sg__Reverse__SWIG_0(arg1); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiVectorKeyVector_Reverse__SWIG_1(void * jarg1, int jarg2, int jarg3) { - std::vector< aiVectorKey * > *arg1 = (std::vector< aiVectorKey * > *) 0 ; - int arg2 ; - int arg3 ; - - arg1 = (std::vector< aiVectorKey * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (int)jarg3; - try { - std_vector_Sl_aiVectorKey_Sm__Sg__Reverse__SWIG_1(arg1,arg2,arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - catch(std::invalid_argument &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentException, (&_e)->what(), ""); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiVectorKeyVector_SetRange(void * jarg1, int jarg2, void * jarg3) { - std::vector< aiVectorKey * > *arg1 = (std::vector< aiVectorKey * > *) 0 ; - int arg2 ; - std::vector< aiVectorKey * > *arg3 = 0 ; - - arg1 = (std::vector< aiVectorKey * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (std::vector< aiVectorKey * > *)jarg3; - if (!arg3) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< aiVectorKey * > const & type is null", 0); - return ; - } - try { - std_vector_Sl_aiVectorKey_Sm__Sg__SetRange(arg1,arg2,(std::vector< aiVectorKey * > const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiVectorKeyVector_Contains(void * jarg1, void * jarg2) { - unsigned int jresult ; - std::vector< aiVectorKey * > *arg1 = (std::vector< aiVectorKey * > *) 0 ; - aiVectorKey **arg2 = 0 ; - aiVectorKey *temp2 = 0 ; - bool result; - - arg1 = (std::vector< aiVectorKey * > *)jarg1; - temp2 = (aiVectorKey *)jarg2; - arg2 = (aiVectorKey **)&temp2; - result = (bool)std_vector_Sl_aiVectorKey_Sm__Sg__Contains(arg1,(aiVectorKey *const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_aiVectorKeyVector_IndexOf(void * jarg1, void * jarg2) { - int jresult ; - std::vector< aiVectorKey * > *arg1 = (std::vector< aiVectorKey * > *) 0 ; - aiVectorKey **arg2 = 0 ; - aiVectorKey *temp2 = 0 ; - int result; - - arg1 = (std::vector< aiVectorKey * > *)jarg1; - temp2 = (aiVectorKey *)jarg2; - arg2 = (aiVectorKey **)&temp2; - result = (int)std_vector_Sl_aiVectorKey_Sm__Sg__IndexOf(arg1,(aiVectorKey *const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_aiVectorKeyVector_LastIndexOf(void * jarg1, void * jarg2) { - int jresult ; - std::vector< aiVectorKey * > *arg1 = (std::vector< aiVectorKey * > *) 0 ; - aiVectorKey **arg2 = 0 ; - aiVectorKey *temp2 = 0 ; - int result; - - arg1 = (std::vector< aiVectorKey * > *)jarg1; - temp2 = (aiVectorKey *)jarg2; - arg2 = (aiVectorKey **)&temp2; - result = (int)std_vector_Sl_aiVectorKey_Sm__Sg__LastIndexOf(arg1,(aiVectorKey *const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiVectorKeyVector_Remove(void * jarg1, void * jarg2) { - unsigned int jresult ; - std::vector< aiVectorKey * > *arg1 = (std::vector< aiVectorKey * > *) 0 ; - aiVectorKey **arg2 = 0 ; - aiVectorKey *temp2 = 0 ; - bool result; - - arg1 = (std::vector< aiVectorKey * > *)jarg1; - temp2 = (aiVectorKey *)jarg2; - arg2 = (aiVectorKey **)&temp2; - result = (bool)std_vector_Sl_aiVectorKey_Sm__Sg__Remove(arg1,(aiVectorKey *const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_aiVectorKeyVector(void * jarg1) { - std::vector< aiVectorKey * > *arg1 = (std::vector< aiVectorKey * > *) 0 ; - - arg1 = (std::vector< aiVectorKey * > *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiVertexWeightVector_Clear(void * jarg1) { - std::vector< aiVertexWeight * > *arg1 = (std::vector< aiVertexWeight * > *) 0 ; - - arg1 = (std::vector< aiVertexWeight * > *)jarg1; - (arg1)->clear(); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiVertexWeightVector_Add(void * jarg1, void * jarg2) { - std::vector< aiVertexWeight * > *arg1 = (std::vector< aiVertexWeight * > *) 0 ; - aiVertexWeight **arg2 = 0 ; - aiVertexWeight *temp2 = 0 ; - - arg1 = (std::vector< aiVertexWeight * > *)jarg1; - temp2 = (aiVertexWeight *)jarg2; - arg2 = (aiVertexWeight **)&temp2; - (arg1)->push_back((aiVertexWeight *const &)*arg2); -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_aiVertexWeightVector_size(void * jarg1) { - unsigned long jresult ; - std::vector< aiVertexWeight * > *arg1 = (std::vector< aiVertexWeight * > *) 0 ; - std::vector< aiVertexWeight * >::size_type result; - - arg1 = (std::vector< aiVertexWeight * > *)jarg1; - result = ((std::vector< aiVertexWeight * > const *)arg1)->size(); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_aiVertexWeightVector_capacity(void * jarg1) { - unsigned long jresult ; - std::vector< aiVertexWeight * > *arg1 = (std::vector< aiVertexWeight * > *) 0 ; - std::vector< aiVertexWeight * >::size_type result; - - arg1 = (std::vector< aiVertexWeight * > *)jarg1; - result = ((std::vector< aiVertexWeight * > const *)arg1)->capacity(); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiVertexWeightVector_reserve(void * jarg1, unsigned long jarg2) { - std::vector< aiVertexWeight * > *arg1 = (std::vector< aiVertexWeight * > *) 0 ; - std::vector< aiVertexWeight * >::size_type arg2 ; - - arg1 = (std::vector< aiVertexWeight * > *)jarg1; - arg2 = (std::vector< aiVertexWeight * >::size_type)jarg2; - (arg1)->reserve(arg2); -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiVertexWeightVector__SWIG_0() { - void * jresult ; - std::vector< aiVertexWeight * > *result = 0 ; - - result = (std::vector< aiVertexWeight * > *)new std::vector< aiVertexWeight * >(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiVertexWeightVector__SWIG_1(void * jarg1) { - void * jresult ; - std::vector< aiVertexWeight * > *arg1 = 0 ; - std::vector< aiVertexWeight * > *result = 0 ; - - arg1 = (std::vector< aiVertexWeight * > *)jarg1; - if (!arg1) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< aiVertexWeight * > const & type is null", 0); - return 0; - } - result = (std::vector< aiVertexWeight * > *)new std::vector< aiVertexWeight * >((std::vector< aiVertexWeight * > const &)*arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_aiVertexWeightVector__SWIG_2(int jarg1) { - void * jresult ; - int arg1 ; - std::vector< aiVertexWeight * > *result = 0 ; - - arg1 = (int)jarg1; - try { - result = (std::vector< aiVertexWeight * > *)new_std_vector_Sl_aiVertexWeight_Sm__Sg___SWIG_2(arg1); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiVertexWeightVector_getitemcopy(void * jarg1, int jarg2) { - void * jresult ; - std::vector< aiVertexWeight * > *arg1 = (std::vector< aiVertexWeight * > *) 0 ; - int arg2 ; - aiVertexWeight *result = 0 ; - - arg1 = (std::vector< aiVertexWeight * > *)jarg1; - arg2 = (int)jarg2; - try { - result = (aiVertexWeight *)std_vector_Sl_aiVertexWeight_Sm__Sg__getitemcopy(arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiVertexWeightVector_getitem(void * jarg1, int jarg2) { - void * jresult ; - std::vector< aiVertexWeight * > *arg1 = (std::vector< aiVertexWeight * > *) 0 ; - int arg2 ; - aiVertexWeight **result = 0 ; - - arg1 = (std::vector< aiVertexWeight * > *)jarg1; - arg2 = (int)jarg2; - try { - result = (aiVertexWeight **) &std_vector_Sl_aiVertexWeight_Sm__Sg__getitem(arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = (void *)*result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiVertexWeightVector_setitem(void * jarg1, int jarg2, void * jarg3) { - std::vector< aiVertexWeight * > *arg1 = (std::vector< aiVertexWeight * > *) 0 ; - int arg2 ; - aiVertexWeight **arg3 = 0 ; - aiVertexWeight *temp3 = 0 ; - - arg1 = (std::vector< aiVertexWeight * > *)jarg1; - arg2 = (int)jarg2; - temp3 = (aiVertexWeight *)jarg3; - arg3 = (aiVertexWeight **)&temp3; - try { - std_vector_Sl_aiVertexWeight_Sm__Sg__setitem(arg1,arg2,(aiVertexWeight *const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiVertexWeightVector_AddRange(void * jarg1, void * jarg2) { - std::vector< aiVertexWeight * > *arg1 = (std::vector< aiVertexWeight * > *) 0 ; - std::vector< aiVertexWeight * > *arg2 = 0 ; - - arg1 = (std::vector< aiVertexWeight * > *)jarg1; - arg2 = (std::vector< aiVertexWeight * > *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< aiVertexWeight * > const & type is null", 0); - return ; - } - std_vector_Sl_aiVertexWeight_Sm__Sg__AddRange(arg1,(std::vector< aiVertexWeight * > const &)*arg2); -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiVertexWeightVector_GetRange(void * jarg1, int jarg2, int jarg3) { - void * jresult ; - std::vector< aiVertexWeight * > *arg1 = (std::vector< aiVertexWeight * > *) 0 ; - int arg2 ; - int arg3 ; - std::vector< aiVertexWeight * > *result = 0 ; - - arg1 = (std::vector< aiVertexWeight * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (int)jarg3; - try { - result = (std::vector< aiVertexWeight * > *)std_vector_Sl_aiVertexWeight_Sm__Sg__GetRange(arg1,arg2,arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - catch(std::invalid_argument &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentException, (&_e)->what(), ""); - return 0; - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiVertexWeightVector_Insert(void * jarg1, int jarg2, void * jarg3) { - std::vector< aiVertexWeight * > *arg1 = (std::vector< aiVertexWeight * > *) 0 ; - int arg2 ; - aiVertexWeight **arg3 = 0 ; - aiVertexWeight *temp3 = 0 ; - - arg1 = (std::vector< aiVertexWeight * > *)jarg1; - arg2 = (int)jarg2; - temp3 = (aiVertexWeight *)jarg3; - arg3 = (aiVertexWeight **)&temp3; - try { - std_vector_Sl_aiVertexWeight_Sm__Sg__Insert(arg1,arg2,(aiVertexWeight *const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiVertexWeightVector_InsertRange(void * jarg1, int jarg2, void * jarg3) { - std::vector< aiVertexWeight * > *arg1 = (std::vector< aiVertexWeight * > *) 0 ; - int arg2 ; - std::vector< aiVertexWeight * > *arg3 = 0 ; - - arg1 = (std::vector< aiVertexWeight * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (std::vector< aiVertexWeight * > *)jarg3; - if (!arg3) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< aiVertexWeight * > const & type is null", 0); - return ; - } - try { - std_vector_Sl_aiVertexWeight_Sm__Sg__InsertRange(arg1,arg2,(std::vector< aiVertexWeight * > const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiVertexWeightVector_RemoveAt(void * jarg1, int jarg2) { - std::vector< aiVertexWeight * > *arg1 = (std::vector< aiVertexWeight * > *) 0 ; - int arg2 ; - - arg1 = (std::vector< aiVertexWeight * > *)jarg1; - arg2 = (int)jarg2; - try { - std_vector_Sl_aiVertexWeight_Sm__Sg__RemoveAt(arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiVertexWeightVector_RemoveRange(void * jarg1, int jarg2, int jarg3) { - std::vector< aiVertexWeight * > *arg1 = (std::vector< aiVertexWeight * > *) 0 ; - int arg2 ; - int arg3 ; - - arg1 = (std::vector< aiVertexWeight * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (int)jarg3; - try { - std_vector_Sl_aiVertexWeight_Sm__Sg__RemoveRange(arg1,arg2,arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - catch(std::invalid_argument &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentException, (&_e)->what(), ""); - return ; - } - -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_aiVertexWeightVector_Repeat(void * jarg1, int jarg2) { - void * jresult ; - aiVertexWeight **arg1 = 0 ; - int arg2 ; - aiVertexWeight *temp1 = 0 ; - std::vector< aiVertexWeight * > *result = 0 ; - - temp1 = (aiVertexWeight *)jarg1; - arg1 = (aiVertexWeight **)&temp1; - arg2 = (int)jarg2; - try { - result = (std::vector< aiVertexWeight * > *)std_vector_Sl_aiVertexWeight_Sm__Sg__Repeat((aiVertexWeight *const &)*arg1,arg2); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return 0; - } - - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiVertexWeightVector_Reverse__SWIG_0(void * jarg1) { - std::vector< aiVertexWeight * > *arg1 = (std::vector< aiVertexWeight * > *) 0 ; - - arg1 = (std::vector< aiVertexWeight * > *)jarg1; - std_vector_Sl_aiVertexWeight_Sm__Sg__Reverse__SWIG_0(arg1); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiVertexWeightVector_Reverse__SWIG_1(void * jarg1, int jarg2, int jarg3) { - std::vector< aiVertexWeight * > *arg1 = (std::vector< aiVertexWeight * > *) 0 ; - int arg2 ; - int arg3 ; - - arg1 = (std::vector< aiVertexWeight * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (int)jarg3; - try { - std_vector_Sl_aiVertexWeight_Sm__Sg__Reverse__SWIG_1(arg1,arg2,arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - catch(std::invalid_argument &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentException, (&_e)->what(), ""); - return ; - } - -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_aiVertexWeightVector_SetRange(void * jarg1, int jarg2, void * jarg3) { - std::vector< aiVertexWeight * > *arg1 = (std::vector< aiVertexWeight * > *) 0 ; - int arg2 ; - std::vector< aiVertexWeight * > *arg3 = 0 ; - - arg1 = (std::vector< aiVertexWeight * > *)jarg1; - arg2 = (int)jarg2; - arg3 = (std::vector< aiVertexWeight * > *)jarg3; - if (!arg3) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< aiVertexWeight * > const & type is null", 0); - return ; - } - try { - std_vector_Sl_aiVertexWeight_Sm__Sg__SetRange(arg1,arg2,(std::vector< aiVertexWeight * > const &)*arg3); - } - catch(std::out_of_range &_e) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, (&_e)->what()); - return ; - } - -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiVertexWeightVector_Contains(void * jarg1, void * jarg2) { - unsigned int jresult ; - std::vector< aiVertexWeight * > *arg1 = (std::vector< aiVertexWeight * > *) 0 ; - aiVertexWeight **arg2 = 0 ; - aiVertexWeight *temp2 = 0 ; - bool result; - - arg1 = (std::vector< aiVertexWeight * > *)jarg1; - temp2 = (aiVertexWeight *)jarg2; - arg2 = (aiVertexWeight **)&temp2; - result = (bool)std_vector_Sl_aiVertexWeight_Sm__Sg__Contains(arg1,(aiVertexWeight *const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_aiVertexWeightVector_IndexOf(void * jarg1, void * jarg2) { - int jresult ; - std::vector< aiVertexWeight * > *arg1 = (std::vector< aiVertexWeight * > *) 0 ; - aiVertexWeight **arg2 = 0 ; - aiVertexWeight *temp2 = 0 ; - int result; - - arg1 = (std::vector< aiVertexWeight * > *)jarg1; - temp2 = (aiVertexWeight *)jarg2; - arg2 = (aiVertexWeight **)&temp2; - result = (int)std_vector_Sl_aiVertexWeight_Sm__Sg__IndexOf(arg1,(aiVertexWeight *const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_aiVertexWeightVector_LastIndexOf(void * jarg1, void * jarg2) { - int jresult ; - std::vector< aiVertexWeight * > *arg1 = (std::vector< aiVertexWeight * > *) 0 ; - aiVertexWeight **arg2 = 0 ; - aiVertexWeight *temp2 = 0 ; - int result; - - arg1 = (std::vector< aiVertexWeight * > *)jarg1; - temp2 = (aiVertexWeight *)jarg2; - arg2 = (aiVertexWeight **)&temp2; - result = (int)std_vector_Sl_aiVertexWeight_Sm__Sg__LastIndexOf(arg1,(aiVertexWeight *const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_aiVertexWeightVector_Remove(void * jarg1, void * jarg2) { - unsigned int jresult ; - std::vector< aiVertexWeight * > *arg1 = (std::vector< aiVertexWeight * > *) 0 ; - aiVertexWeight **arg2 = 0 ; - aiVertexWeight *temp2 = 0 ; - bool result; - - arg1 = (std::vector< aiVertexWeight * > *)jarg1; - temp2 = (aiVertexWeight *)jarg2; - arg2 = (aiVertexWeight **)&temp2; - result = (bool)std_vector_Sl_aiVertexWeight_Sm__Sg__Remove(arg1,(aiVertexWeight *const &)*arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_aiVertexWeightVector(void * jarg1) { - std::vector< aiVertexWeight * > *arg1 = (std::vector< aiVertexWeight * > *) 0 ; - - arg1 = (std::vector< aiVertexWeight * > *)jarg1; - delete arg1; -} - - -#ifdef __cplusplus -} -#endif - diff --git a/port/Assimp.NET/Assimp.NET_CS/Assimp.NET_CS.csproj b/port/Assimp.NET/Assimp.NET_CS/Assimp.NET_CS.csproj deleted file mode 100644 index 68cf68760..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/Assimp.NET_CS.csproj +++ /dev/null @@ -1,176 +0,0 @@ - - - - Debug - AnyCPU - 9.0.21022 - 2.0 - {A0CE9ED2-A27E-40AE-95F5-FEF94BB7E131} - Library - Properties - Assimp - Assimp.Interop - v3.5 - 512 - - - - - true - full - false - ..\..\..\bin\%24%28ProjectName%29_%24%28ConfigurationName%29_%24%28PlatformName%29\ - DEBUG;TRACE - prompt - 4 - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - true - bin\x86\Debug\ - DEBUG;TRACE - full - x86 - prompt - - - bin\x86\Release\ - TRACE - true - pdbonly - x86 - prompt - - - - - - 3.5 - - - 3.5 - - - 3.5 - - - - - - - {A86A8AF2-3B4D-4381-BB01-9CA2AE88450E} - Assimp_NET - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Code - - - Code - - - Code - - - Code - - - Code - - - Code - - - - - - - - - \ No newline at end of file diff --git a/port/Assimp.NET/Assimp.NET_CS/Assimp.cs b/port/Assimp.NET/Assimp.NET_CS/Assimp.cs deleted file mode 100644 index 26ebf63a4..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/Assimp.cs +++ /dev/null @@ -1,137 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.8 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - - -using System; -using System.Runtime.InteropServices; - -public class Assimp { - public static uint MAXLEN { - get { - uint ret = AssimpPINVOKE.MAXLEN_get(); - return ret; - } - } - - public static string aiGetLegalString() { - string ret = AssimpPINVOKE.aiGetLegalString(); - return ret; - } - - public static uint aiGetVersionMinor() { - uint ret = AssimpPINVOKE.aiGetVersionMinor(); - return ret; - } - - public static uint aiGetVersionMajor() { - uint ret = AssimpPINVOKE.aiGetVersionMajor(); - return ret; - } - - public static uint aiGetVersionRevision() { - uint ret = AssimpPINVOKE.aiGetVersionRevision(); - return ret; - } - - public static uint aiGetCompileFlags() { - uint ret = AssimpPINVOKE.aiGetCompileFlags(); - return ret; - } - - public static readonly double AI_MATH_PI = AssimpPINVOKE.AI_MATH_PI_get(); - public static readonly double AI_MATH_TWO_PI = AssimpPINVOKE.AI_MATH_TWO_PI_get(); - public static readonly double AI_MATH_HALF_PI = AssimpPINVOKE.AI_MATH_HALF_PI_get(); - public static readonly double AI_MATH_PI_F = AssimpPINVOKE.AI_MATH_PI_F_get(); - public static readonly double AI_MATH_TWO_PI_F = AssimpPINVOKE.AI_MATH_TWO_PI_F_get(); - public static readonly double AI_MATH_HALF_PI_F = AssimpPINVOKE.AI_MATH_HALF_PI_F_get(); - public static readonly string AI_CONFIG_GLOB_MEASURE_TIME = AssimpPINVOKE.AI_CONFIG_GLOB_MEASURE_TIME_get(); - public static readonly string AI_CONFIG_PP_SBBC_MAX_BONES = AssimpPINVOKE.AI_CONFIG_PP_SBBC_MAX_BONES_get(); - public static readonly int AI_SBBC_DEFAULT_MAX_BONES = AssimpPINVOKE.AI_SBBC_DEFAULT_MAX_BONES_get(); - public static readonly string AI_CONFIG_PP_CT_MAX_SMOOTHING_ANGLE = AssimpPINVOKE.AI_CONFIG_PP_CT_MAX_SMOOTHING_ANGLE_get(); - public static readonly string AI_CONFIG_PP_CT_TEXTURE_CHANNEL_INDEX = AssimpPINVOKE.AI_CONFIG_PP_CT_TEXTURE_CHANNEL_INDEX_get(); - public static readonly string AI_CONFIG_PP_GSN_MAX_SMOOTHING_ANGLE = AssimpPINVOKE.AI_CONFIG_PP_GSN_MAX_SMOOTHING_ANGLE_get(); - public static readonly string AI_CONFIG_IMPORT_MDL_COLORMAP = AssimpPINVOKE.AI_CONFIG_IMPORT_MDL_COLORMAP_get(); - public static readonly string AI_CONFIG_PP_RRM_EXCLUDE_LIST = AssimpPINVOKE.AI_CONFIG_PP_RRM_EXCLUDE_LIST_get(); - public static readonly string AI_CONFIG_PP_PTV_KEEP_HIERARCHY = AssimpPINVOKE.AI_CONFIG_PP_PTV_KEEP_HIERARCHY_get(); - public static readonly string AI_CONFIG_PP_PTV_NORMALIZE = AssimpPINVOKE.AI_CONFIG_PP_PTV_NORMALIZE_get(); - public static readonly string AI_CONFIG_PP_FD_REMOVE = AssimpPINVOKE.AI_CONFIG_PP_FD_REMOVE_get(); - public static readonly string AI_CONFIG_PP_OG_EXCLUDE_LIST = AssimpPINVOKE.AI_CONFIG_PP_OG_EXCLUDE_LIST_get(); - public static readonly string AI_CONFIG_PP_SLM_TRIANGLE_LIMIT = AssimpPINVOKE.AI_CONFIG_PP_SLM_TRIANGLE_LIMIT_get(); - public static readonly int AI_SLM_DEFAULT_MAX_TRIANGLES = AssimpPINVOKE.AI_SLM_DEFAULT_MAX_TRIANGLES_get(); - public static readonly string AI_CONFIG_PP_SLM_VERTEX_LIMIT = AssimpPINVOKE.AI_CONFIG_PP_SLM_VERTEX_LIMIT_get(); - public static readonly int AI_SLM_DEFAULT_MAX_VERTICES = AssimpPINVOKE.AI_SLM_DEFAULT_MAX_VERTICES_get(); - public static readonly string AI_CONFIG_PP_LBW_MAX_WEIGHTS = AssimpPINVOKE.AI_CONFIG_PP_LBW_MAX_WEIGHTS_get(); - public static readonly int AI_LMW_MAX_WEIGHTS = AssimpPINVOKE.AI_LMW_MAX_WEIGHTS_get(); - public static readonly string AI_CONFIG_PP_DB_THRESHOLD = AssimpPINVOKE.AI_CONFIG_PP_DB_THRESHOLD_get(); - public static readonly double AI_DEBONE_THRESHOLD = AssimpPINVOKE.AI_DEBONE_THRESHOLD_get(); - public static readonly string AI_CONFIG_PP_DB_ALL_OR_NONE = AssimpPINVOKE.AI_CONFIG_PP_DB_ALL_OR_NONE_get(); - public static readonly int PP_ICL_PTCACHE_SIZE = AssimpPINVOKE.PP_ICL_PTCACHE_SIZE_get(); - public static readonly string AI_CONFIG_PP_ICL_PTCACHE_SIZE = AssimpPINVOKE.AI_CONFIG_PP_ICL_PTCACHE_SIZE_get(); - public static readonly string AI_CONFIG_PP_RVC_FLAGS = AssimpPINVOKE.AI_CONFIG_PP_RVC_FLAGS_get(); - public static readonly string AI_CONFIG_PP_SBP_REMOVE = AssimpPINVOKE.AI_CONFIG_PP_SBP_REMOVE_get(); - public static readonly string AI_CONFIG_PP_FID_ANIM_ACCURACY = AssimpPINVOKE.AI_CONFIG_PP_FID_ANIM_ACCURACY_get(); - public static readonly int AI_UVTRAFO_SCALING = AssimpPINVOKE.AI_UVTRAFO_SCALING_get(); - public static readonly int AI_UVTRAFO_ROTATION = AssimpPINVOKE.AI_UVTRAFO_ROTATION_get(); - public static readonly int AI_UVTRAFO_TRANSLATION = AssimpPINVOKE.AI_UVTRAFO_TRANSLATION_get(); - public static readonly int AI_UVTRAFO_ALL = AssimpPINVOKE.AI_UVTRAFO_ALL_get(); - public static readonly string AI_CONFIG_PP_TUV_EVALUATE = AssimpPINVOKE.AI_CONFIG_PP_TUV_EVALUATE_get(); - public static readonly string AI_CONFIG_FAVOUR_SPEED = AssimpPINVOKE.AI_CONFIG_FAVOUR_SPEED_get(); - public static readonly string AI_CONFIG_IMPORT_GLOBAL_KEYFRAME = AssimpPINVOKE.AI_CONFIG_IMPORT_GLOBAL_KEYFRAME_get(); - public static readonly string AI_CONFIG_IMPORT_MD3_KEYFRAME = AssimpPINVOKE.AI_CONFIG_IMPORT_MD3_KEYFRAME_get(); - public static readonly string AI_CONFIG_IMPORT_MD2_KEYFRAME = AssimpPINVOKE.AI_CONFIG_IMPORT_MD2_KEYFRAME_get(); - public static readonly string AI_CONFIG_IMPORT_MDL_KEYFRAME = AssimpPINVOKE.AI_CONFIG_IMPORT_MDL_KEYFRAME_get(); - public static readonly string AI_CONFIG_IMPORT_MDC_KEYFRAME = AssimpPINVOKE.AI_CONFIG_IMPORT_MDC_KEYFRAME_get(); - public static readonly string AI_CONFIG_IMPORT_SMD_KEYFRAME = AssimpPINVOKE.AI_CONFIG_IMPORT_SMD_KEYFRAME_get(); - public static readonly string AI_CONFIG_IMPORT_UNREAL_KEYFRAME = AssimpPINVOKE.AI_CONFIG_IMPORT_UNREAL_KEYFRAME_get(); - public static readonly string AI_CONFIG_IMPORT_AC_SEPARATE_BFCULL = AssimpPINVOKE.AI_CONFIG_IMPORT_AC_SEPARATE_BFCULL_get(); - public static readonly string AI_CONFIG_IMPORT_AC_EVAL_SUBDIVISION = AssimpPINVOKE.AI_CONFIG_IMPORT_AC_EVAL_SUBDIVISION_get(); - public static readonly string AI_CONFIG_IMPORT_UNREAL_HANDLE_FLAGS = AssimpPINVOKE.AI_CONFIG_IMPORT_UNREAL_HANDLE_FLAGS_get(); - public static readonly string AI_CONFIG_IMPORT_TER_MAKE_UVS = AssimpPINVOKE.AI_CONFIG_IMPORT_TER_MAKE_UVS_get(); - public static readonly string AI_CONFIG_IMPORT_ASE_RECONSTRUCT_NORMALS = AssimpPINVOKE.AI_CONFIG_IMPORT_ASE_RECONSTRUCT_NORMALS_get(); - public static readonly string AI_CONFIG_IMPORT_MD3_HANDLE_MULTIPART = AssimpPINVOKE.AI_CONFIG_IMPORT_MD3_HANDLE_MULTIPART_get(); - public static readonly string AI_CONFIG_IMPORT_MD3_SKIN_NAME = AssimpPINVOKE.AI_CONFIG_IMPORT_MD3_SKIN_NAME_get(); - public static readonly string AI_CONFIG_IMPORT_MD3_SHADER_SRC = AssimpPINVOKE.AI_CONFIG_IMPORT_MD3_SHADER_SRC_get(); - public static readonly string AI_CONFIG_IMPORT_LWO_ONE_LAYER_ONLY = AssimpPINVOKE.AI_CONFIG_IMPORT_LWO_ONE_LAYER_ONLY_get(); - public static readonly string AI_CONFIG_IMPORT_MD5_NO_ANIM_AUTOLOAD = AssimpPINVOKE.AI_CONFIG_IMPORT_MD5_NO_ANIM_AUTOLOAD_get(); - public static readonly string AI_CONFIG_IMPORT_LWS_ANIM_START = AssimpPINVOKE.AI_CONFIG_IMPORT_LWS_ANIM_START_get(); - public static readonly string AI_CONFIG_IMPORT_LWS_ANIM_END = AssimpPINVOKE.AI_CONFIG_IMPORT_LWS_ANIM_END_get(); - public static readonly string AI_CONFIG_IMPORT_IRR_ANIM_FPS = AssimpPINVOKE.AI_CONFIG_IMPORT_IRR_ANIM_FPS_get(); - public static readonly string AI_CONFIG_IMPORT_OGRE_MATERIAL_FILE = AssimpPINVOKE.AI_CONFIG_IMPORT_OGRE_MATERIAL_FILE_get(); - public static readonly string AI_CONFIG_IMPORT_OGRE_TEXTURETYPE_FROM_FILENAME = AssimpPINVOKE.AI_CONFIG_IMPORT_OGRE_TEXTURETYPE_FROM_FILENAME_get(); - public static readonly string AI_CONFIG_IMPORT_IFC_SKIP_SPACE_REPRESENTATIONS = AssimpPINVOKE.AI_CONFIG_IMPORT_IFC_SKIP_SPACE_REPRESENTATIONS_get(); - public static readonly string AI_CONFIG_IMPORT_IFC_SKIP_CURVE_REPRESENTATIONS = AssimpPINVOKE.AI_CONFIG_IMPORT_IFC_SKIP_CURVE_REPRESENTATIONS_get(); - public static readonly string AI_CONFIG_IMPORT_IFC_CUSTOM_TRIANGULATION = AssimpPINVOKE.AI_CONFIG_IMPORT_IFC_CUSTOM_TRIANGULATION_get(); - public static readonly int ASSIMP_CFLAGS_SHARED = AssimpPINVOKE.ASSIMP_CFLAGS_SHARED_get(); - public static readonly int ASSIMP_CFLAGS_STLPORT = AssimpPINVOKE.ASSIMP_CFLAGS_STLPORT_get(); - public static readonly int ASSIMP_CFLAGS_DEBUG = AssimpPINVOKE.ASSIMP_CFLAGS_DEBUG_get(); - public static readonly int ASSIMP_CFLAGS_NOBOOST = AssimpPINVOKE.ASSIMP_CFLAGS_NOBOOST_get(); - public static readonly int ASSIMP_CFLAGS_SINGLETHREADED = AssimpPINVOKE.ASSIMP_CFLAGS_SINGLETHREADED_get(); - public static readonly int AI_MAX_FACE_INDICES = AssimpPINVOKE.AI_MAX_FACE_INDICES_get(); - public static readonly int AI_MAX_BONE_WEIGHTS = AssimpPINVOKE.AI_MAX_BONE_WEIGHTS_get(); - public static readonly int AI_MAX_VERTICES = AssimpPINVOKE.AI_MAX_VERTICES_get(); - public static readonly int AI_MAX_FACES = AssimpPINVOKE.AI_MAX_FACES_get(); - public static readonly int AI_MAX_NUMBER_OF_COLOR_SETS = AssimpPINVOKE.AI_MAX_NUMBER_OF_COLOR_SETS_get(); - public static readonly int AI_MAX_NUMBER_OF_TEXTURECOORDS = AssimpPINVOKE.AI_MAX_NUMBER_OF_TEXTURECOORDS_get(); - public static readonly string AI_DEFAULT_MATERIAL_NAME = AssimpPINVOKE.AI_DEFAULT_MATERIAL_NAME_get(); - public static readonly string _AI_MATKEY_TEXTURE_BASE = AssimpPINVOKE._AI_MATKEY_TEXTURE_BASE_get(); - public static readonly string _AI_MATKEY_UVWSRC_BASE = AssimpPINVOKE._AI_MATKEY_UVWSRC_BASE_get(); - public static readonly string _AI_MATKEY_TEXOP_BASE = AssimpPINVOKE._AI_MATKEY_TEXOP_BASE_get(); - public static readonly string _AI_MATKEY_MAPPING_BASE = AssimpPINVOKE._AI_MATKEY_MAPPING_BASE_get(); - public static readonly string _AI_MATKEY_TEXBLEND_BASE = AssimpPINVOKE._AI_MATKEY_TEXBLEND_BASE_get(); - public static readonly string _AI_MATKEY_MAPPINGMODE_U_BASE = AssimpPINVOKE._AI_MATKEY_MAPPINGMODE_U_BASE_get(); - public static readonly string _AI_MATKEY_MAPPINGMODE_V_BASE = AssimpPINVOKE._AI_MATKEY_MAPPINGMODE_V_BASE_get(); - public static readonly string _AI_MATKEY_TEXMAP_AXIS_BASE = AssimpPINVOKE._AI_MATKEY_TEXMAP_AXIS_BASE_get(); - public static readonly string _AI_MATKEY_UVTRANSFORM_BASE = AssimpPINVOKE._AI_MATKEY_UVTRANSFORM_BASE_get(); - public static readonly string _AI_MATKEY_TEXFLAGS_BASE = AssimpPINVOKE._AI_MATKEY_TEXFLAGS_BASE_get(); - public static readonly int AI_SCENE_FLAGS_INCOMPLETE = AssimpPINVOKE.AI_SCENE_FLAGS_INCOMPLETE_get(); - public static readonly int AI_SCENE_FLAGS_VALIDATED = AssimpPINVOKE.AI_SCENE_FLAGS_VALIDATED_get(); - public static readonly int AI_SCENE_FLAGS_VALIDATION_WARNING = AssimpPINVOKE.AI_SCENE_FLAGS_VALIDATION_WARNING_get(); - public static readonly int AI_SCENE_FLAGS_NON_VERBOSE_FORMAT = AssimpPINVOKE.AI_SCENE_FLAGS_NON_VERBOSE_FORMAT_get(); - public static readonly int AI_SCENE_FLAGS_TERRAIN = AssimpPINVOKE.AI_SCENE_FLAGS_TERRAIN_get(); - public static readonly int AI_PROPERTY_WAS_NOT_EXISTING = AssimpPINVOKE.AI_PROPERTY_WAS_NOT_EXISTING_get(); -} diff --git a/port/Assimp.NET/Assimp.NET_CS/AssimpPINVOKE.cs b/port/Assimp.NET/Assimp.NET_CS/AssimpPINVOKE.cs deleted file mode 100644 index 6fc33db12..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/AssimpPINVOKE.cs +++ /dev/null @@ -1,3976 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.8 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - - -using System; -using System.Runtime.InteropServices; - -class AssimpPINVOKE { - - protected class SWIGExceptionHelper { - - public delegate void ExceptionDelegate(string message); - public delegate void ExceptionArgumentDelegate(string message, string paramName); - - static ExceptionDelegate applicationDelegate = new ExceptionDelegate(SetPendingApplicationException); - static ExceptionDelegate arithmeticDelegate = new ExceptionDelegate(SetPendingArithmeticException); - static ExceptionDelegate divideByZeroDelegate = new ExceptionDelegate(SetPendingDivideByZeroException); - static ExceptionDelegate indexOutOfRangeDelegate = new ExceptionDelegate(SetPendingIndexOutOfRangeException); - static ExceptionDelegate invalidCastDelegate = new ExceptionDelegate(SetPendingInvalidCastException); - static ExceptionDelegate invalidOperationDelegate = new ExceptionDelegate(SetPendingInvalidOperationException); - static ExceptionDelegate ioDelegate = new ExceptionDelegate(SetPendingIOException); - static ExceptionDelegate nullReferenceDelegate = new ExceptionDelegate(SetPendingNullReferenceException); - static ExceptionDelegate outOfMemoryDelegate = new ExceptionDelegate(SetPendingOutOfMemoryException); - static ExceptionDelegate overflowDelegate = new ExceptionDelegate(SetPendingOverflowException); - static ExceptionDelegate systemDelegate = new ExceptionDelegate(SetPendingSystemException); - - static ExceptionArgumentDelegate argumentDelegate = new ExceptionArgumentDelegate(SetPendingArgumentException); - static ExceptionArgumentDelegate argumentNullDelegate = new ExceptionArgumentDelegate(SetPendingArgumentNullException); - static ExceptionArgumentDelegate argumentOutOfRangeDelegate = new ExceptionArgumentDelegate(SetPendingArgumentOutOfRangeException); - - [DllImport("Assimp", EntryPoint="SWIGRegisterExceptionCallbacks_Assimp")] - public static extern void SWIGRegisterExceptionCallbacks_Assimp( - ExceptionDelegate applicationDelegate, - ExceptionDelegate arithmeticDelegate, - ExceptionDelegate divideByZeroDelegate, - ExceptionDelegate indexOutOfRangeDelegate, - ExceptionDelegate invalidCastDelegate, - ExceptionDelegate invalidOperationDelegate, - ExceptionDelegate ioDelegate, - ExceptionDelegate nullReferenceDelegate, - ExceptionDelegate outOfMemoryDelegate, - ExceptionDelegate overflowDelegate, - ExceptionDelegate systemExceptionDelegate); - - [DllImport("Assimp", EntryPoint="SWIGRegisterExceptionArgumentCallbacks_Assimp")] - public static extern void SWIGRegisterExceptionCallbacksArgument_Assimp( - ExceptionArgumentDelegate argumentDelegate, - ExceptionArgumentDelegate argumentNullDelegate, - ExceptionArgumentDelegate argumentOutOfRangeDelegate); - - static void SetPendingApplicationException(string message) { - SWIGPendingException.Set(new System.ApplicationException(message, SWIGPendingException.Retrieve())); - } - static void SetPendingArithmeticException(string message) { - SWIGPendingException.Set(new System.ArithmeticException(message, SWIGPendingException.Retrieve())); - } - static void SetPendingDivideByZeroException(string message) { - SWIGPendingException.Set(new System.DivideByZeroException(message, SWIGPendingException.Retrieve())); - } - static void SetPendingIndexOutOfRangeException(string message) { - SWIGPendingException.Set(new System.IndexOutOfRangeException(message, SWIGPendingException.Retrieve())); - } - static void SetPendingInvalidCastException(string message) { - SWIGPendingException.Set(new System.InvalidCastException(message, SWIGPendingException.Retrieve())); - } - static void SetPendingInvalidOperationException(string message) { - SWIGPendingException.Set(new System.InvalidOperationException(message, SWIGPendingException.Retrieve())); - } - static void SetPendingIOException(string message) { - SWIGPendingException.Set(new System.IO.IOException(message, SWIGPendingException.Retrieve())); - } - static void SetPendingNullReferenceException(string message) { - SWIGPendingException.Set(new System.NullReferenceException(message, SWIGPendingException.Retrieve())); - } - static void SetPendingOutOfMemoryException(string message) { - SWIGPendingException.Set(new System.OutOfMemoryException(message, SWIGPendingException.Retrieve())); - } - static void SetPendingOverflowException(string message) { - SWIGPendingException.Set(new System.OverflowException(message, SWIGPendingException.Retrieve())); - } - static void SetPendingSystemException(string message) { - SWIGPendingException.Set(new System.SystemException(message, SWIGPendingException.Retrieve())); - } - - static void SetPendingArgumentException(string message, string paramName) { - SWIGPendingException.Set(new System.ArgumentException(message, paramName, SWIGPendingException.Retrieve())); - } - static void SetPendingArgumentNullException(string message, string paramName) { - Exception e = SWIGPendingException.Retrieve(); - if (e != null) message = message + " Inner Exception: " + e.Message; - SWIGPendingException.Set(new System.ArgumentNullException(paramName, message)); - } - static void SetPendingArgumentOutOfRangeException(string message, string paramName) { - Exception e = SWIGPendingException.Retrieve(); - if (e != null) message = message + " Inner Exception: " + e.Message; - SWIGPendingException.Set(new System.ArgumentOutOfRangeException(paramName, message)); - } - - static SWIGExceptionHelper() { - SWIGRegisterExceptionCallbacks_Assimp( - applicationDelegate, - arithmeticDelegate, - divideByZeroDelegate, - indexOutOfRangeDelegate, - invalidCastDelegate, - invalidOperationDelegate, - ioDelegate, - nullReferenceDelegate, - outOfMemoryDelegate, - overflowDelegate, - systemDelegate); - - SWIGRegisterExceptionCallbacksArgument_Assimp( - argumentDelegate, - argumentNullDelegate, - argumentOutOfRangeDelegate); - } - } - - protected static SWIGExceptionHelper swigExceptionHelper = new SWIGExceptionHelper(); - - public class SWIGPendingException { - [ThreadStatic] - private static Exception pendingException = null; - private static int numExceptionsPending = 0; - - public static bool Pending { - get { - bool pending = false; - if (numExceptionsPending > 0) - if (pendingException != null) - pending = true; - return pending; - } - } - - public static void Set(Exception e) { - if (pendingException != null) - throw new ApplicationException("FATAL: An earlier pending exception from unmanaged code was missed and thus not thrown (" + pendingException.ToString() + ")", e); - pendingException = e; - lock(typeof(AssimpPINVOKE)) { - numExceptionsPending++; - } - } - - public static Exception Retrieve() { - Exception e = null; - if (numExceptionsPending > 0) { - if (pendingException != null) { - e = pendingException; - pendingException = null; - lock(typeof(AssimpPINVOKE)) { - numExceptionsPending--; - } - } - } - return e; - } - } - - - protected class SWIGStringHelper { - - public delegate string SWIGStringDelegate(string message); - static SWIGStringDelegate stringDelegate = new SWIGStringDelegate(CreateString); - - [DllImport("Assimp", EntryPoint="SWIGRegisterStringCallback_Assimp")] - public static extern void SWIGRegisterStringCallback_Assimp(SWIGStringDelegate stringDelegate); - - static string CreateString(string cString) { - return cString; - } - - static SWIGStringHelper() { - SWIGRegisterStringCallback_Assimp(stringDelegate); - } - } - - static protected SWIGStringHelper swigStringHelper = new SWIGStringHelper(); - - - static AssimpPINVOKE() { - } - - - [DllImport("Assimp", EntryPoint="CSharp_AI_MATH_PI_get")] - public static extern double AI_MATH_PI_get(); - - [DllImport("Assimp", EntryPoint="CSharp_AI_MATH_TWO_PI_get")] - public static extern double AI_MATH_TWO_PI_get(); - - [DllImport("Assimp", EntryPoint="CSharp_AI_MATH_HALF_PI_get")] - public static extern double AI_MATH_HALF_PI_get(); - - [DllImport("Assimp", EntryPoint="CSharp_AI_MATH_PI_F_get")] - public static extern double AI_MATH_PI_F_get(); - - [DllImport("Assimp", EntryPoint="CSharp_AI_MATH_TWO_PI_F_get")] - public static extern double AI_MATH_TWO_PI_F_get(); - - [DllImport("Assimp", EntryPoint="CSharp_AI_MATH_HALF_PI_F_get")] - public static extern double AI_MATH_HALF_PI_F_get(); - - [DllImport("Assimp", EntryPoint="CSharp_AI_CONFIG_GLOB_MEASURE_TIME_get")] - public static extern string AI_CONFIG_GLOB_MEASURE_TIME_get(); - - [DllImport("Assimp", EntryPoint="CSharp_AI_CONFIG_PP_SBBC_MAX_BONES_get")] - public static extern string AI_CONFIG_PP_SBBC_MAX_BONES_get(); - - [DllImport("Assimp", EntryPoint="CSharp_AI_SBBC_DEFAULT_MAX_BONES_get")] - public static extern int AI_SBBC_DEFAULT_MAX_BONES_get(); - - [DllImport("Assimp", EntryPoint="CSharp_AI_CONFIG_PP_CT_MAX_SMOOTHING_ANGLE_get")] - public static extern string AI_CONFIG_PP_CT_MAX_SMOOTHING_ANGLE_get(); - - [DllImport("Assimp", EntryPoint="CSharp_AI_CONFIG_PP_CT_TEXTURE_CHANNEL_INDEX_get")] - public static extern string AI_CONFIG_PP_CT_TEXTURE_CHANNEL_INDEX_get(); - - [DllImport("Assimp", EntryPoint="CSharp_AI_CONFIG_PP_GSN_MAX_SMOOTHING_ANGLE_get")] - public static extern string AI_CONFIG_PP_GSN_MAX_SMOOTHING_ANGLE_get(); - - [DllImport("Assimp", EntryPoint="CSharp_AI_CONFIG_IMPORT_MDL_COLORMAP_get")] - public static extern string AI_CONFIG_IMPORT_MDL_COLORMAP_get(); - - [DllImport("Assimp", EntryPoint="CSharp_AI_CONFIG_PP_RRM_EXCLUDE_LIST_get")] - public static extern string AI_CONFIG_PP_RRM_EXCLUDE_LIST_get(); - - [DllImport("Assimp", EntryPoint="CSharp_AI_CONFIG_PP_PTV_KEEP_HIERARCHY_get")] - public static extern string AI_CONFIG_PP_PTV_KEEP_HIERARCHY_get(); - - [DllImport("Assimp", EntryPoint="CSharp_AI_CONFIG_PP_PTV_NORMALIZE_get")] - public static extern string AI_CONFIG_PP_PTV_NORMALIZE_get(); - - [DllImport("Assimp", EntryPoint="CSharp_AI_CONFIG_PP_FD_REMOVE_get")] - public static extern string AI_CONFIG_PP_FD_REMOVE_get(); - - [DllImport("Assimp", EntryPoint="CSharp_AI_CONFIG_PP_OG_EXCLUDE_LIST_get")] - public static extern string AI_CONFIG_PP_OG_EXCLUDE_LIST_get(); - - [DllImport("Assimp", EntryPoint="CSharp_AI_CONFIG_PP_SLM_TRIANGLE_LIMIT_get")] - public static extern string AI_CONFIG_PP_SLM_TRIANGLE_LIMIT_get(); - - [DllImport("Assimp", EntryPoint="CSharp_AI_SLM_DEFAULT_MAX_TRIANGLES_get")] - public static extern int AI_SLM_DEFAULT_MAX_TRIANGLES_get(); - - [DllImport("Assimp", EntryPoint="CSharp_AI_CONFIG_PP_SLM_VERTEX_LIMIT_get")] - public static extern string AI_CONFIG_PP_SLM_VERTEX_LIMIT_get(); - - [DllImport("Assimp", EntryPoint="CSharp_AI_SLM_DEFAULT_MAX_VERTICES_get")] - public static extern int AI_SLM_DEFAULT_MAX_VERTICES_get(); - - [DllImport("Assimp", EntryPoint="CSharp_AI_CONFIG_PP_LBW_MAX_WEIGHTS_get")] - public static extern string AI_CONFIG_PP_LBW_MAX_WEIGHTS_get(); - - [DllImport("Assimp", EntryPoint="CSharp_AI_LMW_MAX_WEIGHTS_get")] - public static extern int AI_LMW_MAX_WEIGHTS_get(); - - [DllImport("Assimp", EntryPoint="CSharp_AI_CONFIG_PP_DB_THRESHOLD_get")] - public static extern string AI_CONFIG_PP_DB_THRESHOLD_get(); - - [DllImport("Assimp", EntryPoint="CSharp_AI_DEBONE_THRESHOLD_get")] - public static extern double AI_DEBONE_THRESHOLD_get(); - - [DllImport("Assimp", EntryPoint="CSharp_AI_CONFIG_PP_DB_ALL_OR_NONE_get")] - public static extern string AI_CONFIG_PP_DB_ALL_OR_NONE_get(); - - [DllImport("Assimp", EntryPoint="CSharp_PP_ICL_PTCACHE_SIZE_get")] - public static extern int PP_ICL_PTCACHE_SIZE_get(); - - [DllImport("Assimp", EntryPoint="CSharp_AI_CONFIG_PP_ICL_PTCACHE_SIZE_get")] - public static extern string AI_CONFIG_PP_ICL_PTCACHE_SIZE_get(); - - [DllImport("Assimp", EntryPoint="CSharp_AI_CONFIG_PP_RVC_FLAGS_get")] - public static extern string AI_CONFIG_PP_RVC_FLAGS_get(); - - [DllImport("Assimp", EntryPoint="CSharp_AI_CONFIG_PP_SBP_REMOVE_get")] - public static extern string AI_CONFIG_PP_SBP_REMOVE_get(); - - [DllImport("Assimp", EntryPoint="CSharp_AI_CONFIG_PP_FID_ANIM_ACCURACY_get")] - public static extern string AI_CONFIG_PP_FID_ANIM_ACCURACY_get(); - - [DllImport("Assimp", EntryPoint="CSharp_AI_UVTRAFO_SCALING_get")] - public static extern int AI_UVTRAFO_SCALING_get(); - - [DllImport("Assimp", EntryPoint="CSharp_AI_UVTRAFO_ROTATION_get")] - public static extern int AI_UVTRAFO_ROTATION_get(); - - [DllImport("Assimp", EntryPoint="CSharp_AI_UVTRAFO_TRANSLATION_get")] - public static extern int AI_UVTRAFO_TRANSLATION_get(); - - [DllImport("Assimp", EntryPoint="CSharp_AI_UVTRAFO_ALL_get")] - public static extern int AI_UVTRAFO_ALL_get(); - - [DllImport("Assimp", EntryPoint="CSharp_AI_CONFIG_PP_TUV_EVALUATE_get")] - public static extern string AI_CONFIG_PP_TUV_EVALUATE_get(); - - [DllImport("Assimp", EntryPoint="CSharp_AI_CONFIG_FAVOUR_SPEED_get")] - public static extern string AI_CONFIG_FAVOUR_SPEED_get(); - - [DllImport("Assimp", EntryPoint="CSharp_AI_CONFIG_IMPORT_GLOBAL_KEYFRAME_get")] - public static extern string AI_CONFIG_IMPORT_GLOBAL_KEYFRAME_get(); - - [DllImport("Assimp", EntryPoint="CSharp_AI_CONFIG_IMPORT_MD3_KEYFRAME_get")] - public static extern string AI_CONFIG_IMPORT_MD3_KEYFRAME_get(); - - [DllImport("Assimp", EntryPoint="CSharp_AI_CONFIG_IMPORT_MD2_KEYFRAME_get")] - public static extern string AI_CONFIG_IMPORT_MD2_KEYFRAME_get(); - - [DllImport("Assimp", EntryPoint="CSharp_AI_CONFIG_IMPORT_MDL_KEYFRAME_get")] - public static extern string AI_CONFIG_IMPORT_MDL_KEYFRAME_get(); - - [DllImport("Assimp", EntryPoint="CSharp_AI_CONFIG_IMPORT_MDC_KEYFRAME_get")] - public static extern string AI_CONFIG_IMPORT_MDC_KEYFRAME_get(); - - [DllImport("Assimp", EntryPoint="CSharp_AI_CONFIG_IMPORT_SMD_KEYFRAME_get")] - public static extern string AI_CONFIG_IMPORT_SMD_KEYFRAME_get(); - - [DllImport("Assimp", EntryPoint="CSharp_AI_CONFIG_IMPORT_UNREAL_KEYFRAME_get")] - public static extern string AI_CONFIG_IMPORT_UNREAL_KEYFRAME_get(); - - [DllImport("Assimp", EntryPoint="CSharp_AI_CONFIG_IMPORT_AC_SEPARATE_BFCULL_get")] - public static extern string AI_CONFIG_IMPORT_AC_SEPARATE_BFCULL_get(); - - [DllImport("Assimp", EntryPoint="CSharp_AI_CONFIG_IMPORT_AC_EVAL_SUBDIVISION_get")] - public static extern string AI_CONFIG_IMPORT_AC_EVAL_SUBDIVISION_get(); - - [DllImport("Assimp", EntryPoint="CSharp_AI_CONFIG_IMPORT_UNREAL_HANDLE_FLAGS_get")] - public static extern string AI_CONFIG_IMPORT_UNREAL_HANDLE_FLAGS_get(); - - [DllImport("Assimp", EntryPoint="CSharp_AI_CONFIG_IMPORT_TER_MAKE_UVS_get")] - public static extern string AI_CONFIG_IMPORT_TER_MAKE_UVS_get(); - - [DllImport("Assimp", EntryPoint="CSharp_AI_CONFIG_IMPORT_ASE_RECONSTRUCT_NORMALS_get")] - public static extern string AI_CONFIG_IMPORT_ASE_RECONSTRUCT_NORMALS_get(); - - [DllImport("Assimp", EntryPoint="CSharp_AI_CONFIG_IMPORT_MD3_HANDLE_MULTIPART_get")] - public static extern string AI_CONFIG_IMPORT_MD3_HANDLE_MULTIPART_get(); - - [DllImport("Assimp", EntryPoint="CSharp_AI_CONFIG_IMPORT_MD3_SKIN_NAME_get")] - public static extern string AI_CONFIG_IMPORT_MD3_SKIN_NAME_get(); - - [DllImport("Assimp", EntryPoint="CSharp_AI_CONFIG_IMPORT_MD3_SHADER_SRC_get")] - public static extern string AI_CONFIG_IMPORT_MD3_SHADER_SRC_get(); - - [DllImport("Assimp", EntryPoint="CSharp_AI_CONFIG_IMPORT_LWO_ONE_LAYER_ONLY_get")] - public static extern string AI_CONFIG_IMPORT_LWO_ONE_LAYER_ONLY_get(); - - [DllImport("Assimp", EntryPoint="CSharp_AI_CONFIG_IMPORT_MD5_NO_ANIM_AUTOLOAD_get")] - public static extern string AI_CONFIG_IMPORT_MD5_NO_ANIM_AUTOLOAD_get(); - - [DllImport("Assimp", EntryPoint="CSharp_AI_CONFIG_IMPORT_LWS_ANIM_START_get")] - public static extern string AI_CONFIG_IMPORT_LWS_ANIM_START_get(); - - [DllImport("Assimp", EntryPoint="CSharp_AI_CONFIG_IMPORT_LWS_ANIM_END_get")] - public static extern string AI_CONFIG_IMPORT_LWS_ANIM_END_get(); - - [DllImport("Assimp", EntryPoint="CSharp_AI_CONFIG_IMPORT_IRR_ANIM_FPS_get")] - public static extern string AI_CONFIG_IMPORT_IRR_ANIM_FPS_get(); - - [DllImport("Assimp", EntryPoint="CSharp_AI_CONFIG_IMPORT_OGRE_MATERIAL_FILE_get")] - public static extern string AI_CONFIG_IMPORT_OGRE_MATERIAL_FILE_get(); - - [DllImport("Assimp", EntryPoint="CSharp_AI_CONFIG_IMPORT_OGRE_TEXTURETYPE_FROM_FILENAME_get")] - public static extern string AI_CONFIG_IMPORT_OGRE_TEXTURETYPE_FROM_FILENAME_get(); - - [DllImport("Assimp", EntryPoint="CSharp_AI_CONFIG_IMPORT_IFC_SKIP_SPACE_REPRESENTATIONS_get")] - public static extern string AI_CONFIG_IMPORT_IFC_SKIP_SPACE_REPRESENTATIONS_get(); - - [DllImport("Assimp", EntryPoint="CSharp_AI_CONFIG_IMPORT_IFC_SKIP_CURVE_REPRESENTATIONS_get")] - public static extern string AI_CONFIG_IMPORT_IFC_SKIP_CURVE_REPRESENTATIONS_get(); - - [DllImport("Assimp", EntryPoint="CSharp_AI_CONFIG_IMPORT_IFC_CUSTOM_TRIANGULATION_get")] - public static extern string AI_CONFIG_IMPORT_IFC_CUSTOM_TRIANGULATION_get(); - - [DllImport("Assimp", EntryPoint="CSharp_MAXLEN_get")] - public static extern uint MAXLEN_get(); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiPlane__SWIG_0")] - public static extern IntPtr new_aiPlane__SWIG_0(); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiPlane__SWIG_1")] - public static extern IntPtr new_aiPlane__SWIG_1(float jarg1, float jarg2, float jarg3, float jarg4); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiPlane__SWIG_2")] - public static extern IntPtr new_aiPlane__SWIG_2(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiPlane_a_set")] - public static extern void aiPlane_a_set(HandleRef jarg1, float jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiPlane_a_get")] - public static extern float aiPlane_a_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiPlane_b_set")] - public static extern void aiPlane_b_set(HandleRef jarg1, float jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiPlane_b_get")] - public static extern float aiPlane_b_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiPlane_c_set")] - public static extern void aiPlane_c_set(HandleRef jarg1, float jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiPlane_c_get")] - public static extern float aiPlane_c_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiPlane_d_set")] - public static extern void aiPlane_d_set(HandleRef jarg1, float jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiPlane_d_get")] - public static extern float aiPlane_d_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_delete_aiPlane")] - public static extern void delete_aiPlane(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiRay__SWIG_0")] - public static extern IntPtr new_aiRay__SWIG_0(); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiRay__SWIG_1")] - public static extern IntPtr new_aiRay__SWIG_1(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiRay__SWIG_2")] - public static extern IntPtr new_aiRay__SWIG_2(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiRay_pos_set")] - public static extern void aiRay_pos_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiRay_pos_get")] - public static extern IntPtr aiRay_pos_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiRay_dir_set")] - public static extern void aiRay_dir_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiRay_dir_get")] - public static extern IntPtr aiRay_dir_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_delete_aiRay")] - public static extern void delete_aiRay(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiColor3D__SWIG_0")] - public static extern IntPtr new_aiColor3D__SWIG_0(); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiColor3D__SWIG_1")] - public static extern IntPtr new_aiColor3D__SWIG_1(float jarg1, float jarg2, float jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiColor3D__SWIG_2")] - public static extern IntPtr new_aiColor3D__SWIG_2(float jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiColor3D__SWIG_3")] - public static extern IntPtr new_aiColor3D__SWIG_3(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiColor3D___equal__")] - public static extern bool aiColor3D___equal__(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiColor3D___nequal__")] - public static extern bool aiColor3D___nequal__(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiColor3D___add__")] - public static extern IntPtr aiColor3D___add__(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiColor3D___sub__")] - public static extern IntPtr aiColor3D___sub__(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiColor3D___mul____SWIG_0")] - public static extern IntPtr aiColor3D___mul____SWIG_0(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiColor3D___mul____SWIG_1")] - public static extern IntPtr aiColor3D___mul____SWIG_1(HandleRef jarg1, float jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiColor3D___idx____SWIG_0")] - public static extern float aiColor3D___idx____SWIG_0(HandleRef jarg1, uint jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiColor3D_IsBlack")] - public static extern bool aiColor3D_IsBlack(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiColor3D_r_set")] - public static extern void aiColor3D_r_set(HandleRef jarg1, float jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiColor3D_r_get")] - public static extern float aiColor3D_r_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiColor3D_g_set")] - public static extern void aiColor3D_g_set(HandleRef jarg1, float jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiColor3D_g_get")] - public static extern float aiColor3D_g_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiColor3D_b_set")] - public static extern void aiColor3D_b_set(HandleRef jarg1, float jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiColor3D_b_get")] - public static extern float aiColor3D_b_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_delete_aiColor3D")] - public static extern void delete_aiColor3D(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiString__SWIG_0")] - public static extern IntPtr new_aiString__SWIG_0(); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiString__SWIG_1")] - public static extern IntPtr new_aiString__SWIG_1(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiString__SWIG_2")] - public static extern IntPtr new_aiString__SWIG_2(string jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiString___set____SWIG_0")] - public static extern IntPtr aiString___set____SWIG_0(HandleRef jarg1, string jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiString___equal__")] - public static extern bool aiString___equal__(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiString___nequal__")] - public static extern bool aiString___nequal__(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiString_C_Str")] - public static extern string aiString_C_Str(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiString_Length_set")] - public static extern void aiString_Length_set(HandleRef jarg1, uint jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiString_Length_get")] - public static extern uint aiString_Length_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiString_Data_set")] - public static extern void aiString_Data_set(HandleRef jarg1, string jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiString_Data_get")] - public static extern string aiString_Data_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_delete_aiString")] - public static extern void delete_aiString(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiMemoryInfo")] - public static extern IntPtr new_aiMemoryInfo(); - - [DllImport("Assimp", EntryPoint="CSharp_aiMemoryInfo_textures_set")] - public static extern void aiMemoryInfo_textures_set(HandleRef jarg1, uint jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMemoryInfo_textures_get")] - public static extern uint aiMemoryInfo_textures_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMemoryInfo_materials_set")] - public static extern void aiMemoryInfo_materials_set(HandleRef jarg1, uint jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMemoryInfo_materials_get")] - public static extern uint aiMemoryInfo_materials_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMemoryInfo_meshes_set")] - public static extern void aiMemoryInfo_meshes_set(HandleRef jarg1, uint jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMemoryInfo_meshes_get")] - public static extern uint aiMemoryInfo_meshes_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMemoryInfo_nodes_set")] - public static extern void aiMemoryInfo_nodes_set(HandleRef jarg1, uint jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMemoryInfo_nodes_get")] - public static extern uint aiMemoryInfo_nodes_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMemoryInfo_animations_set")] - public static extern void aiMemoryInfo_animations_set(HandleRef jarg1, uint jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMemoryInfo_animations_get")] - public static extern uint aiMemoryInfo_animations_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMemoryInfo_cameras_set")] - public static extern void aiMemoryInfo_cameras_set(HandleRef jarg1, uint jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMemoryInfo_cameras_get")] - public static extern uint aiMemoryInfo_cameras_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMemoryInfo_lights_set")] - public static extern void aiMemoryInfo_lights_set(HandleRef jarg1, uint jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMemoryInfo_lights_get")] - public static extern uint aiMemoryInfo_lights_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMemoryInfo_total_set")] - public static extern void aiMemoryInfo_total_set(HandleRef jarg1, uint jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMemoryInfo_total_get")] - public static extern uint aiMemoryInfo_total_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_delete_aiMemoryInfo")] - public static extern void delete_aiMemoryInfo(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiGetLegalString")] - public static extern string aiGetLegalString(); - - [DllImport("Assimp", EntryPoint="CSharp_aiGetVersionMinor")] - public static extern uint aiGetVersionMinor(); - - [DllImport("Assimp", EntryPoint="CSharp_aiGetVersionMajor")] - public static extern uint aiGetVersionMajor(); - - [DllImport("Assimp", EntryPoint="CSharp_aiGetVersionRevision")] - public static extern uint aiGetVersionRevision(); - - [DllImport("Assimp", EntryPoint="CSharp_ASSIMP_CFLAGS_SHARED_get")] - public static extern int ASSIMP_CFLAGS_SHARED_get(); - - [DllImport("Assimp", EntryPoint="CSharp_ASSIMP_CFLAGS_STLPORT_get")] - public static extern int ASSIMP_CFLAGS_STLPORT_get(); - - [DllImport("Assimp", EntryPoint="CSharp_ASSIMP_CFLAGS_DEBUG_get")] - public static extern int ASSIMP_CFLAGS_DEBUG_get(); - - [DllImport("Assimp", EntryPoint="CSharp_ASSIMP_CFLAGS_NOBOOST_get")] - public static extern int ASSIMP_CFLAGS_NOBOOST_get(); - - [DllImport("Assimp", EntryPoint="CSharp_ASSIMP_CFLAGS_SINGLETHREADED_get")] - public static extern int ASSIMP_CFLAGS_SINGLETHREADED_get(); - - [DllImport("Assimp", EntryPoint="CSharp_aiGetCompileFlags")] - public static extern uint aiGetCompileFlags(); - - [DllImport("Assimp", EntryPoint="CSharp_aiCamera_mName_set")] - public static extern void aiCamera_mName_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiCamera_mName_get")] - public static extern IntPtr aiCamera_mName_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiCamera_mPosition_set")] - public static extern void aiCamera_mPosition_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiCamera_mPosition_get")] - public static extern IntPtr aiCamera_mPosition_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiCamera_mUp_set")] - public static extern void aiCamera_mUp_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiCamera_mUp_get")] - public static extern IntPtr aiCamera_mUp_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiCamera_mLookAt_set")] - public static extern void aiCamera_mLookAt_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiCamera_mLookAt_get")] - public static extern IntPtr aiCamera_mLookAt_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiCamera_mHorizontalFOV_set")] - public static extern void aiCamera_mHorizontalFOV_set(HandleRef jarg1, float jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiCamera_mHorizontalFOV_get")] - public static extern float aiCamera_mHorizontalFOV_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiCamera_mClipPlaneNear_set")] - public static extern void aiCamera_mClipPlaneNear_set(HandleRef jarg1, float jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiCamera_mClipPlaneNear_get")] - public static extern float aiCamera_mClipPlaneNear_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiCamera_mClipPlaneFar_set")] - public static extern void aiCamera_mClipPlaneFar_set(HandleRef jarg1, float jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiCamera_mClipPlaneFar_get")] - public static extern float aiCamera_mClipPlaneFar_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiCamera_mAspect_set")] - public static extern void aiCamera_mAspect_set(HandleRef jarg1, float jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiCamera_mAspect_get")] - public static extern float aiCamera_mAspect_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiCamera")] - public static extern IntPtr new_aiCamera(); - - [DllImport("Assimp", EntryPoint="CSharp_aiCamera_GetCameraMatrix")] - public static extern void aiCamera_GetCameraMatrix(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_delete_aiCamera")] - public static extern void delete_aiCamera(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiLight_mName_set")] - public static extern void aiLight_mName_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiLight_mName_get")] - public static extern IntPtr aiLight_mName_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiLight_mType_set")] - public static extern void aiLight_mType_set(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiLight_mType_get")] - public static extern int aiLight_mType_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiLight_mPosition_set")] - public static extern void aiLight_mPosition_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiLight_mPosition_get")] - public static extern IntPtr aiLight_mPosition_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiLight_mDirection_set")] - public static extern void aiLight_mDirection_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiLight_mDirection_get")] - public static extern IntPtr aiLight_mDirection_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiLight_mAttenuationConstant_set")] - public static extern void aiLight_mAttenuationConstant_set(HandleRef jarg1, float jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiLight_mAttenuationConstant_get")] - public static extern float aiLight_mAttenuationConstant_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiLight_mAttenuationLinear_set")] - public static extern void aiLight_mAttenuationLinear_set(HandleRef jarg1, float jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiLight_mAttenuationLinear_get")] - public static extern float aiLight_mAttenuationLinear_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiLight_mAttenuationQuadratic_set")] - public static extern void aiLight_mAttenuationQuadratic_set(HandleRef jarg1, float jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiLight_mAttenuationQuadratic_get")] - public static extern float aiLight_mAttenuationQuadratic_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiLight_mColorDiffuse_set")] - public static extern void aiLight_mColorDiffuse_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiLight_mColorDiffuse_get")] - public static extern IntPtr aiLight_mColorDiffuse_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiLight_mColorSpecular_set")] - public static extern void aiLight_mColorSpecular_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiLight_mColorSpecular_get")] - public static extern IntPtr aiLight_mColorSpecular_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiLight_mColorAmbient_set")] - public static extern void aiLight_mColorAmbient_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiLight_mColorAmbient_get")] - public static extern IntPtr aiLight_mColorAmbient_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiLight_mAngleInnerCone_set")] - public static extern void aiLight_mAngleInnerCone_set(HandleRef jarg1, float jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiLight_mAngleInnerCone_get")] - public static extern float aiLight_mAngleInnerCone_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiLight_mAngleOuterCone_set")] - public static extern void aiLight_mAngleOuterCone_set(HandleRef jarg1, float jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiLight_mAngleOuterCone_get")] - public static extern float aiLight_mAngleOuterCone_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiLight")] - public static extern IntPtr new_aiLight(); - - [DllImport("Assimp", EntryPoint="CSharp_delete_aiLight")] - public static extern void delete_aiLight(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiVectorKey_mTime_set")] - public static extern void aiVectorKey_mTime_set(HandleRef jarg1, double jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiVectorKey_mTime_get")] - public static extern double aiVectorKey_mTime_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiVectorKey_mValue_set")] - public static extern void aiVectorKey_mValue_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiVectorKey_mValue_get")] - public static extern IntPtr aiVectorKey_mValue_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiVectorKey__SWIG_0")] - public static extern IntPtr new_aiVectorKey__SWIG_0(); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiVectorKey__SWIG_1")] - public static extern IntPtr new_aiVectorKey__SWIG_1(double jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiVectorKey___equal__")] - public static extern bool aiVectorKey___equal__(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiVectorKey___nequal__")] - public static extern bool aiVectorKey___nequal__(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiVectorKey___smaller__")] - public static extern bool aiVectorKey___smaller__(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiVectorKey___greater__")] - public static extern bool aiVectorKey___greater__(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_delete_aiVectorKey")] - public static extern void delete_aiVectorKey(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiQuatKey_mTime_set")] - public static extern void aiQuatKey_mTime_set(HandleRef jarg1, double jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiQuatKey_mTime_get")] - public static extern double aiQuatKey_mTime_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiQuatKey_mValue_set")] - public static extern void aiQuatKey_mValue_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiQuatKey_mValue_get")] - public static extern IntPtr aiQuatKey_mValue_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiQuatKey__SWIG_0")] - public static extern IntPtr new_aiQuatKey__SWIG_0(); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiQuatKey__SWIG_1")] - public static extern IntPtr new_aiQuatKey__SWIG_1(double jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiQuatKey___equal__")] - public static extern bool aiQuatKey___equal__(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiQuatKey___nequal__")] - public static extern bool aiQuatKey___nequal__(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiQuatKey___smaller__")] - public static extern bool aiQuatKey___smaller__(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiQuatKey___greater__")] - public static extern bool aiQuatKey___greater__(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_delete_aiQuatKey")] - public static extern void delete_aiQuatKey(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMeshKey_mTime_set")] - public static extern void aiMeshKey_mTime_set(HandleRef jarg1, double jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMeshKey_mTime_get")] - public static extern double aiMeshKey_mTime_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMeshKey_mValue_set")] - public static extern void aiMeshKey_mValue_set(HandleRef jarg1, uint jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMeshKey_mValue_get")] - public static extern uint aiMeshKey_mValue_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiMeshKey__SWIG_0")] - public static extern IntPtr new_aiMeshKey__SWIG_0(); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiMeshKey__SWIG_1")] - public static extern IntPtr new_aiMeshKey__SWIG_1(double jarg1, uint jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMeshKey___equal__")] - public static extern bool aiMeshKey___equal__(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMeshKey___nequal__")] - public static extern bool aiMeshKey___nequal__(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMeshKey___smaller__")] - public static extern bool aiMeshKey___smaller__(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMeshKey___greater__")] - public static extern bool aiMeshKey___greater__(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_delete_aiMeshKey")] - public static extern void delete_aiMeshKey(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiNodeAnim_mNodeName_set")] - public static extern void aiNodeAnim_mNodeName_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiNodeAnim_mNodeName_get")] - public static extern IntPtr aiNodeAnim_mNodeName_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiNodeAnim_mNumPositionKeys_set")] - public static extern void aiNodeAnim_mNumPositionKeys_set(HandleRef jarg1, uint jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiNodeAnim_mNumPositionKeys_get")] - public static extern uint aiNodeAnim_mNumPositionKeys_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiNodeAnim_mNumRotationKeys_set")] - public static extern void aiNodeAnim_mNumRotationKeys_set(HandleRef jarg1, uint jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiNodeAnim_mNumRotationKeys_get")] - public static extern uint aiNodeAnim_mNumRotationKeys_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiNodeAnim_mNumScalingKeys_set")] - public static extern void aiNodeAnim_mNumScalingKeys_set(HandleRef jarg1, uint jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiNodeAnim_mNumScalingKeys_get")] - public static extern uint aiNodeAnim_mNumScalingKeys_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiNodeAnim_mPreState_set")] - public static extern void aiNodeAnim_mPreState_set(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiNodeAnim_mPreState_get")] - public static extern int aiNodeAnim_mPreState_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiNodeAnim_mPostState_set")] - public static extern void aiNodeAnim_mPostState_set(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiNodeAnim_mPostState_get")] - public static extern int aiNodeAnim_mPostState_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiNodeAnim")] - public static extern IntPtr new_aiNodeAnim(); - - [DllImport("Assimp", EntryPoint="CSharp_delete_aiNodeAnim")] - public static extern void delete_aiNodeAnim(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiNodeAnim_GetmPositionKeys")] - public static extern IntPtr aiNodeAnim_GetmPositionKeys(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiNodeAnim_GetmRotationKeys")] - public static extern IntPtr aiNodeAnim_GetmRotationKeys(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiNodeAnim_GetmScalingKeys")] - public static extern IntPtr aiNodeAnim_GetmScalingKeys(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMeshAnim_mName_set")] - public static extern void aiMeshAnim_mName_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMeshAnim_mName_get")] - public static extern IntPtr aiMeshAnim_mName_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMeshAnim_mNumKeys_set")] - public static extern void aiMeshAnim_mNumKeys_set(HandleRef jarg1, uint jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMeshAnim_mNumKeys_get")] - public static extern uint aiMeshAnim_mNumKeys_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiMeshAnim")] - public static extern IntPtr new_aiMeshAnim(); - - [DllImport("Assimp", EntryPoint="CSharp_delete_aiMeshAnim")] - public static extern void delete_aiMeshAnim(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMeshAnim_GetmKeys")] - public static extern IntPtr aiMeshAnim_GetmKeys(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiAnimation_mName_set")] - public static extern void aiAnimation_mName_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiAnimation_mName_get")] - public static extern IntPtr aiAnimation_mName_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiAnimation_mDuration_set")] - public static extern void aiAnimation_mDuration_set(HandleRef jarg1, double jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiAnimation_mDuration_get")] - public static extern double aiAnimation_mDuration_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiAnimation_mTicksPerSecond_set")] - public static extern void aiAnimation_mTicksPerSecond_set(HandleRef jarg1, double jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiAnimation_mTicksPerSecond_get")] - public static extern double aiAnimation_mTicksPerSecond_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiAnimation_mNumChannels_set")] - public static extern void aiAnimation_mNumChannels_set(HandleRef jarg1, uint jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiAnimation_mNumChannels_get")] - public static extern uint aiAnimation_mNumChannels_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiAnimation_mNumMeshChannels_set")] - public static extern void aiAnimation_mNumMeshChannels_set(HandleRef jarg1, uint jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiAnimation_mNumMeshChannels_get")] - public static extern uint aiAnimation_mNumMeshChannels_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiAnimation")] - public static extern IntPtr new_aiAnimation(); - - [DllImport("Assimp", EntryPoint="CSharp_delete_aiAnimation")] - public static extern void delete_aiAnimation(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiAnimation_GetmChannels")] - public static extern IntPtr aiAnimation_GetmChannels(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiAnimation_GetmMeshChannels")] - public static extern IntPtr aiAnimation_GetmMeshChannels(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_AI_MAX_FACE_INDICES_get")] - public static extern int AI_MAX_FACE_INDICES_get(); - - [DllImport("Assimp", EntryPoint="CSharp_AI_MAX_BONE_WEIGHTS_get")] - public static extern int AI_MAX_BONE_WEIGHTS_get(); - - [DllImport("Assimp", EntryPoint="CSharp_AI_MAX_VERTICES_get")] - public static extern int AI_MAX_VERTICES_get(); - - [DllImport("Assimp", EntryPoint="CSharp_AI_MAX_FACES_get")] - public static extern int AI_MAX_FACES_get(); - - [DllImport("Assimp", EntryPoint="CSharp_AI_MAX_NUMBER_OF_COLOR_SETS_get")] - public static extern int AI_MAX_NUMBER_OF_COLOR_SETS_get(); - - [DllImport("Assimp", EntryPoint="CSharp_AI_MAX_NUMBER_OF_TEXTURECOORDS_get")] - public static extern int AI_MAX_NUMBER_OF_TEXTURECOORDS_get(); - - [DllImport("Assimp", EntryPoint="CSharp_aiFace_mNumIndices_set")] - public static extern void aiFace_mNumIndices_set(HandleRef jarg1, uint jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiFace_mNumIndices_get")] - public static extern uint aiFace_mNumIndices_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiFace__SWIG_0")] - public static extern IntPtr new_aiFace__SWIG_0(); - - [DllImport("Assimp", EntryPoint="CSharp_delete_aiFace")] - public static extern void delete_aiFace(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiFace__SWIG_1")] - public static extern IntPtr new_aiFace__SWIG_1(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiFace___set__")] - public static extern IntPtr aiFace___set__(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiFace___equal__")] - public static extern bool aiFace___equal__(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiFace___nequal__")] - public static extern bool aiFace___nequal__(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiFace_GetmIndices")] - public static extern IntPtr aiFace_GetmIndices(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiVertexWeight_mVertexId_set")] - public static extern void aiVertexWeight_mVertexId_set(HandleRef jarg1, uint jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiVertexWeight_mVertexId_get")] - public static extern uint aiVertexWeight_mVertexId_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiVertexWeight_mWeight_set")] - public static extern void aiVertexWeight_mWeight_set(HandleRef jarg1, float jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiVertexWeight_mWeight_get")] - public static extern float aiVertexWeight_mWeight_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiVertexWeight__SWIG_0")] - public static extern IntPtr new_aiVertexWeight__SWIG_0(); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiVertexWeight__SWIG_1")] - public static extern IntPtr new_aiVertexWeight__SWIG_1(uint jarg1, float jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_delete_aiVertexWeight")] - public static extern void delete_aiVertexWeight(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiBone_mName_set")] - public static extern void aiBone_mName_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiBone_mName_get")] - public static extern IntPtr aiBone_mName_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiBone_mNumWeights_set")] - public static extern void aiBone_mNumWeights_set(HandleRef jarg1, uint jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiBone_mNumWeights_get")] - public static extern uint aiBone_mNumWeights_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiBone_mOffsetMatrix_set")] - public static extern void aiBone_mOffsetMatrix_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiBone_mOffsetMatrix_get")] - public static extern IntPtr aiBone_mOffsetMatrix_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiBone__SWIG_0")] - public static extern IntPtr new_aiBone__SWIG_0(); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiBone__SWIG_1")] - public static extern IntPtr new_aiBone__SWIG_1(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_delete_aiBone")] - public static extern void delete_aiBone(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiBone_GetmWeights")] - public static extern IntPtr aiBone_GetmWeights(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiAnimMesh_mBitangents_set")] - public static extern void aiAnimMesh_mBitangents_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiAnimMesh_mBitangents_get")] - public static extern IntPtr aiAnimMesh_mBitangents_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiAnimMesh_mNumVertices_set")] - public static extern void aiAnimMesh_mNumVertices_set(HandleRef jarg1, uint jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiAnimMesh_mNumVertices_get")] - public static extern uint aiAnimMesh_mNumVertices_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiAnimMesh")] - public static extern IntPtr new_aiAnimMesh(); - - [DllImport("Assimp", EntryPoint="CSharp_delete_aiAnimMesh")] - public static extern void delete_aiAnimMesh(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiAnimMesh_HasPositions")] - public static extern bool aiAnimMesh_HasPositions(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiAnimMesh_HasNormals")] - public static extern bool aiAnimMesh_HasNormals(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiAnimMesh_HasTangentsAndBitangents")] - public static extern bool aiAnimMesh_HasTangentsAndBitangents(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiAnimMesh_HasVertexColors")] - public static extern bool aiAnimMesh_HasVertexColors(HandleRef jarg1, uint jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiAnimMesh_HasTextureCoords")] - public static extern bool aiAnimMesh_HasTextureCoords(HandleRef jarg1, uint jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMesh_mPrimitiveTypes_set")] - public static extern void aiMesh_mPrimitiveTypes_set(HandleRef jarg1, uint jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMesh_mPrimitiveTypes_get")] - public static extern uint aiMesh_mPrimitiveTypes_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMesh_mNumVertices_set")] - public static extern void aiMesh_mNumVertices_set(HandleRef jarg1, uint jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMesh_mNumVertices_get")] - public static extern uint aiMesh_mNumVertices_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMesh_mNumFaces_set")] - public static extern void aiMesh_mNumFaces_set(HandleRef jarg1, uint jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMesh_mNumFaces_get")] - public static extern uint aiMesh_mNumFaces_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMesh_mNumBones_set")] - public static extern void aiMesh_mNumBones_set(HandleRef jarg1, uint jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMesh_mNumBones_get")] - public static extern uint aiMesh_mNumBones_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMesh_mMaterialIndex_set")] - public static extern void aiMesh_mMaterialIndex_set(HandleRef jarg1, uint jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMesh_mMaterialIndex_get")] - public static extern uint aiMesh_mMaterialIndex_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMesh_mName_set")] - public static extern void aiMesh_mName_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMesh_mName_get")] - public static extern IntPtr aiMesh_mName_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMesh_mNumAnimMeshes_set")] - public static extern void aiMesh_mNumAnimMeshes_set(HandleRef jarg1, uint jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMesh_mNumAnimMeshes_get")] - public static extern uint aiMesh_mNumAnimMeshes_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiMesh")] - public static extern IntPtr new_aiMesh(); - - [DllImport("Assimp", EntryPoint="CSharp_delete_aiMesh")] - public static extern void delete_aiMesh(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMesh_HasPositions")] - public static extern bool aiMesh_HasPositions(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMesh_HasFaces")] - public static extern bool aiMesh_HasFaces(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMesh_HasNormals")] - public static extern bool aiMesh_HasNormals(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMesh_HasTangentsAndBitangents")] - public static extern bool aiMesh_HasTangentsAndBitangents(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMesh_HasVertexColors")] - public static extern bool aiMesh_HasVertexColors(HandleRef jarg1, uint jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMesh_HasTextureCoords")] - public static extern bool aiMesh_HasTextureCoords(HandleRef jarg1, uint jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMesh_GetNumUVChannels")] - public static extern uint aiMesh_GetNumUVChannels(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMesh_GetNumColorChannels")] - public static extern uint aiMesh_GetNumColorChannels(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMesh_HasBones")] - public static extern bool aiMesh_HasBones(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMesh_GetmAnimMeshes")] - public static extern IntPtr aiMesh_GetmAnimMeshes(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMesh_GetmBitangents")] - public static extern IntPtr aiMesh_GetmBitangents(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMesh_GetmBones")] - public static extern IntPtr aiMesh_GetmBones(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMesh_GetmColors")] - public static extern IntPtr aiMesh_GetmColors(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMesh_GetmFaces")] - public static extern IntPtr aiMesh_GetmFaces(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMesh_GetmNormals")] - public static extern IntPtr aiMesh_GetmNormals(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMesh_GetmTangents")] - public static extern IntPtr aiMesh_GetmTangents(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMesh_GetmTextureCoords")] - public static extern IntPtr aiMesh_GetmTextureCoords(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMesh_GetmNumUVComponents")] - public static extern IntPtr aiMesh_GetmNumUVComponents(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMesh_GetmVertices")] - public static extern IntPtr aiMesh_GetmVertices(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_AI_DEFAULT_MATERIAL_NAME_get")] - public static extern string AI_DEFAULT_MATERIAL_NAME_get(); - - [DllImport("Assimp", EntryPoint="CSharp_aiUVTransform_mTranslation_set")] - public static extern void aiUVTransform_mTranslation_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiUVTransform_mTranslation_get")] - public static extern IntPtr aiUVTransform_mTranslation_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiUVTransform_mScaling_set")] - public static extern void aiUVTransform_mScaling_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiUVTransform_mScaling_get")] - public static extern IntPtr aiUVTransform_mScaling_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiUVTransform_mRotation_set")] - public static extern void aiUVTransform_mRotation_set(HandleRef jarg1, float jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiUVTransform_mRotation_get")] - public static extern float aiUVTransform_mRotation_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiUVTransform")] - public static extern IntPtr new_aiUVTransform(); - - [DllImport("Assimp", EntryPoint="CSharp_delete_aiUVTransform")] - public static extern void delete_aiUVTransform(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMaterialProperty_mKey_set")] - public static extern void aiMaterialProperty_mKey_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMaterialProperty_mKey_get")] - public static extern IntPtr aiMaterialProperty_mKey_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMaterialProperty_mSemantic_set")] - public static extern void aiMaterialProperty_mSemantic_set(HandleRef jarg1, uint jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMaterialProperty_mSemantic_get")] - public static extern uint aiMaterialProperty_mSemantic_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMaterialProperty_mIndex_set")] - public static extern void aiMaterialProperty_mIndex_set(HandleRef jarg1, uint jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMaterialProperty_mIndex_get")] - public static extern uint aiMaterialProperty_mIndex_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMaterialProperty_mDataLength_set")] - public static extern void aiMaterialProperty_mDataLength_set(HandleRef jarg1, uint jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMaterialProperty_mDataLength_get")] - public static extern uint aiMaterialProperty_mDataLength_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMaterialProperty_mType_set")] - public static extern void aiMaterialProperty_mType_set(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMaterialProperty_mType_get")] - public static extern int aiMaterialProperty_mType_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMaterialProperty_mData_set")] - public static extern void aiMaterialProperty_mData_set(HandleRef jarg1, string jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMaterialProperty_mData_get")] - public static extern string aiMaterialProperty_mData_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiMaterialProperty")] - public static extern IntPtr new_aiMaterialProperty(); - - [DllImport("Assimp", EntryPoint="CSharp_delete_aiMaterialProperty")] - public static extern void delete_aiMaterialProperty(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiMaterial")] - public static extern IntPtr new_aiMaterial(); - - [DllImport("Assimp", EntryPoint="CSharp_delete_aiMaterial")] - public static extern void delete_aiMaterial(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMaterial_GetTextureCount")] - public static extern uint aiMaterial_GetTextureCount(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMaterial_AddBinaryProperty")] - public static extern int aiMaterial_AddBinaryProperty(HandleRef jarg1, HandleRef jarg2, uint jarg3, string jarg4, uint jarg5, uint jarg6, int jarg7); - - [DllImport("Assimp", EntryPoint="CSharp_aiMaterial_AddProperty__SWIG_0")] - public static extern int aiMaterial_AddProperty__SWIG_0(HandleRef jarg1, HandleRef jarg2, string jarg3, uint jarg4, uint jarg5); - - [DllImport("Assimp", EntryPoint="CSharp_aiMaterial_AddProperty__SWIG_1")] - public static extern int aiMaterial_AddProperty__SWIG_1(HandleRef jarg1, HandleRef jarg2, string jarg3, uint jarg4); - - [DllImport("Assimp", EntryPoint="CSharp_aiMaterial_AddProperty__SWIG_2")] - public static extern int aiMaterial_AddProperty__SWIG_2(HandleRef jarg1, HandleRef jarg2, string jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiMaterial_RemoveProperty__SWIG_0")] - public static extern int aiMaterial_RemoveProperty__SWIG_0(HandleRef jarg1, string jarg2, uint jarg3, uint jarg4); - - [DllImport("Assimp", EntryPoint="CSharp_aiMaterial_RemoveProperty__SWIG_1")] - public static extern int aiMaterial_RemoveProperty__SWIG_1(HandleRef jarg1, string jarg2, uint jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiMaterial_RemoveProperty__SWIG_2")] - public static extern int aiMaterial_RemoveProperty__SWIG_2(HandleRef jarg1, string jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMaterial_Clear")] - public static extern void aiMaterial_Clear(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMaterial_CopyPropertyList")] - public static extern void aiMaterial_CopyPropertyList(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMaterial_GetDiffuse")] - public static extern bool aiMaterial_GetDiffuse(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMaterial_GetSpecular")] - public static extern bool aiMaterial_GetSpecular(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMaterial_GetAmbient")] - public static extern bool aiMaterial_GetAmbient(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMaterial_GetEmissive")] - public static extern bool aiMaterial_GetEmissive(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMaterial_GetOpacity")] - public static extern bool aiMaterial_GetOpacity(HandleRef jarg1, ref float jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMaterial_GetShininessStrength")] - public static extern bool aiMaterial_GetShininessStrength(HandleRef jarg1, ref float jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMaterial_GetShadingModel")] - public static extern bool aiMaterial_GetShadingModel(HandleRef jarg1, ref int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMaterial_GetTexFlagsDiffuse0")] - public static extern bool aiMaterial_GetTexFlagsDiffuse0(HandleRef jarg1, ref int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMaterial_GetMappingModeUDiffuse0")] - public static extern bool aiMaterial_GetMappingModeUDiffuse0(HandleRef jarg1, ref int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMaterial_GetMappingModeVDiffuse0")] - public static extern bool aiMaterial_GetMappingModeVDiffuse0(HandleRef jarg1, ref int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMaterial_GetTextureDiffuse0")] - public static extern bool aiMaterial_GetTextureDiffuse0(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMaterial_GetTextureSpecular0")] - public static extern bool aiMaterial_GetTextureSpecular0(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMaterial_GetTextureOpacity0")] - public static extern bool aiMaterial_GetTextureOpacity0(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMaterial_GetTextureAmbient0")] - public static extern bool aiMaterial_GetTextureAmbient0(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMaterial_GetTextureEmissive0")] - public static extern bool aiMaterial_GetTextureEmissive0(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMaterial_GetTextureShininess0")] - public static extern bool aiMaterial_GetTextureShininess0(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMaterial_GetTextureLightmap0")] - public static extern bool aiMaterial_GetTextureLightmap0(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMaterial_GetTextureNormals0")] - public static extern bool aiMaterial_GetTextureNormals0(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMaterial_GetTextureHeight0")] - public static extern bool aiMaterial_GetTextureHeight0(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMaterial_GetGlobalBackgroundImage")] - public static extern bool aiMaterial_GetGlobalBackgroundImage(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMaterial_GetTwoSided")] - public static extern bool aiMaterial_GetTwoSided(HandleRef jarg1, ref int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp__AI_MATKEY_TEXTURE_BASE_get")] - public static extern string _AI_MATKEY_TEXTURE_BASE_get(); - - [DllImport("Assimp", EntryPoint="CSharp__AI_MATKEY_UVWSRC_BASE_get")] - public static extern string _AI_MATKEY_UVWSRC_BASE_get(); - - [DllImport("Assimp", EntryPoint="CSharp__AI_MATKEY_TEXOP_BASE_get")] - public static extern string _AI_MATKEY_TEXOP_BASE_get(); - - [DllImport("Assimp", EntryPoint="CSharp__AI_MATKEY_MAPPING_BASE_get")] - public static extern string _AI_MATKEY_MAPPING_BASE_get(); - - [DllImport("Assimp", EntryPoint="CSharp__AI_MATKEY_TEXBLEND_BASE_get")] - public static extern string _AI_MATKEY_TEXBLEND_BASE_get(); - - [DllImport("Assimp", EntryPoint="CSharp__AI_MATKEY_MAPPINGMODE_U_BASE_get")] - public static extern string _AI_MATKEY_MAPPINGMODE_U_BASE_get(); - - [DllImport("Assimp", EntryPoint="CSharp__AI_MATKEY_MAPPINGMODE_V_BASE_get")] - public static extern string _AI_MATKEY_MAPPINGMODE_V_BASE_get(); - - [DllImport("Assimp", EntryPoint="CSharp__AI_MATKEY_TEXMAP_AXIS_BASE_get")] - public static extern string _AI_MATKEY_TEXMAP_AXIS_BASE_get(); - - [DllImport("Assimp", EntryPoint="CSharp__AI_MATKEY_UVTRANSFORM_BASE_get")] - public static extern string _AI_MATKEY_UVTRANSFORM_BASE_get(); - - [DllImport("Assimp", EntryPoint="CSharp__AI_MATKEY_TEXFLAGS_BASE_get")] - public static extern string _AI_MATKEY_TEXFLAGS_BASE_get(); - - [DllImport("Assimp", EntryPoint="CSharp_aiNode_mName_set")] - public static extern void aiNode_mName_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiNode_mName_get")] - public static extern IntPtr aiNode_mName_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiNode_mTransformation_set")] - public static extern void aiNode_mTransformation_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiNode_mTransformation_get")] - public static extern IntPtr aiNode_mTransformation_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiNode_mParent_set")] - public static extern void aiNode_mParent_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiNode_mParent_get")] - public static extern IntPtr aiNode_mParent_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiNode_mNumChildren_set")] - public static extern void aiNode_mNumChildren_set(HandleRef jarg1, uint jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiNode_mNumChildren_get")] - public static extern uint aiNode_mNumChildren_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiNode_mNumMeshes_set")] - public static extern void aiNode_mNumMeshes_set(HandleRef jarg1, uint jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiNode_mNumMeshes_get")] - public static extern uint aiNode_mNumMeshes_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiNode__SWIG_0")] - public static extern IntPtr new_aiNode__SWIG_0(); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiNode__SWIG_1")] - public static extern IntPtr new_aiNode__SWIG_1(string jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_delete_aiNode")] - public static extern void delete_aiNode(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiNode_FindNode__SWIG_0")] - public static extern IntPtr aiNode_FindNode__SWIG_0(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiNode_FindNode__SWIG_1")] - public static extern IntPtr aiNode_FindNode__SWIG_1(HandleRef jarg1, string jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiNode_GetmChildren")] - public static extern IntPtr aiNode_GetmChildren(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiNode_GetmMeshes")] - public static extern IntPtr aiNode_GetmMeshes(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_AI_SCENE_FLAGS_INCOMPLETE_get")] - public static extern int AI_SCENE_FLAGS_INCOMPLETE_get(); - - [DllImport("Assimp", EntryPoint="CSharp_AI_SCENE_FLAGS_VALIDATED_get")] - public static extern int AI_SCENE_FLAGS_VALIDATED_get(); - - [DllImport("Assimp", EntryPoint="CSharp_AI_SCENE_FLAGS_VALIDATION_WARNING_get")] - public static extern int AI_SCENE_FLAGS_VALIDATION_WARNING_get(); - - [DllImport("Assimp", EntryPoint="CSharp_AI_SCENE_FLAGS_NON_VERBOSE_FORMAT_get")] - public static extern int AI_SCENE_FLAGS_NON_VERBOSE_FORMAT_get(); - - [DllImport("Assimp", EntryPoint="CSharp_AI_SCENE_FLAGS_TERRAIN_get")] - public static extern int AI_SCENE_FLAGS_TERRAIN_get(); - - [DllImport("Assimp", EntryPoint="CSharp_aiScene_mFlags_set")] - public static extern void aiScene_mFlags_set(HandleRef jarg1, uint jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiScene_mFlags_get")] - public static extern uint aiScene_mFlags_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiScene_mRootNode_set")] - public static extern void aiScene_mRootNode_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiScene_mRootNode_get")] - public static extern IntPtr aiScene_mRootNode_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiScene_mNumMeshes_set")] - public static extern void aiScene_mNumMeshes_set(HandleRef jarg1, uint jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiScene_mNumMeshes_get")] - public static extern uint aiScene_mNumMeshes_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiScene_mNumMaterials_set")] - public static extern void aiScene_mNumMaterials_set(HandleRef jarg1, uint jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiScene_mNumMaterials_get")] - public static extern uint aiScene_mNumMaterials_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiScene_mNumAnimations_set")] - public static extern void aiScene_mNumAnimations_set(HandleRef jarg1, uint jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiScene_mNumAnimations_get")] - public static extern uint aiScene_mNumAnimations_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiScene_mNumTextures_set")] - public static extern void aiScene_mNumTextures_set(HandleRef jarg1, uint jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiScene_mNumTextures_get")] - public static extern uint aiScene_mNumTextures_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiScene_mNumLights_set")] - public static extern void aiScene_mNumLights_set(HandleRef jarg1, uint jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiScene_mNumLights_get")] - public static extern uint aiScene_mNumLights_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiScene_mNumCameras_set")] - public static extern void aiScene_mNumCameras_set(HandleRef jarg1, uint jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiScene_mNumCameras_get")] - public static extern uint aiScene_mNumCameras_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiScene")] - public static extern IntPtr new_aiScene(); - - [DllImport("Assimp", EntryPoint="CSharp_delete_aiScene")] - public static extern void delete_aiScene(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiScene_HasMeshes")] - public static extern bool aiScene_HasMeshes(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiScene_HasMaterials")] - public static extern bool aiScene_HasMaterials(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiScene_HasLights")] - public static extern bool aiScene_HasLights(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiScene_HasTextures")] - public static extern bool aiScene_HasTextures(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiScene_HasCameras")] - public static extern bool aiScene_HasCameras(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiScene_HasAnimations")] - public static extern bool aiScene_HasAnimations(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiScene_mPrivate_set")] - public static extern void aiScene_mPrivate_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiScene_mPrivate_get")] - public static extern IntPtr aiScene_mPrivate_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiScene_GetmAnimations")] - public static extern IntPtr aiScene_GetmAnimations(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiScene_GetmCameras")] - public static extern IntPtr aiScene_GetmCameras(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiScene_GetmLights")] - public static extern IntPtr aiScene_GetmLights(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiScene_GetmMaterials")] - public static extern IntPtr aiScene_GetmMaterials(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiScene_GetmMeshes")] - public static extern IntPtr aiScene_GetmMeshes(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiScene_GetmTextures")] - public static extern IntPtr aiScene_GetmTextures(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiTexel_b_set")] - public static extern void aiTexel_b_set(HandleRef jarg1, byte jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiTexel_b_get")] - public static extern byte aiTexel_b_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiTexel_g_set")] - public static extern void aiTexel_g_set(HandleRef jarg1, byte jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiTexel_g_get")] - public static extern byte aiTexel_g_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiTexel_r_set")] - public static extern void aiTexel_r_set(HandleRef jarg1, byte jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiTexel_r_get")] - public static extern byte aiTexel_r_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiTexel_a_set")] - public static extern void aiTexel_a_set(HandleRef jarg1, byte jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiTexel_a_get")] - public static extern byte aiTexel_a_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiTexel___equal__")] - public static extern bool aiTexel___equal__(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiTexel___nequal__")] - public static extern bool aiTexel___nequal__(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiTexel")] - public static extern IntPtr new_aiTexel(); - - [DllImport("Assimp", EntryPoint="CSharp_delete_aiTexel")] - public static extern void delete_aiTexel(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiTexture_mWidth_set")] - public static extern void aiTexture_mWidth_set(HandleRef jarg1, uint jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiTexture_mWidth_get")] - public static extern uint aiTexture_mWidth_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiTexture_mHeight_set")] - public static extern void aiTexture_mHeight_set(HandleRef jarg1, uint jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiTexture_mHeight_get")] - public static extern uint aiTexture_mHeight_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiTexture_achFormatHint_set")] - public static extern void aiTexture_achFormatHint_set(HandleRef jarg1, string jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiTexture_achFormatHint_get")] - public static extern string aiTexture_achFormatHint_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiTexture_pcData_set")] - public static extern void aiTexture_pcData_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiTexture_pcData_get")] - public static extern IntPtr aiTexture_pcData_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiTexture_CheckFormat")] - public static extern bool aiTexture_CheckFormat(HandleRef jarg1, string jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiTexture")] - public static extern IntPtr new_aiTexture(); - - [DllImport("Assimp", EntryPoint="CSharp_delete_aiTexture")] - public static extern void delete_aiTexture(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_AI_PROPERTY_WAS_NOT_EXISTING_get")] - public static extern int AI_PROPERTY_WAS_NOT_EXISTING_get(); - - [DllImport("Assimp", EntryPoint="CSharp_new_Importer__SWIG_0")] - public static extern IntPtr new_Importer__SWIG_0(); - - [DllImport("Assimp", EntryPoint="CSharp_new_Importer__SWIG_1")] - public static extern IntPtr new_Importer__SWIG_1(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_delete_Importer")] - public static extern void delete_Importer(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_Importer_GetPropertyInteger__SWIG_0")] - public static extern int Importer_GetPropertyInteger__SWIG_0(HandleRef jarg1, string jarg2, int jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_Importer_GetPropertyInteger__SWIG_1")] - public static extern int Importer_GetPropertyInteger__SWIG_1(HandleRef jarg1, string jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_Importer_GetPropertyBool__SWIG_0")] - public static extern bool Importer_GetPropertyBool__SWIG_0(HandleRef jarg1, string jarg2, bool jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_Importer_GetPropertyBool__SWIG_1")] - public static extern bool Importer_GetPropertyBool__SWIG_1(HandleRef jarg1, string jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_Importer_GetPropertyFloat__SWIG_0")] - public static extern float Importer_GetPropertyFloat__SWIG_0(HandleRef jarg1, string jarg2, float jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_Importer_GetPropertyFloat__SWIG_1")] - public static extern float Importer_GetPropertyFloat__SWIG_1(HandleRef jarg1, string jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_Importer_GetPropertyString__SWIG_0")] - public static extern string Importer_GetPropertyString__SWIG_0(HandleRef jarg1, string jarg2, string jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_Importer_GetPropertyString__SWIG_1")] - public static extern string Importer_GetPropertyString__SWIG_1(HandleRef jarg1, string jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_Importer_IsDefaultIOHandler")] - public static extern bool Importer_IsDefaultIOHandler(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_Importer_SetProgressHandler")] - public static extern void Importer_SetProgressHandler(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_Importer_GetProgressHandler")] - public static extern IntPtr Importer_GetProgressHandler(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_Importer_IsDefaultProgressHandler")] - public static extern bool Importer_IsDefaultProgressHandler(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_Importer_ValidateFlags")] - public static extern bool Importer_ValidateFlags(HandleRef jarg1, uint jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_Importer_ReadFile__SWIG_0")] - public static extern IntPtr Importer_ReadFile__SWIG_0(HandleRef jarg1, string jarg2, uint jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_Importer_FreeScene")] - public static extern void Importer_FreeScene(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_Importer_GetErrorString")] - public static extern string Importer_GetErrorString(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_Importer_GetScene")] - public static extern IntPtr Importer_GetScene(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_Importer_GetOrphanedScene")] - public static extern IntPtr Importer_GetOrphanedScene(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_Importer_IsExtensionSupported__SWIG_0")] - public static extern bool Importer_IsExtensionSupported__SWIG_0(HandleRef jarg1, string jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_Importer_GetExtensionList__SWIG_0")] - public static extern void Importer_GetExtensionList__SWIG_0(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_Importer_GetExtensionList__SWIG_1")] - public static extern void Importer_GetExtensionList__SWIG_1(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_Importer_GetImporterCount")] - public static extern uint Importer_GetImporterCount(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_Importer_GetImporterInfo")] - public static extern IntPtr Importer_GetImporterInfo(HandleRef jarg1, uint jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_Importer_GetImporter__SWIG_0")] - public static extern IntPtr Importer_GetImporter__SWIG_0(HandleRef jarg1, uint jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_Importer_GetImporter__SWIG_1")] - public static extern IntPtr Importer_GetImporter__SWIG_1(HandleRef jarg1, string jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_Importer_GetImporterIndex")] - public static extern uint Importer_GetImporterIndex(HandleRef jarg1, string jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_Importer_GetMemoryRequirements")] - public static extern void Importer_GetMemoryRequirements(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_Importer_SetExtraVerbose")] - public static extern void Importer_SetExtraVerbose(HandleRef jarg1, bool jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_Importer_Pimpl__SWIG_0")] - public static extern IntPtr Importer_Pimpl__SWIG_0(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_Importer_GetExtensionList__SWIG_2")] - public static extern string Importer_GetExtensionList__SWIG_2(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_delete_ProgressHandler")] - public static extern void delete_ProgressHandler(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_ProgressHandler_Update__SWIG_0")] - public static extern bool ProgressHandler_Update__SWIG_0(HandleRef jarg1, float jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_ProgressHandler_Update__SWIG_1")] - public static extern bool ProgressHandler_Update__SWIG_1(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiColor4D__SWIG_0")] - public static extern IntPtr new_aiColor4D__SWIG_0(); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiColor4D__SWIG_1")] - public static extern IntPtr new_aiColor4D__SWIG_1(float jarg1, float jarg2, float jarg3, float jarg4); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiColor4D__SWIG_2")] - public static extern IntPtr new_aiColor4D__SWIG_2(float jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiColor4D__SWIG_3")] - public static extern IntPtr new_aiColor4D__SWIG_3(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiColor4D___addnset__")] - public static extern IntPtr aiColor4D___addnset__(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiColor4D___subnset__")] - public static extern IntPtr aiColor4D___subnset__(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiColor4D___mulnset__")] - public static extern IntPtr aiColor4D___mulnset__(HandleRef jarg1, float jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiColor4D___divnset__")] - public static extern IntPtr aiColor4D___divnset__(HandleRef jarg1, float jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiColor4D___equal__")] - public static extern bool aiColor4D___equal__(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiColor4D___nequal__")] - public static extern bool aiColor4D___nequal__(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiColor4D___idx____SWIG_0")] - public static extern float aiColor4D___idx____SWIG_0(HandleRef jarg1, uint jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiColor4D_IsBlack")] - public static extern bool aiColor4D_IsBlack(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiColor4D_r_set")] - public static extern void aiColor4D_r_set(HandleRef jarg1, float jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiColor4D_r_get")] - public static extern float aiColor4D_r_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiColor4D_g_set")] - public static extern void aiColor4D_g_set(HandleRef jarg1, float jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiColor4D_g_get")] - public static extern float aiColor4D_g_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiColor4D_b_set")] - public static extern void aiColor4D_b_set(HandleRef jarg1, float jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiColor4D_b_get")] - public static extern float aiColor4D_b_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiColor4D_a_set")] - public static extern void aiColor4D_a_set(HandleRef jarg1, float jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiColor4D_a_get")] - public static extern float aiColor4D_a_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_delete_aiColor4D")] - public static extern void delete_aiColor4D(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiVector3D__SWIG_0")] - public static extern IntPtr new_aiVector3D__SWIG_0(); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiVector3D__SWIG_1")] - public static extern IntPtr new_aiVector3D__SWIG_1(float jarg1, float jarg2, float jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiVector3D__SWIG_2")] - public static extern IntPtr new_aiVector3D__SWIG_2(float jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiVector3D__SWIG_3")] - public static extern IntPtr new_aiVector3D__SWIG_3(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiVector3D___addnset__")] - public static extern IntPtr aiVector3D___addnset__(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiVector3D___subnset__")] - public static extern IntPtr aiVector3D___subnset__(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiVector3D___mulnset____SWIG_0")] - public static extern IntPtr aiVector3D___mulnset____SWIG_0(HandleRef jarg1, float jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiVector3D___divnset__")] - public static extern IntPtr aiVector3D___divnset__(HandleRef jarg1, float jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiVector3D___mulnset____SWIG_1")] - public static extern IntPtr aiVector3D___mulnset____SWIG_1(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiVector3D___mulnset____SWIG_2")] - public static extern IntPtr aiVector3D___mulnset____SWIG_2(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiVector3D___idx____SWIG_0")] - public static extern float aiVector3D___idx____SWIG_0(HandleRef jarg1, uint jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiVector3D___equal__")] - public static extern bool aiVector3D___equal__(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiVector3D___nequal__")] - public static extern bool aiVector3D___nequal__(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiVector3D_Set")] - public static extern void aiVector3D_Set(HandleRef jarg1, float jarg2, float jarg3, float jarg4); - - [DllImport("Assimp", EntryPoint="CSharp_aiVector3D_SquareLength")] - public static extern float aiVector3D_SquareLength(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiVector3D_Length")] - public static extern float aiVector3D_Length(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiVector3D_Normalize")] - public static extern IntPtr aiVector3D_Normalize(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiVector3D_SymMul")] - public static extern IntPtr aiVector3D_SymMul(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiVector3D_x_set")] - public static extern void aiVector3D_x_set(HandleRef jarg1, float jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiVector3D_x_get")] - public static extern float aiVector3D_x_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiVector3D_y_set")] - public static extern void aiVector3D_y_set(HandleRef jarg1, float jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiVector3D_y_get")] - public static extern float aiVector3D_y_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiVector3D_z_set")] - public static extern void aiVector3D_z_set(HandleRef jarg1, float jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiVector3D_z_get")] - public static extern float aiVector3D_z_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_delete_aiVector3D")] - public static extern void delete_aiVector3D(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiVector2D__SWIG_0")] - public static extern IntPtr new_aiVector2D__SWIG_0(); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiVector2D__SWIG_1")] - public static extern IntPtr new_aiVector2D__SWIG_1(float jarg1, float jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiVector2D__SWIG_2")] - public static extern IntPtr new_aiVector2D__SWIG_2(float jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiVector2D__SWIG_3")] - public static extern IntPtr new_aiVector2D__SWIG_3(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiVector2D_Set")] - public static extern void aiVector2D_Set(HandleRef jarg1, float jarg2, float jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiVector2D_SquareLength")] - public static extern float aiVector2D_SquareLength(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiVector2D_Length")] - public static extern float aiVector2D_Length(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiVector2D_Normalize")] - public static extern IntPtr aiVector2D_Normalize(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiVector2D___addnset__")] - public static extern IntPtr aiVector2D___addnset__(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiVector2D___subnset__")] - public static extern IntPtr aiVector2D___subnset__(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiVector2D___mulnset__")] - public static extern IntPtr aiVector2D___mulnset__(HandleRef jarg1, float jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiVector2D___divnset__")] - public static extern IntPtr aiVector2D___divnset__(HandleRef jarg1, float jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiVector2D___idx____SWIG_0")] - public static extern float aiVector2D___idx____SWIG_0(HandleRef jarg1, uint jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiVector2D___equal__")] - public static extern bool aiVector2D___equal__(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiVector2D___nequal__")] - public static extern bool aiVector2D___nequal__(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiVector2D___set__")] - public static extern IntPtr aiVector2D___set__(HandleRef jarg1, float jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiVector2D_SymMul")] - public static extern IntPtr aiVector2D_SymMul(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiVector2D_x_set")] - public static extern void aiVector2D_x_set(HandleRef jarg1, float jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiVector2D_x_get")] - public static extern float aiVector2D_x_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiVector2D_y_set")] - public static extern void aiVector2D_y_set(HandleRef jarg1, float jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiVector2D_y_get")] - public static extern float aiVector2D_y_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_delete_aiVector2D")] - public static extern void delete_aiVector2D(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiQuaternion__SWIG_0")] - public static extern IntPtr new_aiQuaternion__SWIG_0(); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiQuaternion__SWIG_1")] - public static extern IntPtr new_aiQuaternion__SWIG_1(float jarg1, float jarg2, float jarg3, float jarg4); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiQuaternion__SWIG_2")] - public static extern IntPtr new_aiQuaternion__SWIG_2(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiQuaternion__SWIG_3")] - public static extern IntPtr new_aiQuaternion__SWIG_3(float jarg1, float jarg2, float jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiQuaternion__SWIG_4")] - public static extern IntPtr new_aiQuaternion__SWIG_4(HandleRef jarg1, float jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiQuaternion__SWIG_5")] - public static extern IntPtr new_aiQuaternion__SWIG_5(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiQuaternion_GetMatrix")] - public static extern IntPtr aiQuaternion_GetMatrix(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiQuaternion___equal__")] - public static extern bool aiQuaternion___equal__(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiQuaternion___nequal__")] - public static extern bool aiQuaternion___nequal__(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiQuaternion_Normalize")] - public static extern IntPtr aiQuaternion_Normalize(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiQuaternion_Conjugate")] - public static extern IntPtr aiQuaternion_Conjugate(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiQuaternion_Rotate")] - public static extern IntPtr aiQuaternion_Rotate(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiQuaternion___mul__")] - public static extern IntPtr aiQuaternion___mul__(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiQuaternion_Interpolate")] - public static extern void aiQuaternion_Interpolate(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, float jarg4); - - [DllImport("Assimp", EntryPoint="CSharp_aiQuaternion_w_set")] - public static extern void aiQuaternion_w_set(HandleRef jarg1, float jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiQuaternion_w_get")] - public static extern float aiQuaternion_w_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiQuaternion_x_set")] - public static extern void aiQuaternion_x_set(HandleRef jarg1, float jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiQuaternion_x_get")] - public static extern float aiQuaternion_x_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiQuaternion_y_set")] - public static extern void aiQuaternion_y_set(HandleRef jarg1, float jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiQuaternion_y_get")] - public static extern float aiQuaternion_y_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiQuaternion_z_set")] - public static extern void aiQuaternion_z_set(HandleRef jarg1, float jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiQuaternion_z_get")] - public static extern float aiQuaternion_z_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_delete_aiQuaternion")] - public static extern void delete_aiQuaternion(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiMatrix3x3__SWIG_0")] - public static extern IntPtr new_aiMatrix3x3__SWIG_0(); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiMatrix3x3__SWIG_1")] - public static extern IntPtr new_aiMatrix3x3__SWIG_1(float jarg1, float jarg2, float jarg3, float jarg4, float jarg5, float jarg6, float jarg7, float jarg8, float jarg9); - - [DllImport("Assimp", EntryPoint="CSharp_aiMatrix3x3___mulnset__")] - public static extern IntPtr aiMatrix3x3___mulnset__(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMatrix3x3___mul__")] - public static extern IntPtr aiMatrix3x3___mul__(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMatrix3x3___idx____SWIG_0")] - public static extern IntPtr aiMatrix3x3___idx____SWIG_0(HandleRef jarg1, uint jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMatrix3x3___equal__")] - public static extern bool aiMatrix3x3___equal__(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMatrix3x3___nequal__")] - public static extern bool aiMatrix3x3___nequal__(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiMatrix3x3__SWIG_2")] - public static extern IntPtr new_aiMatrix3x3__SWIG_2(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMatrix3x3_Transpose")] - public static extern IntPtr aiMatrix3x3_Transpose(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMatrix3x3_Inverse")] - public static extern IntPtr aiMatrix3x3_Inverse(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMatrix3x3_Determinant")] - public static extern float aiMatrix3x3_Determinant(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMatrix3x3_RotationZ")] - public static extern IntPtr aiMatrix3x3_RotationZ(float jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMatrix3x3_Rotation")] - public static extern IntPtr aiMatrix3x3_Rotation(float jarg1, HandleRef jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiMatrix3x3_Translation")] - public static extern IntPtr aiMatrix3x3_Translation(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMatrix3x3_FromToMatrix")] - public static extern IntPtr aiMatrix3x3_FromToMatrix(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiMatrix3x3_a1_set")] - public static extern void aiMatrix3x3_a1_set(HandleRef jarg1, float jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMatrix3x3_a1_get")] - public static extern float aiMatrix3x3_a1_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMatrix3x3_a2_set")] - public static extern void aiMatrix3x3_a2_set(HandleRef jarg1, float jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMatrix3x3_a2_get")] - public static extern float aiMatrix3x3_a2_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMatrix3x3_a3_set")] - public static extern void aiMatrix3x3_a3_set(HandleRef jarg1, float jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMatrix3x3_a3_get")] - public static extern float aiMatrix3x3_a3_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMatrix3x3_b1_set")] - public static extern void aiMatrix3x3_b1_set(HandleRef jarg1, float jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMatrix3x3_b1_get")] - public static extern float aiMatrix3x3_b1_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMatrix3x3_b2_set")] - public static extern void aiMatrix3x3_b2_set(HandleRef jarg1, float jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMatrix3x3_b2_get")] - public static extern float aiMatrix3x3_b2_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMatrix3x3_b3_set")] - public static extern void aiMatrix3x3_b3_set(HandleRef jarg1, float jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMatrix3x3_b3_get")] - public static extern float aiMatrix3x3_b3_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMatrix3x3_c1_set")] - public static extern void aiMatrix3x3_c1_set(HandleRef jarg1, float jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMatrix3x3_c1_get")] - public static extern float aiMatrix3x3_c1_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMatrix3x3_c2_set")] - public static extern void aiMatrix3x3_c2_set(HandleRef jarg1, float jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMatrix3x3_c2_get")] - public static extern float aiMatrix3x3_c2_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMatrix3x3_c3_set")] - public static extern void aiMatrix3x3_c3_set(HandleRef jarg1, float jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMatrix3x3_c3_get")] - public static extern float aiMatrix3x3_c3_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_delete_aiMatrix3x3")] - public static extern void delete_aiMatrix3x3(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiMatrix4x4__SWIG_0")] - public static extern IntPtr new_aiMatrix4x4__SWIG_0(); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiMatrix4x4__SWIG_1")] - public static extern IntPtr new_aiMatrix4x4__SWIG_1(float jarg1, float jarg2, float jarg3, float jarg4, float jarg5, float jarg6, float jarg7, float jarg8, float jarg9, float jarg10, float jarg11, float jarg12, float jarg13, float jarg14, float jarg15, float jarg16); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiMatrix4x4__SWIG_2")] - public static extern IntPtr new_aiMatrix4x4__SWIG_2(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMatrix4x4___idx____SWIG_0")] - public static extern IntPtr aiMatrix4x4___idx____SWIG_0(HandleRef jarg1, uint jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMatrix4x4___equal__")] - public static extern bool aiMatrix4x4___equal__(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMatrix4x4___nequal__")] - public static extern bool aiMatrix4x4___nequal__(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMatrix4x4___mulnset__")] - public static extern IntPtr aiMatrix4x4___mulnset__(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMatrix4x4___mul__")] - public static extern IntPtr aiMatrix4x4___mul__(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMatrix4x4_Transpose")] - public static extern IntPtr aiMatrix4x4_Transpose(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMatrix4x4_Inverse")] - public static extern IntPtr aiMatrix4x4_Inverse(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMatrix4x4_Determinant")] - public static extern float aiMatrix4x4_Determinant(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMatrix4x4_IsIdentity")] - public static extern bool aiMatrix4x4_IsIdentity(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMatrix4x4_Decompose")] - public static extern void aiMatrix4x4_Decompose(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4); - - [DllImport("Assimp", EntryPoint="CSharp_aiMatrix4x4_DecomposeNoScaling")] - public static extern void aiMatrix4x4_DecomposeNoScaling(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiMatrix4x4_FromEulerAnglesXYZ__SWIG_0")] - public static extern IntPtr aiMatrix4x4_FromEulerAnglesXYZ__SWIG_0(HandleRef jarg1, float jarg2, float jarg3, float jarg4); - - [DllImport("Assimp", EntryPoint="CSharp_aiMatrix4x4_FromEulerAnglesXYZ__SWIG_1")] - public static extern IntPtr aiMatrix4x4_FromEulerAnglesXYZ__SWIG_1(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMatrix4x4_RotationX")] - public static extern IntPtr aiMatrix4x4_RotationX(float jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMatrix4x4_RotationY")] - public static extern IntPtr aiMatrix4x4_RotationY(float jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMatrix4x4_RotationZ")] - public static extern IntPtr aiMatrix4x4_RotationZ(float jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMatrix4x4_Rotation")] - public static extern IntPtr aiMatrix4x4_Rotation(float jarg1, HandleRef jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiMatrix4x4_Translation")] - public static extern IntPtr aiMatrix4x4_Translation(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMatrix4x4_Scaling")] - public static extern IntPtr aiMatrix4x4_Scaling(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMatrix4x4_FromToMatrix")] - public static extern IntPtr aiMatrix4x4_FromToMatrix(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiMatrix4x4_a1_set")] - public static extern void aiMatrix4x4_a1_set(HandleRef jarg1, float jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMatrix4x4_a1_get")] - public static extern float aiMatrix4x4_a1_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMatrix4x4_a2_set")] - public static extern void aiMatrix4x4_a2_set(HandleRef jarg1, float jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMatrix4x4_a2_get")] - public static extern float aiMatrix4x4_a2_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMatrix4x4_a3_set")] - public static extern void aiMatrix4x4_a3_set(HandleRef jarg1, float jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMatrix4x4_a3_get")] - public static extern float aiMatrix4x4_a3_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMatrix4x4_a4_set")] - public static extern void aiMatrix4x4_a4_set(HandleRef jarg1, float jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMatrix4x4_a4_get")] - public static extern float aiMatrix4x4_a4_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMatrix4x4_b1_set")] - public static extern void aiMatrix4x4_b1_set(HandleRef jarg1, float jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMatrix4x4_b1_get")] - public static extern float aiMatrix4x4_b1_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMatrix4x4_b2_set")] - public static extern void aiMatrix4x4_b2_set(HandleRef jarg1, float jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMatrix4x4_b2_get")] - public static extern float aiMatrix4x4_b2_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMatrix4x4_b3_set")] - public static extern void aiMatrix4x4_b3_set(HandleRef jarg1, float jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMatrix4x4_b3_get")] - public static extern float aiMatrix4x4_b3_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMatrix4x4_b4_set")] - public static extern void aiMatrix4x4_b4_set(HandleRef jarg1, float jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMatrix4x4_b4_get")] - public static extern float aiMatrix4x4_b4_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMatrix4x4_c1_set")] - public static extern void aiMatrix4x4_c1_set(HandleRef jarg1, float jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMatrix4x4_c1_get")] - public static extern float aiMatrix4x4_c1_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMatrix4x4_c2_set")] - public static extern void aiMatrix4x4_c2_set(HandleRef jarg1, float jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMatrix4x4_c2_get")] - public static extern float aiMatrix4x4_c2_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMatrix4x4_c3_set")] - public static extern void aiMatrix4x4_c3_set(HandleRef jarg1, float jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMatrix4x4_c3_get")] - public static extern float aiMatrix4x4_c3_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMatrix4x4_c4_set")] - public static extern void aiMatrix4x4_c4_set(HandleRef jarg1, float jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMatrix4x4_c4_get")] - public static extern float aiMatrix4x4_c4_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMatrix4x4_d1_set")] - public static extern void aiMatrix4x4_d1_set(HandleRef jarg1, float jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMatrix4x4_d1_get")] - public static extern float aiMatrix4x4_d1_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMatrix4x4_d2_set")] - public static extern void aiMatrix4x4_d2_set(HandleRef jarg1, float jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMatrix4x4_d2_get")] - public static extern float aiMatrix4x4_d2_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMatrix4x4_d3_set")] - public static extern void aiMatrix4x4_d3_set(HandleRef jarg1, float jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMatrix4x4_d3_get")] - public static extern float aiMatrix4x4_d3_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMatrix4x4_d4_set")] - public static extern void aiMatrix4x4_d4_set(HandleRef jarg1, float jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMatrix4x4_d4_get")] - public static extern float aiMatrix4x4_d4_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_delete_aiMatrix4x4")] - public static extern void delete_aiMatrix4x4(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_FloatVector_Clear")] - public static extern void FloatVector_Clear(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_FloatVector_Add")] - public static extern void FloatVector_Add(HandleRef jarg1, float jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_FloatVector_size")] - public static extern uint FloatVector_size(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_FloatVector_capacity")] - public static extern uint FloatVector_capacity(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_FloatVector_reserve")] - public static extern void FloatVector_reserve(HandleRef jarg1, uint jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_new_FloatVector__SWIG_0")] - public static extern IntPtr new_FloatVector__SWIG_0(); - - [DllImport("Assimp", EntryPoint="CSharp_new_FloatVector__SWIG_1")] - public static extern IntPtr new_FloatVector__SWIG_1(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_new_FloatVector__SWIG_2")] - public static extern IntPtr new_FloatVector__SWIG_2(int jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_FloatVector_getitemcopy")] - public static extern float FloatVector_getitemcopy(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_FloatVector_getitem")] - public static extern float FloatVector_getitem(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_FloatVector_setitem")] - public static extern void FloatVector_setitem(HandleRef jarg1, int jarg2, float jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_FloatVector_AddRange")] - public static extern void FloatVector_AddRange(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_FloatVector_GetRange")] - public static extern IntPtr FloatVector_GetRange(HandleRef jarg1, int jarg2, int jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_FloatVector_Insert")] - public static extern void FloatVector_Insert(HandleRef jarg1, int jarg2, float jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_FloatVector_InsertRange")] - public static extern void FloatVector_InsertRange(HandleRef jarg1, int jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_FloatVector_RemoveAt")] - public static extern void FloatVector_RemoveAt(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_FloatVector_RemoveRange")] - public static extern void FloatVector_RemoveRange(HandleRef jarg1, int jarg2, int jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_FloatVector_Repeat")] - public static extern IntPtr FloatVector_Repeat(float jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_FloatVector_Reverse__SWIG_0")] - public static extern void FloatVector_Reverse__SWIG_0(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_FloatVector_Reverse__SWIG_1")] - public static extern void FloatVector_Reverse__SWIG_1(HandleRef jarg1, int jarg2, int jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_FloatVector_SetRange")] - public static extern void FloatVector_SetRange(HandleRef jarg1, int jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_FloatVector_Contains")] - public static extern bool FloatVector_Contains(HandleRef jarg1, float jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_FloatVector_IndexOf")] - public static extern int FloatVector_IndexOf(HandleRef jarg1, float jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_FloatVector_LastIndexOf")] - public static extern int FloatVector_LastIndexOf(HandleRef jarg1, float jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_FloatVector_Remove")] - public static extern bool FloatVector_Remove(HandleRef jarg1, float jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_delete_FloatVector")] - public static extern void delete_FloatVector(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_UintVector_Clear")] - public static extern void UintVector_Clear(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_UintVector_Add")] - public static extern void UintVector_Add(HandleRef jarg1, uint jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_UintVector_size")] - public static extern uint UintVector_size(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_UintVector_capacity")] - public static extern uint UintVector_capacity(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_UintVector_reserve")] - public static extern void UintVector_reserve(HandleRef jarg1, uint jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_new_UintVector__SWIG_0")] - public static extern IntPtr new_UintVector__SWIG_0(); - - [DllImport("Assimp", EntryPoint="CSharp_new_UintVector__SWIG_1")] - public static extern IntPtr new_UintVector__SWIG_1(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_new_UintVector__SWIG_2")] - public static extern IntPtr new_UintVector__SWIG_2(int jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_UintVector_getitemcopy")] - public static extern uint UintVector_getitemcopy(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_UintVector_getitem")] - public static extern uint UintVector_getitem(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_UintVector_setitem")] - public static extern void UintVector_setitem(HandleRef jarg1, int jarg2, uint jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_UintVector_AddRange")] - public static extern void UintVector_AddRange(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_UintVector_GetRange")] - public static extern IntPtr UintVector_GetRange(HandleRef jarg1, int jarg2, int jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_UintVector_Insert")] - public static extern void UintVector_Insert(HandleRef jarg1, int jarg2, uint jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_UintVector_InsertRange")] - public static extern void UintVector_InsertRange(HandleRef jarg1, int jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_UintVector_RemoveAt")] - public static extern void UintVector_RemoveAt(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_UintVector_RemoveRange")] - public static extern void UintVector_RemoveRange(HandleRef jarg1, int jarg2, int jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_UintVector_Repeat")] - public static extern IntPtr UintVector_Repeat(uint jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_UintVector_Reverse__SWIG_0")] - public static extern void UintVector_Reverse__SWIG_0(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_UintVector_Reverse__SWIG_1")] - public static extern void UintVector_Reverse__SWIG_1(HandleRef jarg1, int jarg2, int jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_UintVector_SetRange")] - public static extern void UintVector_SetRange(HandleRef jarg1, int jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_UintVector_Contains")] - public static extern bool UintVector_Contains(HandleRef jarg1, uint jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_UintVector_IndexOf")] - public static extern int UintVector_IndexOf(HandleRef jarg1, uint jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_UintVector_LastIndexOf")] - public static extern int UintVector_LastIndexOf(HandleRef jarg1, uint jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_UintVector_Remove")] - public static extern bool UintVector_Remove(HandleRef jarg1, uint jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_delete_UintVector")] - public static extern void delete_UintVector(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiAnimationVector_Clear")] - public static extern void aiAnimationVector_Clear(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiAnimationVector_Add")] - public static extern void aiAnimationVector_Add(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiAnimationVector_size")] - public static extern uint aiAnimationVector_size(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiAnimationVector_capacity")] - public static extern uint aiAnimationVector_capacity(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiAnimationVector_reserve")] - public static extern void aiAnimationVector_reserve(HandleRef jarg1, uint jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiAnimationVector__SWIG_0")] - public static extern IntPtr new_aiAnimationVector__SWIG_0(); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiAnimationVector__SWIG_1")] - public static extern IntPtr new_aiAnimationVector__SWIG_1(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiAnimationVector__SWIG_2")] - public static extern IntPtr new_aiAnimationVector__SWIG_2(int jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiAnimationVector_getitemcopy")] - public static extern IntPtr aiAnimationVector_getitemcopy(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiAnimationVector_getitem")] - public static extern IntPtr aiAnimationVector_getitem(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiAnimationVector_setitem")] - public static extern void aiAnimationVector_setitem(HandleRef jarg1, int jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiAnimationVector_AddRange")] - public static extern void aiAnimationVector_AddRange(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiAnimationVector_GetRange")] - public static extern IntPtr aiAnimationVector_GetRange(HandleRef jarg1, int jarg2, int jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiAnimationVector_Insert")] - public static extern void aiAnimationVector_Insert(HandleRef jarg1, int jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiAnimationVector_InsertRange")] - public static extern void aiAnimationVector_InsertRange(HandleRef jarg1, int jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiAnimationVector_RemoveAt")] - public static extern void aiAnimationVector_RemoveAt(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiAnimationVector_RemoveRange")] - public static extern void aiAnimationVector_RemoveRange(HandleRef jarg1, int jarg2, int jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiAnimationVector_Repeat")] - public static extern IntPtr aiAnimationVector_Repeat(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiAnimationVector_Reverse__SWIG_0")] - public static extern void aiAnimationVector_Reverse__SWIG_0(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiAnimationVector_Reverse__SWIG_1")] - public static extern void aiAnimationVector_Reverse__SWIG_1(HandleRef jarg1, int jarg2, int jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiAnimationVector_SetRange")] - public static extern void aiAnimationVector_SetRange(HandleRef jarg1, int jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiAnimationVector_Contains")] - public static extern bool aiAnimationVector_Contains(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiAnimationVector_IndexOf")] - public static extern int aiAnimationVector_IndexOf(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiAnimationVector_LastIndexOf")] - public static extern int aiAnimationVector_LastIndexOf(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiAnimationVector_Remove")] - public static extern bool aiAnimationVector_Remove(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_delete_aiAnimationVector")] - public static extern void delete_aiAnimationVector(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiAnimMeshVector_Clear")] - public static extern void aiAnimMeshVector_Clear(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiAnimMeshVector_Add")] - public static extern void aiAnimMeshVector_Add(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiAnimMeshVector_size")] - public static extern uint aiAnimMeshVector_size(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiAnimMeshVector_capacity")] - public static extern uint aiAnimMeshVector_capacity(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiAnimMeshVector_reserve")] - public static extern void aiAnimMeshVector_reserve(HandleRef jarg1, uint jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiAnimMeshVector__SWIG_0")] - public static extern IntPtr new_aiAnimMeshVector__SWIG_0(); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiAnimMeshVector__SWIG_1")] - public static extern IntPtr new_aiAnimMeshVector__SWIG_1(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiAnimMeshVector__SWIG_2")] - public static extern IntPtr new_aiAnimMeshVector__SWIG_2(int jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiAnimMeshVector_getitemcopy")] - public static extern IntPtr aiAnimMeshVector_getitemcopy(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiAnimMeshVector_getitem")] - public static extern IntPtr aiAnimMeshVector_getitem(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiAnimMeshVector_setitem")] - public static extern void aiAnimMeshVector_setitem(HandleRef jarg1, int jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiAnimMeshVector_AddRange")] - public static extern void aiAnimMeshVector_AddRange(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiAnimMeshVector_GetRange")] - public static extern IntPtr aiAnimMeshVector_GetRange(HandleRef jarg1, int jarg2, int jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiAnimMeshVector_Insert")] - public static extern void aiAnimMeshVector_Insert(HandleRef jarg1, int jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiAnimMeshVector_InsertRange")] - public static extern void aiAnimMeshVector_InsertRange(HandleRef jarg1, int jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiAnimMeshVector_RemoveAt")] - public static extern void aiAnimMeshVector_RemoveAt(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiAnimMeshVector_RemoveRange")] - public static extern void aiAnimMeshVector_RemoveRange(HandleRef jarg1, int jarg2, int jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiAnimMeshVector_Repeat")] - public static extern IntPtr aiAnimMeshVector_Repeat(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiAnimMeshVector_Reverse__SWIG_0")] - public static extern void aiAnimMeshVector_Reverse__SWIG_0(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiAnimMeshVector_Reverse__SWIG_1")] - public static extern void aiAnimMeshVector_Reverse__SWIG_1(HandleRef jarg1, int jarg2, int jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiAnimMeshVector_SetRange")] - public static extern void aiAnimMeshVector_SetRange(HandleRef jarg1, int jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiAnimMeshVector_Contains")] - public static extern bool aiAnimMeshVector_Contains(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiAnimMeshVector_IndexOf")] - public static extern int aiAnimMeshVector_IndexOf(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiAnimMeshVector_LastIndexOf")] - public static extern int aiAnimMeshVector_LastIndexOf(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiAnimMeshVector_Remove")] - public static extern bool aiAnimMeshVector_Remove(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_delete_aiAnimMeshVector")] - public static extern void delete_aiAnimMeshVector(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiBoneVector_Clear")] - public static extern void aiBoneVector_Clear(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiBoneVector_Add")] - public static extern void aiBoneVector_Add(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiBoneVector_size")] - public static extern uint aiBoneVector_size(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiBoneVector_capacity")] - public static extern uint aiBoneVector_capacity(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiBoneVector_reserve")] - public static extern void aiBoneVector_reserve(HandleRef jarg1, uint jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiBoneVector__SWIG_0")] - public static extern IntPtr new_aiBoneVector__SWIG_0(); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiBoneVector__SWIG_1")] - public static extern IntPtr new_aiBoneVector__SWIG_1(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiBoneVector__SWIG_2")] - public static extern IntPtr new_aiBoneVector__SWIG_2(int jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiBoneVector_getitemcopy")] - public static extern IntPtr aiBoneVector_getitemcopy(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiBoneVector_getitem")] - public static extern IntPtr aiBoneVector_getitem(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiBoneVector_setitem")] - public static extern void aiBoneVector_setitem(HandleRef jarg1, int jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiBoneVector_AddRange")] - public static extern void aiBoneVector_AddRange(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiBoneVector_GetRange")] - public static extern IntPtr aiBoneVector_GetRange(HandleRef jarg1, int jarg2, int jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiBoneVector_Insert")] - public static extern void aiBoneVector_Insert(HandleRef jarg1, int jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiBoneVector_InsertRange")] - public static extern void aiBoneVector_InsertRange(HandleRef jarg1, int jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiBoneVector_RemoveAt")] - public static extern void aiBoneVector_RemoveAt(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiBoneVector_RemoveRange")] - public static extern void aiBoneVector_RemoveRange(HandleRef jarg1, int jarg2, int jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiBoneVector_Repeat")] - public static extern IntPtr aiBoneVector_Repeat(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiBoneVector_Reverse__SWIG_0")] - public static extern void aiBoneVector_Reverse__SWIG_0(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiBoneVector_Reverse__SWIG_1")] - public static extern void aiBoneVector_Reverse__SWIG_1(HandleRef jarg1, int jarg2, int jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiBoneVector_SetRange")] - public static extern void aiBoneVector_SetRange(HandleRef jarg1, int jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiBoneVector_Contains")] - public static extern bool aiBoneVector_Contains(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiBoneVector_IndexOf")] - public static extern int aiBoneVector_IndexOf(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiBoneVector_LastIndexOf")] - public static extern int aiBoneVector_LastIndexOf(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiBoneVector_Remove")] - public static extern bool aiBoneVector_Remove(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_delete_aiBoneVector")] - public static extern void delete_aiBoneVector(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiCameraVector_Clear")] - public static extern void aiCameraVector_Clear(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiCameraVector_Add")] - public static extern void aiCameraVector_Add(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiCameraVector_size")] - public static extern uint aiCameraVector_size(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiCameraVector_capacity")] - public static extern uint aiCameraVector_capacity(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiCameraVector_reserve")] - public static extern void aiCameraVector_reserve(HandleRef jarg1, uint jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiCameraVector__SWIG_0")] - public static extern IntPtr new_aiCameraVector__SWIG_0(); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiCameraVector__SWIG_1")] - public static extern IntPtr new_aiCameraVector__SWIG_1(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiCameraVector__SWIG_2")] - public static extern IntPtr new_aiCameraVector__SWIG_2(int jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiCameraVector_getitemcopy")] - public static extern IntPtr aiCameraVector_getitemcopy(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiCameraVector_getitem")] - public static extern IntPtr aiCameraVector_getitem(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiCameraVector_setitem")] - public static extern void aiCameraVector_setitem(HandleRef jarg1, int jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiCameraVector_AddRange")] - public static extern void aiCameraVector_AddRange(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiCameraVector_GetRange")] - public static extern IntPtr aiCameraVector_GetRange(HandleRef jarg1, int jarg2, int jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiCameraVector_Insert")] - public static extern void aiCameraVector_Insert(HandleRef jarg1, int jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiCameraVector_InsertRange")] - public static extern void aiCameraVector_InsertRange(HandleRef jarg1, int jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiCameraVector_RemoveAt")] - public static extern void aiCameraVector_RemoveAt(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiCameraVector_RemoveRange")] - public static extern void aiCameraVector_RemoveRange(HandleRef jarg1, int jarg2, int jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiCameraVector_Repeat")] - public static extern IntPtr aiCameraVector_Repeat(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiCameraVector_Reverse__SWIG_0")] - public static extern void aiCameraVector_Reverse__SWIG_0(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiCameraVector_Reverse__SWIG_1")] - public static extern void aiCameraVector_Reverse__SWIG_1(HandleRef jarg1, int jarg2, int jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiCameraVector_SetRange")] - public static extern void aiCameraVector_SetRange(HandleRef jarg1, int jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiCameraVector_Contains")] - public static extern bool aiCameraVector_Contains(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiCameraVector_IndexOf")] - public static extern int aiCameraVector_IndexOf(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiCameraVector_LastIndexOf")] - public static extern int aiCameraVector_LastIndexOf(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiCameraVector_Remove")] - public static extern bool aiCameraVector_Remove(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_delete_aiCameraVector")] - public static extern void delete_aiCameraVector(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiColor4DVectorVector_Clear")] - public static extern void aiColor4DVectorVector_Clear(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiColor4DVectorVector_Add")] - public static extern void aiColor4DVectorVector_Add(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiColor4DVectorVector_size")] - public static extern uint aiColor4DVectorVector_size(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiColor4DVectorVector_capacity")] - public static extern uint aiColor4DVectorVector_capacity(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiColor4DVectorVector_reserve")] - public static extern void aiColor4DVectorVector_reserve(HandleRef jarg1, uint jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiColor4DVectorVector__SWIG_0")] - public static extern IntPtr new_aiColor4DVectorVector__SWIG_0(); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiColor4DVectorVector__SWIG_1")] - public static extern IntPtr new_aiColor4DVectorVector__SWIG_1(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiColor4DVectorVector__SWIG_2")] - public static extern IntPtr new_aiColor4DVectorVector__SWIG_2(int jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiColor4DVectorVector_getitemcopy")] - public static extern IntPtr aiColor4DVectorVector_getitemcopy(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiColor4DVectorVector_getitem")] - public static extern IntPtr aiColor4DVectorVector_getitem(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiColor4DVectorVector_setitem")] - public static extern void aiColor4DVectorVector_setitem(HandleRef jarg1, int jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiColor4DVectorVector_AddRange")] - public static extern void aiColor4DVectorVector_AddRange(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiColor4DVectorVector_GetRange")] - public static extern IntPtr aiColor4DVectorVector_GetRange(HandleRef jarg1, int jarg2, int jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiColor4DVectorVector_Insert")] - public static extern void aiColor4DVectorVector_Insert(HandleRef jarg1, int jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiColor4DVectorVector_InsertRange")] - public static extern void aiColor4DVectorVector_InsertRange(HandleRef jarg1, int jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiColor4DVectorVector_RemoveAt")] - public static extern void aiColor4DVectorVector_RemoveAt(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiColor4DVectorVector_RemoveRange")] - public static extern void aiColor4DVectorVector_RemoveRange(HandleRef jarg1, int jarg2, int jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiColor4DVectorVector_Repeat")] - public static extern IntPtr aiColor4DVectorVector_Repeat(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiColor4DVectorVector_Reverse__SWIG_0")] - public static extern void aiColor4DVectorVector_Reverse__SWIG_0(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiColor4DVectorVector_Reverse__SWIG_1")] - public static extern void aiColor4DVectorVector_Reverse__SWIG_1(HandleRef jarg1, int jarg2, int jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiColor4DVectorVector_SetRange")] - public static extern void aiColor4DVectorVector_SetRange(HandleRef jarg1, int jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_delete_aiColor4DVectorVector")] - public static extern void delete_aiColor4DVectorVector(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiColor4DVector_Clear")] - public static extern void aiColor4DVector_Clear(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiColor4DVector_Add")] - public static extern void aiColor4DVector_Add(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiColor4DVector_size")] - public static extern uint aiColor4DVector_size(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiColor4DVector_capacity")] - public static extern uint aiColor4DVector_capacity(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiColor4DVector_reserve")] - public static extern void aiColor4DVector_reserve(HandleRef jarg1, uint jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiColor4DVector__SWIG_0")] - public static extern IntPtr new_aiColor4DVector__SWIG_0(); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiColor4DVector__SWIG_1")] - public static extern IntPtr new_aiColor4DVector__SWIG_1(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiColor4DVector__SWIG_2")] - public static extern IntPtr new_aiColor4DVector__SWIG_2(int jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiColor4DVector_getitemcopy")] - public static extern IntPtr aiColor4DVector_getitemcopy(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiColor4DVector_getitem")] - public static extern IntPtr aiColor4DVector_getitem(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiColor4DVector_setitem")] - public static extern void aiColor4DVector_setitem(HandleRef jarg1, int jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiColor4DVector_AddRange")] - public static extern void aiColor4DVector_AddRange(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiColor4DVector_GetRange")] - public static extern IntPtr aiColor4DVector_GetRange(HandleRef jarg1, int jarg2, int jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiColor4DVector_Insert")] - public static extern void aiColor4DVector_Insert(HandleRef jarg1, int jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiColor4DVector_InsertRange")] - public static extern void aiColor4DVector_InsertRange(HandleRef jarg1, int jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiColor4DVector_RemoveAt")] - public static extern void aiColor4DVector_RemoveAt(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiColor4DVector_RemoveRange")] - public static extern void aiColor4DVector_RemoveRange(HandleRef jarg1, int jarg2, int jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiColor4DVector_Repeat")] - public static extern IntPtr aiColor4DVector_Repeat(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiColor4DVector_Reverse__SWIG_0")] - public static extern void aiColor4DVector_Reverse__SWIG_0(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiColor4DVector_Reverse__SWIG_1")] - public static extern void aiColor4DVector_Reverse__SWIG_1(HandleRef jarg1, int jarg2, int jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiColor4DVector_SetRange")] - public static extern void aiColor4DVector_SetRange(HandleRef jarg1, int jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiColor4DVector_Contains")] - public static extern bool aiColor4DVector_Contains(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiColor4DVector_IndexOf")] - public static extern int aiColor4DVector_IndexOf(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiColor4DVector_LastIndexOf")] - public static extern int aiColor4DVector_LastIndexOf(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiColor4DVector_Remove")] - public static extern bool aiColor4DVector_Remove(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_delete_aiColor4DVector")] - public static extern void delete_aiColor4DVector(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiFaceVector_Clear")] - public static extern void aiFaceVector_Clear(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiFaceVector_Add")] - public static extern void aiFaceVector_Add(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiFaceVector_size")] - public static extern uint aiFaceVector_size(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiFaceVector_capacity")] - public static extern uint aiFaceVector_capacity(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiFaceVector_reserve")] - public static extern void aiFaceVector_reserve(HandleRef jarg1, uint jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiFaceVector__SWIG_0")] - public static extern IntPtr new_aiFaceVector__SWIG_0(); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiFaceVector__SWIG_1")] - public static extern IntPtr new_aiFaceVector__SWIG_1(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiFaceVector__SWIG_2")] - public static extern IntPtr new_aiFaceVector__SWIG_2(int jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiFaceVector_getitemcopy")] - public static extern IntPtr aiFaceVector_getitemcopy(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiFaceVector_getitem")] - public static extern IntPtr aiFaceVector_getitem(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiFaceVector_setitem")] - public static extern void aiFaceVector_setitem(HandleRef jarg1, int jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiFaceVector_AddRange")] - public static extern void aiFaceVector_AddRange(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiFaceVector_GetRange")] - public static extern IntPtr aiFaceVector_GetRange(HandleRef jarg1, int jarg2, int jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiFaceVector_Insert")] - public static extern void aiFaceVector_Insert(HandleRef jarg1, int jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiFaceVector_InsertRange")] - public static extern void aiFaceVector_InsertRange(HandleRef jarg1, int jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiFaceVector_RemoveAt")] - public static extern void aiFaceVector_RemoveAt(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiFaceVector_RemoveRange")] - public static extern void aiFaceVector_RemoveRange(HandleRef jarg1, int jarg2, int jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiFaceVector_Repeat")] - public static extern IntPtr aiFaceVector_Repeat(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiFaceVector_Reverse__SWIG_0")] - public static extern void aiFaceVector_Reverse__SWIG_0(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiFaceVector_Reverse__SWIG_1")] - public static extern void aiFaceVector_Reverse__SWIG_1(HandleRef jarg1, int jarg2, int jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiFaceVector_SetRange")] - public static extern void aiFaceVector_SetRange(HandleRef jarg1, int jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiFaceVector_Contains")] - public static extern bool aiFaceVector_Contains(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiFaceVector_IndexOf")] - public static extern int aiFaceVector_IndexOf(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiFaceVector_LastIndexOf")] - public static extern int aiFaceVector_LastIndexOf(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiFaceVector_Remove")] - public static extern bool aiFaceVector_Remove(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_delete_aiFaceVector")] - public static extern void delete_aiFaceVector(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiLightVector_Clear")] - public static extern void aiLightVector_Clear(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiLightVector_Add")] - public static extern void aiLightVector_Add(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiLightVector_size")] - public static extern uint aiLightVector_size(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiLightVector_capacity")] - public static extern uint aiLightVector_capacity(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiLightVector_reserve")] - public static extern void aiLightVector_reserve(HandleRef jarg1, uint jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiLightVector__SWIG_0")] - public static extern IntPtr new_aiLightVector__SWIG_0(); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiLightVector__SWIG_1")] - public static extern IntPtr new_aiLightVector__SWIG_1(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiLightVector__SWIG_2")] - public static extern IntPtr new_aiLightVector__SWIG_2(int jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiLightVector_getitemcopy")] - public static extern IntPtr aiLightVector_getitemcopy(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiLightVector_getitem")] - public static extern IntPtr aiLightVector_getitem(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiLightVector_setitem")] - public static extern void aiLightVector_setitem(HandleRef jarg1, int jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiLightVector_AddRange")] - public static extern void aiLightVector_AddRange(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiLightVector_GetRange")] - public static extern IntPtr aiLightVector_GetRange(HandleRef jarg1, int jarg2, int jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiLightVector_Insert")] - public static extern void aiLightVector_Insert(HandleRef jarg1, int jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiLightVector_InsertRange")] - public static extern void aiLightVector_InsertRange(HandleRef jarg1, int jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiLightVector_RemoveAt")] - public static extern void aiLightVector_RemoveAt(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiLightVector_RemoveRange")] - public static extern void aiLightVector_RemoveRange(HandleRef jarg1, int jarg2, int jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiLightVector_Repeat")] - public static extern IntPtr aiLightVector_Repeat(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiLightVector_Reverse__SWIG_0")] - public static extern void aiLightVector_Reverse__SWIG_0(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiLightVector_Reverse__SWIG_1")] - public static extern void aiLightVector_Reverse__SWIG_1(HandleRef jarg1, int jarg2, int jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiLightVector_SetRange")] - public static extern void aiLightVector_SetRange(HandleRef jarg1, int jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiLightVector_Contains")] - public static extern bool aiLightVector_Contains(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiLightVector_IndexOf")] - public static extern int aiLightVector_IndexOf(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiLightVector_LastIndexOf")] - public static extern int aiLightVector_LastIndexOf(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiLightVector_Remove")] - public static extern bool aiLightVector_Remove(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_delete_aiLightVector")] - public static extern void delete_aiLightVector(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMaterialVector_Clear")] - public static extern void aiMaterialVector_Clear(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMaterialVector_Add")] - public static extern void aiMaterialVector_Add(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMaterialVector_size")] - public static extern uint aiMaterialVector_size(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMaterialVector_capacity")] - public static extern uint aiMaterialVector_capacity(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMaterialVector_reserve")] - public static extern void aiMaterialVector_reserve(HandleRef jarg1, uint jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiMaterialVector__SWIG_0")] - public static extern IntPtr new_aiMaterialVector__SWIG_0(); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiMaterialVector__SWIG_1")] - public static extern IntPtr new_aiMaterialVector__SWIG_1(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiMaterialVector__SWIG_2")] - public static extern IntPtr new_aiMaterialVector__SWIG_2(int jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMaterialVector_getitemcopy")] - public static extern IntPtr aiMaterialVector_getitemcopy(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMaterialVector_getitem")] - public static extern IntPtr aiMaterialVector_getitem(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMaterialVector_setitem")] - public static extern void aiMaterialVector_setitem(HandleRef jarg1, int jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiMaterialVector_AddRange")] - public static extern void aiMaterialVector_AddRange(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMaterialVector_GetRange")] - public static extern IntPtr aiMaterialVector_GetRange(HandleRef jarg1, int jarg2, int jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiMaterialVector_Insert")] - public static extern void aiMaterialVector_Insert(HandleRef jarg1, int jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiMaterialVector_InsertRange")] - public static extern void aiMaterialVector_InsertRange(HandleRef jarg1, int jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiMaterialVector_RemoveAt")] - public static extern void aiMaterialVector_RemoveAt(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMaterialVector_RemoveRange")] - public static extern void aiMaterialVector_RemoveRange(HandleRef jarg1, int jarg2, int jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiMaterialVector_Repeat")] - public static extern IntPtr aiMaterialVector_Repeat(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMaterialVector_Reverse__SWIG_0")] - public static extern void aiMaterialVector_Reverse__SWIG_0(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMaterialVector_Reverse__SWIG_1")] - public static extern void aiMaterialVector_Reverse__SWIG_1(HandleRef jarg1, int jarg2, int jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiMaterialVector_SetRange")] - public static extern void aiMaterialVector_SetRange(HandleRef jarg1, int jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiMaterialVector_Contains")] - public static extern bool aiMaterialVector_Contains(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMaterialVector_IndexOf")] - public static extern int aiMaterialVector_IndexOf(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMaterialVector_LastIndexOf")] - public static extern int aiMaterialVector_LastIndexOf(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMaterialVector_Remove")] - public static extern bool aiMaterialVector_Remove(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_delete_aiMaterialVector")] - public static extern void delete_aiMaterialVector(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMeshAnimVector_Clear")] - public static extern void aiMeshAnimVector_Clear(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMeshAnimVector_Add")] - public static extern void aiMeshAnimVector_Add(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMeshAnimVector_size")] - public static extern uint aiMeshAnimVector_size(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMeshAnimVector_capacity")] - public static extern uint aiMeshAnimVector_capacity(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMeshAnimVector_reserve")] - public static extern void aiMeshAnimVector_reserve(HandleRef jarg1, uint jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiMeshAnimVector__SWIG_0")] - public static extern IntPtr new_aiMeshAnimVector__SWIG_0(); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiMeshAnimVector__SWIG_1")] - public static extern IntPtr new_aiMeshAnimVector__SWIG_1(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiMeshAnimVector__SWIG_2")] - public static extern IntPtr new_aiMeshAnimVector__SWIG_2(int jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMeshAnimVector_getitemcopy")] - public static extern IntPtr aiMeshAnimVector_getitemcopy(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMeshAnimVector_getitem")] - public static extern IntPtr aiMeshAnimVector_getitem(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMeshAnimVector_setitem")] - public static extern void aiMeshAnimVector_setitem(HandleRef jarg1, int jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiMeshAnimVector_AddRange")] - public static extern void aiMeshAnimVector_AddRange(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMeshAnimVector_GetRange")] - public static extern IntPtr aiMeshAnimVector_GetRange(HandleRef jarg1, int jarg2, int jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiMeshAnimVector_Insert")] - public static extern void aiMeshAnimVector_Insert(HandleRef jarg1, int jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiMeshAnimVector_InsertRange")] - public static extern void aiMeshAnimVector_InsertRange(HandleRef jarg1, int jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiMeshAnimVector_RemoveAt")] - public static extern void aiMeshAnimVector_RemoveAt(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMeshAnimVector_RemoveRange")] - public static extern void aiMeshAnimVector_RemoveRange(HandleRef jarg1, int jarg2, int jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiMeshAnimVector_Repeat")] - public static extern IntPtr aiMeshAnimVector_Repeat(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMeshAnimVector_Reverse__SWIG_0")] - public static extern void aiMeshAnimVector_Reverse__SWIG_0(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMeshAnimVector_Reverse__SWIG_1")] - public static extern void aiMeshAnimVector_Reverse__SWIG_1(HandleRef jarg1, int jarg2, int jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiMeshAnimVector_SetRange")] - public static extern void aiMeshAnimVector_SetRange(HandleRef jarg1, int jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiMeshAnimVector_Contains")] - public static extern bool aiMeshAnimVector_Contains(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMeshAnimVector_IndexOf")] - public static extern int aiMeshAnimVector_IndexOf(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMeshAnimVector_LastIndexOf")] - public static extern int aiMeshAnimVector_LastIndexOf(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMeshAnimVector_Remove")] - public static extern bool aiMeshAnimVector_Remove(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_delete_aiMeshAnimVector")] - public static extern void delete_aiMeshAnimVector(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMeshKeyVector_Clear")] - public static extern void aiMeshKeyVector_Clear(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMeshKeyVector_Add")] - public static extern void aiMeshKeyVector_Add(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMeshKeyVector_size")] - public static extern uint aiMeshKeyVector_size(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMeshKeyVector_capacity")] - public static extern uint aiMeshKeyVector_capacity(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMeshKeyVector_reserve")] - public static extern void aiMeshKeyVector_reserve(HandleRef jarg1, uint jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiMeshKeyVector__SWIG_0")] - public static extern IntPtr new_aiMeshKeyVector__SWIG_0(); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiMeshKeyVector__SWIG_1")] - public static extern IntPtr new_aiMeshKeyVector__SWIG_1(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiMeshKeyVector__SWIG_2")] - public static extern IntPtr new_aiMeshKeyVector__SWIG_2(int jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMeshKeyVector_getitemcopy")] - public static extern IntPtr aiMeshKeyVector_getitemcopy(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMeshKeyVector_getitem")] - public static extern IntPtr aiMeshKeyVector_getitem(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMeshKeyVector_setitem")] - public static extern void aiMeshKeyVector_setitem(HandleRef jarg1, int jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiMeshKeyVector_AddRange")] - public static extern void aiMeshKeyVector_AddRange(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMeshKeyVector_GetRange")] - public static extern IntPtr aiMeshKeyVector_GetRange(HandleRef jarg1, int jarg2, int jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiMeshKeyVector_Insert")] - public static extern void aiMeshKeyVector_Insert(HandleRef jarg1, int jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiMeshKeyVector_InsertRange")] - public static extern void aiMeshKeyVector_InsertRange(HandleRef jarg1, int jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiMeshKeyVector_RemoveAt")] - public static extern void aiMeshKeyVector_RemoveAt(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMeshKeyVector_RemoveRange")] - public static extern void aiMeshKeyVector_RemoveRange(HandleRef jarg1, int jarg2, int jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiMeshKeyVector_Repeat")] - public static extern IntPtr aiMeshKeyVector_Repeat(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMeshKeyVector_Reverse__SWIG_0")] - public static extern void aiMeshKeyVector_Reverse__SWIG_0(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMeshKeyVector_Reverse__SWIG_1")] - public static extern void aiMeshKeyVector_Reverse__SWIG_1(HandleRef jarg1, int jarg2, int jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiMeshKeyVector_SetRange")] - public static extern void aiMeshKeyVector_SetRange(HandleRef jarg1, int jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiMeshKeyVector_Contains")] - public static extern bool aiMeshKeyVector_Contains(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMeshKeyVector_IndexOf")] - public static extern int aiMeshKeyVector_IndexOf(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMeshKeyVector_LastIndexOf")] - public static extern int aiMeshKeyVector_LastIndexOf(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMeshKeyVector_Remove")] - public static extern bool aiMeshKeyVector_Remove(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_delete_aiMeshKeyVector")] - public static extern void delete_aiMeshKeyVector(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMeshVector_Clear")] - public static extern void aiMeshVector_Clear(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMeshVector_Add")] - public static extern void aiMeshVector_Add(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMeshVector_size")] - public static extern uint aiMeshVector_size(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMeshVector_capacity")] - public static extern uint aiMeshVector_capacity(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMeshVector_reserve")] - public static extern void aiMeshVector_reserve(HandleRef jarg1, uint jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiMeshVector__SWIG_0")] - public static extern IntPtr new_aiMeshVector__SWIG_0(); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiMeshVector__SWIG_1")] - public static extern IntPtr new_aiMeshVector__SWIG_1(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiMeshVector__SWIG_2")] - public static extern IntPtr new_aiMeshVector__SWIG_2(int jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMeshVector_getitemcopy")] - public static extern IntPtr aiMeshVector_getitemcopy(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMeshVector_getitem")] - public static extern IntPtr aiMeshVector_getitem(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMeshVector_setitem")] - public static extern void aiMeshVector_setitem(HandleRef jarg1, int jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiMeshVector_AddRange")] - public static extern void aiMeshVector_AddRange(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMeshVector_GetRange")] - public static extern IntPtr aiMeshVector_GetRange(HandleRef jarg1, int jarg2, int jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiMeshVector_Insert")] - public static extern void aiMeshVector_Insert(HandleRef jarg1, int jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiMeshVector_InsertRange")] - public static extern void aiMeshVector_InsertRange(HandleRef jarg1, int jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiMeshVector_RemoveAt")] - public static extern void aiMeshVector_RemoveAt(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMeshVector_RemoveRange")] - public static extern void aiMeshVector_RemoveRange(HandleRef jarg1, int jarg2, int jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiMeshVector_Repeat")] - public static extern IntPtr aiMeshVector_Repeat(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMeshVector_Reverse__SWIG_0")] - public static extern void aiMeshVector_Reverse__SWIG_0(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMeshVector_Reverse__SWIG_1")] - public static extern void aiMeshVector_Reverse__SWIG_1(HandleRef jarg1, int jarg2, int jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiMeshVector_SetRange")] - public static extern void aiMeshVector_SetRange(HandleRef jarg1, int jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiMeshVector_Contains")] - public static extern bool aiMeshVector_Contains(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMeshVector_IndexOf")] - public static extern int aiMeshVector_IndexOf(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMeshVector_LastIndexOf")] - public static extern int aiMeshVector_LastIndexOf(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMeshVector_Remove")] - public static extern bool aiMeshVector_Remove(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_delete_aiMeshVector")] - public static extern void delete_aiMeshVector(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiNodeVector_Clear")] - public static extern void aiNodeVector_Clear(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiNodeVector_Add")] - public static extern void aiNodeVector_Add(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiNodeVector_size")] - public static extern uint aiNodeVector_size(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiNodeVector_capacity")] - public static extern uint aiNodeVector_capacity(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiNodeVector_reserve")] - public static extern void aiNodeVector_reserve(HandleRef jarg1, uint jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiNodeVector__SWIG_0")] - public static extern IntPtr new_aiNodeVector__SWIG_0(); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiNodeVector__SWIG_1")] - public static extern IntPtr new_aiNodeVector__SWIG_1(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiNodeVector__SWIG_2")] - public static extern IntPtr new_aiNodeVector__SWIG_2(int jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiNodeVector_getitemcopy")] - public static extern IntPtr aiNodeVector_getitemcopy(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiNodeVector_getitem")] - public static extern IntPtr aiNodeVector_getitem(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiNodeVector_setitem")] - public static extern void aiNodeVector_setitem(HandleRef jarg1, int jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiNodeVector_AddRange")] - public static extern void aiNodeVector_AddRange(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiNodeVector_GetRange")] - public static extern IntPtr aiNodeVector_GetRange(HandleRef jarg1, int jarg2, int jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiNodeVector_Insert")] - public static extern void aiNodeVector_Insert(HandleRef jarg1, int jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiNodeVector_InsertRange")] - public static extern void aiNodeVector_InsertRange(HandleRef jarg1, int jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiNodeVector_RemoveAt")] - public static extern void aiNodeVector_RemoveAt(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiNodeVector_RemoveRange")] - public static extern void aiNodeVector_RemoveRange(HandleRef jarg1, int jarg2, int jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiNodeVector_Repeat")] - public static extern IntPtr aiNodeVector_Repeat(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiNodeVector_Reverse__SWIG_0")] - public static extern void aiNodeVector_Reverse__SWIG_0(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiNodeVector_Reverse__SWIG_1")] - public static extern void aiNodeVector_Reverse__SWIG_1(HandleRef jarg1, int jarg2, int jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiNodeVector_SetRange")] - public static extern void aiNodeVector_SetRange(HandleRef jarg1, int jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiNodeVector_Contains")] - public static extern bool aiNodeVector_Contains(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiNodeVector_IndexOf")] - public static extern int aiNodeVector_IndexOf(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiNodeVector_LastIndexOf")] - public static extern int aiNodeVector_LastIndexOf(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiNodeVector_Remove")] - public static extern bool aiNodeVector_Remove(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_delete_aiNodeVector")] - public static extern void delete_aiNodeVector(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiNodeAnimVector_Clear")] - public static extern void aiNodeAnimVector_Clear(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiNodeAnimVector_Add")] - public static extern void aiNodeAnimVector_Add(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiNodeAnimVector_size")] - public static extern uint aiNodeAnimVector_size(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiNodeAnimVector_capacity")] - public static extern uint aiNodeAnimVector_capacity(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiNodeAnimVector_reserve")] - public static extern void aiNodeAnimVector_reserve(HandleRef jarg1, uint jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiNodeAnimVector__SWIG_0")] - public static extern IntPtr new_aiNodeAnimVector__SWIG_0(); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiNodeAnimVector__SWIG_1")] - public static extern IntPtr new_aiNodeAnimVector__SWIG_1(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiNodeAnimVector__SWIG_2")] - public static extern IntPtr new_aiNodeAnimVector__SWIG_2(int jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiNodeAnimVector_getitemcopy")] - public static extern IntPtr aiNodeAnimVector_getitemcopy(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiNodeAnimVector_getitem")] - public static extern IntPtr aiNodeAnimVector_getitem(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiNodeAnimVector_setitem")] - public static extern void aiNodeAnimVector_setitem(HandleRef jarg1, int jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiNodeAnimVector_AddRange")] - public static extern void aiNodeAnimVector_AddRange(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiNodeAnimVector_GetRange")] - public static extern IntPtr aiNodeAnimVector_GetRange(HandleRef jarg1, int jarg2, int jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiNodeAnimVector_Insert")] - public static extern void aiNodeAnimVector_Insert(HandleRef jarg1, int jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiNodeAnimVector_InsertRange")] - public static extern void aiNodeAnimVector_InsertRange(HandleRef jarg1, int jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiNodeAnimVector_RemoveAt")] - public static extern void aiNodeAnimVector_RemoveAt(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiNodeAnimVector_RemoveRange")] - public static extern void aiNodeAnimVector_RemoveRange(HandleRef jarg1, int jarg2, int jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiNodeAnimVector_Repeat")] - public static extern IntPtr aiNodeAnimVector_Repeat(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiNodeAnimVector_Reverse__SWIG_0")] - public static extern void aiNodeAnimVector_Reverse__SWIG_0(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiNodeAnimVector_Reverse__SWIG_1")] - public static extern void aiNodeAnimVector_Reverse__SWIG_1(HandleRef jarg1, int jarg2, int jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiNodeAnimVector_SetRange")] - public static extern void aiNodeAnimVector_SetRange(HandleRef jarg1, int jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiNodeAnimVector_Contains")] - public static extern bool aiNodeAnimVector_Contains(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiNodeAnimVector_IndexOf")] - public static extern int aiNodeAnimVector_IndexOf(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiNodeAnimVector_LastIndexOf")] - public static extern int aiNodeAnimVector_LastIndexOf(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiNodeAnimVector_Remove")] - public static extern bool aiNodeAnimVector_Remove(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_delete_aiNodeAnimVector")] - public static extern void delete_aiNodeAnimVector(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiQuatKeyVector_Clear")] - public static extern void aiQuatKeyVector_Clear(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiQuatKeyVector_Add")] - public static extern void aiQuatKeyVector_Add(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiQuatKeyVector_size")] - public static extern uint aiQuatKeyVector_size(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiQuatKeyVector_capacity")] - public static extern uint aiQuatKeyVector_capacity(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiQuatKeyVector_reserve")] - public static extern void aiQuatKeyVector_reserve(HandleRef jarg1, uint jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiQuatKeyVector__SWIG_0")] - public static extern IntPtr new_aiQuatKeyVector__SWIG_0(); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiQuatKeyVector__SWIG_1")] - public static extern IntPtr new_aiQuatKeyVector__SWIG_1(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiQuatKeyVector__SWIG_2")] - public static extern IntPtr new_aiQuatKeyVector__SWIG_2(int jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiQuatKeyVector_getitemcopy")] - public static extern IntPtr aiQuatKeyVector_getitemcopy(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiQuatKeyVector_getitem")] - public static extern IntPtr aiQuatKeyVector_getitem(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiQuatKeyVector_setitem")] - public static extern void aiQuatKeyVector_setitem(HandleRef jarg1, int jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiQuatKeyVector_AddRange")] - public static extern void aiQuatKeyVector_AddRange(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiQuatKeyVector_GetRange")] - public static extern IntPtr aiQuatKeyVector_GetRange(HandleRef jarg1, int jarg2, int jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiQuatKeyVector_Insert")] - public static extern void aiQuatKeyVector_Insert(HandleRef jarg1, int jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiQuatKeyVector_InsertRange")] - public static extern void aiQuatKeyVector_InsertRange(HandleRef jarg1, int jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiQuatKeyVector_RemoveAt")] - public static extern void aiQuatKeyVector_RemoveAt(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiQuatKeyVector_RemoveRange")] - public static extern void aiQuatKeyVector_RemoveRange(HandleRef jarg1, int jarg2, int jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiQuatKeyVector_Repeat")] - public static extern IntPtr aiQuatKeyVector_Repeat(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiQuatKeyVector_Reverse__SWIG_0")] - public static extern void aiQuatKeyVector_Reverse__SWIG_0(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiQuatKeyVector_Reverse__SWIG_1")] - public static extern void aiQuatKeyVector_Reverse__SWIG_1(HandleRef jarg1, int jarg2, int jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiQuatKeyVector_SetRange")] - public static extern void aiQuatKeyVector_SetRange(HandleRef jarg1, int jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiQuatKeyVector_Contains")] - public static extern bool aiQuatKeyVector_Contains(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiQuatKeyVector_IndexOf")] - public static extern int aiQuatKeyVector_IndexOf(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiQuatKeyVector_LastIndexOf")] - public static extern int aiQuatKeyVector_LastIndexOf(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiQuatKeyVector_Remove")] - public static extern bool aiQuatKeyVector_Remove(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_delete_aiQuatKeyVector")] - public static extern void delete_aiQuatKeyVector(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiTextureVector_Clear")] - public static extern void aiTextureVector_Clear(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiTextureVector_Add")] - public static extern void aiTextureVector_Add(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiTextureVector_size")] - public static extern uint aiTextureVector_size(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiTextureVector_capacity")] - public static extern uint aiTextureVector_capacity(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiTextureVector_reserve")] - public static extern void aiTextureVector_reserve(HandleRef jarg1, uint jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiTextureVector__SWIG_0")] - public static extern IntPtr new_aiTextureVector__SWIG_0(); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiTextureVector__SWIG_1")] - public static extern IntPtr new_aiTextureVector__SWIG_1(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiTextureVector__SWIG_2")] - public static extern IntPtr new_aiTextureVector__SWIG_2(int jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiTextureVector_getitemcopy")] - public static extern IntPtr aiTextureVector_getitemcopy(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiTextureVector_getitem")] - public static extern IntPtr aiTextureVector_getitem(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiTextureVector_setitem")] - public static extern void aiTextureVector_setitem(HandleRef jarg1, int jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiTextureVector_AddRange")] - public static extern void aiTextureVector_AddRange(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiTextureVector_GetRange")] - public static extern IntPtr aiTextureVector_GetRange(HandleRef jarg1, int jarg2, int jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiTextureVector_Insert")] - public static extern void aiTextureVector_Insert(HandleRef jarg1, int jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiTextureVector_InsertRange")] - public static extern void aiTextureVector_InsertRange(HandleRef jarg1, int jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiTextureVector_RemoveAt")] - public static extern void aiTextureVector_RemoveAt(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiTextureVector_RemoveRange")] - public static extern void aiTextureVector_RemoveRange(HandleRef jarg1, int jarg2, int jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiTextureVector_Repeat")] - public static extern IntPtr aiTextureVector_Repeat(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiTextureVector_Reverse__SWIG_0")] - public static extern void aiTextureVector_Reverse__SWIG_0(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiTextureVector_Reverse__SWIG_1")] - public static extern void aiTextureVector_Reverse__SWIG_1(HandleRef jarg1, int jarg2, int jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiTextureVector_SetRange")] - public static extern void aiTextureVector_SetRange(HandleRef jarg1, int jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiTextureVector_Contains")] - public static extern bool aiTextureVector_Contains(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiTextureVector_IndexOf")] - public static extern int aiTextureVector_IndexOf(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiTextureVector_LastIndexOf")] - public static extern int aiTextureVector_LastIndexOf(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiTextureVector_Remove")] - public static extern bool aiTextureVector_Remove(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_delete_aiTextureVector")] - public static extern void delete_aiTextureVector(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiVector3DVector_Clear")] - public static extern void aiVector3DVector_Clear(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiVector3DVector_Add")] - public static extern void aiVector3DVector_Add(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiVector3DVector_size")] - public static extern uint aiVector3DVector_size(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiVector3DVector_capacity")] - public static extern uint aiVector3DVector_capacity(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiVector3DVector_reserve")] - public static extern void aiVector3DVector_reserve(HandleRef jarg1, uint jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiVector3DVector__SWIG_0")] - public static extern IntPtr new_aiVector3DVector__SWIG_0(); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiVector3DVector__SWIG_1")] - public static extern IntPtr new_aiVector3DVector__SWIG_1(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiVector3DVector__SWIG_2")] - public static extern IntPtr new_aiVector3DVector__SWIG_2(int jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiVector3DVector_getitemcopy")] - public static extern IntPtr aiVector3DVector_getitemcopy(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiVector3DVector_getitem")] - public static extern IntPtr aiVector3DVector_getitem(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiVector3DVector_setitem")] - public static extern void aiVector3DVector_setitem(HandleRef jarg1, int jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiVector3DVector_AddRange")] - public static extern void aiVector3DVector_AddRange(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiVector3DVector_GetRange")] - public static extern IntPtr aiVector3DVector_GetRange(HandleRef jarg1, int jarg2, int jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiVector3DVector_Insert")] - public static extern void aiVector3DVector_Insert(HandleRef jarg1, int jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiVector3DVector_InsertRange")] - public static extern void aiVector3DVector_InsertRange(HandleRef jarg1, int jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiVector3DVector_RemoveAt")] - public static extern void aiVector3DVector_RemoveAt(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiVector3DVector_RemoveRange")] - public static extern void aiVector3DVector_RemoveRange(HandleRef jarg1, int jarg2, int jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiVector3DVector_Repeat")] - public static extern IntPtr aiVector3DVector_Repeat(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiVector3DVector_Reverse__SWIG_0")] - public static extern void aiVector3DVector_Reverse__SWIG_0(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiVector3DVector_Reverse__SWIG_1")] - public static extern void aiVector3DVector_Reverse__SWIG_1(HandleRef jarg1, int jarg2, int jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiVector3DVector_SetRange")] - public static extern void aiVector3DVector_SetRange(HandleRef jarg1, int jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiVector3DVector_Contains")] - public static extern bool aiVector3DVector_Contains(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiVector3DVector_IndexOf")] - public static extern int aiVector3DVector_IndexOf(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiVector3DVector_LastIndexOf")] - public static extern int aiVector3DVector_LastIndexOf(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiVector3DVector_Remove")] - public static extern bool aiVector3DVector_Remove(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_delete_aiVector3DVector")] - public static extern void delete_aiVector3DVector(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiVector3DVectorVector_Clear")] - public static extern void aiVector3DVectorVector_Clear(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiVector3DVectorVector_Add")] - public static extern void aiVector3DVectorVector_Add(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiVector3DVectorVector_size")] - public static extern uint aiVector3DVectorVector_size(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiVector3DVectorVector_capacity")] - public static extern uint aiVector3DVectorVector_capacity(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiVector3DVectorVector_reserve")] - public static extern void aiVector3DVectorVector_reserve(HandleRef jarg1, uint jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiVector3DVectorVector__SWIG_0")] - public static extern IntPtr new_aiVector3DVectorVector__SWIG_0(); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiVector3DVectorVector__SWIG_1")] - public static extern IntPtr new_aiVector3DVectorVector__SWIG_1(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiVector3DVectorVector__SWIG_2")] - public static extern IntPtr new_aiVector3DVectorVector__SWIG_2(int jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiVector3DVectorVector_getitemcopy")] - public static extern IntPtr aiVector3DVectorVector_getitemcopy(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiVector3DVectorVector_getitem")] - public static extern IntPtr aiVector3DVectorVector_getitem(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiVector3DVectorVector_setitem")] - public static extern void aiVector3DVectorVector_setitem(HandleRef jarg1, int jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiVector3DVectorVector_AddRange")] - public static extern void aiVector3DVectorVector_AddRange(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiVector3DVectorVector_GetRange")] - public static extern IntPtr aiVector3DVectorVector_GetRange(HandleRef jarg1, int jarg2, int jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiVector3DVectorVector_Insert")] - public static extern void aiVector3DVectorVector_Insert(HandleRef jarg1, int jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiVector3DVectorVector_InsertRange")] - public static extern void aiVector3DVectorVector_InsertRange(HandleRef jarg1, int jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiVector3DVectorVector_RemoveAt")] - public static extern void aiVector3DVectorVector_RemoveAt(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiVector3DVectorVector_RemoveRange")] - public static extern void aiVector3DVectorVector_RemoveRange(HandleRef jarg1, int jarg2, int jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiVector3DVectorVector_Repeat")] - public static extern IntPtr aiVector3DVectorVector_Repeat(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiVector3DVectorVector_Reverse__SWIG_0")] - public static extern void aiVector3DVectorVector_Reverse__SWIG_0(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiVector3DVectorVector_Reverse__SWIG_1")] - public static extern void aiVector3DVectorVector_Reverse__SWIG_1(HandleRef jarg1, int jarg2, int jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiVector3DVectorVector_SetRange")] - public static extern void aiVector3DVectorVector_SetRange(HandleRef jarg1, int jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_delete_aiVector3DVectorVector")] - public static extern void delete_aiVector3DVectorVector(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiVectorKeyVector_Clear")] - public static extern void aiVectorKeyVector_Clear(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiVectorKeyVector_Add")] - public static extern void aiVectorKeyVector_Add(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiVectorKeyVector_size")] - public static extern uint aiVectorKeyVector_size(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiVectorKeyVector_capacity")] - public static extern uint aiVectorKeyVector_capacity(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiVectorKeyVector_reserve")] - public static extern void aiVectorKeyVector_reserve(HandleRef jarg1, uint jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiVectorKeyVector__SWIG_0")] - public static extern IntPtr new_aiVectorKeyVector__SWIG_0(); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiVectorKeyVector__SWIG_1")] - public static extern IntPtr new_aiVectorKeyVector__SWIG_1(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiVectorKeyVector__SWIG_2")] - public static extern IntPtr new_aiVectorKeyVector__SWIG_2(int jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiVectorKeyVector_getitemcopy")] - public static extern IntPtr aiVectorKeyVector_getitemcopy(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiVectorKeyVector_getitem")] - public static extern IntPtr aiVectorKeyVector_getitem(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiVectorKeyVector_setitem")] - public static extern void aiVectorKeyVector_setitem(HandleRef jarg1, int jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiVectorKeyVector_AddRange")] - public static extern void aiVectorKeyVector_AddRange(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiVectorKeyVector_GetRange")] - public static extern IntPtr aiVectorKeyVector_GetRange(HandleRef jarg1, int jarg2, int jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiVectorKeyVector_Insert")] - public static extern void aiVectorKeyVector_Insert(HandleRef jarg1, int jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiVectorKeyVector_InsertRange")] - public static extern void aiVectorKeyVector_InsertRange(HandleRef jarg1, int jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiVectorKeyVector_RemoveAt")] - public static extern void aiVectorKeyVector_RemoveAt(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiVectorKeyVector_RemoveRange")] - public static extern void aiVectorKeyVector_RemoveRange(HandleRef jarg1, int jarg2, int jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiVectorKeyVector_Repeat")] - public static extern IntPtr aiVectorKeyVector_Repeat(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiVectorKeyVector_Reverse__SWIG_0")] - public static extern void aiVectorKeyVector_Reverse__SWIG_0(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiVectorKeyVector_Reverse__SWIG_1")] - public static extern void aiVectorKeyVector_Reverse__SWIG_1(HandleRef jarg1, int jarg2, int jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiVectorKeyVector_SetRange")] - public static extern void aiVectorKeyVector_SetRange(HandleRef jarg1, int jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiVectorKeyVector_Contains")] - public static extern bool aiVectorKeyVector_Contains(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiVectorKeyVector_IndexOf")] - public static extern int aiVectorKeyVector_IndexOf(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiVectorKeyVector_LastIndexOf")] - public static extern int aiVectorKeyVector_LastIndexOf(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiVectorKeyVector_Remove")] - public static extern bool aiVectorKeyVector_Remove(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_delete_aiVectorKeyVector")] - public static extern void delete_aiVectorKeyVector(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiVertexWeightVector_Clear")] - public static extern void aiVertexWeightVector_Clear(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiVertexWeightVector_Add")] - public static extern void aiVertexWeightVector_Add(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiVertexWeightVector_size")] - public static extern uint aiVertexWeightVector_size(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiVertexWeightVector_capacity")] - public static extern uint aiVertexWeightVector_capacity(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiVertexWeightVector_reserve")] - public static extern void aiVertexWeightVector_reserve(HandleRef jarg1, uint jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiVertexWeightVector__SWIG_0")] - public static extern IntPtr new_aiVertexWeightVector__SWIG_0(); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiVertexWeightVector__SWIG_1")] - public static extern IntPtr new_aiVertexWeightVector__SWIG_1(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiVertexWeightVector__SWIG_2")] - public static extern IntPtr new_aiVertexWeightVector__SWIG_2(int jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiVertexWeightVector_getitemcopy")] - public static extern IntPtr aiVertexWeightVector_getitemcopy(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiVertexWeightVector_getitem")] - public static extern IntPtr aiVertexWeightVector_getitem(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiVertexWeightVector_setitem")] - public static extern void aiVertexWeightVector_setitem(HandleRef jarg1, int jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiVertexWeightVector_AddRange")] - public static extern void aiVertexWeightVector_AddRange(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiVertexWeightVector_GetRange")] - public static extern IntPtr aiVertexWeightVector_GetRange(HandleRef jarg1, int jarg2, int jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiVertexWeightVector_Insert")] - public static extern void aiVertexWeightVector_Insert(HandleRef jarg1, int jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiVertexWeightVector_InsertRange")] - public static extern void aiVertexWeightVector_InsertRange(HandleRef jarg1, int jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiVertexWeightVector_RemoveAt")] - public static extern void aiVertexWeightVector_RemoveAt(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiVertexWeightVector_RemoveRange")] - public static extern void aiVertexWeightVector_RemoveRange(HandleRef jarg1, int jarg2, int jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiVertexWeightVector_Repeat")] - public static extern IntPtr aiVertexWeightVector_Repeat(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiVertexWeightVector_Reverse__SWIG_0")] - public static extern void aiVertexWeightVector_Reverse__SWIG_0(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiVertexWeightVector_Reverse__SWIG_1")] - public static extern void aiVertexWeightVector_Reverse__SWIG_1(HandleRef jarg1, int jarg2, int jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiVertexWeightVector_SetRange")] - public static extern void aiVertexWeightVector_SetRange(HandleRef jarg1, int jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiVertexWeightVector_Contains")] - public static extern bool aiVertexWeightVector_Contains(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiVertexWeightVector_IndexOf")] - public static extern int aiVertexWeightVector_IndexOf(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiVertexWeightVector_LastIndexOf")] - public static extern int aiVertexWeightVector_LastIndexOf(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiVertexWeightVector_Remove")] - public static extern bool aiVertexWeightVector_Remove(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_delete_aiVertexWeightVector")] - public static extern void delete_aiVertexWeightVector(HandleRef jarg1); -} diff --git a/port/Assimp.NET/Assimp.NET_CS/FloatVector.cs b/port/Assimp.NET/Assimp.NET_CS/FloatVector.cs deleted file mode 100644 index d8e9f212f..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/FloatVector.cs +++ /dev/null @@ -1,346 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.8 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - - -using System; -using System.Runtime.InteropServices; - -public class FloatVector : IDisposable, System.Collections.IEnumerable -#if !SWIG_DOTNET_1 - , System.Collections.Generic.IList -#endif - { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal FloatVector(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(FloatVector obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~FloatVector() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - AssimpPINVOKE.delete_FloatVector(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public FloatVector(System.Collections.ICollection c) : this() { - if (c == null) - throw new ArgumentNullException("c"); - foreach (float element in c) { - this.Add(element); - } - } - - public bool IsFixedSize { - get { - return false; - } - } - - public bool IsReadOnly { - get { - return false; - } - } - - public float this[int index] { - get { - return getitem(index); - } - set { - setitem(index, value); - } - } - - public int Capacity { - get { - return (int)capacity(); - } - set { - if (value < size()) - throw new ArgumentOutOfRangeException("Capacity"); - reserve((uint)value); - } - } - - public int Count { - get { - return (int)size(); - } - } - - public bool IsSynchronized { - get { - return false; - } - } - -#if SWIG_DOTNET_1 - public void CopyTo(System.Array array) -#else - public void CopyTo(float[] array) -#endif - { - CopyTo(0, array, 0, this.Count); - } - -#if SWIG_DOTNET_1 - public void CopyTo(System.Array array, int arrayIndex) -#else - public void CopyTo(float[] array, int arrayIndex) -#endif - { - CopyTo(0, array, arrayIndex, this.Count); - } - -#if SWIG_DOTNET_1 - public void CopyTo(int index, System.Array array, int arrayIndex, int count) -#else - public void CopyTo(int index, float[] array, int arrayIndex, int count) -#endif - { - if (array == null) - throw new ArgumentNullException("array"); - if (index < 0) - throw new ArgumentOutOfRangeException("index", "Value is less than zero"); - if (arrayIndex < 0) - throw new ArgumentOutOfRangeException("arrayIndex", "Value is less than zero"); - if (count < 0) - throw new ArgumentOutOfRangeException("count", "Value is less than zero"); - if (array.Rank > 1) - throw new ArgumentException("Multi dimensional array.", "array"); - if (index+count > this.Count || arrayIndex+count > array.Length) - throw new ArgumentException("Number of elements to copy is too large."); - for (int i=0; i System.Collections.Generic.IEnumerable.GetEnumerator() { - return new FloatVectorEnumerator(this); - } -#endif - - System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { - return new FloatVectorEnumerator(this); - } - - public FloatVectorEnumerator GetEnumerator() { - return new FloatVectorEnumerator(this); - } - - // Type-safe enumerator - /// Note that the IEnumerator documentation requires an InvalidOperationException to be thrown - /// whenever the collection is modified. This has been done for changes in the size of the - /// collection but not when one of the elements of the collection is modified as it is a bit - /// tricky to detect unmanaged code that modifies the collection under our feet. - public sealed class FloatVectorEnumerator : System.Collections.IEnumerator -#if !SWIG_DOTNET_1 - , System.Collections.Generic.IEnumerator -#endif - { - private FloatVector collectionRef; - private int currentIndex; - private object currentObject; - private int currentSize; - - public FloatVectorEnumerator(FloatVector collection) { - collectionRef = collection; - currentIndex = -1; - currentObject = null; - currentSize = collectionRef.Count; - } - - // Type-safe iterator Current - public float Current { - get { - if (currentIndex == -1) - throw new InvalidOperationException("Enumeration not started."); - if (currentIndex > currentSize - 1) - throw new InvalidOperationException("Enumeration finished."); - if (currentObject == null) - throw new InvalidOperationException("Collection modified."); - return (float)currentObject; - } - } - - // Type-unsafe IEnumerator.Current - object System.Collections.IEnumerator.Current { - get { - return Current; - } - } - - public bool MoveNext() { - int size = collectionRef.Count; - bool moveOkay = (currentIndex+1 < size) && (size == currentSize); - if (moveOkay) { - currentIndex++; - currentObject = collectionRef[currentIndex]; - } else { - currentObject = null; - } - return moveOkay; - } - - public void Reset() { - currentIndex = -1; - currentObject = null; - if (collectionRef.Count != currentSize) { - throw new InvalidOperationException("Collection modified."); - } - } - -#if !SWIG_DOTNET_1 - public void Dispose() { - currentIndex = -1; - currentObject = null; - } -#endif - } - - public void Clear() { - AssimpPINVOKE.FloatVector_Clear(swigCPtr); - } - - public void Add(float x) { - AssimpPINVOKE.FloatVector_Add(swigCPtr, x); - } - - private uint size() { - uint ret = AssimpPINVOKE.FloatVector_size(swigCPtr); - return ret; - } - - private uint capacity() { - uint ret = AssimpPINVOKE.FloatVector_capacity(swigCPtr); - return ret; - } - - private void reserve(uint n) { - AssimpPINVOKE.FloatVector_reserve(swigCPtr, n); - } - - public FloatVector() : this(AssimpPINVOKE.new_FloatVector__SWIG_0(), true) { - } - - public FloatVector(FloatVector other) : this(AssimpPINVOKE.new_FloatVector__SWIG_1(FloatVector.getCPtr(other)), true) { - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public FloatVector(int capacity) : this(AssimpPINVOKE.new_FloatVector__SWIG_2(capacity), true) { - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - private float getitemcopy(int index) { - float ret = AssimpPINVOKE.FloatVector_getitemcopy(swigCPtr, index); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - private float getitem(int index) { - float ret = AssimpPINVOKE.FloatVector_getitem(swigCPtr, index); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - private void setitem(int index, float val) { - AssimpPINVOKE.FloatVector_setitem(swigCPtr, index, val); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void AddRange(FloatVector values) { - AssimpPINVOKE.FloatVector_AddRange(swigCPtr, FloatVector.getCPtr(values)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public FloatVector GetRange(int index, int count) { - IntPtr cPtr = AssimpPINVOKE.FloatVector_GetRange(swigCPtr, index, count); - FloatVector ret = (cPtr == IntPtr.Zero) ? null : new FloatVector(cPtr, true); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public void Insert(int index, float x) { - AssimpPINVOKE.FloatVector_Insert(swigCPtr, index, x); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void InsertRange(int index, FloatVector values) { - AssimpPINVOKE.FloatVector_InsertRange(swigCPtr, index, FloatVector.getCPtr(values)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void RemoveAt(int index) { - AssimpPINVOKE.FloatVector_RemoveAt(swigCPtr, index); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void RemoveRange(int index, int count) { - AssimpPINVOKE.FloatVector_RemoveRange(swigCPtr, index, count); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public static FloatVector Repeat(float value, int count) { - IntPtr cPtr = AssimpPINVOKE.FloatVector_Repeat(value, count); - FloatVector ret = (cPtr == IntPtr.Zero) ? null : new FloatVector(cPtr, true); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public void Reverse() { - AssimpPINVOKE.FloatVector_Reverse__SWIG_0(swigCPtr); - } - - public void Reverse(int index, int count) { - AssimpPINVOKE.FloatVector_Reverse__SWIG_1(swigCPtr, index, count); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void SetRange(int index, FloatVector values) { - AssimpPINVOKE.FloatVector_SetRange(swigCPtr, index, FloatVector.getCPtr(values)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public bool Contains(float value) { - bool ret = AssimpPINVOKE.FloatVector_Contains(swigCPtr, value); - return ret; - } - - public int IndexOf(float value) { - int ret = AssimpPINVOKE.FloatVector_IndexOf(swigCPtr, value); - return ret; - } - - public int LastIndexOf(float value) { - int ret = AssimpPINVOKE.FloatVector_LastIndexOf(swigCPtr, value); - return ret; - } - - public bool Remove(float value) { - bool ret = AssimpPINVOKE.FloatVector_Remove(swigCPtr, value); - return ret; - } - -} diff --git a/port/Assimp.NET/Assimp.NET_CS/Importer.cs b/port/Assimp.NET/Assimp.NET_CS/Importer.cs deleted file mode 100644 index 9709b38c2..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/Importer.cs +++ /dev/null @@ -1,206 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.8 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - - -using System; -using System.Runtime.InteropServices; - -public class Importer : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal Importer(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(Importer obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~Importer() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - AssimpPINVOKE.delete_Importer(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public Importer() : this(AssimpPINVOKE.new_Importer__SWIG_0(), true) { - } - - public Importer(Importer other) : this(AssimpPINVOKE.new_Importer__SWIG_1(Importer.getCPtr(other)), true) { - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public int GetPropertyInteger(string szName, int iErrorReturn) { - int ret = AssimpPINVOKE.Importer_GetPropertyInteger__SWIG_0(swigCPtr, szName, iErrorReturn); - return ret; - } - - public int GetPropertyInteger(string szName) { - int ret = AssimpPINVOKE.Importer_GetPropertyInteger__SWIG_1(swigCPtr, szName); - return ret; - } - - public bool GetPropertyBool(string szName, bool bErrorReturn) { - bool ret = AssimpPINVOKE.Importer_GetPropertyBool__SWIG_0(swigCPtr, szName, bErrorReturn); - return ret; - } - - public bool GetPropertyBool(string szName) { - bool ret = AssimpPINVOKE.Importer_GetPropertyBool__SWIG_1(swigCPtr, szName); - return ret; - } - - public float GetPropertyFloat(string szName, float fErrorReturn) { - float ret = AssimpPINVOKE.Importer_GetPropertyFloat__SWIG_0(swigCPtr, szName, fErrorReturn); - return ret; - } - - public float GetPropertyFloat(string szName) { - float ret = AssimpPINVOKE.Importer_GetPropertyFloat__SWIG_1(swigCPtr, szName); - return ret; - } - - public string GetPropertyString(string szName, string sErrorReturn) { - string ret = AssimpPINVOKE.Importer_GetPropertyString__SWIG_0(swigCPtr, szName, sErrorReturn); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public string GetPropertyString(string szName) { - string ret = AssimpPINVOKE.Importer_GetPropertyString__SWIG_1(swigCPtr, szName); - return ret; - } - - public bool IsDefaultIOHandler() { - bool ret = AssimpPINVOKE.Importer_IsDefaultIOHandler(swigCPtr); - return ret; - } - - public void SetProgressHandler(ProgressHandler pHandler) { - AssimpPINVOKE.Importer_SetProgressHandler(swigCPtr, ProgressHandler.getCPtr(pHandler)); - } - - public ProgressHandler GetProgressHandler() { - IntPtr cPtr = AssimpPINVOKE.Importer_GetProgressHandler(swigCPtr); - ProgressHandler ret = (cPtr == IntPtr.Zero) ? null : new ProgressHandler(cPtr, false); - return ret; - } - - public bool IsDefaultProgressHandler() { - bool ret = AssimpPINVOKE.Importer_IsDefaultProgressHandler(swigCPtr); - return ret; - } - - public bool ValidateFlags(aiPostProcessSteps pFlags) { - bool ret = AssimpPINVOKE.Importer_ValidateFlags(swigCPtr, (uint)pFlags); - return ret; - } - - public aiScene ReadFile(string pFile, aiPostProcessSteps pFlags) { - IntPtr cPtr = AssimpPINVOKE.Importer_ReadFile__SWIG_0(swigCPtr, pFile, (uint)pFlags); - aiScene ret = (cPtr == IntPtr.Zero) ? null : new aiScene(cPtr, false); - return ret; - } - - public void FreeScene() { - AssimpPINVOKE.Importer_FreeScene(swigCPtr); - } - - public string GetErrorString() { - string ret = AssimpPINVOKE.Importer_GetErrorString(swigCPtr); - return ret; - } - - public aiScene GetScene() { - IntPtr cPtr = AssimpPINVOKE.Importer_GetScene(swigCPtr); - aiScene ret = (cPtr == IntPtr.Zero) ? null : new aiScene(cPtr, false); - return ret; - } - - public aiScene GetOrphanedScene() { - IntPtr cPtr = AssimpPINVOKE.Importer_GetOrphanedScene(swigCPtr); - aiScene ret = (cPtr == IntPtr.Zero) ? null : new aiScene(cPtr, false); - return ret; - } - - public bool IsExtensionSupported(string szExtension) { - bool ret = AssimpPINVOKE.Importer_IsExtensionSupported__SWIG_0(swigCPtr, szExtension); - return ret; - } - - public void GetExtensionList(aiString szOut) { - AssimpPINVOKE.Importer_GetExtensionList__SWIG_0(swigCPtr, aiString.getCPtr(szOut)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void GetExtensionList(SWIGTYPE_p_std__string szOut) { - AssimpPINVOKE.Importer_GetExtensionList__SWIG_1(swigCPtr, SWIGTYPE_p_std__string.getCPtr(szOut)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public uint GetImporterCount() { - uint ret = AssimpPINVOKE.Importer_GetImporterCount(swigCPtr); - return ret; - } - - public SWIGTYPE_p_aiImporterDesc GetImporterInfo(uint index) { - IntPtr cPtr = AssimpPINVOKE.Importer_GetImporterInfo(swigCPtr, index); - SWIGTYPE_p_aiImporterDesc ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_aiImporterDesc(cPtr, false); - return ret; - } - - public SWIGTYPE_p_Assimp__BaseImporter GetImporter(uint index) { - IntPtr cPtr = AssimpPINVOKE.Importer_GetImporter__SWIG_0(swigCPtr, index); - SWIGTYPE_p_Assimp__BaseImporter ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_Assimp__BaseImporter(cPtr, false); - return ret; - } - - public SWIGTYPE_p_Assimp__BaseImporter GetImporter(string szExtension) { - IntPtr cPtr = AssimpPINVOKE.Importer_GetImporter__SWIG_1(swigCPtr, szExtension); - SWIGTYPE_p_Assimp__BaseImporter ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_Assimp__BaseImporter(cPtr, false); - return ret; - } - - public uint GetImporterIndex(string szExtension) { - uint ret = AssimpPINVOKE.Importer_GetImporterIndex(swigCPtr, szExtension); - return ret; - } - - public void GetMemoryRequirements(aiMemoryInfo arg0) { - AssimpPINVOKE.Importer_GetMemoryRequirements(swigCPtr, aiMemoryInfo.getCPtr(arg0)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void SetExtraVerbose(bool bDo) { - AssimpPINVOKE.Importer_SetExtraVerbose(swigCPtr, bDo); - } - - public SWIGTYPE_p_Assimp__ImporterPimpl Pimpl() { - IntPtr cPtr = AssimpPINVOKE.Importer_Pimpl__SWIG_0(swigCPtr); - SWIGTYPE_p_Assimp__ImporterPimpl ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_Assimp__ImporterPimpl(cPtr, false); - return ret; - } - - public string GetExtensionList() { - string ret = AssimpPINVOKE.Importer_GetExtensionList__SWIG_2(swigCPtr); - return ret; - } - -} diff --git a/port/Assimp.NET/Assimp.NET_CS/ProgressHandler.cs b/port/Assimp.NET/Assimp.NET_CS/ProgressHandler.cs deleted file mode 100644 index 4493930f3..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/ProgressHandler.cs +++ /dev/null @@ -1,53 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.8 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - - -using System; -using System.Runtime.InteropServices; - -public class ProgressHandler : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal ProgressHandler(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(ProgressHandler obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~ProgressHandler() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - AssimpPINVOKE.delete_ProgressHandler(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public virtual bool Update(float percentage) { - bool ret = AssimpPINVOKE.ProgressHandler_Update__SWIG_0(swigCPtr, percentage); - return ret; - } - - public virtual bool Update() { - bool ret = AssimpPINVOKE.ProgressHandler_Update__SWIG_1(swigCPtr); - return ret; - } - -} diff --git a/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_Assimp__BaseImporter.cs b/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_Assimp__BaseImporter.cs deleted file mode 100644 index a6b0c4d74..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_Assimp__BaseImporter.cs +++ /dev/null @@ -1,27 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.8 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_Assimp__BaseImporter { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_Assimp__BaseImporter(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_Assimp__BaseImporter() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_Assimp__BaseImporter obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} diff --git a/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_Assimp__ImporterPimpl.cs b/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_Assimp__ImporterPimpl.cs deleted file mode 100644 index 45900e9ec..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_Assimp__ImporterPimpl.cs +++ /dev/null @@ -1,27 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.8 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_Assimp__ImporterPimpl { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_Assimp__ImporterPimpl(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_Assimp__ImporterPimpl() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_Assimp__ImporterPimpl obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} diff --git a/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_aiImporterDesc.cs b/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_aiImporterDesc.cs deleted file mode 100644 index 90e310079..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_aiImporterDesc.cs +++ /dev/null @@ -1,27 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.8 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_aiImporterDesc { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_aiImporterDesc(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_aiImporterDesc() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_aiImporterDesc obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} diff --git a/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_float.cs b/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_float.cs deleted file mode 100644 index 7d117d2a7..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_float.cs +++ /dev/null @@ -1,27 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.8 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_float { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_float(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_float() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_float obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} diff --git a/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_std__string.cs b/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_std__string.cs deleted file mode 100644 index e539303f1..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_std__string.cs +++ /dev/null @@ -1,27 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.8 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_std__string { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_std__string(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_std__string() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_std__string obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} diff --git a/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_void.cs b/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_void.cs deleted file mode 100644 index f87f7e5ee..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_void.cs +++ /dev/null @@ -1,27 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.8 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_void { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_void(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_void() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_void obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} diff --git a/port/Assimp.NET/Assimp.NET_CS/UintVector.cs b/port/Assimp.NET/Assimp.NET_CS/UintVector.cs deleted file mode 100644 index def1a50de..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/UintVector.cs +++ /dev/null @@ -1,346 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.8 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - - -using System; -using System.Runtime.InteropServices; - -public class UintVector : IDisposable, System.Collections.IEnumerable -#if !SWIG_DOTNET_1 - , System.Collections.Generic.IList -#endif - { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal UintVector(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(UintVector obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~UintVector() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - AssimpPINVOKE.delete_UintVector(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public UintVector(System.Collections.ICollection c) : this() { - if (c == null) - throw new ArgumentNullException("c"); - foreach (uint element in c) { - this.Add(element); - } - } - - public bool IsFixedSize { - get { - return false; - } - } - - public bool IsReadOnly { - get { - return false; - } - } - - public uint this[int index] { - get { - return getitem(index); - } - set { - setitem(index, value); - } - } - - public int Capacity { - get { - return (int)capacity(); - } - set { - if (value < size()) - throw new ArgumentOutOfRangeException("Capacity"); - reserve((uint)value); - } - } - - public int Count { - get { - return (int)size(); - } - } - - public bool IsSynchronized { - get { - return false; - } - } - -#if SWIG_DOTNET_1 - public void CopyTo(System.Array array) -#else - public void CopyTo(uint[] array) -#endif - { - CopyTo(0, array, 0, this.Count); - } - -#if SWIG_DOTNET_1 - public void CopyTo(System.Array array, int arrayIndex) -#else - public void CopyTo(uint[] array, int arrayIndex) -#endif - { - CopyTo(0, array, arrayIndex, this.Count); - } - -#if SWIG_DOTNET_1 - public void CopyTo(int index, System.Array array, int arrayIndex, int count) -#else - public void CopyTo(int index, uint[] array, int arrayIndex, int count) -#endif - { - if (array == null) - throw new ArgumentNullException("array"); - if (index < 0) - throw new ArgumentOutOfRangeException("index", "Value is less than zero"); - if (arrayIndex < 0) - throw new ArgumentOutOfRangeException("arrayIndex", "Value is less than zero"); - if (count < 0) - throw new ArgumentOutOfRangeException("count", "Value is less than zero"); - if (array.Rank > 1) - throw new ArgumentException("Multi dimensional array.", "array"); - if (index+count > this.Count || arrayIndex+count > array.Length) - throw new ArgumentException("Number of elements to copy is too large."); - for (int i=0; i System.Collections.Generic.IEnumerable.GetEnumerator() { - return new UintVectorEnumerator(this); - } -#endif - - System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { - return new UintVectorEnumerator(this); - } - - public UintVectorEnumerator GetEnumerator() { - return new UintVectorEnumerator(this); - } - - // Type-safe enumerator - /// Note that the IEnumerator documentation requires an InvalidOperationException to be thrown - /// whenever the collection is modified. This has been done for changes in the size of the - /// collection but not when one of the elements of the collection is modified as it is a bit - /// tricky to detect unmanaged code that modifies the collection under our feet. - public sealed class UintVectorEnumerator : System.Collections.IEnumerator -#if !SWIG_DOTNET_1 - , System.Collections.Generic.IEnumerator -#endif - { - private UintVector collectionRef; - private int currentIndex; - private object currentObject; - private int currentSize; - - public UintVectorEnumerator(UintVector collection) { - collectionRef = collection; - currentIndex = -1; - currentObject = null; - currentSize = collectionRef.Count; - } - - // Type-safe iterator Current - public uint Current { - get { - if (currentIndex == -1) - throw new InvalidOperationException("Enumeration not started."); - if (currentIndex > currentSize - 1) - throw new InvalidOperationException("Enumeration finished."); - if (currentObject == null) - throw new InvalidOperationException("Collection modified."); - return (uint)currentObject; - } - } - - // Type-unsafe IEnumerator.Current - object System.Collections.IEnumerator.Current { - get { - return Current; - } - } - - public bool MoveNext() { - int size = collectionRef.Count; - bool moveOkay = (currentIndex+1 < size) && (size == currentSize); - if (moveOkay) { - currentIndex++; - currentObject = collectionRef[currentIndex]; - } else { - currentObject = null; - } - return moveOkay; - } - - public void Reset() { - currentIndex = -1; - currentObject = null; - if (collectionRef.Count != currentSize) { - throw new InvalidOperationException("Collection modified."); - } - } - -#if !SWIG_DOTNET_1 - public void Dispose() { - currentIndex = -1; - currentObject = null; - } -#endif - } - - public void Clear() { - AssimpPINVOKE.UintVector_Clear(swigCPtr); - } - - public void Add(uint x) { - AssimpPINVOKE.UintVector_Add(swigCPtr, x); - } - - private uint size() { - uint ret = AssimpPINVOKE.UintVector_size(swigCPtr); - return ret; - } - - private uint capacity() { - uint ret = AssimpPINVOKE.UintVector_capacity(swigCPtr); - return ret; - } - - private void reserve(uint n) { - AssimpPINVOKE.UintVector_reserve(swigCPtr, n); - } - - public UintVector() : this(AssimpPINVOKE.new_UintVector__SWIG_0(), true) { - } - - public UintVector(UintVector other) : this(AssimpPINVOKE.new_UintVector__SWIG_1(UintVector.getCPtr(other)), true) { - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public UintVector(int capacity) : this(AssimpPINVOKE.new_UintVector__SWIG_2(capacity), true) { - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - private uint getitemcopy(int index) { - uint ret = AssimpPINVOKE.UintVector_getitemcopy(swigCPtr, index); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - private uint getitem(int index) { - uint ret = AssimpPINVOKE.UintVector_getitem(swigCPtr, index); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - private void setitem(int index, uint val) { - AssimpPINVOKE.UintVector_setitem(swigCPtr, index, val); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void AddRange(UintVector values) { - AssimpPINVOKE.UintVector_AddRange(swigCPtr, UintVector.getCPtr(values)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public UintVector GetRange(int index, int count) { - IntPtr cPtr = AssimpPINVOKE.UintVector_GetRange(swigCPtr, index, count); - UintVector ret = (cPtr == IntPtr.Zero) ? null : new UintVector(cPtr, true); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public void Insert(int index, uint x) { - AssimpPINVOKE.UintVector_Insert(swigCPtr, index, x); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void InsertRange(int index, UintVector values) { - AssimpPINVOKE.UintVector_InsertRange(swigCPtr, index, UintVector.getCPtr(values)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void RemoveAt(int index) { - AssimpPINVOKE.UintVector_RemoveAt(swigCPtr, index); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void RemoveRange(int index, int count) { - AssimpPINVOKE.UintVector_RemoveRange(swigCPtr, index, count); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public static UintVector Repeat(uint value, int count) { - IntPtr cPtr = AssimpPINVOKE.UintVector_Repeat(value, count); - UintVector ret = (cPtr == IntPtr.Zero) ? null : new UintVector(cPtr, true); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public void Reverse() { - AssimpPINVOKE.UintVector_Reverse__SWIG_0(swigCPtr); - } - - public void Reverse(int index, int count) { - AssimpPINVOKE.UintVector_Reverse__SWIG_1(swigCPtr, index, count); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void SetRange(int index, UintVector values) { - AssimpPINVOKE.UintVector_SetRange(swigCPtr, index, UintVector.getCPtr(values)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public bool Contains(uint value) { - bool ret = AssimpPINVOKE.UintVector_Contains(swigCPtr, value); - return ret; - } - - public int IndexOf(uint value) { - int ret = AssimpPINVOKE.UintVector_IndexOf(swigCPtr, value); - return ret; - } - - public int LastIndexOf(uint value) { - int ret = AssimpPINVOKE.UintVector_LastIndexOf(swigCPtr, value); - return ret; - } - - public bool Remove(uint value) { - bool ret = AssimpPINVOKE.UintVector_Remove(swigCPtr, value); - return ret; - } - -} diff --git a/port/Assimp.NET/Assimp.NET_CS/aiAnimBehaviour.cs b/port/Assimp.NET/Assimp.NET_CS/aiAnimBehaviour.cs deleted file mode 100644 index 0483fd585..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/aiAnimBehaviour.cs +++ /dev/null @@ -1,15 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.8 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - - -public enum aiAnimBehaviour { - aiAnimBehaviour_DEFAULT = 0x0, - aiAnimBehaviour_CONSTANT = 0x1, - aiAnimBehaviour_LINEAR = 0x2, - aiAnimBehaviour_REPEAT = 0x3 -} diff --git a/port/Assimp.NET/Assimp.NET_CS/aiAnimMesh.cs b/port/Assimp.NET/Assimp.NET_CS/aiAnimMesh.cs deleted file mode 100644 index b61b4da19..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/aiAnimMesh.cs +++ /dev/null @@ -1,92 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.8 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - - -using System; -using System.Runtime.InteropServices; - -public class aiAnimMesh : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal aiAnimMesh(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(aiAnimMesh obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~aiAnimMesh() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - AssimpPINVOKE.delete_aiAnimMesh(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public aiVector3D mBitangents { - set { - AssimpPINVOKE.aiAnimMesh_mBitangents_set(swigCPtr, aiVector3D.getCPtr(value)); - } - get { - IntPtr cPtr = AssimpPINVOKE.aiAnimMesh_mBitangents_get(swigCPtr); - aiVector3D ret = (cPtr == IntPtr.Zero) ? null : new aiVector3D(cPtr, false); - return ret; - } - } - - public uint mNumVertices { - set { - AssimpPINVOKE.aiAnimMesh_mNumVertices_set(swigCPtr, value); - } - get { - uint ret = AssimpPINVOKE.aiAnimMesh_mNumVertices_get(swigCPtr); - return ret; - } - } - - public aiAnimMesh() : this(AssimpPINVOKE.new_aiAnimMesh(), true) { - } - - public bool HasPositions() { - bool ret = AssimpPINVOKE.aiAnimMesh_HasPositions(swigCPtr); - return ret; - } - - public bool HasNormals() { - bool ret = AssimpPINVOKE.aiAnimMesh_HasNormals(swigCPtr); - return ret; - } - - public bool HasTangentsAndBitangents() { - bool ret = AssimpPINVOKE.aiAnimMesh_HasTangentsAndBitangents(swigCPtr); - return ret; - } - - public bool HasVertexColors(uint pIndex) { - bool ret = AssimpPINVOKE.aiAnimMesh_HasVertexColors(swigCPtr, pIndex); - return ret; - } - - public bool HasTextureCoords(uint pIndex) { - bool ret = AssimpPINVOKE.aiAnimMesh_HasTextureCoords(swigCPtr, pIndex); - return ret; - } - -} diff --git a/port/Assimp.NET/Assimp.NET_CS/aiAnimMeshVector.cs b/port/Assimp.NET/Assimp.NET_CS/aiAnimMeshVector.cs deleted file mode 100644 index 0a4445949..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/aiAnimMeshVector.cs +++ /dev/null @@ -1,348 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.8 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - - -using System; -using System.Runtime.InteropServices; - -public class aiAnimMeshVector : IDisposable, System.Collections.IEnumerable -#if !SWIG_DOTNET_1 - , System.Collections.Generic.IList -#endif - { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal aiAnimMeshVector(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(aiAnimMeshVector obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~aiAnimMeshVector() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - AssimpPINVOKE.delete_aiAnimMeshVector(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public aiAnimMeshVector(System.Collections.ICollection c) : this() { - if (c == null) - throw new ArgumentNullException("c"); - foreach (aiAnimMesh element in c) { - this.Add(element); - } - } - - public bool IsFixedSize { - get { - return false; - } - } - - public bool IsReadOnly { - get { - return false; - } - } - - public aiAnimMesh this[int index] { - get { - return getitem(index); - } - set { - setitem(index, value); - } - } - - public int Capacity { - get { - return (int)capacity(); - } - set { - if (value < size()) - throw new ArgumentOutOfRangeException("Capacity"); - reserve((uint)value); - } - } - - public int Count { - get { - return (int)size(); - } - } - - public bool IsSynchronized { - get { - return false; - } - } - -#if SWIG_DOTNET_1 - public void CopyTo(System.Array array) -#else - public void CopyTo(aiAnimMesh[] array) -#endif - { - CopyTo(0, array, 0, this.Count); - } - -#if SWIG_DOTNET_1 - public void CopyTo(System.Array array, int arrayIndex) -#else - public void CopyTo(aiAnimMesh[] array, int arrayIndex) -#endif - { - CopyTo(0, array, arrayIndex, this.Count); - } - -#if SWIG_DOTNET_1 - public void CopyTo(int index, System.Array array, int arrayIndex, int count) -#else - public void CopyTo(int index, aiAnimMesh[] array, int arrayIndex, int count) -#endif - { - if (array == null) - throw new ArgumentNullException("array"); - if (index < 0) - throw new ArgumentOutOfRangeException("index", "Value is less than zero"); - if (arrayIndex < 0) - throw new ArgumentOutOfRangeException("arrayIndex", "Value is less than zero"); - if (count < 0) - throw new ArgumentOutOfRangeException("count", "Value is less than zero"); - if (array.Rank > 1) - throw new ArgumentException("Multi dimensional array.", "array"); - if (index+count > this.Count || arrayIndex+count > array.Length) - throw new ArgumentException("Number of elements to copy is too large."); - for (int i=0; i System.Collections.Generic.IEnumerable.GetEnumerator() { - return new aiAnimMeshVectorEnumerator(this); - } -#endif - - System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { - return new aiAnimMeshVectorEnumerator(this); - } - - public aiAnimMeshVectorEnumerator GetEnumerator() { - return new aiAnimMeshVectorEnumerator(this); - } - - // Type-safe enumerator - /// Note that the IEnumerator documentation requires an InvalidOperationException to be thrown - /// whenever the collection is modified. This has been done for changes in the size of the - /// collection but not when one of the elements of the collection is modified as it is a bit - /// tricky to detect unmanaged code that modifies the collection under our feet. - public sealed class aiAnimMeshVectorEnumerator : System.Collections.IEnumerator -#if !SWIG_DOTNET_1 - , System.Collections.Generic.IEnumerator -#endif - { - private aiAnimMeshVector collectionRef; - private int currentIndex; - private object currentObject; - private int currentSize; - - public aiAnimMeshVectorEnumerator(aiAnimMeshVector collection) { - collectionRef = collection; - currentIndex = -1; - currentObject = null; - currentSize = collectionRef.Count; - } - - // Type-safe iterator Current - public aiAnimMesh Current { - get { - if (currentIndex == -1) - throw new InvalidOperationException("Enumeration not started."); - if (currentIndex > currentSize - 1) - throw new InvalidOperationException("Enumeration finished."); - if (currentObject == null) - throw new InvalidOperationException("Collection modified."); - return (aiAnimMesh)currentObject; - } - } - - // Type-unsafe IEnumerator.Current - object System.Collections.IEnumerator.Current { - get { - return Current; - } - } - - public bool MoveNext() { - int size = collectionRef.Count; - bool moveOkay = (currentIndex+1 < size) && (size == currentSize); - if (moveOkay) { - currentIndex++; - currentObject = collectionRef[currentIndex]; - } else { - currentObject = null; - } - return moveOkay; - } - - public void Reset() { - currentIndex = -1; - currentObject = null; - if (collectionRef.Count != currentSize) { - throw new InvalidOperationException("Collection modified."); - } - } - -#if !SWIG_DOTNET_1 - public void Dispose() { - currentIndex = -1; - currentObject = null; - } -#endif - } - - public void Clear() { - AssimpPINVOKE.aiAnimMeshVector_Clear(swigCPtr); - } - - public void Add(aiAnimMesh x) { - AssimpPINVOKE.aiAnimMeshVector_Add(swigCPtr, aiAnimMesh.getCPtr(x)); - } - - private uint size() { - uint ret = AssimpPINVOKE.aiAnimMeshVector_size(swigCPtr); - return ret; - } - - private uint capacity() { - uint ret = AssimpPINVOKE.aiAnimMeshVector_capacity(swigCPtr); - return ret; - } - - private void reserve(uint n) { - AssimpPINVOKE.aiAnimMeshVector_reserve(swigCPtr, n); - } - - public aiAnimMeshVector() : this(AssimpPINVOKE.new_aiAnimMeshVector__SWIG_0(), true) { - } - - public aiAnimMeshVector(aiAnimMeshVector other) : this(AssimpPINVOKE.new_aiAnimMeshVector__SWIG_1(aiAnimMeshVector.getCPtr(other)), true) { - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public aiAnimMeshVector(int capacity) : this(AssimpPINVOKE.new_aiAnimMeshVector__SWIG_2(capacity), true) { - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - private aiAnimMesh getitemcopy(int index) { - IntPtr cPtr = AssimpPINVOKE.aiAnimMeshVector_getitemcopy(swigCPtr, index); - aiAnimMesh ret = (cPtr == IntPtr.Zero) ? null : new aiAnimMesh(cPtr, false); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - private aiAnimMesh getitem(int index) { - IntPtr cPtr = AssimpPINVOKE.aiAnimMeshVector_getitem(swigCPtr, index); - aiAnimMesh ret = (cPtr == IntPtr.Zero) ? null : new aiAnimMesh(cPtr, false); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - private void setitem(int index, aiAnimMesh val) { - AssimpPINVOKE.aiAnimMeshVector_setitem(swigCPtr, index, aiAnimMesh.getCPtr(val)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void AddRange(aiAnimMeshVector values) { - AssimpPINVOKE.aiAnimMeshVector_AddRange(swigCPtr, aiAnimMeshVector.getCPtr(values)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public aiAnimMeshVector GetRange(int index, int count) { - IntPtr cPtr = AssimpPINVOKE.aiAnimMeshVector_GetRange(swigCPtr, index, count); - aiAnimMeshVector ret = (cPtr == IntPtr.Zero) ? null : new aiAnimMeshVector(cPtr, true); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public void Insert(int index, aiAnimMesh x) { - AssimpPINVOKE.aiAnimMeshVector_Insert(swigCPtr, index, aiAnimMesh.getCPtr(x)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void InsertRange(int index, aiAnimMeshVector values) { - AssimpPINVOKE.aiAnimMeshVector_InsertRange(swigCPtr, index, aiAnimMeshVector.getCPtr(values)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void RemoveAt(int index) { - AssimpPINVOKE.aiAnimMeshVector_RemoveAt(swigCPtr, index); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void RemoveRange(int index, int count) { - AssimpPINVOKE.aiAnimMeshVector_RemoveRange(swigCPtr, index, count); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public static aiAnimMeshVector Repeat(aiAnimMesh value, int count) { - IntPtr cPtr = AssimpPINVOKE.aiAnimMeshVector_Repeat(aiAnimMesh.getCPtr(value), count); - aiAnimMeshVector ret = (cPtr == IntPtr.Zero) ? null : new aiAnimMeshVector(cPtr, true); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public void Reverse() { - AssimpPINVOKE.aiAnimMeshVector_Reverse__SWIG_0(swigCPtr); - } - - public void Reverse(int index, int count) { - AssimpPINVOKE.aiAnimMeshVector_Reverse__SWIG_1(swigCPtr, index, count); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void SetRange(int index, aiAnimMeshVector values) { - AssimpPINVOKE.aiAnimMeshVector_SetRange(swigCPtr, index, aiAnimMeshVector.getCPtr(values)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public bool Contains(aiAnimMesh value) { - bool ret = AssimpPINVOKE.aiAnimMeshVector_Contains(swigCPtr, aiAnimMesh.getCPtr(value)); - return ret; - } - - public int IndexOf(aiAnimMesh value) { - int ret = AssimpPINVOKE.aiAnimMeshVector_IndexOf(swigCPtr, aiAnimMesh.getCPtr(value)); - return ret; - } - - public int LastIndexOf(aiAnimMesh value) { - int ret = AssimpPINVOKE.aiAnimMeshVector_LastIndexOf(swigCPtr, aiAnimMesh.getCPtr(value)); - return ret; - } - - public bool Remove(aiAnimMesh value) { - bool ret = AssimpPINVOKE.aiAnimMeshVector_Remove(swigCPtr, aiAnimMesh.getCPtr(value)); - return ret; - } - -} diff --git a/port/Assimp.NET/Assimp.NET_CS/aiAnimation.cs b/port/Assimp.NET/Assimp.NET_CS/aiAnimation.cs deleted file mode 100644 index e9b30800f..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/aiAnimation.cs +++ /dev/null @@ -1,112 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.8 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - - -using System; -using System.Runtime.InteropServices; - -public class aiAnimation : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal aiAnimation(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(aiAnimation obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~aiAnimation() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - AssimpPINVOKE.delete_aiAnimation(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public aiNodeAnimVector mChannels { get { return GetmChannels(); } } - public aiMeshAnimVector mMeshChannels { get { return GetmMeshChannels(); } } - - public aiString mName { - set { - AssimpPINVOKE.aiAnimation_mName_set(swigCPtr, aiString.getCPtr(value)); - } - get { - IntPtr cPtr = AssimpPINVOKE.aiAnimation_mName_get(swigCPtr); - aiString ret = (cPtr == IntPtr.Zero) ? null : new aiString(cPtr, false); - return ret; - } - } - - public double mDuration { - set { - AssimpPINVOKE.aiAnimation_mDuration_set(swigCPtr, value); - } - get { - double ret = AssimpPINVOKE.aiAnimation_mDuration_get(swigCPtr); - return ret; - } - } - - public double mTicksPerSecond { - set { - AssimpPINVOKE.aiAnimation_mTicksPerSecond_set(swigCPtr, value); - } - get { - double ret = AssimpPINVOKE.aiAnimation_mTicksPerSecond_get(swigCPtr); - return ret; - } - } - - public uint mNumChannels { - set { - AssimpPINVOKE.aiAnimation_mNumChannels_set(swigCPtr, value); - } - get { - uint ret = AssimpPINVOKE.aiAnimation_mNumChannels_get(swigCPtr); - return ret; - } - } - - public uint mNumMeshChannels { - set { - AssimpPINVOKE.aiAnimation_mNumMeshChannels_set(swigCPtr, value); - } - get { - uint ret = AssimpPINVOKE.aiAnimation_mNumMeshChannels_get(swigCPtr); - return ret; - } - } - - public aiAnimation() : this(AssimpPINVOKE.new_aiAnimation(), true) { - } - - private aiNodeAnimVector GetmChannels() { - IntPtr cPtr = AssimpPINVOKE.aiAnimation_GetmChannels(swigCPtr); - aiNodeAnimVector ret = (cPtr == IntPtr.Zero) ? null : new aiNodeAnimVector(cPtr, true); - return ret; - } - - private aiMeshAnimVector GetmMeshChannels() { - IntPtr cPtr = AssimpPINVOKE.aiAnimation_GetmMeshChannels(swigCPtr); - aiMeshAnimVector ret = (cPtr == IntPtr.Zero) ? null : new aiMeshAnimVector(cPtr, true); - return ret; - } - -} diff --git a/port/Assimp.NET/Assimp.NET_CS/aiAnimationVector.cs b/port/Assimp.NET/Assimp.NET_CS/aiAnimationVector.cs deleted file mode 100644 index 6a21f1242..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/aiAnimationVector.cs +++ /dev/null @@ -1,348 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.8 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - - -using System; -using System.Runtime.InteropServices; - -public class aiAnimationVector : IDisposable, System.Collections.IEnumerable -#if !SWIG_DOTNET_1 - , System.Collections.Generic.IList -#endif - { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal aiAnimationVector(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(aiAnimationVector obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~aiAnimationVector() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - AssimpPINVOKE.delete_aiAnimationVector(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public aiAnimationVector(System.Collections.ICollection c) : this() { - if (c == null) - throw new ArgumentNullException("c"); - foreach (aiAnimation element in c) { - this.Add(element); - } - } - - public bool IsFixedSize { - get { - return false; - } - } - - public bool IsReadOnly { - get { - return false; - } - } - - public aiAnimation this[int index] { - get { - return getitem(index); - } - set { - setitem(index, value); - } - } - - public int Capacity { - get { - return (int)capacity(); - } - set { - if (value < size()) - throw new ArgumentOutOfRangeException("Capacity"); - reserve((uint)value); - } - } - - public int Count { - get { - return (int)size(); - } - } - - public bool IsSynchronized { - get { - return false; - } - } - -#if SWIG_DOTNET_1 - public void CopyTo(System.Array array) -#else - public void CopyTo(aiAnimation[] array) -#endif - { - CopyTo(0, array, 0, this.Count); - } - -#if SWIG_DOTNET_1 - public void CopyTo(System.Array array, int arrayIndex) -#else - public void CopyTo(aiAnimation[] array, int arrayIndex) -#endif - { - CopyTo(0, array, arrayIndex, this.Count); - } - -#if SWIG_DOTNET_1 - public void CopyTo(int index, System.Array array, int arrayIndex, int count) -#else - public void CopyTo(int index, aiAnimation[] array, int arrayIndex, int count) -#endif - { - if (array == null) - throw new ArgumentNullException("array"); - if (index < 0) - throw new ArgumentOutOfRangeException("index", "Value is less than zero"); - if (arrayIndex < 0) - throw new ArgumentOutOfRangeException("arrayIndex", "Value is less than zero"); - if (count < 0) - throw new ArgumentOutOfRangeException("count", "Value is less than zero"); - if (array.Rank > 1) - throw new ArgumentException("Multi dimensional array.", "array"); - if (index+count > this.Count || arrayIndex+count > array.Length) - throw new ArgumentException("Number of elements to copy is too large."); - for (int i=0; i System.Collections.Generic.IEnumerable.GetEnumerator() { - return new aiAnimationVectorEnumerator(this); - } -#endif - - System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { - return new aiAnimationVectorEnumerator(this); - } - - public aiAnimationVectorEnumerator GetEnumerator() { - return new aiAnimationVectorEnumerator(this); - } - - // Type-safe enumerator - /// Note that the IEnumerator documentation requires an InvalidOperationException to be thrown - /// whenever the collection is modified. This has been done for changes in the size of the - /// collection but not when one of the elements of the collection is modified as it is a bit - /// tricky to detect unmanaged code that modifies the collection under our feet. - public sealed class aiAnimationVectorEnumerator : System.Collections.IEnumerator -#if !SWIG_DOTNET_1 - , System.Collections.Generic.IEnumerator -#endif - { - private aiAnimationVector collectionRef; - private int currentIndex; - private object currentObject; - private int currentSize; - - public aiAnimationVectorEnumerator(aiAnimationVector collection) { - collectionRef = collection; - currentIndex = -1; - currentObject = null; - currentSize = collectionRef.Count; - } - - // Type-safe iterator Current - public aiAnimation Current { - get { - if (currentIndex == -1) - throw new InvalidOperationException("Enumeration not started."); - if (currentIndex > currentSize - 1) - throw new InvalidOperationException("Enumeration finished."); - if (currentObject == null) - throw new InvalidOperationException("Collection modified."); - return (aiAnimation)currentObject; - } - } - - // Type-unsafe IEnumerator.Current - object System.Collections.IEnumerator.Current { - get { - return Current; - } - } - - public bool MoveNext() { - int size = collectionRef.Count; - bool moveOkay = (currentIndex+1 < size) && (size == currentSize); - if (moveOkay) { - currentIndex++; - currentObject = collectionRef[currentIndex]; - } else { - currentObject = null; - } - return moveOkay; - } - - public void Reset() { - currentIndex = -1; - currentObject = null; - if (collectionRef.Count != currentSize) { - throw new InvalidOperationException("Collection modified."); - } - } - -#if !SWIG_DOTNET_1 - public void Dispose() { - currentIndex = -1; - currentObject = null; - } -#endif - } - - public void Clear() { - AssimpPINVOKE.aiAnimationVector_Clear(swigCPtr); - } - - public void Add(aiAnimation x) { - AssimpPINVOKE.aiAnimationVector_Add(swigCPtr, aiAnimation.getCPtr(x)); - } - - private uint size() { - uint ret = AssimpPINVOKE.aiAnimationVector_size(swigCPtr); - return ret; - } - - private uint capacity() { - uint ret = AssimpPINVOKE.aiAnimationVector_capacity(swigCPtr); - return ret; - } - - private void reserve(uint n) { - AssimpPINVOKE.aiAnimationVector_reserve(swigCPtr, n); - } - - public aiAnimationVector() : this(AssimpPINVOKE.new_aiAnimationVector__SWIG_0(), true) { - } - - public aiAnimationVector(aiAnimationVector other) : this(AssimpPINVOKE.new_aiAnimationVector__SWIG_1(aiAnimationVector.getCPtr(other)), true) { - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public aiAnimationVector(int capacity) : this(AssimpPINVOKE.new_aiAnimationVector__SWIG_2(capacity), true) { - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - private aiAnimation getitemcopy(int index) { - IntPtr cPtr = AssimpPINVOKE.aiAnimationVector_getitemcopy(swigCPtr, index); - aiAnimation ret = (cPtr == IntPtr.Zero) ? null : new aiAnimation(cPtr, false); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - private aiAnimation getitem(int index) { - IntPtr cPtr = AssimpPINVOKE.aiAnimationVector_getitem(swigCPtr, index); - aiAnimation ret = (cPtr == IntPtr.Zero) ? null : new aiAnimation(cPtr, false); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - private void setitem(int index, aiAnimation val) { - AssimpPINVOKE.aiAnimationVector_setitem(swigCPtr, index, aiAnimation.getCPtr(val)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void AddRange(aiAnimationVector values) { - AssimpPINVOKE.aiAnimationVector_AddRange(swigCPtr, aiAnimationVector.getCPtr(values)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public aiAnimationVector GetRange(int index, int count) { - IntPtr cPtr = AssimpPINVOKE.aiAnimationVector_GetRange(swigCPtr, index, count); - aiAnimationVector ret = (cPtr == IntPtr.Zero) ? null : new aiAnimationVector(cPtr, true); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public void Insert(int index, aiAnimation x) { - AssimpPINVOKE.aiAnimationVector_Insert(swigCPtr, index, aiAnimation.getCPtr(x)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void InsertRange(int index, aiAnimationVector values) { - AssimpPINVOKE.aiAnimationVector_InsertRange(swigCPtr, index, aiAnimationVector.getCPtr(values)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void RemoveAt(int index) { - AssimpPINVOKE.aiAnimationVector_RemoveAt(swigCPtr, index); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void RemoveRange(int index, int count) { - AssimpPINVOKE.aiAnimationVector_RemoveRange(swigCPtr, index, count); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public static aiAnimationVector Repeat(aiAnimation value, int count) { - IntPtr cPtr = AssimpPINVOKE.aiAnimationVector_Repeat(aiAnimation.getCPtr(value), count); - aiAnimationVector ret = (cPtr == IntPtr.Zero) ? null : new aiAnimationVector(cPtr, true); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public void Reverse() { - AssimpPINVOKE.aiAnimationVector_Reverse__SWIG_0(swigCPtr); - } - - public void Reverse(int index, int count) { - AssimpPINVOKE.aiAnimationVector_Reverse__SWIG_1(swigCPtr, index, count); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void SetRange(int index, aiAnimationVector values) { - AssimpPINVOKE.aiAnimationVector_SetRange(swigCPtr, index, aiAnimationVector.getCPtr(values)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public bool Contains(aiAnimation value) { - bool ret = AssimpPINVOKE.aiAnimationVector_Contains(swigCPtr, aiAnimation.getCPtr(value)); - return ret; - } - - public int IndexOf(aiAnimation value) { - int ret = AssimpPINVOKE.aiAnimationVector_IndexOf(swigCPtr, aiAnimation.getCPtr(value)); - return ret; - } - - public int LastIndexOf(aiAnimation value) { - int ret = AssimpPINVOKE.aiAnimationVector_LastIndexOf(swigCPtr, aiAnimation.getCPtr(value)); - return ret; - } - - public bool Remove(aiAnimation value) { - bool ret = AssimpPINVOKE.aiAnimationVector_Remove(swigCPtr, aiAnimation.getCPtr(value)); - return ret; - } - -} diff --git a/port/Assimp.NET/Assimp.NET_CS/aiBlendMode.cs b/port/Assimp.NET/Assimp.NET_CS/aiBlendMode.cs deleted file mode 100644 index ab8e563a6..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/aiBlendMode.cs +++ /dev/null @@ -1,13 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.8 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - - -public enum aiBlendMode { - aiBlendMode_Default = 0x0, - aiBlendMode_Additive = 0x1 -} diff --git a/port/Assimp.NET/Assimp.NET_CS/aiBone.cs b/port/Assimp.NET/Assimp.NET_CS/aiBone.cs deleted file mode 100644 index 226ce943e..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/aiBone.cs +++ /dev/null @@ -1,88 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.8 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - - -using System; -using System.Runtime.InteropServices; - -public class aiBone : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal aiBone(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(aiBone obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~aiBone() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - AssimpPINVOKE.delete_aiBone(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public aiString mName { - set { - AssimpPINVOKE.aiBone_mName_set(swigCPtr, aiString.getCPtr(value)); - } - get { - IntPtr cPtr = AssimpPINVOKE.aiBone_mName_get(swigCPtr); - aiString ret = (cPtr == IntPtr.Zero) ? null : new aiString(cPtr, false); - return ret; - } - } - - public uint mNumWeights { - set { - AssimpPINVOKE.aiBone_mNumWeights_set(swigCPtr, value); - } - get { - uint ret = AssimpPINVOKE.aiBone_mNumWeights_get(swigCPtr); - return ret; - } - } - - public aiMatrix4x4 mOffsetMatrix { - set { - AssimpPINVOKE.aiBone_mOffsetMatrix_set(swigCPtr, aiMatrix4x4.getCPtr(value)); - } - get { - IntPtr cPtr = AssimpPINVOKE.aiBone_mOffsetMatrix_get(swigCPtr); - aiMatrix4x4 ret = (cPtr == IntPtr.Zero) ? null : new aiMatrix4x4(cPtr, false); - return ret; - } - } - - public aiBone() : this(AssimpPINVOKE.new_aiBone__SWIG_0(), true) { - } - - public aiBone(aiBone other) : this(AssimpPINVOKE.new_aiBone__SWIG_1(aiBone.getCPtr(other)), true) { - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - private aiVertexWeightVector GetmWeights() { - IntPtr cPtr = AssimpPINVOKE.aiBone_GetmWeights(swigCPtr); - aiVertexWeightVector ret = (cPtr == IntPtr.Zero) ? null : new aiVertexWeightVector(cPtr, true); - return ret; - } - -} diff --git a/port/Assimp.NET/Assimp.NET_CS/aiBoneVector.cs b/port/Assimp.NET/Assimp.NET_CS/aiBoneVector.cs deleted file mode 100644 index a6feb46ff..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/aiBoneVector.cs +++ /dev/null @@ -1,348 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.8 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - - -using System; -using System.Runtime.InteropServices; - -public class aiBoneVector : IDisposable, System.Collections.IEnumerable -#if !SWIG_DOTNET_1 - , System.Collections.Generic.IList -#endif - { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal aiBoneVector(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(aiBoneVector obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~aiBoneVector() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - AssimpPINVOKE.delete_aiBoneVector(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public aiBoneVector(System.Collections.ICollection c) : this() { - if (c == null) - throw new ArgumentNullException("c"); - foreach (aiBone element in c) { - this.Add(element); - } - } - - public bool IsFixedSize { - get { - return false; - } - } - - public bool IsReadOnly { - get { - return false; - } - } - - public aiBone this[int index] { - get { - return getitem(index); - } - set { - setitem(index, value); - } - } - - public int Capacity { - get { - return (int)capacity(); - } - set { - if (value < size()) - throw new ArgumentOutOfRangeException("Capacity"); - reserve((uint)value); - } - } - - public int Count { - get { - return (int)size(); - } - } - - public bool IsSynchronized { - get { - return false; - } - } - -#if SWIG_DOTNET_1 - public void CopyTo(System.Array array) -#else - public void CopyTo(aiBone[] array) -#endif - { - CopyTo(0, array, 0, this.Count); - } - -#if SWIG_DOTNET_1 - public void CopyTo(System.Array array, int arrayIndex) -#else - public void CopyTo(aiBone[] array, int arrayIndex) -#endif - { - CopyTo(0, array, arrayIndex, this.Count); - } - -#if SWIG_DOTNET_1 - public void CopyTo(int index, System.Array array, int arrayIndex, int count) -#else - public void CopyTo(int index, aiBone[] array, int arrayIndex, int count) -#endif - { - if (array == null) - throw new ArgumentNullException("array"); - if (index < 0) - throw new ArgumentOutOfRangeException("index", "Value is less than zero"); - if (arrayIndex < 0) - throw new ArgumentOutOfRangeException("arrayIndex", "Value is less than zero"); - if (count < 0) - throw new ArgumentOutOfRangeException("count", "Value is less than zero"); - if (array.Rank > 1) - throw new ArgumentException("Multi dimensional array.", "array"); - if (index+count > this.Count || arrayIndex+count > array.Length) - throw new ArgumentException("Number of elements to copy is too large."); - for (int i=0; i System.Collections.Generic.IEnumerable.GetEnumerator() { - return new aiBoneVectorEnumerator(this); - } -#endif - - System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { - return new aiBoneVectorEnumerator(this); - } - - public aiBoneVectorEnumerator GetEnumerator() { - return new aiBoneVectorEnumerator(this); - } - - // Type-safe enumerator - /// Note that the IEnumerator documentation requires an InvalidOperationException to be thrown - /// whenever the collection is modified. This has been done for changes in the size of the - /// collection but not when one of the elements of the collection is modified as it is a bit - /// tricky to detect unmanaged code that modifies the collection under our feet. - public sealed class aiBoneVectorEnumerator : System.Collections.IEnumerator -#if !SWIG_DOTNET_1 - , System.Collections.Generic.IEnumerator -#endif - { - private aiBoneVector collectionRef; - private int currentIndex; - private object currentObject; - private int currentSize; - - public aiBoneVectorEnumerator(aiBoneVector collection) { - collectionRef = collection; - currentIndex = -1; - currentObject = null; - currentSize = collectionRef.Count; - } - - // Type-safe iterator Current - public aiBone Current { - get { - if (currentIndex == -1) - throw new InvalidOperationException("Enumeration not started."); - if (currentIndex > currentSize - 1) - throw new InvalidOperationException("Enumeration finished."); - if (currentObject == null) - throw new InvalidOperationException("Collection modified."); - return (aiBone)currentObject; - } - } - - // Type-unsafe IEnumerator.Current - object System.Collections.IEnumerator.Current { - get { - return Current; - } - } - - public bool MoveNext() { - int size = collectionRef.Count; - bool moveOkay = (currentIndex+1 < size) && (size == currentSize); - if (moveOkay) { - currentIndex++; - currentObject = collectionRef[currentIndex]; - } else { - currentObject = null; - } - return moveOkay; - } - - public void Reset() { - currentIndex = -1; - currentObject = null; - if (collectionRef.Count != currentSize) { - throw new InvalidOperationException("Collection modified."); - } - } - -#if !SWIG_DOTNET_1 - public void Dispose() { - currentIndex = -1; - currentObject = null; - } -#endif - } - - public void Clear() { - AssimpPINVOKE.aiBoneVector_Clear(swigCPtr); - } - - public void Add(aiBone x) { - AssimpPINVOKE.aiBoneVector_Add(swigCPtr, aiBone.getCPtr(x)); - } - - private uint size() { - uint ret = AssimpPINVOKE.aiBoneVector_size(swigCPtr); - return ret; - } - - private uint capacity() { - uint ret = AssimpPINVOKE.aiBoneVector_capacity(swigCPtr); - return ret; - } - - private void reserve(uint n) { - AssimpPINVOKE.aiBoneVector_reserve(swigCPtr, n); - } - - public aiBoneVector() : this(AssimpPINVOKE.new_aiBoneVector__SWIG_0(), true) { - } - - public aiBoneVector(aiBoneVector other) : this(AssimpPINVOKE.new_aiBoneVector__SWIG_1(aiBoneVector.getCPtr(other)), true) { - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public aiBoneVector(int capacity) : this(AssimpPINVOKE.new_aiBoneVector__SWIG_2(capacity), true) { - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - private aiBone getitemcopy(int index) { - IntPtr cPtr = AssimpPINVOKE.aiBoneVector_getitemcopy(swigCPtr, index); - aiBone ret = (cPtr == IntPtr.Zero) ? null : new aiBone(cPtr, false); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - private aiBone getitem(int index) { - IntPtr cPtr = AssimpPINVOKE.aiBoneVector_getitem(swigCPtr, index); - aiBone ret = (cPtr == IntPtr.Zero) ? null : new aiBone(cPtr, false); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - private void setitem(int index, aiBone val) { - AssimpPINVOKE.aiBoneVector_setitem(swigCPtr, index, aiBone.getCPtr(val)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void AddRange(aiBoneVector values) { - AssimpPINVOKE.aiBoneVector_AddRange(swigCPtr, aiBoneVector.getCPtr(values)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public aiBoneVector GetRange(int index, int count) { - IntPtr cPtr = AssimpPINVOKE.aiBoneVector_GetRange(swigCPtr, index, count); - aiBoneVector ret = (cPtr == IntPtr.Zero) ? null : new aiBoneVector(cPtr, true); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public void Insert(int index, aiBone x) { - AssimpPINVOKE.aiBoneVector_Insert(swigCPtr, index, aiBone.getCPtr(x)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void InsertRange(int index, aiBoneVector values) { - AssimpPINVOKE.aiBoneVector_InsertRange(swigCPtr, index, aiBoneVector.getCPtr(values)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void RemoveAt(int index) { - AssimpPINVOKE.aiBoneVector_RemoveAt(swigCPtr, index); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void RemoveRange(int index, int count) { - AssimpPINVOKE.aiBoneVector_RemoveRange(swigCPtr, index, count); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public static aiBoneVector Repeat(aiBone value, int count) { - IntPtr cPtr = AssimpPINVOKE.aiBoneVector_Repeat(aiBone.getCPtr(value), count); - aiBoneVector ret = (cPtr == IntPtr.Zero) ? null : new aiBoneVector(cPtr, true); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public void Reverse() { - AssimpPINVOKE.aiBoneVector_Reverse__SWIG_0(swigCPtr); - } - - public void Reverse(int index, int count) { - AssimpPINVOKE.aiBoneVector_Reverse__SWIG_1(swigCPtr, index, count); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void SetRange(int index, aiBoneVector values) { - AssimpPINVOKE.aiBoneVector_SetRange(swigCPtr, index, aiBoneVector.getCPtr(values)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public bool Contains(aiBone value) { - bool ret = AssimpPINVOKE.aiBoneVector_Contains(swigCPtr, aiBone.getCPtr(value)); - return ret; - } - - public int IndexOf(aiBone value) { - int ret = AssimpPINVOKE.aiBoneVector_IndexOf(swigCPtr, aiBone.getCPtr(value)); - return ret; - } - - public int LastIndexOf(aiBone value) { - int ret = AssimpPINVOKE.aiBoneVector_LastIndexOf(swigCPtr, aiBone.getCPtr(value)); - return ret; - } - - public bool Remove(aiBone value) { - bool ret = AssimpPINVOKE.aiBoneVector_Remove(swigCPtr, aiBone.getCPtr(value)); - return ret; - } - -} diff --git a/port/Assimp.NET/Assimp.NET_CS/aiCamera.cs b/port/Assimp.NET/Assimp.NET_CS/aiCamera.cs deleted file mode 100644 index 3c96d0d21..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/aiCamera.cs +++ /dev/null @@ -1,135 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.8 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - - -using System; -using System.Runtime.InteropServices; - -public class aiCamera : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal aiCamera(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(aiCamera obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~aiCamera() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - AssimpPINVOKE.delete_aiCamera(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public aiString mName { - set { - AssimpPINVOKE.aiCamera_mName_set(swigCPtr, aiString.getCPtr(value)); - } - get { - IntPtr cPtr = AssimpPINVOKE.aiCamera_mName_get(swigCPtr); - aiString ret = (cPtr == IntPtr.Zero) ? null : new aiString(cPtr, false); - return ret; - } - } - - public aiVector3D mPosition { - set { - AssimpPINVOKE.aiCamera_mPosition_set(swigCPtr, aiVector3D.getCPtr(value)); - } - get { - IntPtr cPtr = AssimpPINVOKE.aiCamera_mPosition_get(swigCPtr); - aiVector3D ret = (cPtr == IntPtr.Zero) ? null : new aiVector3D(cPtr, false); - return ret; - } - } - - public aiVector3D mUp { - set { - AssimpPINVOKE.aiCamera_mUp_set(swigCPtr, aiVector3D.getCPtr(value)); - } - get { - IntPtr cPtr = AssimpPINVOKE.aiCamera_mUp_get(swigCPtr); - aiVector3D ret = (cPtr == IntPtr.Zero) ? null : new aiVector3D(cPtr, false); - return ret; - } - } - - public aiVector3D mLookAt { - set { - AssimpPINVOKE.aiCamera_mLookAt_set(swigCPtr, aiVector3D.getCPtr(value)); - } - get { - IntPtr cPtr = AssimpPINVOKE.aiCamera_mLookAt_get(swigCPtr); - aiVector3D ret = (cPtr == IntPtr.Zero) ? null : new aiVector3D(cPtr, false); - return ret; - } - } - - public float mHorizontalFOV { - set { - AssimpPINVOKE.aiCamera_mHorizontalFOV_set(swigCPtr, value); - } - get { - float ret = AssimpPINVOKE.aiCamera_mHorizontalFOV_get(swigCPtr); - return ret; - } - } - - public float mClipPlaneNear { - set { - AssimpPINVOKE.aiCamera_mClipPlaneNear_set(swigCPtr, value); - } - get { - float ret = AssimpPINVOKE.aiCamera_mClipPlaneNear_get(swigCPtr); - return ret; - } - } - - public float mClipPlaneFar { - set { - AssimpPINVOKE.aiCamera_mClipPlaneFar_set(swigCPtr, value); - } - get { - float ret = AssimpPINVOKE.aiCamera_mClipPlaneFar_get(swigCPtr); - return ret; - } - } - - public float mAspect { - set { - AssimpPINVOKE.aiCamera_mAspect_set(swigCPtr, value); - } - get { - float ret = AssimpPINVOKE.aiCamera_mAspect_get(swigCPtr); - return ret; - } - } - - public aiCamera() : this(AssimpPINVOKE.new_aiCamera(), true) { - } - - public void GetCameraMatrix(aiMatrix4x4 arg0) { - AssimpPINVOKE.aiCamera_GetCameraMatrix(swigCPtr, aiMatrix4x4.getCPtr(arg0)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - -} diff --git a/port/Assimp.NET/Assimp.NET_CS/aiCameraVector.cs b/port/Assimp.NET/Assimp.NET_CS/aiCameraVector.cs deleted file mode 100644 index 1cbc857e1..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/aiCameraVector.cs +++ /dev/null @@ -1,348 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.8 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - - -using System; -using System.Runtime.InteropServices; - -public class aiCameraVector : IDisposable, System.Collections.IEnumerable -#if !SWIG_DOTNET_1 - , System.Collections.Generic.IList -#endif - { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal aiCameraVector(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(aiCameraVector obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~aiCameraVector() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - AssimpPINVOKE.delete_aiCameraVector(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public aiCameraVector(System.Collections.ICollection c) : this() { - if (c == null) - throw new ArgumentNullException("c"); - foreach (aiCamera element in c) { - this.Add(element); - } - } - - public bool IsFixedSize { - get { - return false; - } - } - - public bool IsReadOnly { - get { - return false; - } - } - - public aiCamera this[int index] { - get { - return getitem(index); - } - set { - setitem(index, value); - } - } - - public int Capacity { - get { - return (int)capacity(); - } - set { - if (value < size()) - throw new ArgumentOutOfRangeException("Capacity"); - reserve((uint)value); - } - } - - public int Count { - get { - return (int)size(); - } - } - - public bool IsSynchronized { - get { - return false; - } - } - -#if SWIG_DOTNET_1 - public void CopyTo(System.Array array) -#else - public void CopyTo(aiCamera[] array) -#endif - { - CopyTo(0, array, 0, this.Count); - } - -#if SWIG_DOTNET_1 - public void CopyTo(System.Array array, int arrayIndex) -#else - public void CopyTo(aiCamera[] array, int arrayIndex) -#endif - { - CopyTo(0, array, arrayIndex, this.Count); - } - -#if SWIG_DOTNET_1 - public void CopyTo(int index, System.Array array, int arrayIndex, int count) -#else - public void CopyTo(int index, aiCamera[] array, int arrayIndex, int count) -#endif - { - if (array == null) - throw new ArgumentNullException("array"); - if (index < 0) - throw new ArgumentOutOfRangeException("index", "Value is less than zero"); - if (arrayIndex < 0) - throw new ArgumentOutOfRangeException("arrayIndex", "Value is less than zero"); - if (count < 0) - throw new ArgumentOutOfRangeException("count", "Value is less than zero"); - if (array.Rank > 1) - throw new ArgumentException("Multi dimensional array.", "array"); - if (index+count > this.Count || arrayIndex+count > array.Length) - throw new ArgumentException("Number of elements to copy is too large."); - for (int i=0; i System.Collections.Generic.IEnumerable.GetEnumerator() { - return new aiCameraVectorEnumerator(this); - } -#endif - - System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { - return new aiCameraVectorEnumerator(this); - } - - public aiCameraVectorEnumerator GetEnumerator() { - return new aiCameraVectorEnumerator(this); - } - - // Type-safe enumerator - /// Note that the IEnumerator documentation requires an InvalidOperationException to be thrown - /// whenever the collection is modified. This has been done for changes in the size of the - /// collection but not when one of the elements of the collection is modified as it is a bit - /// tricky to detect unmanaged code that modifies the collection under our feet. - public sealed class aiCameraVectorEnumerator : System.Collections.IEnumerator -#if !SWIG_DOTNET_1 - , System.Collections.Generic.IEnumerator -#endif - { - private aiCameraVector collectionRef; - private int currentIndex; - private object currentObject; - private int currentSize; - - public aiCameraVectorEnumerator(aiCameraVector collection) { - collectionRef = collection; - currentIndex = -1; - currentObject = null; - currentSize = collectionRef.Count; - } - - // Type-safe iterator Current - public aiCamera Current { - get { - if (currentIndex == -1) - throw new InvalidOperationException("Enumeration not started."); - if (currentIndex > currentSize - 1) - throw new InvalidOperationException("Enumeration finished."); - if (currentObject == null) - throw new InvalidOperationException("Collection modified."); - return (aiCamera)currentObject; - } - } - - // Type-unsafe IEnumerator.Current - object System.Collections.IEnumerator.Current { - get { - return Current; - } - } - - public bool MoveNext() { - int size = collectionRef.Count; - bool moveOkay = (currentIndex+1 < size) && (size == currentSize); - if (moveOkay) { - currentIndex++; - currentObject = collectionRef[currentIndex]; - } else { - currentObject = null; - } - return moveOkay; - } - - public void Reset() { - currentIndex = -1; - currentObject = null; - if (collectionRef.Count != currentSize) { - throw new InvalidOperationException("Collection modified."); - } - } - -#if !SWIG_DOTNET_1 - public void Dispose() { - currentIndex = -1; - currentObject = null; - } -#endif - } - - public void Clear() { - AssimpPINVOKE.aiCameraVector_Clear(swigCPtr); - } - - public void Add(aiCamera x) { - AssimpPINVOKE.aiCameraVector_Add(swigCPtr, aiCamera.getCPtr(x)); - } - - private uint size() { - uint ret = AssimpPINVOKE.aiCameraVector_size(swigCPtr); - return ret; - } - - private uint capacity() { - uint ret = AssimpPINVOKE.aiCameraVector_capacity(swigCPtr); - return ret; - } - - private void reserve(uint n) { - AssimpPINVOKE.aiCameraVector_reserve(swigCPtr, n); - } - - public aiCameraVector() : this(AssimpPINVOKE.new_aiCameraVector__SWIG_0(), true) { - } - - public aiCameraVector(aiCameraVector other) : this(AssimpPINVOKE.new_aiCameraVector__SWIG_1(aiCameraVector.getCPtr(other)), true) { - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public aiCameraVector(int capacity) : this(AssimpPINVOKE.new_aiCameraVector__SWIG_2(capacity), true) { - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - private aiCamera getitemcopy(int index) { - IntPtr cPtr = AssimpPINVOKE.aiCameraVector_getitemcopy(swigCPtr, index); - aiCamera ret = (cPtr == IntPtr.Zero) ? null : new aiCamera(cPtr, false); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - private aiCamera getitem(int index) { - IntPtr cPtr = AssimpPINVOKE.aiCameraVector_getitem(swigCPtr, index); - aiCamera ret = (cPtr == IntPtr.Zero) ? null : new aiCamera(cPtr, false); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - private void setitem(int index, aiCamera val) { - AssimpPINVOKE.aiCameraVector_setitem(swigCPtr, index, aiCamera.getCPtr(val)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void AddRange(aiCameraVector values) { - AssimpPINVOKE.aiCameraVector_AddRange(swigCPtr, aiCameraVector.getCPtr(values)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public aiCameraVector GetRange(int index, int count) { - IntPtr cPtr = AssimpPINVOKE.aiCameraVector_GetRange(swigCPtr, index, count); - aiCameraVector ret = (cPtr == IntPtr.Zero) ? null : new aiCameraVector(cPtr, true); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public void Insert(int index, aiCamera x) { - AssimpPINVOKE.aiCameraVector_Insert(swigCPtr, index, aiCamera.getCPtr(x)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void InsertRange(int index, aiCameraVector values) { - AssimpPINVOKE.aiCameraVector_InsertRange(swigCPtr, index, aiCameraVector.getCPtr(values)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void RemoveAt(int index) { - AssimpPINVOKE.aiCameraVector_RemoveAt(swigCPtr, index); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void RemoveRange(int index, int count) { - AssimpPINVOKE.aiCameraVector_RemoveRange(swigCPtr, index, count); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public static aiCameraVector Repeat(aiCamera value, int count) { - IntPtr cPtr = AssimpPINVOKE.aiCameraVector_Repeat(aiCamera.getCPtr(value), count); - aiCameraVector ret = (cPtr == IntPtr.Zero) ? null : new aiCameraVector(cPtr, true); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public void Reverse() { - AssimpPINVOKE.aiCameraVector_Reverse__SWIG_0(swigCPtr); - } - - public void Reverse(int index, int count) { - AssimpPINVOKE.aiCameraVector_Reverse__SWIG_1(swigCPtr, index, count); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void SetRange(int index, aiCameraVector values) { - AssimpPINVOKE.aiCameraVector_SetRange(swigCPtr, index, aiCameraVector.getCPtr(values)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public bool Contains(aiCamera value) { - bool ret = AssimpPINVOKE.aiCameraVector_Contains(swigCPtr, aiCamera.getCPtr(value)); - return ret; - } - - public int IndexOf(aiCamera value) { - int ret = AssimpPINVOKE.aiCameraVector_IndexOf(swigCPtr, aiCamera.getCPtr(value)); - return ret; - } - - public int LastIndexOf(aiCamera value) { - int ret = AssimpPINVOKE.aiCameraVector_LastIndexOf(swigCPtr, aiCamera.getCPtr(value)); - return ret; - } - - public bool Remove(aiCamera value) { - bool ret = AssimpPINVOKE.aiCameraVector_Remove(swigCPtr, aiCamera.getCPtr(value)); - return ret; - } - -} diff --git a/port/Assimp.NET/Assimp.NET_CS/aiColor3D.cs b/port/Assimp.NET/Assimp.NET_CS/aiColor3D.cs deleted file mode 100644 index 8590b614f..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/aiColor3D.cs +++ /dev/null @@ -1,131 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.8 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - - -using System; -using System.Runtime.InteropServices; - -public class aiColor3D : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal aiColor3D(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(aiColor3D obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~aiColor3D() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - AssimpPINVOKE.delete_aiColor3D(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public aiColor3D() : this(AssimpPINVOKE.new_aiColor3D__SWIG_0(), true) { - } - - public aiColor3D(float _r, float _g, float _b) : this(AssimpPINVOKE.new_aiColor3D__SWIG_1(_r, _g, _b), true) { - } - - public aiColor3D(float _r) : this(AssimpPINVOKE.new_aiColor3D__SWIG_2(_r), true) { - } - - public aiColor3D(aiColor3D o) : this(AssimpPINVOKE.new_aiColor3D__SWIG_3(aiColor3D.getCPtr(o)), true) { - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public bool __equal__(aiColor3D other) { - bool ret = AssimpPINVOKE.aiColor3D___equal__(swigCPtr, aiColor3D.getCPtr(other)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public bool __nequal__(aiColor3D other) { - bool ret = AssimpPINVOKE.aiColor3D___nequal__(swigCPtr, aiColor3D.getCPtr(other)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public aiColor3D __add__(aiColor3D c) { - aiColor3D ret = new aiColor3D(AssimpPINVOKE.aiColor3D___add__(swigCPtr, aiColor3D.getCPtr(c)), true); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public aiColor3D __sub__(aiColor3D c) { - aiColor3D ret = new aiColor3D(AssimpPINVOKE.aiColor3D___sub__(swigCPtr, aiColor3D.getCPtr(c)), true); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public aiColor3D __mul__(aiColor3D c) { - aiColor3D ret = new aiColor3D(AssimpPINVOKE.aiColor3D___mul____SWIG_0(swigCPtr, aiColor3D.getCPtr(c)), true); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public aiColor3D __mul__(float f) { - aiColor3D ret = new aiColor3D(AssimpPINVOKE.aiColor3D___mul____SWIG_1(swigCPtr, f), true); - return ret; - } - - public float __idx__(uint i) { - float ret = AssimpPINVOKE.aiColor3D___idx____SWIG_0(swigCPtr, i); - return ret; - } - - public bool IsBlack() { - bool ret = AssimpPINVOKE.aiColor3D_IsBlack(swigCPtr); - return ret; - } - - public float r { - set { - AssimpPINVOKE.aiColor3D_r_set(swigCPtr, value); - } - get { - float ret = AssimpPINVOKE.aiColor3D_r_get(swigCPtr); - return ret; - } - } - - public float g { - set { - AssimpPINVOKE.aiColor3D_g_set(swigCPtr, value); - } - get { - float ret = AssimpPINVOKE.aiColor3D_g_get(swigCPtr); - return ret; - } - } - - public float b { - set { - AssimpPINVOKE.aiColor3D_b_set(swigCPtr, value); - } - get { - float ret = AssimpPINVOKE.aiColor3D_b_get(swigCPtr); - return ret; - } - } - -} diff --git a/port/Assimp.NET/Assimp.NET_CS/aiColor4D.cs b/port/Assimp.NET/Assimp.NET_CS/aiColor4D.cs deleted file mode 100644 index 435ec505a..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/aiColor4D.cs +++ /dev/null @@ -1,140 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.8 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - - -using System; -using System.Runtime.InteropServices; - -public class aiColor4D : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal aiColor4D(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(aiColor4D obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~aiColor4D() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - AssimpPINVOKE.delete_aiColor4D(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public aiColor4D() : this(AssimpPINVOKE.new_aiColor4D__SWIG_0(), true) { - } - - public aiColor4D(float _r, float _g, float _b, float _a) : this(AssimpPINVOKE.new_aiColor4D__SWIG_1(_r, _g, _b, _a), true) { - } - - public aiColor4D(float _r) : this(AssimpPINVOKE.new_aiColor4D__SWIG_2(_r), true) { - } - - public aiColor4D(aiColor4D o) : this(AssimpPINVOKE.new_aiColor4D__SWIG_3(aiColor4D.getCPtr(o)), true) { - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public aiColor4D __addnset__(aiColor4D o) { - aiColor4D ret = new aiColor4D(AssimpPINVOKE.aiColor4D___addnset__(swigCPtr, aiColor4D.getCPtr(o)), false); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public aiColor4D __subnset__(aiColor4D o) { - aiColor4D ret = new aiColor4D(AssimpPINVOKE.aiColor4D___subnset__(swigCPtr, aiColor4D.getCPtr(o)), false); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public aiColor4D __mulnset__(float f) { - aiColor4D ret = new aiColor4D(AssimpPINVOKE.aiColor4D___mulnset__(swigCPtr, f), false); - return ret; - } - - public aiColor4D __divnset__(float f) { - aiColor4D ret = new aiColor4D(AssimpPINVOKE.aiColor4D___divnset__(swigCPtr, f), false); - return ret; - } - - public bool __equal__(aiColor4D other) { - bool ret = AssimpPINVOKE.aiColor4D___equal__(swigCPtr, aiColor4D.getCPtr(other)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public bool __nequal__(aiColor4D other) { - bool ret = AssimpPINVOKE.aiColor4D___nequal__(swigCPtr, aiColor4D.getCPtr(other)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public float __idx__(uint i) { - float ret = AssimpPINVOKE.aiColor4D___idx____SWIG_0(swigCPtr, i); - return ret; - } - - public bool IsBlack() { - bool ret = AssimpPINVOKE.aiColor4D_IsBlack(swigCPtr); - return ret; - } - - public float r { - set { - AssimpPINVOKE.aiColor4D_r_set(swigCPtr, value); - } - get { - float ret = AssimpPINVOKE.aiColor4D_r_get(swigCPtr); - return ret; - } - } - - public float g { - set { - AssimpPINVOKE.aiColor4D_g_set(swigCPtr, value); - } - get { - float ret = AssimpPINVOKE.aiColor4D_g_get(swigCPtr); - return ret; - } - } - - public float b { - set { - AssimpPINVOKE.aiColor4D_b_set(swigCPtr, value); - } - get { - float ret = AssimpPINVOKE.aiColor4D_b_get(swigCPtr); - return ret; - } - } - - public float a { - set { - AssimpPINVOKE.aiColor4D_a_set(swigCPtr, value); - } - get { - float ret = AssimpPINVOKE.aiColor4D_a_get(swigCPtr); - return ret; - } - } - -} diff --git a/port/Assimp.NET/Assimp.NET_CS/aiColor4DVector.cs b/port/Assimp.NET/Assimp.NET_CS/aiColor4DVector.cs deleted file mode 100644 index 3b1b76920..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/aiColor4DVector.cs +++ /dev/null @@ -1,348 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.8 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - - -using System; -using System.Runtime.InteropServices; - -public class aiColor4DVector : IDisposable, System.Collections.IEnumerable -#if !SWIG_DOTNET_1 - , System.Collections.Generic.IList -#endif - { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal aiColor4DVector(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(aiColor4DVector obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~aiColor4DVector() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - AssimpPINVOKE.delete_aiColor4DVector(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public aiColor4DVector(System.Collections.ICollection c) : this() { - if (c == null) - throw new ArgumentNullException("c"); - foreach (aiColor4D element in c) { - this.Add(element); - } - } - - public bool IsFixedSize { - get { - return false; - } - } - - public bool IsReadOnly { - get { - return false; - } - } - - public aiColor4D this[int index] { - get { - return getitem(index); - } - set { - setitem(index, value); - } - } - - public int Capacity { - get { - return (int)capacity(); - } - set { - if (value < size()) - throw new ArgumentOutOfRangeException("Capacity"); - reserve((uint)value); - } - } - - public int Count { - get { - return (int)size(); - } - } - - public bool IsSynchronized { - get { - return false; - } - } - -#if SWIG_DOTNET_1 - public void CopyTo(System.Array array) -#else - public void CopyTo(aiColor4D[] array) -#endif - { - CopyTo(0, array, 0, this.Count); - } - -#if SWIG_DOTNET_1 - public void CopyTo(System.Array array, int arrayIndex) -#else - public void CopyTo(aiColor4D[] array, int arrayIndex) -#endif - { - CopyTo(0, array, arrayIndex, this.Count); - } - -#if SWIG_DOTNET_1 - public void CopyTo(int index, System.Array array, int arrayIndex, int count) -#else - public void CopyTo(int index, aiColor4D[] array, int arrayIndex, int count) -#endif - { - if (array == null) - throw new ArgumentNullException("array"); - if (index < 0) - throw new ArgumentOutOfRangeException("index", "Value is less than zero"); - if (arrayIndex < 0) - throw new ArgumentOutOfRangeException("arrayIndex", "Value is less than zero"); - if (count < 0) - throw new ArgumentOutOfRangeException("count", "Value is less than zero"); - if (array.Rank > 1) - throw new ArgumentException("Multi dimensional array.", "array"); - if (index+count > this.Count || arrayIndex+count > array.Length) - throw new ArgumentException("Number of elements to copy is too large."); - for (int i=0; i System.Collections.Generic.IEnumerable.GetEnumerator() { - return new aiColor4DVectorEnumerator(this); - } -#endif - - System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { - return new aiColor4DVectorEnumerator(this); - } - - public aiColor4DVectorEnumerator GetEnumerator() { - return new aiColor4DVectorEnumerator(this); - } - - // Type-safe enumerator - /// Note that the IEnumerator documentation requires an InvalidOperationException to be thrown - /// whenever the collection is modified. This has been done for changes in the size of the - /// collection but not when one of the elements of the collection is modified as it is a bit - /// tricky to detect unmanaged code that modifies the collection under our feet. - public sealed class aiColor4DVectorEnumerator : System.Collections.IEnumerator -#if !SWIG_DOTNET_1 - , System.Collections.Generic.IEnumerator -#endif - { - private aiColor4DVector collectionRef; - private int currentIndex; - private object currentObject; - private int currentSize; - - public aiColor4DVectorEnumerator(aiColor4DVector collection) { - collectionRef = collection; - currentIndex = -1; - currentObject = null; - currentSize = collectionRef.Count; - } - - // Type-safe iterator Current - public aiColor4D Current { - get { - if (currentIndex == -1) - throw new InvalidOperationException("Enumeration not started."); - if (currentIndex > currentSize - 1) - throw new InvalidOperationException("Enumeration finished."); - if (currentObject == null) - throw new InvalidOperationException("Collection modified."); - return (aiColor4D)currentObject; - } - } - - // Type-unsafe IEnumerator.Current - object System.Collections.IEnumerator.Current { - get { - return Current; - } - } - - public bool MoveNext() { - int size = collectionRef.Count; - bool moveOkay = (currentIndex+1 < size) && (size == currentSize); - if (moveOkay) { - currentIndex++; - currentObject = collectionRef[currentIndex]; - } else { - currentObject = null; - } - return moveOkay; - } - - public void Reset() { - currentIndex = -1; - currentObject = null; - if (collectionRef.Count != currentSize) { - throw new InvalidOperationException("Collection modified."); - } - } - -#if !SWIG_DOTNET_1 - public void Dispose() { - currentIndex = -1; - currentObject = null; - } -#endif - } - - public void Clear() { - AssimpPINVOKE.aiColor4DVector_Clear(swigCPtr); - } - - public void Add(aiColor4D x) { - AssimpPINVOKE.aiColor4DVector_Add(swigCPtr, aiColor4D.getCPtr(x)); - } - - private uint size() { - uint ret = AssimpPINVOKE.aiColor4DVector_size(swigCPtr); - return ret; - } - - private uint capacity() { - uint ret = AssimpPINVOKE.aiColor4DVector_capacity(swigCPtr); - return ret; - } - - private void reserve(uint n) { - AssimpPINVOKE.aiColor4DVector_reserve(swigCPtr, n); - } - - public aiColor4DVector() : this(AssimpPINVOKE.new_aiColor4DVector__SWIG_0(), true) { - } - - public aiColor4DVector(aiColor4DVector other) : this(AssimpPINVOKE.new_aiColor4DVector__SWIG_1(aiColor4DVector.getCPtr(other)), true) { - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public aiColor4DVector(int capacity) : this(AssimpPINVOKE.new_aiColor4DVector__SWIG_2(capacity), true) { - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - private aiColor4D getitemcopy(int index) { - IntPtr cPtr = AssimpPINVOKE.aiColor4DVector_getitemcopy(swigCPtr, index); - aiColor4D ret = (cPtr == IntPtr.Zero) ? null : new aiColor4D(cPtr, false); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - private aiColor4D getitem(int index) { - IntPtr cPtr = AssimpPINVOKE.aiColor4DVector_getitem(swigCPtr, index); - aiColor4D ret = (cPtr == IntPtr.Zero) ? null : new aiColor4D(cPtr, false); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - private void setitem(int index, aiColor4D val) { - AssimpPINVOKE.aiColor4DVector_setitem(swigCPtr, index, aiColor4D.getCPtr(val)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void AddRange(aiColor4DVector values) { - AssimpPINVOKE.aiColor4DVector_AddRange(swigCPtr, aiColor4DVector.getCPtr(values)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public aiColor4DVector GetRange(int index, int count) { - IntPtr cPtr = AssimpPINVOKE.aiColor4DVector_GetRange(swigCPtr, index, count); - aiColor4DVector ret = (cPtr == IntPtr.Zero) ? null : new aiColor4DVector(cPtr, true); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public void Insert(int index, aiColor4D x) { - AssimpPINVOKE.aiColor4DVector_Insert(swigCPtr, index, aiColor4D.getCPtr(x)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void InsertRange(int index, aiColor4DVector values) { - AssimpPINVOKE.aiColor4DVector_InsertRange(swigCPtr, index, aiColor4DVector.getCPtr(values)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void RemoveAt(int index) { - AssimpPINVOKE.aiColor4DVector_RemoveAt(swigCPtr, index); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void RemoveRange(int index, int count) { - AssimpPINVOKE.aiColor4DVector_RemoveRange(swigCPtr, index, count); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public static aiColor4DVector Repeat(aiColor4D value, int count) { - IntPtr cPtr = AssimpPINVOKE.aiColor4DVector_Repeat(aiColor4D.getCPtr(value), count); - aiColor4DVector ret = (cPtr == IntPtr.Zero) ? null : new aiColor4DVector(cPtr, true); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public void Reverse() { - AssimpPINVOKE.aiColor4DVector_Reverse__SWIG_0(swigCPtr); - } - - public void Reverse(int index, int count) { - AssimpPINVOKE.aiColor4DVector_Reverse__SWIG_1(swigCPtr, index, count); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void SetRange(int index, aiColor4DVector values) { - AssimpPINVOKE.aiColor4DVector_SetRange(swigCPtr, index, aiColor4DVector.getCPtr(values)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public bool Contains(aiColor4D value) { - bool ret = AssimpPINVOKE.aiColor4DVector_Contains(swigCPtr, aiColor4D.getCPtr(value)); - return ret; - } - - public int IndexOf(aiColor4D value) { - int ret = AssimpPINVOKE.aiColor4DVector_IndexOf(swigCPtr, aiColor4D.getCPtr(value)); - return ret; - } - - public int LastIndexOf(aiColor4D value) { - int ret = AssimpPINVOKE.aiColor4DVector_LastIndexOf(swigCPtr, aiColor4D.getCPtr(value)); - return ret; - } - - public bool Remove(aiColor4D value) { - bool ret = AssimpPINVOKE.aiColor4DVector_Remove(swigCPtr, aiColor4D.getCPtr(value)); - return ret; - } - -} diff --git a/port/Assimp.NET/Assimp.NET_CS/aiColor4DVectorVector.cs b/port/Assimp.NET/Assimp.NET_CS/aiColor4DVectorVector.cs deleted file mode 100644 index ffe291d0e..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/aiColor4DVectorVector.cs +++ /dev/null @@ -1,327 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.8 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - - -using System; -using System.Runtime.InteropServices; - -public class aiColor4DVectorVector : IDisposable, System.Collections.IEnumerable -#if !SWIG_DOTNET_1 - , System.Collections.Generic.IEnumerable -#endif - { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal aiColor4DVectorVector(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(aiColor4DVectorVector obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~aiColor4DVectorVector() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - AssimpPINVOKE.delete_aiColor4DVectorVector(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public aiColor4DVectorVector(System.Collections.ICollection c) : this() { - if (c == null) - throw new ArgumentNullException("c"); - foreach (aiColor4DVector element in c) { - this.Add(element); - } - } - - public bool IsFixedSize { - get { - return false; - } - } - - public bool IsReadOnly { - get { - return false; - } - } - - public aiColor4DVector this[int index] { - get { - return getitem(index); - } - set { - setitem(index, value); - } - } - - public int Capacity { - get { - return (int)capacity(); - } - set { - if (value < size()) - throw new ArgumentOutOfRangeException("Capacity"); - reserve((uint)value); - } - } - - public int Count { - get { - return (int)size(); - } - } - - public bool IsSynchronized { - get { - return false; - } - } - -#if SWIG_DOTNET_1 - public void CopyTo(System.Array array) -#else - public void CopyTo(aiColor4DVector[] array) -#endif - { - CopyTo(0, array, 0, this.Count); - } - -#if SWIG_DOTNET_1 - public void CopyTo(System.Array array, int arrayIndex) -#else - public void CopyTo(aiColor4DVector[] array, int arrayIndex) -#endif - { - CopyTo(0, array, arrayIndex, this.Count); - } - -#if SWIG_DOTNET_1 - public void CopyTo(int index, System.Array array, int arrayIndex, int count) -#else - public void CopyTo(int index, aiColor4DVector[] array, int arrayIndex, int count) -#endif - { - if (array == null) - throw new ArgumentNullException("array"); - if (index < 0) - throw new ArgumentOutOfRangeException("index", "Value is less than zero"); - if (arrayIndex < 0) - throw new ArgumentOutOfRangeException("arrayIndex", "Value is less than zero"); - if (count < 0) - throw new ArgumentOutOfRangeException("count", "Value is less than zero"); - if (array.Rank > 1) - throw new ArgumentException("Multi dimensional array.", "array"); - if (index+count > this.Count || arrayIndex+count > array.Length) - throw new ArgumentException("Number of elements to copy is too large."); - for (int i=0; i System.Collections.Generic.IEnumerable.GetEnumerator() { - return new aiColor4DVectorVectorEnumerator(this); - } -#endif - - System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { - return new aiColor4DVectorVectorEnumerator(this); - } - - public aiColor4DVectorVectorEnumerator GetEnumerator() { - return new aiColor4DVectorVectorEnumerator(this); - } - - // Type-safe enumerator - /// Note that the IEnumerator documentation requires an InvalidOperationException to be thrown - /// whenever the collection is modified. This has been done for changes in the size of the - /// collection but not when one of the elements of the collection is modified as it is a bit - /// tricky to detect unmanaged code that modifies the collection under our feet. - public sealed class aiColor4DVectorVectorEnumerator : System.Collections.IEnumerator -#if !SWIG_DOTNET_1 - , System.Collections.Generic.IEnumerator -#endif - { - private aiColor4DVectorVector collectionRef; - private int currentIndex; - private object currentObject; - private int currentSize; - - public aiColor4DVectorVectorEnumerator(aiColor4DVectorVector collection) { - collectionRef = collection; - currentIndex = -1; - currentObject = null; - currentSize = collectionRef.Count; - } - - // Type-safe iterator Current - public aiColor4DVector Current { - get { - if (currentIndex == -1) - throw new InvalidOperationException("Enumeration not started."); - if (currentIndex > currentSize - 1) - throw new InvalidOperationException("Enumeration finished."); - if (currentObject == null) - throw new InvalidOperationException("Collection modified."); - return (aiColor4DVector)currentObject; - } - } - - // Type-unsafe IEnumerator.Current - object System.Collections.IEnumerator.Current { - get { - return Current; - } - } - - public bool MoveNext() { - int size = collectionRef.Count; - bool moveOkay = (currentIndex+1 < size) && (size == currentSize); - if (moveOkay) { - currentIndex++; - currentObject = collectionRef[currentIndex]; - } else { - currentObject = null; - } - return moveOkay; - } - - public void Reset() { - currentIndex = -1; - currentObject = null; - if (collectionRef.Count != currentSize) { - throw new InvalidOperationException("Collection modified."); - } - } - -#if !SWIG_DOTNET_1 - public void Dispose() { - currentIndex = -1; - currentObject = null; - } -#endif - } - - public void Clear() { - AssimpPINVOKE.aiColor4DVectorVector_Clear(swigCPtr); - } - - public void Add(aiColor4DVector x) { - AssimpPINVOKE.aiColor4DVectorVector_Add(swigCPtr, aiColor4DVector.getCPtr(x)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - private uint size() { - uint ret = AssimpPINVOKE.aiColor4DVectorVector_size(swigCPtr); - return ret; - } - - private uint capacity() { - uint ret = AssimpPINVOKE.aiColor4DVectorVector_capacity(swigCPtr); - return ret; - } - - private void reserve(uint n) { - AssimpPINVOKE.aiColor4DVectorVector_reserve(swigCPtr, n); - } - - public aiColor4DVectorVector() : this(AssimpPINVOKE.new_aiColor4DVectorVector__SWIG_0(), true) { - } - - public aiColor4DVectorVector(aiColor4DVectorVector other) : this(AssimpPINVOKE.new_aiColor4DVectorVector__SWIG_1(aiColor4DVectorVector.getCPtr(other)), true) { - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public aiColor4DVectorVector(int capacity) : this(AssimpPINVOKE.new_aiColor4DVectorVector__SWIG_2(capacity), true) { - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - private aiColor4DVector getitemcopy(int index) { - aiColor4DVector ret = new aiColor4DVector(AssimpPINVOKE.aiColor4DVectorVector_getitemcopy(swigCPtr, index), true); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - private aiColor4DVector getitem(int index) { - aiColor4DVector ret = new aiColor4DVector(AssimpPINVOKE.aiColor4DVectorVector_getitem(swigCPtr, index), false); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - private void setitem(int index, aiColor4DVector val) { - AssimpPINVOKE.aiColor4DVectorVector_setitem(swigCPtr, index, aiColor4DVector.getCPtr(val)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void AddRange(aiColor4DVectorVector values) { - AssimpPINVOKE.aiColor4DVectorVector_AddRange(swigCPtr, aiColor4DVectorVector.getCPtr(values)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public aiColor4DVectorVector GetRange(int index, int count) { - IntPtr cPtr = AssimpPINVOKE.aiColor4DVectorVector_GetRange(swigCPtr, index, count); - aiColor4DVectorVector ret = (cPtr == IntPtr.Zero) ? null : new aiColor4DVectorVector(cPtr, true); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public void Insert(int index, aiColor4DVector x) { - AssimpPINVOKE.aiColor4DVectorVector_Insert(swigCPtr, index, aiColor4DVector.getCPtr(x)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void InsertRange(int index, aiColor4DVectorVector values) { - AssimpPINVOKE.aiColor4DVectorVector_InsertRange(swigCPtr, index, aiColor4DVectorVector.getCPtr(values)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void RemoveAt(int index) { - AssimpPINVOKE.aiColor4DVectorVector_RemoveAt(swigCPtr, index); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void RemoveRange(int index, int count) { - AssimpPINVOKE.aiColor4DVectorVector_RemoveRange(swigCPtr, index, count); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public static aiColor4DVectorVector Repeat(aiColor4DVector value, int count) { - IntPtr cPtr = AssimpPINVOKE.aiColor4DVectorVector_Repeat(aiColor4DVector.getCPtr(value), count); - aiColor4DVectorVector ret = (cPtr == IntPtr.Zero) ? null : new aiColor4DVectorVector(cPtr, true); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public void Reverse() { - AssimpPINVOKE.aiColor4DVectorVector_Reverse__SWIG_0(swigCPtr); - } - - public void Reverse(int index, int count) { - AssimpPINVOKE.aiColor4DVectorVector_Reverse__SWIG_1(swigCPtr, index, count); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void SetRange(int index, aiColor4DVectorVector values) { - AssimpPINVOKE.aiColor4DVectorVector_SetRange(swigCPtr, index, aiColor4DVectorVector.getCPtr(values)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - -} diff --git a/port/Assimp.NET/Assimp.NET_CS/aiComponent.cs b/port/Assimp.NET/Assimp.NET_CS/aiComponent.cs deleted file mode 100644 index 63e94d36a..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/aiComponent.cs +++ /dev/null @@ -1,22 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.8 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - - -public enum aiComponent { - aiComponent_NORMALS = 0x2, - aiComponent_TANGENTS_AND_BITANGENTS = 0x4, - aiComponent_COLORS = 0x8, - aiComponent_TEXCOORDS = 0x10, - aiComponent_BONEWEIGHTS = 0x20, - aiComponent_ANIMATIONS = 0x40, - aiComponent_TEXTURES = 0x80, - aiComponent_LIGHTS = 0x100, - aiComponent_CAMERAS = 0x200, - aiComponent_MESHES = 0x400, - aiComponent_MATERIALS = 0x800 -} diff --git a/port/Assimp.NET/Assimp.NET_CS/aiDefaultLogStream.cs b/port/Assimp.NET/Assimp.NET_CS/aiDefaultLogStream.cs deleted file mode 100644 index a39efdbd3..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/aiDefaultLogStream.cs +++ /dev/null @@ -1,16 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.8 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - - -public enum aiDefaultLogStream { - aiDefaultLogStream_FILE = 0x1, - aiDefaultLogStream_STDOUT = 0x2, - aiDefaultLogStream_STDERR = 0x4, - aiDefaultLogStream_DEBUGGER = 0x8, - _AI_DLS_ENFORCE_ENUM_SIZE = 0x7fffffff -} diff --git a/port/Assimp.NET/Assimp.NET_CS/aiFace.cs b/port/Assimp.NET/Assimp.NET_CS/aiFace.cs deleted file mode 100644 index 5d2a2528f..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/aiFace.cs +++ /dev/null @@ -1,86 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.8 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - - -using System; -using System.Runtime.InteropServices; - -public class aiFace : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal aiFace(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(aiFace obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~aiFace() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - AssimpPINVOKE.delete_aiFace(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public UintVector mIndices { get { return GetmIndices(); } } - - public uint mNumIndices { - set { - AssimpPINVOKE.aiFace_mNumIndices_set(swigCPtr, value); - } - get { - uint ret = AssimpPINVOKE.aiFace_mNumIndices_get(swigCPtr); - return ret; - } - } - - public aiFace() : this(AssimpPINVOKE.new_aiFace__SWIG_0(), true) { - } - - public aiFace(aiFace o) : this(AssimpPINVOKE.new_aiFace__SWIG_1(aiFace.getCPtr(o)), true) { - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public aiFace __set__(aiFace o) { - aiFace ret = new aiFace(AssimpPINVOKE.aiFace___set__(swigCPtr, aiFace.getCPtr(o)), false); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public bool __equal__(aiFace o) { - bool ret = AssimpPINVOKE.aiFace___equal__(swigCPtr, aiFace.getCPtr(o)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public bool __nequal__(aiFace o) { - bool ret = AssimpPINVOKE.aiFace___nequal__(swigCPtr, aiFace.getCPtr(o)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - private UintVector GetmIndices() { - IntPtr cPtr = AssimpPINVOKE.aiFace_GetmIndices(swigCPtr); - UintVector ret = (cPtr == IntPtr.Zero) ? null : new UintVector(cPtr, true); - return ret; - } - -} diff --git a/port/Assimp.NET/Assimp.NET_CS/aiFaceVector.cs b/port/Assimp.NET/Assimp.NET_CS/aiFaceVector.cs deleted file mode 100644 index 9c612e6e0..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/aiFaceVector.cs +++ /dev/null @@ -1,348 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.8 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - - -using System; -using System.Runtime.InteropServices; - -public class aiFaceVector : IDisposable, System.Collections.IEnumerable -#if !SWIG_DOTNET_1 - , System.Collections.Generic.IList -#endif - { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal aiFaceVector(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(aiFaceVector obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~aiFaceVector() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - AssimpPINVOKE.delete_aiFaceVector(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public aiFaceVector(System.Collections.ICollection c) : this() { - if (c == null) - throw new ArgumentNullException("c"); - foreach (aiFace element in c) { - this.Add(element); - } - } - - public bool IsFixedSize { - get { - return false; - } - } - - public bool IsReadOnly { - get { - return false; - } - } - - public aiFace this[int index] { - get { - return getitem(index); - } - set { - setitem(index, value); - } - } - - public int Capacity { - get { - return (int)capacity(); - } - set { - if (value < size()) - throw new ArgumentOutOfRangeException("Capacity"); - reserve((uint)value); - } - } - - public int Count { - get { - return (int)size(); - } - } - - public bool IsSynchronized { - get { - return false; - } - } - -#if SWIG_DOTNET_1 - public void CopyTo(System.Array array) -#else - public void CopyTo(aiFace[] array) -#endif - { - CopyTo(0, array, 0, this.Count); - } - -#if SWIG_DOTNET_1 - public void CopyTo(System.Array array, int arrayIndex) -#else - public void CopyTo(aiFace[] array, int arrayIndex) -#endif - { - CopyTo(0, array, arrayIndex, this.Count); - } - -#if SWIG_DOTNET_1 - public void CopyTo(int index, System.Array array, int arrayIndex, int count) -#else - public void CopyTo(int index, aiFace[] array, int arrayIndex, int count) -#endif - { - if (array == null) - throw new ArgumentNullException("array"); - if (index < 0) - throw new ArgumentOutOfRangeException("index", "Value is less than zero"); - if (arrayIndex < 0) - throw new ArgumentOutOfRangeException("arrayIndex", "Value is less than zero"); - if (count < 0) - throw new ArgumentOutOfRangeException("count", "Value is less than zero"); - if (array.Rank > 1) - throw new ArgumentException("Multi dimensional array.", "array"); - if (index+count > this.Count || arrayIndex+count > array.Length) - throw new ArgumentException("Number of elements to copy is too large."); - for (int i=0; i System.Collections.Generic.IEnumerable.GetEnumerator() { - return new aiFaceVectorEnumerator(this); - } -#endif - - System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { - return new aiFaceVectorEnumerator(this); - } - - public aiFaceVectorEnumerator GetEnumerator() { - return new aiFaceVectorEnumerator(this); - } - - // Type-safe enumerator - /// Note that the IEnumerator documentation requires an InvalidOperationException to be thrown - /// whenever the collection is modified. This has been done for changes in the size of the - /// collection but not when one of the elements of the collection is modified as it is a bit - /// tricky to detect unmanaged code that modifies the collection under our feet. - public sealed class aiFaceVectorEnumerator : System.Collections.IEnumerator -#if !SWIG_DOTNET_1 - , System.Collections.Generic.IEnumerator -#endif - { - private aiFaceVector collectionRef; - private int currentIndex; - private object currentObject; - private int currentSize; - - public aiFaceVectorEnumerator(aiFaceVector collection) { - collectionRef = collection; - currentIndex = -1; - currentObject = null; - currentSize = collectionRef.Count; - } - - // Type-safe iterator Current - public aiFace Current { - get { - if (currentIndex == -1) - throw new InvalidOperationException("Enumeration not started."); - if (currentIndex > currentSize - 1) - throw new InvalidOperationException("Enumeration finished."); - if (currentObject == null) - throw new InvalidOperationException("Collection modified."); - return (aiFace)currentObject; - } - } - - // Type-unsafe IEnumerator.Current - object System.Collections.IEnumerator.Current { - get { - return Current; - } - } - - public bool MoveNext() { - int size = collectionRef.Count; - bool moveOkay = (currentIndex+1 < size) && (size == currentSize); - if (moveOkay) { - currentIndex++; - currentObject = collectionRef[currentIndex]; - } else { - currentObject = null; - } - return moveOkay; - } - - public void Reset() { - currentIndex = -1; - currentObject = null; - if (collectionRef.Count != currentSize) { - throw new InvalidOperationException("Collection modified."); - } - } - -#if !SWIG_DOTNET_1 - public void Dispose() { - currentIndex = -1; - currentObject = null; - } -#endif - } - - public void Clear() { - AssimpPINVOKE.aiFaceVector_Clear(swigCPtr); - } - - public void Add(aiFace x) { - AssimpPINVOKE.aiFaceVector_Add(swigCPtr, aiFace.getCPtr(x)); - } - - private uint size() { - uint ret = AssimpPINVOKE.aiFaceVector_size(swigCPtr); - return ret; - } - - private uint capacity() { - uint ret = AssimpPINVOKE.aiFaceVector_capacity(swigCPtr); - return ret; - } - - private void reserve(uint n) { - AssimpPINVOKE.aiFaceVector_reserve(swigCPtr, n); - } - - public aiFaceVector() : this(AssimpPINVOKE.new_aiFaceVector__SWIG_0(), true) { - } - - public aiFaceVector(aiFaceVector other) : this(AssimpPINVOKE.new_aiFaceVector__SWIG_1(aiFaceVector.getCPtr(other)), true) { - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public aiFaceVector(int capacity) : this(AssimpPINVOKE.new_aiFaceVector__SWIG_2(capacity), true) { - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - private aiFace getitemcopy(int index) { - IntPtr cPtr = AssimpPINVOKE.aiFaceVector_getitemcopy(swigCPtr, index); - aiFace ret = (cPtr == IntPtr.Zero) ? null : new aiFace(cPtr, false); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - private aiFace getitem(int index) { - IntPtr cPtr = AssimpPINVOKE.aiFaceVector_getitem(swigCPtr, index); - aiFace ret = (cPtr == IntPtr.Zero) ? null : new aiFace(cPtr, false); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - private void setitem(int index, aiFace val) { - AssimpPINVOKE.aiFaceVector_setitem(swigCPtr, index, aiFace.getCPtr(val)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void AddRange(aiFaceVector values) { - AssimpPINVOKE.aiFaceVector_AddRange(swigCPtr, aiFaceVector.getCPtr(values)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public aiFaceVector GetRange(int index, int count) { - IntPtr cPtr = AssimpPINVOKE.aiFaceVector_GetRange(swigCPtr, index, count); - aiFaceVector ret = (cPtr == IntPtr.Zero) ? null : new aiFaceVector(cPtr, true); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public void Insert(int index, aiFace x) { - AssimpPINVOKE.aiFaceVector_Insert(swigCPtr, index, aiFace.getCPtr(x)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void InsertRange(int index, aiFaceVector values) { - AssimpPINVOKE.aiFaceVector_InsertRange(swigCPtr, index, aiFaceVector.getCPtr(values)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void RemoveAt(int index) { - AssimpPINVOKE.aiFaceVector_RemoveAt(swigCPtr, index); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void RemoveRange(int index, int count) { - AssimpPINVOKE.aiFaceVector_RemoveRange(swigCPtr, index, count); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public static aiFaceVector Repeat(aiFace value, int count) { - IntPtr cPtr = AssimpPINVOKE.aiFaceVector_Repeat(aiFace.getCPtr(value), count); - aiFaceVector ret = (cPtr == IntPtr.Zero) ? null : new aiFaceVector(cPtr, true); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public void Reverse() { - AssimpPINVOKE.aiFaceVector_Reverse__SWIG_0(swigCPtr); - } - - public void Reverse(int index, int count) { - AssimpPINVOKE.aiFaceVector_Reverse__SWIG_1(swigCPtr, index, count); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void SetRange(int index, aiFaceVector values) { - AssimpPINVOKE.aiFaceVector_SetRange(swigCPtr, index, aiFaceVector.getCPtr(values)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public bool Contains(aiFace value) { - bool ret = AssimpPINVOKE.aiFaceVector_Contains(swigCPtr, aiFace.getCPtr(value)); - return ret; - } - - public int IndexOf(aiFace value) { - int ret = AssimpPINVOKE.aiFaceVector_IndexOf(swigCPtr, aiFace.getCPtr(value)); - return ret; - } - - public int LastIndexOf(aiFace value) { - int ret = AssimpPINVOKE.aiFaceVector_LastIndexOf(swigCPtr, aiFace.getCPtr(value)); - return ret; - } - - public bool Remove(aiFace value) { - bool ret = AssimpPINVOKE.aiFaceVector_Remove(swigCPtr, aiFace.getCPtr(value)); - return ret; - } - -} diff --git a/port/Assimp.NET/Assimp.NET_CS/aiFile.cs b/port/Assimp.NET/Assimp.NET_CS/aiFile.cs deleted file mode 100644 index 32c6d2063..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/aiFile.cs +++ /dev/null @@ -1,122 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 1.3.40 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - - -using System; -using System.Runtime.InteropServices; - -public class aiFile : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal aiFile(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(aiFile obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~aiFile() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - Assimp_NETPINVOKE.delete_aiFile(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public SWIGTYPE_p_f_p_aiFile_p_char_size_t_size_t__size_t ReadProc { - set { - Assimp_NETPINVOKE.aiFile_ReadProc_set(swigCPtr, SWIGTYPE_p_f_p_aiFile_p_char_size_t_size_t__size_t.getCPtr(value)); - } - get { - IntPtr cPtr = Assimp_NETPINVOKE.aiFile_ReadProc_get(swigCPtr); - SWIGTYPE_p_f_p_aiFile_p_char_size_t_size_t__size_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_aiFile_p_char_size_t_size_t__size_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_f_p_aiFile_p_q_const__char_size_t_size_t__size_t WriteProc { - set { - Assimp_NETPINVOKE.aiFile_WriteProc_set(swigCPtr, SWIGTYPE_p_f_p_aiFile_p_q_const__char_size_t_size_t__size_t.getCPtr(value)); - } - get { - IntPtr cPtr = Assimp_NETPINVOKE.aiFile_WriteProc_get(swigCPtr); - SWIGTYPE_p_f_p_aiFile_p_q_const__char_size_t_size_t__size_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_aiFile_p_q_const__char_size_t_size_t__size_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_f_p_aiFile__size_t TellProc { - set { - Assimp_NETPINVOKE.aiFile_TellProc_set(swigCPtr, SWIGTYPE_p_f_p_aiFile__size_t.getCPtr(value)); - } - get { - IntPtr cPtr = Assimp_NETPINVOKE.aiFile_TellProc_get(swigCPtr); - SWIGTYPE_p_f_p_aiFile__size_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_aiFile__size_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_f_p_aiFile__size_t FileSizeProc { - set { - Assimp_NETPINVOKE.aiFile_FileSizeProc_set(swigCPtr, SWIGTYPE_p_f_p_aiFile__size_t.getCPtr(value)); - } - get { - IntPtr cPtr = Assimp_NETPINVOKE.aiFile_FileSizeProc_get(swigCPtr); - SWIGTYPE_p_f_p_aiFile__size_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_aiFile__size_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_f_p_aiFile_size_t_enum_aiOrigin__aiReturn SeekProc { - set { - Assimp_NETPINVOKE.aiFile_SeekProc_set(swigCPtr, SWIGTYPE_p_f_p_aiFile_size_t_enum_aiOrigin__aiReturn.getCPtr(value)); - } - get { - IntPtr cPtr = Assimp_NETPINVOKE.aiFile_SeekProc_get(swigCPtr); - SWIGTYPE_p_f_p_aiFile_size_t_enum_aiOrigin__aiReturn ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_aiFile_size_t_enum_aiOrigin__aiReturn(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_f_p_aiFile__void FlushProc { - set { - Assimp_NETPINVOKE.aiFile_FlushProc_set(swigCPtr, SWIGTYPE_p_f_p_aiFile__void.getCPtr(value)); - } - get { - IntPtr cPtr = Assimp_NETPINVOKE.aiFile_FlushProc_get(swigCPtr); - SWIGTYPE_p_f_p_aiFile__void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_aiFile__void(cPtr, false); - return ret; - } - } - - public string UserData { - set { - Assimp_NETPINVOKE.aiFile_UserData_set(swigCPtr, value); - } - get { - string ret = Assimp_NETPINVOKE.aiFile_UserData_get(swigCPtr); - return ret; - } - } - - public aiFile() : this(Assimp_NETPINVOKE.new_aiFile(), true) { - } - -} diff --git a/port/Assimp.NET/Assimp.NET_CS/aiFileIO.cs b/port/Assimp.NET/Assimp.NET_CS/aiFileIO.cs deleted file mode 100644 index d08e33ab2..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/aiFileIO.cs +++ /dev/null @@ -1,78 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 1.3.40 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - - -using System; -using System.Runtime.InteropServices; - -public class aiFileIO : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal aiFileIO(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(aiFileIO obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~aiFileIO() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - Assimp_NETPINVOKE.delete_aiFileIO(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public SWIGTYPE_p_f_p_aiFileIO_p_q_const__char_p_q_const__char__p_aiFile OpenProc { - set { - Assimp_NETPINVOKE.aiFileIO_OpenProc_set(swigCPtr, SWIGTYPE_p_f_p_aiFileIO_p_q_const__char_p_q_const__char__p_aiFile.getCPtr(value)); - } - get { - IntPtr cPtr = Assimp_NETPINVOKE.aiFileIO_OpenProc_get(swigCPtr); - SWIGTYPE_p_f_p_aiFileIO_p_q_const__char_p_q_const__char__p_aiFile ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_aiFileIO_p_q_const__char_p_q_const__char__p_aiFile(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_f_p_aiFileIO_p_aiFile__void CloseProc { - set { - Assimp_NETPINVOKE.aiFileIO_CloseProc_set(swigCPtr, SWIGTYPE_p_f_p_aiFileIO_p_aiFile__void.getCPtr(value)); - } - get { - IntPtr cPtr = Assimp_NETPINVOKE.aiFileIO_CloseProc_get(swigCPtr); - SWIGTYPE_p_f_p_aiFileIO_p_aiFile__void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_aiFileIO_p_aiFile__void(cPtr, false); - return ret; - } - } - - public string UserData { - set { - Assimp_NETPINVOKE.aiFileIO_UserData_set(swigCPtr, value); - } - get { - string ret = Assimp_NETPINVOKE.aiFileIO_UserData_get(swigCPtr); - return ret; - } - } - - public aiFileIO() : this(Assimp_NETPINVOKE.new_aiFileIO(), true) { - } - -} diff --git a/port/Assimp.NET/Assimp.NET_CS/aiLight.cs b/port/Assimp.NET/Assimp.NET_CS/aiLight.cs deleted file mode 100644 index 8207ef21a..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/aiLight.cs +++ /dev/null @@ -1,172 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.8 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - - -using System; -using System.Runtime.InteropServices; - -public class aiLight : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal aiLight(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(aiLight obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~aiLight() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - AssimpPINVOKE.delete_aiLight(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public aiString mName { - set { - AssimpPINVOKE.aiLight_mName_set(swigCPtr, aiString.getCPtr(value)); - } - get { - IntPtr cPtr = AssimpPINVOKE.aiLight_mName_get(swigCPtr); - aiString ret = (cPtr == IntPtr.Zero) ? null : new aiString(cPtr, false); - return ret; - } - } - - public aiLightSourceType mType { - set { - AssimpPINVOKE.aiLight_mType_set(swigCPtr, (int)value); - } - get { - aiLightSourceType ret = (aiLightSourceType)AssimpPINVOKE.aiLight_mType_get(swigCPtr); - return ret; - } - } - - public aiVector3D mPosition { - set { - AssimpPINVOKE.aiLight_mPosition_set(swigCPtr, aiVector3D.getCPtr(value)); - } - get { - IntPtr cPtr = AssimpPINVOKE.aiLight_mPosition_get(swigCPtr); - aiVector3D ret = (cPtr == IntPtr.Zero) ? null : new aiVector3D(cPtr, false); - return ret; - } - } - - public aiVector3D mDirection { - set { - AssimpPINVOKE.aiLight_mDirection_set(swigCPtr, aiVector3D.getCPtr(value)); - } - get { - IntPtr cPtr = AssimpPINVOKE.aiLight_mDirection_get(swigCPtr); - aiVector3D ret = (cPtr == IntPtr.Zero) ? null : new aiVector3D(cPtr, false); - return ret; - } - } - - public float mAttenuationConstant { - set { - AssimpPINVOKE.aiLight_mAttenuationConstant_set(swigCPtr, value); - } - get { - float ret = AssimpPINVOKE.aiLight_mAttenuationConstant_get(swigCPtr); - return ret; - } - } - - public float mAttenuationLinear { - set { - AssimpPINVOKE.aiLight_mAttenuationLinear_set(swigCPtr, value); - } - get { - float ret = AssimpPINVOKE.aiLight_mAttenuationLinear_get(swigCPtr); - return ret; - } - } - - public float mAttenuationQuadratic { - set { - AssimpPINVOKE.aiLight_mAttenuationQuadratic_set(swigCPtr, value); - } - get { - float ret = AssimpPINVOKE.aiLight_mAttenuationQuadratic_get(swigCPtr); - return ret; - } - } - - public aiColor3D mColorDiffuse { - set { - AssimpPINVOKE.aiLight_mColorDiffuse_set(swigCPtr, aiColor3D.getCPtr(value)); - } - get { - IntPtr cPtr = AssimpPINVOKE.aiLight_mColorDiffuse_get(swigCPtr); - aiColor3D ret = (cPtr == IntPtr.Zero) ? null : new aiColor3D(cPtr, false); - return ret; - } - } - - public aiColor3D mColorSpecular { - set { - AssimpPINVOKE.aiLight_mColorSpecular_set(swigCPtr, aiColor3D.getCPtr(value)); - } - get { - IntPtr cPtr = AssimpPINVOKE.aiLight_mColorSpecular_get(swigCPtr); - aiColor3D ret = (cPtr == IntPtr.Zero) ? null : new aiColor3D(cPtr, false); - return ret; - } - } - - public aiColor3D mColorAmbient { - set { - AssimpPINVOKE.aiLight_mColorAmbient_set(swigCPtr, aiColor3D.getCPtr(value)); - } - get { - IntPtr cPtr = AssimpPINVOKE.aiLight_mColorAmbient_get(swigCPtr); - aiColor3D ret = (cPtr == IntPtr.Zero) ? null : new aiColor3D(cPtr, false); - return ret; - } - } - - public float mAngleInnerCone { - set { - AssimpPINVOKE.aiLight_mAngleInnerCone_set(swigCPtr, value); - } - get { - float ret = AssimpPINVOKE.aiLight_mAngleInnerCone_get(swigCPtr); - return ret; - } - } - - public float mAngleOuterCone { - set { - AssimpPINVOKE.aiLight_mAngleOuterCone_set(swigCPtr, value); - } - get { - float ret = AssimpPINVOKE.aiLight_mAngleOuterCone_get(swigCPtr); - return ret; - } - } - - public aiLight() : this(AssimpPINVOKE.new_aiLight(), true) { - } - -} diff --git a/port/Assimp.NET/Assimp.NET_CS/aiLightSourceType.cs b/port/Assimp.NET/Assimp.NET_CS/aiLightSourceType.cs deleted file mode 100644 index aedc03417..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/aiLightSourceType.cs +++ /dev/null @@ -1,15 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.8 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - - -public enum aiLightSourceType { - aiLightSource_UNDEFINED = 0x0, - aiLightSource_DIRECTIONAL = 0x1, - aiLightSource_POINT = 0x2, - aiLightSource_SPOT = 0x3 -} diff --git a/port/Assimp.NET/Assimp.NET_CS/aiLightVector.cs b/port/Assimp.NET/Assimp.NET_CS/aiLightVector.cs deleted file mode 100644 index 6bf566e1e..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/aiLightVector.cs +++ /dev/null @@ -1,348 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.8 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - - -using System; -using System.Runtime.InteropServices; - -public class aiLightVector : IDisposable, System.Collections.IEnumerable -#if !SWIG_DOTNET_1 - , System.Collections.Generic.IList -#endif - { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal aiLightVector(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(aiLightVector obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~aiLightVector() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - AssimpPINVOKE.delete_aiLightVector(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public aiLightVector(System.Collections.ICollection c) : this() { - if (c == null) - throw new ArgumentNullException("c"); - foreach (aiLight element in c) { - this.Add(element); - } - } - - public bool IsFixedSize { - get { - return false; - } - } - - public bool IsReadOnly { - get { - return false; - } - } - - public aiLight this[int index] { - get { - return getitem(index); - } - set { - setitem(index, value); - } - } - - public int Capacity { - get { - return (int)capacity(); - } - set { - if (value < size()) - throw new ArgumentOutOfRangeException("Capacity"); - reserve((uint)value); - } - } - - public int Count { - get { - return (int)size(); - } - } - - public bool IsSynchronized { - get { - return false; - } - } - -#if SWIG_DOTNET_1 - public void CopyTo(System.Array array) -#else - public void CopyTo(aiLight[] array) -#endif - { - CopyTo(0, array, 0, this.Count); - } - -#if SWIG_DOTNET_1 - public void CopyTo(System.Array array, int arrayIndex) -#else - public void CopyTo(aiLight[] array, int arrayIndex) -#endif - { - CopyTo(0, array, arrayIndex, this.Count); - } - -#if SWIG_DOTNET_1 - public void CopyTo(int index, System.Array array, int arrayIndex, int count) -#else - public void CopyTo(int index, aiLight[] array, int arrayIndex, int count) -#endif - { - if (array == null) - throw new ArgumentNullException("array"); - if (index < 0) - throw new ArgumentOutOfRangeException("index", "Value is less than zero"); - if (arrayIndex < 0) - throw new ArgumentOutOfRangeException("arrayIndex", "Value is less than zero"); - if (count < 0) - throw new ArgumentOutOfRangeException("count", "Value is less than zero"); - if (array.Rank > 1) - throw new ArgumentException("Multi dimensional array.", "array"); - if (index+count > this.Count || arrayIndex+count > array.Length) - throw new ArgumentException("Number of elements to copy is too large."); - for (int i=0; i System.Collections.Generic.IEnumerable.GetEnumerator() { - return new aiLightVectorEnumerator(this); - } -#endif - - System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { - return new aiLightVectorEnumerator(this); - } - - public aiLightVectorEnumerator GetEnumerator() { - return new aiLightVectorEnumerator(this); - } - - // Type-safe enumerator - /// Note that the IEnumerator documentation requires an InvalidOperationException to be thrown - /// whenever the collection is modified. This has been done for changes in the size of the - /// collection but not when one of the elements of the collection is modified as it is a bit - /// tricky to detect unmanaged code that modifies the collection under our feet. - public sealed class aiLightVectorEnumerator : System.Collections.IEnumerator -#if !SWIG_DOTNET_1 - , System.Collections.Generic.IEnumerator -#endif - { - private aiLightVector collectionRef; - private int currentIndex; - private object currentObject; - private int currentSize; - - public aiLightVectorEnumerator(aiLightVector collection) { - collectionRef = collection; - currentIndex = -1; - currentObject = null; - currentSize = collectionRef.Count; - } - - // Type-safe iterator Current - public aiLight Current { - get { - if (currentIndex == -1) - throw new InvalidOperationException("Enumeration not started."); - if (currentIndex > currentSize - 1) - throw new InvalidOperationException("Enumeration finished."); - if (currentObject == null) - throw new InvalidOperationException("Collection modified."); - return (aiLight)currentObject; - } - } - - // Type-unsafe IEnumerator.Current - object System.Collections.IEnumerator.Current { - get { - return Current; - } - } - - public bool MoveNext() { - int size = collectionRef.Count; - bool moveOkay = (currentIndex+1 < size) && (size == currentSize); - if (moveOkay) { - currentIndex++; - currentObject = collectionRef[currentIndex]; - } else { - currentObject = null; - } - return moveOkay; - } - - public void Reset() { - currentIndex = -1; - currentObject = null; - if (collectionRef.Count != currentSize) { - throw new InvalidOperationException("Collection modified."); - } - } - -#if !SWIG_DOTNET_1 - public void Dispose() { - currentIndex = -1; - currentObject = null; - } -#endif - } - - public void Clear() { - AssimpPINVOKE.aiLightVector_Clear(swigCPtr); - } - - public void Add(aiLight x) { - AssimpPINVOKE.aiLightVector_Add(swigCPtr, aiLight.getCPtr(x)); - } - - private uint size() { - uint ret = AssimpPINVOKE.aiLightVector_size(swigCPtr); - return ret; - } - - private uint capacity() { - uint ret = AssimpPINVOKE.aiLightVector_capacity(swigCPtr); - return ret; - } - - private void reserve(uint n) { - AssimpPINVOKE.aiLightVector_reserve(swigCPtr, n); - } - - public aiLightVector() : this(AssimpPINVOKE.new_aiLightVector__SWIG_0(), true) { - } - - public aiLightVector(aiLightVector other) : this(AssimpPINVOKE.new_aiLightVector__SWIG_1(aiLightVector.getCPtr(other)), true) { - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public aiLightVector(int capacity) : this(AssimpPINVOKE.new_aiLightVector__SWIG_2(capacity), true) { - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - private aiLight getitemcopy(int index) { - IntPtr cPtr = AssimpPINVOKE.aiLightVector_getitemcopy(swigCPtr, index); - aiLight ret = (cPtr == IntPtr.Zero) ? null : new aiLight(cPtr, false); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - private aiLight getitem(int index) { - IntPtr cPtr = AssimpPINVOKE.aiLightVector_getitem(swigCPtr, index); - aiLight ret = (cPtr == IntPtr.Zero) ? null : new aiLight(cPtr, false); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - private void setitem(int index, aiLight val) { - AssimpPINVOKE.aiLightVector_setitem(swigCPtr, index, aiLight.getCPtr(val)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void AddRange(aiLightVector values) { - AssimpPINVOKE.aiLightVector_AddRange(swigCPtr, aiLightVector.getCPtr(values)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public aiLightVector GetRange(int index, int count) { - IntPtr cPtr = AssimpPINVOKE.aiLightVector_GetRange(swigCPtr, index, count); - aiLightVector ret = (cPtr == IntPtr.Zero) ? null : new aiLightVector(cPtr, true); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public void Insert(int index, aiLight x) { - AssimpPINVOKE.aiLightVector_Insert(swigCPtr, index, aiLight.getCPtr(x)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void InsertRange(int index, aiLightVector values) { - AssimpPINVOKE.aiLightVector_InsertRange(swigCPtr, index, aiLightVector.getCPtr(values)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void RemoveAt(int index) { - AssimpPINVOKE.aiLightVector_RemoveAt(swigCPtr, index); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void RemoveRange(int index, int count) { - AssimpPINVOKE.aiLightVector_RemoveRange(swigCPtr, index, count); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public static aiLightVector Repeat(aiLight value, int count) { - IntPtr cPtr = AssimpPINVOKE.aiLightVector_Repeat(aiLight.getCPtr(value), count); - aiLightVector ret = (cPtr == IntPtr.Zero) ? null : new aiLightVector(cPtr, true); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public void Reverse() { - AssimpPINVOKE.aiLightVector_Reverse__SWIG_0(swigCPtr); - } - - public void Reverse(int index, int count) { - AssimpPINVOKE.aiLightVector_Reverse__SWIG_1(swigCPtr, index, count); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void SetRange(int index, aiLightVector values) { - AssimpPINVOKE.aiLightVector_SetRange(swigCPtr, index, aiLightVector.getCPtr(values)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public bool Contains(aiLight value) { - bool ret = AssimpPINVOKE.aiLightVector_Contains(swigCPtr, aiLight.getCPtr(value)); - return ret; - } - - public int IndexOf(aiLight value) { - int ret = AssimpPINVOKE.aiLightVector_IndexOf(swigCPtr, aiLight.getCPtr(value)); - return ret; - } - - public int LastIndexOf(aiLight value) { - int ret = AssimpPINVOKE.aiLightVector_LastIndexOf(swigCPtr, aiLight.getCPtr(value)); - return ret; - } - - public bool Remove(aiLight value) { - bool ret = AssimpPINVOKE.aiLightVector_Remove(swigCPtr, aiLight.getCPtr(value)); - return ret; - } - -} diff --git a/port/Assimp.NET/Assimp.NET_CS/aiMaterial.cs b/port/Assimp.NET/Assimp.NET_CS/aiMaterial.cs deleted file mode 100644 index 11e9354c3..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/aiMaterial.cs +++ /dev/null @@ -1,227 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.8 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - - -using System; -using System.Runtime.InteropServices; - -public class aiMaterial : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal aiMaterial(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(aiMaterial obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~aiMaterial() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - AssimpPINVOKE.delete_aiMaterial(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public aiColor4D Diffuse { get { var v = new aiColor4D(); return GetDiffuse(v)?v:DefaultDiffuse; } } - public aiColor4D Specular { get { var v = new aiColor4D(); return GetSpecular(v)?v:DefaultSpecular; } } - public aiColor4D Ambient { get { var v = new aiColor4D(); return GetAmbient(v)?v:DefaultAmbient; } } - public aiColor4D Emissive { get { var v = new aiColor4D(); return GetEmissive(v)?v:DefaultEmissive; } } - public float Opacity { get { float v = 0; return GetOpacity(ref v)?v:DefaultOpacity; } } - public float ShininessStrength { get { float v = 0; return GetShininessStrength(ref v)?v:DefaultShininessStrength; } } - public aiShadingMode ShadingModel { get { int v = 0; return GetShadingModel(ref v)?((aiShadingMode)v):DefaultShadingModel; } } - public aiTextureFlags TexFlagsDiffuse0 { get { int v = 0; return GetTexFlagsDiffuse0(ref v)?((aiTextureFlags)v):DefaultTexFlagsDiffuse0; } } - public aiTextureMapMode MappingModeUDiffuse0 { get { int v = 0; return GetMappingModeUDiffuse0(ref v)?((aiTextureMapMode)v):DefaultMappingModeUDiffuse0; } } - public aiTextureMapMode MappingModeVDiffuse0 { get { int v = 0; return GetMappingModeVDiffuse0(ref v)?((aiTextureMapMode)v):DefaultMappingModeVDiffuse0; } } - public string TextureDiffuse0 { get { var v = new aiString(); return GetTextureDiffuse0(v)?v.ToString():DefaultTextureDiffuse; } } - public bool TwoSided { get { int v = 0; return GetTwoSided(ref v)?(v!=0):DefaultTwoSided; } } - - // These values are returned if the value material property isn't set - // Override these if you don't want to check for null - public static aiColor4D DefaultDiffuse = new aiColor4D(1.0f, 1.0f, 1.0f, 1.0f); - public static aiColor4D DefaultSpecular = new aiColor4D(1.0f, 1.0f, 1.0f, 1.0f); - public static aiColor4D DefaultAmbient = new aiColor4D(0.0f, 0.0f, 0.0f, 1.0f); - public static aiColor4D DefaultEmissive = new aiColor4D(0.0f, 0.0f, 0.0f, 1.0f); - public static float DefaultShininessStrength = 1.0f; - public static float DefaultOpacity = 1.0f; - public static aiShadingMode DefaultShadingModel = (aiShadingMode)0; - public static aiTextureFlags DefaultTexFlagsDiffuse0 = (aiTextureFlags)0; - public static aiTextureMapMode DefaultMappingModeUDiffuse0 = aiTextureMapMode.aiTextureMapMode_Wrap; - public static aiTextureMapMode DefaultMappingModeVDiffuse0 = aiTextureMapMode.aiTextureMapMode_Wrap; - public static string DefaultTextureDiffuse = null; - public static bool DefaultTwoSided = false; - - public aiMaterial() : this(AssimpPINVOKE.new_aiMaterial(), true) { - } - - public uint GetTextureCount(aiTextureType type) { - uint ret = AssimpPINVOKE.aiMaterial_GetTextureCount(swigCPtr, (int)type); - return ret; - } - - public aiReturn AddBinaryProperty(SWIGTYPE_p_void pInput, uint pSizeInBytes, string pKey, uint type, uint index, aiPropertyTypeInfo pType) { - aiReturn ret = (aiReturn)AssimpPINVOKE.aiMaterial_AddBinaryProperty(swigCPtr, SWIGTYPE_p_void.getCPtr(pInput), pSizeInBytes, pKey, type, index, (int)pType); - return ret; - } - - public aiReturn AddProperty(aiString pInput, string pKey, uint type, uint index) { - aiReturn ret = (aiReturn)AssimpPINVOKE.aiMaterial_AddProperty__SWIG_0(swigCPtr, aiString.getCPtr(pInput), pKey, type, index); - return ret; - } - - public aiReturn AddProperty(aiString pInput, string pKey, uint type) { - aiReturn ret = (aiReturn)AssimpPINVOKE.aiMaterial_AddProperty__SWIG_1(swigCPtr, aiString.getCPtr(pInput), pKey, type); - return ret; - } - - public aiReturn AddProperty(aiString pInput, string pKey) { - aiReturn ret = (aiReturn)AssimpPINVOKE.aiMaterial_AddProperty__SWIG_2(swigCPtr, aiString.getCPtr(pInput), pKey); - return ret; - } - - public aiReturn RemoveProperty(string pKey, uint type, uint index) { - aiReturn ret = (aiReturn)AssimpPINVOKE.aiMaterial_RemoveProperty__SWIG_0(swigCPtr, pKey, type, index); - return ret; - } - - public aiReturn RemoveProperty(string pKey, uint type) { - aiReturn ret = (aiReturn)AssimpPINVOKE.aiMaterial_RemoveProperty__SWIG_1(swigCPtr, pKey, type); - return ret; - } - - public aiReturn RemoveProperty(string pKey) { - aiReturn ret = (aiReturn)AssimpPINVOKE.aiMaterial_RemoveProperty__SWIG_2(swigCPtr, pKey); - return ret; - } - - public void Clear() { - AssimpPINVOKE.aiMaterial_Clear(swigCPtr); - } - - public static void CopyPropertyList(aiMaterial pcDest, aiMaterial pcSrc) { - AssimpPINVOKE.aiMaterial_CopyPropertyList(aiMaterial.getCPtr(pcDest), aiMaterial.getCPtr(pcSrc)); - } - - public bool GetDiffuse(aiColor4D INOUT) { - bool ret = AssimpPINVOKE.aiMaterial_GetDiffuse(swigCPtr, aiColor4D.getCPtr(INOUT)); - return ret; - } - - public bool GetSpecular(aiColor4D INOUT) { - bool ret = AssimpPINVOKE.aiMaterial_GetSpecular(swigCPtr, aiColor4D.getCPtr(INOUT)); - return ret; - } - - public bool GetAmbient(aiColor4D INOUT) { - bool ret = AssimpPINVOKE.aiMaterial_GetAmbient(swigCPtr, aiColor4D.getCPtr(INOUT)); - return ret; - } - - public bool GetEmissive(aiColor4D INOUT) { - bool ret = AssimpPINVOKE.aiMaterial_GetEmissive(swigCPtr, aiColor4D.getCPtr(INOUT)); - return ret; - } - - public bool GetOpacity(ref float INOUT) { - bool ret = AssimpPINVOKE.aiMaterial_GetOpacity(swigCPtr, ref INOUT); - return ret; - } - - public bool GetShininessStrength(ref float INOUT) { - bool ret = AssimpPINVOKE.aiMaterial_GetShininessStrength(swigCPtr, ref INOUT); - return ret; - } - - public bool GetShadingModel(ref int INOUT) { - bool ret = AssimpPINVOKE.aiMaterial_GetShadingModel(swigCPtr, ref INOUT); - return ret; - } - - public bool GetTexFlagsDiffuse0(ref int INOUT) { - bool ret = AssimpPINVOKE.aiMaterial_GetTexFlagsDiffuse0(swigCPtr, ref INOUT); - return ret; - } - - public bool GetMappingModeUDiffuse0(ref int INOUT) { - bool ret = AssimpPINVOKE.aiMaterial_GetMappingModeUDiffuse0(swigCPtr, ref INOUT); - return ret; - } - - public bool GetMappingModeVDiffuse0(ref int INOUT) { - bool ret = AssimpPINVOKE.aiMaterial_GetMappingModeVDiffuse0(swigCPtr, ref INOUT); - return ret; - } - - public bool GetTextureDiffuse0(aiString INOUT) { - bool ret = AssimpPINVOKE.aiMaterial_GetTextureDiffuse0(swigCPtr, aiString.getCPtr(INOUT)); - return ret; - } - - public bool GetTextureSpecular0(aiString INOUT) { - bool ret = AssimpPINVOKE.aiMaterial_GetTextureSpecular0(swigCPtr, aiString.getCPtr(INOUT)); - return ret; - } - - public bool GetTextureOpacity0(aiString INOUT) { - bool ret = AssimpPINVOKE.aiMaterial_GetTextureOpacity0(swigCPtr, aiString.getCPtr(INOUT)); - return ret; - } - - public bool GetTextureAmbient0(aiString INOUT) { - bool ret = AssimpPINVOKE.aiMaterial_GetTextureAmbient0(swigCPtr, aiString.getCPtr(INOUT)); - return ret; - } - - public bool GetTextureEmissive0(aiString INOUT) { - bool ret = AssimpPINVOKE.aiMaterial_GetTextureEmissive0(swigCPtr, aiString.getCPtr(INOUT)); - return ret; - } - - public bool GetTextureShininess0(aiString INOUT) { - bool ret = AssimpPINVOKE.aiMaterial_GetTextureShininess0(swigCPtr, aiString.getCPtr(INOUT)); - return ret; - } - - public bool GetTextureLightmap0(aiString INOUT) { - bool ret = AssimpPINVOKE.aiMaterial_GetTextureLightmap0(swigCPtr, aiString.getCPtr(INOUT)); - return ret; - } - - public bool GetTextureNormals0(aiString INOUT) { - bool ret = AssimpPINVOKE.aiMaterial_GetTextureNormals0(swigCPtr, aiString.getCPtr(INOUT)); - return ret; - } - - public bool GetTextureHeight0(aiString INOUT) { - bool ret = AssimpPINVOKE.aiMaterial_GetTextureHeight0(swigCPtr, aiString.getCPtr(INOUT)); - return ret; - } - - public bool GetGlobalBackgroundImage(aiString INOUT) { - bool ret = AssimpPINVOKE.aiMaterial_GetGlobalBackgroundImage(swigCPtr, aiString.getCPtr(INOUT)); - return ret; - } - - public bool GetTwoSided(ref int INOUT) { - bool ret = AssimpPINVOKE.aiMaterial_GetTwoSided(swigCPtr, ref INOUT); - return ret; - } - -} diff --git a/port/Assimp.NET/Assimp.NET_CS/aiMaterialProperty.cs b/port/Assimp.NET/Assimp.NET_CS/aiMaterialProperty.cs deleted file mode 100644 index b32e11a6b..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/aiMaterialProperty.cs +++ /dev/null @@ -1,107 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.8 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - - -using System; -using System.Runtime.InteropServices; - -public class aiMaterialProperty : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal aiMaterialProperty(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(aiMaterialProperty obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~aiMaterialProperty() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - AssimpPINVOKE.delete_aiMaterialProperty(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public aiString mKey { - set { - AssimpPINVOKE.aiMaterialProperty_mKey_set(swigCPtr, aiString.getCPtr(value)); - } - get { - IntPtr cPtr = AssimpPINVOKE.aiMaterialProperty_mKey_get(swigCPtr); - aiString ret = (cPtr == IntPtr.Zero) ? null : new aiString(cPtr, false); - return ret; - } - } - - public uint mSemantic { - set { - AssimpPINVOKE.aiMaterialProperty_mSemantic_set(swigCPtr, value); - } - get { - uint ret = AssimpPINVOKE.aiMaterialProperty_mSemantic_get(swigCPtr); - return ret; - } - } - - public uint mIndex { - set { - AssimpPINVOKE.aiMaterialProperty_mIndex_set(swigCPtr, value); - } - get { - uint ret = AssimpPINVOKE.aiMaterialProperty_mIndex_get(swigCPtr); - return ret; - } - } - - public uint mDataLength { - set { - AssimpPINVOKE.aiMaterialProperty_mDataLength_set(swigCPtr, value); - } - get { - uint ret = AssimpPINVOKE.aiMaterialProperty_mDataLength_get(swigCPtr); - return ret; - } - } - - public aiPropertyTypeInfo mType { - set { - AssimpPINVOKE.aiMaterialProperty_mType_set(swigCPtr, (int)value); - } - get { - aiPropertyTypeInfo ret = (aiPropertyTypeInfo)AssimpPINVOKE.aiMaterialProperty_mType_get(swigCPtr); - return ret; - } - } - - public string mData { - set { - AssimpPINVOKE.aiMaterialProperty_mData_set(swigCPtr, value); - } - get { - string ret = AssimpPINVOKE.aiMaterialProperty_mData_get(swigCPtr); - return ret; - } - } - - public aiMaterialProperty() : this(AssimpPINVOKE.new_aiMaterialProperty(), true) { - } - -} diff --git a/port/Assimp.NET/Assimp.NET_CS/aiMaterialVector.cs b/port/Assimp.NET/Assimp.NET_CS/aiMaterialVector.cs deleted file mode 100644 index 13c19ce1a..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/aiMaterialVector.cs +++ /dev/null @@ -1,348 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.8 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - - -using System; -using System.Runtime.InteropServices; - -public class aiMaterialVector : IDisposable, System.Collections.IEnumerable -#if !SWIG_DOTNET_1 - , System.Collections.Generic.IList -#endif - { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal aiMaterialVector(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(aiMaterialVector obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~aiMaterialVector() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - AssimpPINVOKE.delete_aiMaterialVector(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public aiMaterialVector(System.Collections.ICollection c) : this() { - if (c == null) - throw new ArgumentNullException("c"); - foreach (aiMaterial element in c) { - this.Add(element); - } - } - - public bool IsFixedSize { - get { - return false; - } - } - - public bool IsReadOnly { - get { - return false; - } - } - - public aiMaterial this[int index] { - get { - return getitem(index); - } - set { - setitem(index, value); - } - } - - public int Capacity { - get { - return (int)capacity(); - } - set { - if (value < size()) - throw new ArgumentOutOfRangeException("Capacity"); - reserve((uint)value); - } - } - - public int Count { - get { - return (int)size(); - } - } - - public bool IsSynchronized { - get { - return false; - } - } - -#if SWIG_DOTNET_1 - public void CopyTo(System.Array array) -#else - public void CopyTo(aiMaterial[] array) -#endif - { - CopyTo(0, array, 0, this.Count); - } - -#if SWIG_DOTNET_1 - public void CopyTo(System.Array array, int arrayIndex) -#else - public void CopyTo(aiMaterial[] array, int arrayIndex) -#endif - { - CopyTo(0, array, arrayIndex, this.Count); - } - -#if SWIG_DOTNET_1 - public void CopyTo(int index, System.Array array, int arrayIndex, int count) -#else - public void CopyTo(int index, aiMaterial[] array, int arrayIndex, int count) -#endif - { - if (array == null) - throw new ArgumentNullException("array"); - if (index < 0) - throw new ArgumentOutOfRangeException("index", "Value is less than zero"); - if (arrayIndex < 0) - throw new ArgumentOutOfRangeException("arrayIndex", "Value is less than zero"); - if (count < 0) - throw new ArgumentOutOfRangeException("count", "Value is less than zero"); - if (array.Rank > 1) - throw new ArgumentException("Multi dimensional array.", "array"); - if (index+count > this.Count || arrayIndex+count > array.Length) - throw new ArgumentException("Number of elements to copy is too large."); - for (int i=0; i System.Collections.Generic.IEnumerable.GetEnumerator() { - return new aiMaterialVectorEnumerator(this); - } -#endif - - System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { - return new aiMaterialVectorEnumerator(this); - } - - public aiMaterialVectorEnumerator GetEnumerator() { - return new aiMaterialVectorEnumerator(this); - } - - // Type-safe enumerator - /// Note that the IEnumerator documentation requires an InvalidOperationException to be thrown - /// whenever the collection is modified. This has been done for changes in the size of the - /// collection but not when one of the elements of the collection is modified as it is a bit - /// tricky to detect unmanaged code that modifies the collection under our feet. - public sealed class aiMaterialVectorEnumerator : System.Collections.IEnumerator -#if !SWIG_DOTNET_1 - , System.Collections.Generic.IEnumerator -#endif - { - private aiMaterialVector collectionRef; - private int currentIndex; - private object currentObject; - private int currentSize; - - public aiMaterialVectorEnumerator(aiMaterialVector collection) { - collectionRef = collection; - currentIndex = -1; - currentObject = null; - currentSize = collectionRef.Count; - } - - // Type-safe iterator Current - public aiMaterial Current { - get { - if (currentIndex == -1) - throw new InvalidOperationException("Enumeration not started."); - if (currentIndex > currentSize - 1) - throw new InvalidOperationException("Enumeration finished."); - if (currentObject == null) - throw new InvalidOperationException("Collection modified."); - return (aiMaterial)currentObject; - } - } - - // Type-unsafe IEnumerator.Current - object System.Collections.IEnumerator.Current { - get { - return Current; - } - } - - public bool MoveNext() { - int size = collectionRef.Count; - bool moveOkay = (currentIndex+1 < size) && (size == currentSize); - if (moveOkay) { - currentIndex++; - currentObject = collectionRef[currentIndex]; - } else { - currentObject = null; - } - return moveOkay; - } - - public void Reset() { - currentIndex = -1; - currentObject = null; - if (collectionRef.Count != currentSize) { - throw new InvalidOperationException("Collection modified."); - } - } - -#if !SWIG_DOTNET_1 - public void Dispose() { - currentIndex = -1; - currentObject = null; - } -#endif - } - - public void Clear() { - AssimpPINVOKE.aiMaterialVector_Clear(swigCPtr); - } - - public void Add(aiMaterial x) { - AssimpPINVOKE.aiMaterialVector_Add(swigCPtr, aiMaterial.getCPtr(x)); - } - - private uint size() { - uint ret = AssimpPINVOKE.aiMaterialVector_size(swigCPtr); - return ret; - } - - private uint capacity() { - uint ret = AssimpPINVOKE.aiMaterialVector_capacity(swigCPtr); - return ret; - } - - private void reserve(uint n) { - AssimpPINVOKE.aiMaterialVector_reserve(swigCPtr, n); - } - - public aiMaterialVector() : this(AssimpPINVOKE.new_aiMaterialVector__SWIG_0(), true) { - } - - public aiMaterialVector(aiMaterialVector other) : this(AssimpPINVOKE.new_aiMaterialVector__SWIG_1(aiMaterialVector.getCPtr(other)), true) { - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public aiMaterialVector(int capacity) : this(AssimpPINVOKE.new_aiMaterialVector__SWIG_2(capacity), true) { - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - private aiMaterial getitemcopy(int index) { - IntPtr cPtr = AssimpPINVOKE.aiMaterialVector_getitemcopy(swigCPtr, index); - aiMaterial ret = (cPtr == IntPtr.Zero) ? null : new aiMaterial(cPtr, false); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - private aiMaterial getitem(int index) { - IntPtr cPtr = AssimpPINVOKE.aiMaterialVector_getitem(swigCPtr, index); - aiMaterial ret = (cPtr == IntPtr.Zero) ? null : new aiMaterial(cPtr, false); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - private void setitem(int index, aiMaterial val) { - AssimpPINVOKE.aiMaterialVector_setitem(swigCPtr, index, aiMaterial.getCPtr(val)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void AddRange(aiMaterialVector values) { - AssimpPINVOKE.aiMaterialVector_AddRange(swigCPtr, aiMaterialVector.getCPtr(values)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public aiMaterialVector GetRange(int index, int count) { - IntPtr cPtr = AssimpPINVOKE.aiMaterialVector_GetRange(swigCPtr, index, count); - aiMaterialVector ret = (cPtr == IntPtr.Zero) ? null : new aiMaterialVector(cPtr, true); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public void Insert(int index, aiMaterial x) { - AssimpPINVOKE.aiMaterialVector_Insert(swigCPtr, index, aiMaterial.getCPtr(x)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void InsertRange(int index, aiMaterialVector values) { - AssimpPINVOKE.aiMaterialVector_InsertRange(swigCPtr, index, aiMaterialVector.getCPtr(values)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void RemoveAt(int index) { - AssimpPINVOKE.aiMaterialVector_RemoveAt(swigCPtr, index); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void RemoveRange(int index, int count) { - AssimpPINVOKE.aiMaterialVector_RemoveRange(swigCPtr, index, count); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public static aiMaterialVector Repeat(aiMaterial value, int count) { - IntPtr cPtr = AssimpPINVOKE.aiMaterialVector_Repeat(aiMaterial.getCPtr(value), count); - aiMaterialVector ret = (cPtr == IntPtr.Zero) ? null : new aiMaterialVector(cPtr, true); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public void Reverse() { - AssimpPINVOKE.aiMaterialVector_Reverse__SWIG_0(swigCPtr); - } - - public void Reverse(int index, int count) { - AssimpPINVOKE.aiMaterialVector_Reverse__SWIG_1(swigCPtr, index, count); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void SetRange(int index, aiMaterialVector values) { - AssimpPINVOKE.aiMaterialVector_SetRange(swigCPtr, index, aiMaterialVector.getCPtr(values)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public bool Contains(aiMaterial value) { - bool ret = AssimpPINVOKE.aiMaterialVector_Contains(swigCPtr, aiMaterial.getCPtr(value)); - return ret; - } - - public int IndexOf(aiMaterial value) { - int ret = AssimpPINVOKE.aiMaterialVector_IndexOf(swigCPtr, aiMaterial.getCPtr(value)); - return ret; - } - - public int LastIndexOf(aiMaterial value) { - int ret = AssimpPINVOKE.aiMaterialVector_LastIndexOf(swigCPtr, aiMaterial.getCPtr(value)); - return ret; - } - - public bool Remove(aiMaterial value) { - bool ret = AssimpPINVOKE.aiMaterialVector_Remove(swigCPtr, aiMaterial.getCPtr(value)); - return ret; - } - -} diff --git a/port/Assimp.NET/Assimp.NET_CS/aiMatrix3x3.cs b/port/Assimp.NET/Assimp.NET_CS/aiMatrix3x3.cs deleted file mode 100644 index 633f06721..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/aiMatrix3x3.cs +++ /dev/null @@ -1,212 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.8 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - - -using System; -using System.Runtime.InteropServices; - -public class aiMatrix3x3 : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal aiMatrix3x3(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(aiMatrix3x3 obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~aiMatrix3x3() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - AssimpPINVOKE.delete_aiMatrix3x3(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public aiMatrix3x3() : this(AssimpPINVOKE.new_aiMatrix3x3__SWIG_0(), true) { - } - - public aiMatrix3x3(float _a1, float _a2, float _a3, float _b1, float _b2, float _b3, float _c1, float _c2, float _c3) : this(AssimpPINVOKE.new_aiMatrix3x3__SWIG_1(_a1, _a2, _a3, _b1, _b2, _b3, _c1, _c2, _c3), true) { - } - - public aiMatrix3x3 __mulnset__(aiMatrix3x3 m) { - aiMatrix3x3 ret = new aiMatrix3x3(AssimpPINVOKE.aiMatrix3x3___mulnset__(swigCPtr, aiMatrix3x3.getCPtr(m)), false); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public aiMatrix3x3 __mul__(aiMatrix3x3 m) { - aiMatrix3x3 ret = new aiMatrix3x3(AssimpPINVOKE.aiMatrix3x3___mul__(swigCPtr, aiMatrix3x3.getCPtr(m)), true); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public SWIGTYPE_p_float __idx__(uint p_iIndex) { - IntPtr cPtr = AssimpPINVOKE.aiMatrix3x3___idx____SWIG_0(swigCPtr, p_iIndex); - SWIGTYPE_p_float ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_float(cPtr, false); - return ret; - } - - public bool __equal__(aiMatrix4x4 m) { - bool ret = AssimpPINVOKE.aiMatrix3x3___equal__(swigCPtr, aiMatrix4x4.getCPtr(m)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public bool __nequal__(aiMatrix4x4 m) { - bool ret = AssimpPINVOKE.aiMatrix3x3___nequal__(swigCPtr, aiMatrix4x4.getCPtr(m)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public aiMatrix3x3(aiMatrix4x4 pMatrix) : this(AssimpPINVOKE.new_aiMatrix3x3__SWIG_2(aiMatrix4x4.getCPtr(pMatrix)), true) { - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public aiMatrix3x3 Transpose() { - aiMatrix3x3 ret = new aiMatrix3x3(AssimpPINVOKE.aiMatrix3x3_Transpose(swigCPtr), false); - return ret; - } - - public aiMatrix3x3 Inverse() { - aiMatrix3x3 ret = new aiMatrix3x3(AssimpPINVOKE.aiMatrix3x3_Inverse(swigCPtr), false); - return ret; - } - - public float Determinant() { - float ret = AssimpPINVOKE.aiMatrix3x3_Determinant(swigCPtr); - return ret; - } - - public static aiMatrix3x3 RotationZ(float a, aiMatrix3x3 arg1) { - aiMatrix3x3 ret = new aiMatrix3x3(AssimpPINVOKE.aiMatrix3x3_RotationZ(a, aiMatrix3x3.getCPtr(arg1)), false); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static aiMatrix3x3 Rotation(float a, aiVector3D axis, aiMatrix3x3 arg2) { - aiMatrix3x3 ret = new aiMatrix3x3(AssimpPINVOKE.aiMatrix3x3_Rotation(a, aiVector3D.getCPtr(axis), aiMatrix3x3.getCPtr(arg2)), false); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static aiMatrix3x3 Translation(aiVector2D v, aiMatrix3x3 arg1) { - aiMatrix3x3 ret = new aiMatrix3x3(AssimpPINVOKE.aiMatrix3x3_Translation(aiVector2D.getCPtr(v), aiMatrix3x3.getCPtr(arg1)), false); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static aiMatrix3x3 FromToMatrix(aiVector3D from, aiVector3D to, aiMatrix3x3 arg2) { - aiMatrix3x3 ret = new aiMatrix3x3(AssimpPINVOKE.aiMatrix3x3_FromToMatrix(aiVector3D.getCPtr(from), aiVector3D.getCPtr(to), aiMatrix3x3.getCPtr(arg2)), false); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public float a1 { - set { - AssimpPINVOKE.aiMatrix3x3_a1_set(swigCPtr, value); - } - get { - float ret = AssimpPINVOKE.aiMatrix3x3_a1_get(swigCPtr); - return ret; - } - } - - public float a2 { - set { - AssimpPINVOKE.aiMatrix3x3_a2_set(swigCPtr, value); - } - get { - float ret = AssimpPINVOKE.aiMatrix3x3_a2_get(swigCPtr); - return ret; - } - } - - public float a3 { - set { - AssimpPINVOKE.aiMatrix3x3_a3_set(swigCPtr, value); - } - get { - float ret = AssimpPINVOKE.aiMatrix3x3_a3_get(swigCPtr); - return ret; - } - } - - public float b1 { - set { - AssimpPINVOKE.aiMatrix3x3_b1_set(swigCPtr, value); - } - get { - float ret = AssimpPINVOKE.aiMatrix3x3_b1_get(swigCPtr); - return ret; - } - } - - public float b2 { - set { - AssimpPINVOKE.aiMatrix3x3_b2_set(swigCPtr, value); - } - get { - float ret = AssimpPINVOKE.aiMatrix3x3_b2_get(swigCPtr); - return ret; - } - } - - public float b3 { - set { - AssimpPINVOKE.aiMatrix3x3_b3_set(swigCPtr, value); - } - get { - float ret = AssimpPINVOKE.aiMatrix3x3_b3_get(swigCPtr); - return ret; - } - } - - public float c1 { - set { - AssimpPINVOKE.aiMatrix3x3_c1_set(swigCPtr, value); - } - get { - float ret = AssimpPINVOKE.aiMatrix3x3_c1_get(swigCPtr); - return ret; - } - } - - public float c2 { - set { - AssimpPINVOKE.aiMatrix3x3_c2_set(swigCPtr, value); - } - get { - float ret = AssimpPINVOKE.aiMatrix3x3_c2_get(swigCPtr); - return ret; - } - } - - public float c3 { - set { - AssimpPINVOKE.aiMatrix3x3_c3_set(swigCPtr, value); - } - get { - float ret = AssimpPINVOKE.aiMatrix3x3_c3_get(swigCPtr); - return ret; - } - } - -} diff --git a/port/Assimp.NET/Assimp.NET_CS/aiMatrix4x4.cs b/port/Assimp.NET/Assimp.NET_CS/aiMatrix4x4.cs deleted file mode 100644 index aae451646..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/aiMatrix4x4.cs +++ /dev/null @@ -1,326 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.8 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - - -using System; -using System.Runtime.InteropServices; - -public class aiMatrix4x4 : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal aiMatrix4x4(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(aiMatrix4x4 obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~aiMatrix4x4() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - AssimpPINVOKE.delete_aiMatrix4x4(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public aiMatrix4x4() : this(AssimpPINVOKE.new_aiMatrix4x4__SWIG_0(), true) { - } - - public aiMatrix4x4(float _a1, float _a2, float _a3, float _a4, float _b1, float _b2, float _b3, float _b4, float _c1, float _c2, float _c3, float _c4, float _d1, float _d2, float _d3, float _d4) : this(AssimpPINVOKE.new_aiMatrix4x4__SWIG_1(_a1, _a2, _a3, _a4, _b1, _b2, _b3, _b4, _c1, _c2, _c3, _c4, _d1, _d2, _d3, _d4), true) { - } - - public aiMatrix4x4(aiMatrix3x3 m) : this(AssimpPINVOKE.new_aiMatrix4x4__SWIG_2(aiMatrix3x3.getCPtr(m)), true) { - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public SWIGTYPE_p_float __idx__(uint p_iIndex) { - IntPtr cPtr = AssimpPINVOKE.aiMatrix4x4___idx____SWIG_0(swigCPtr, p_iIndex); - SWIGTYPE_p_float ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_float(cPtr, false); - return ret; - } - - public bool __equal__(aiMatrix4x4 m) { - bool ret = AssimpPINVOKE.aiMatrix4x4___equal__(swigCPtr, aiMatrix4x4.getCPtr(m)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public bool __nequal__(aiMatrix4x4 m) { - bool ret = AssimpPINVOKE.aiMatrix4x4___nequal__(swigCPtr, aiMatrix4x4.getCPtr(m)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public aiMatrix4x4 __mulnset__(aiMatrix4x4 m) { - aiMatrix4x4 ret = new aiMatrix4x4(AssimpPINVOKE.aiMatrix4x4___mulnset__(swigCPtr, aiMatrix4x4.getCPtr(m)), false); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public aiMatrix4x4 __mul__(aiMatrix4x4 m) { - aiMatrix4x4 ret = new aiMatrix4x4(AssimpPINVOKE.aiMatrix4x4___mul__(swigCPtr, aiMatrix4x4.getCPtr(m)), true); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public aiMatrix4x4 Transpose() { - aiMatrix4x4 ret = new aiMatrix4x4(AssimpPINVOKE.aiMatrix4x4_Transpose(swigCPtr), false); - return ret; - } - - public aiMatrix4x4 Inverse() { - aiMatrix4x4 ret = new aiMatrix4x4(AssimpPINVOKE.aiMatrix4x4_Inverse(swigCPtr), false); - return ret; - } - - public float Determinant() { - float ret = AssimpPINVOKE.aiMatrix4x4_Determinant(swigCPtr); - return ret; - } - - public bool IsIdentity() { - bool ret = AssimpPINVOKE.aiMatrix4x4_IsIdentity(swigCPtr); - return ret; - } - - public void Decompose(aiVector3D scaling, aiQuaternion rotation, aiVector3D position) { - AssimpPINVOKE.aiMatrix4x4_Decompose(swigCPtr, aiVector3D.getCPtr(scaling), aiQuaternion.getCPtr(rotation), aiVector3D.getCPtr(position)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void DecomposeNoScaling(aiQuaternion rotation, aiVector3D position) { - AssimpPINVOKE.aiMatrix4x4_DecomposeNoScaling(swigCPtr, aiQuaternion.getCPtr(rotation), aiVector3D.getCPtr(position)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public aiMatrix4x4 FromEulerAnglesXYZ(float x, float y, float z) { - aiMatrix4x4 ret = new aiMatrix4x4(AssimpPINVOKE.aiMatrix4x4_FromEulerAnglesXYZ__SWIG_0(swigCPtr, x, y, z), false); - return ret; - } - - public aiMatrix4x4 FromEulerAnglesXYZ(aiVector3D blubb) { - aiMatrix4x4 ret = new aiMatrix4x4(AssimpPINVOKE.aiMatrix4x4_FromEulerAnglesXYZ__SWIG_1(swigCPtr, aiVector3D.getCPtr(blubb)), false); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static aiMatrix4x4 RotationX(float a, aiMatrix4x4 arg1) { - aiMatrix4x4 ret = new aiMatrix4x4(AssimpPINVOKE.aiMatrix4x4_RotationX(a, aiMatrix4x4.getCPtr(arg1)), false); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static aiMatrix4x4 RotationY(float a, aiMatrix4x4 arg1) { - aiMatrix4x4 ret = new aiMatrix4x4(AssimpPINVOKE.aiMatrix4x4_RotationY(a, aiMatrix4x4.getCPtr(arg1)), false); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static aiMatrix4x4 RotationZ(float a, aiMatrix4x4 arg1) { - aiMatrix4x4 ret = new aiMatrix4x4(AssimpPINVOKE.aiMatrix4x4_RotationZ(a, aiMatrix4x4.getCPtr(arg1)), false); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static aiMatrix4x4 Rotation(float a, aiVector3D axis, aiMatrix4x4 arg2) { - aiMatrix4x4 ret = new aiMatrix4x4(AssimpPINVOKE.aiMatrix4x4_Rotation(a, aiVector3D.getCPtr(axis), aiMatrix4x4.getCPtr(arg2)), false); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static aiMatrix4x4 Translation(aiVector3D v, aiMatrix4x4 arg1) { - aiMatrix4x4 ret = new aiMatrix4x4(AssimpPINVOKE.aiMatrix4x4_Translation(aiVector3D.getCPtr(v), aiMatrix4x4.getCPtr(arg1)), false); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static aiMatrix4x4 Scaling(aiVector3D v, aiMatrix4x4 arg1) { - aiMatrix4x4 ret = new aiMatrix4x4(AssimpPINVOKE.aiMatrix4x4_Scaling(aiVector3D.getCPtr(v), aiMatrix4x4.getCPtr(arg1)), false); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static aiMatrix4x4 FromToMatrix(aiVector3D from, aiVector3D to, aiMatrix4x4 arg2) { - aiMatrix4x4 ret = new aiMatrix4x4(AssimpPINVOKE.aiMatrix4x4_FromToMatrix(aiVector3D.getCPtr(from), aiVector3D.getCPtr(to), aiMatrix4x4.getCPtr(arg2)), false); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public float a1 { - set { - AssimpPINVOKE.aiMatrix4x4_a1_set(swigCPtr, value); - } - get { - float ret = AssimpPINVOKE.aiMatrix4x4_a1_get(swigCPtr); - return ret; - } - } - - public float a2 { - set { - AssimpPINVOKE.aiMatrix4x4_a2_set(swigCPtr, value); - } - get { - float ret = AssimpPINVOKE.aiMatrix4x4_a2_get(swigCPtr); - return ret; - } - } - - public float a3 { - set { - AssimpPINVOKE.aiMatrix4x4_a3_set(swigCPtr, value); - } - get { - float ret = AssimpPINVOKE.aiMatrix4x4_a3_get(swigCPtr); - return ret; - } - } - - public float a4 { - set { - AssimpPINVOKE.aiMatrix4x4_a4_set(swigCPtr, value); - } - get { - float ret = AssimpPINVOKE.aiMatrix4x4_a4_get(swigCPtr); - return ret; - } - } - - public float b1 { - set { - AssimpPINVOKE.aiMatrix4x4_b1_set(swigCPtr, value); - } - get { - float ret = AssimpPINVOKE.aiMatrix4x4_b1_get(swigCPtr); - return ret; - } - } - - public float b2 { - set { - AssimpPINVOKE.aiMatrix4x4_b2_set(swigCPtr, value); - } - get { - float ret = AssimpPINVOKE.aiMatrix4x4_b2_get(swigCPtr); - return ret; - } - } - - public float b3 { - set { - AssimpPINVOKE.aiMatrix4x4_b3_set(swigCPtr, value); - } - get { - float ret = AssimpPINVOKE.aiMatrix4x4_b3_get(swigCPtr); - return ret; - } - } - - public float b4 { - set { - AssimpPINVOKE.aiMatrix4x4_b4_set(swigCPtr, value); - } - get { - float ret = AssimpPINVOKE.aiMatrix4x4_b4_get(swigCPtr); - return ret; - } - } - - public float c1 { - set { - AssimpPINVOKE.aiMatrix4x4_c1_set(swigCPtr, value); - } - get { - float ret = AssimpPINVOKE.aiMatrix4x4_c1_get(swigCPtr); - return ret; - } - } - - public float c2 { - set { - AssimpPINVOKE.aiMatrix4x4_c2_set(swigCPtr, value); - } - get { - float ret = AssimpPINVOKE.aiMatrix4x4_c2_get(swigCPtr); - return ret; - } - } - - public float c3 { - set { - AssimpPINVOKE.aiMatrix4x4_c3_set(swigCPtr, value); - } - get { - float ret = AssimpPINVOKE.aiMatrix4x4_c3_get(swigCPtr); - return ret; - } - } - - public float c4 { - set { - AssimpPINVOKE.aiMatrix4x4_c4_set(swigCPtr, value); - } - get { - float ret = AssimpPINVOKE.aiMatrix4x4_c4_get(swigCPtr); - return ret; - } - } - - public float d1 { - set { - AssimpPINVOKE.aiMatrix4x4_d1_set(swigCPtr, value); - } - get { - float ret = AssimpPINVOKE.aiMatrix4x4_d1_get(swigCPtr); - return ret; - } - } - - public float d2 { - set { - AssimpPINVOKE.aiMatrix4x4_d2_set(swigCPtr, value); - } - get { - float ret = AssimpPINVOKE.aiMatrix4x4_d2_get(swigCPtr); - return ret; - } - } - - public float d3 { - set { - AssimpPINVOKE.aiMatrix4x4_d3_set(swigCPtr, value); - } - get { - float ret = AssimpPINVOKE.aiMatrix4x4_d3_get(swigCPtr); - return ret; - } - } - - public float d4 { - set { - AssimpPINVOKE.aiMatrix4x4_d4_set(swigCPtr, value); - } - get { - float ret = AssimpPINVOKE.aiMatrix4x4_d4_get(swigCPtr); - return ret; - } - } - -} diff --git a/port/Assimp.NET/Assimp.NET_CS/aiMemoryInfo.cs b/port/Assimp.NET/Assimp.NET_CS/aiMemoryInfo.cs deleted file mode 100644 index 734f00606..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/aiMemoryInfo.cs +++ /dev/null @@ -1,126 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.8 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - - -using System; -using System.Runtime.InteropServices; - -public class aiMemoryInfo : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal aiMemoryInfo(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(aiMemoryInfo obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~aiMemoryInfo() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - AssimpPINVOKE.delete_aiMemoryInfo(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public aiMemoryInfo() : this(AssimpPINVOKE.new_aiMemoryInfo(), true) { - } - - public uint textures { - set { - AssimpPINVOKE.aiMemoryInfo_textures_set(swigCPtr, value); - } - get { - uint ret = AssimpPINVOKE.aiMemoryInfo_textures_get(swigCPtr); - return ret; - } - } - - public uint materials { - set { - AssimpPINVOKE.aiMemoryInfo_materials_set(swigCPtr, value); - } - get { - uint ret = AssimpPINVOKE.aiMemoryInfo_materials_get(swigCPtr); - return ret; - } - } - - public uint meshes { - set { - AssimpPINVOKE.aiMemoryInfo_meshes_set(swigCPtr, value); - } - get { - uint ret = AssimpPINVOKE.aiMemoryInfo_meshes_get(swigCPtr); - return ret; - } - } - - public uint nodes { - set { - AssimpPINVOKE.aiMemoryInfo_nodes_set(swigCPtr, value); - } - get { - uint ret = AssimpPINVOKE.aiMemoryInfo_nodes_get(swigCPtr); - return ret; - } - } - - public uint animations { - set { - AssimpPINVOKE.aiMemoryInfo_animations_set(swigCPtr, value); - } - get { - uint ret = AssimpPINVOKE.aiMemoryInfo_animations_get(swigCPtr); - return ret; - } - } - - public uint cameras { - set { - AssimpPINVOKE.aiMemoryInfo_cameras_set(swigCPtr, value); - } - get { - uint ret = AssimpPINVOKE.aiMemoryInfo_cameras_get(swigCPtr); - return ret; - } - } - - public uint lights { - set { - AssimpPINVOKE.aiMemoryInfo_lights_set(swigCPtr, value); - } - get { - uint ret = AssimpPINVOKE.aiMemoryInfo_lights_get(swigCPtr); - return ret; - } - } - - public uint total { - set { - AssimpPINVOKE.aiMemoryInfo_total_set(swigCPtr, value); - } - get { - uint ret = AssimpPINVOKE.aiMemoryInfo_total_get(swigCPtr); - return ret; - } - } - -} diff --git a/port/Assimp.NET/Assimp.NET_CS/aiMesh.cs b/port/Assimp.NET/Assimp.NET_CS/aiMesh.cs deleted file mode 100644 index bf55782ce..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/aiMesh.cs +++ /dev/null @@ -1,227 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.8 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - - -using System; -using System.Runtime.InteropServices; - -public class aiMesh : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal aiMesh(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(aiMesh obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~aiMesh() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - AssimpPINVOKE.delete_aiMesh(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public aiVector3DVector mBitangents { get { return GetmBitangents(); } } - public aiBoneVector mBones { get { return GetmBones(); } } - public aiColor4DVectorVector mColors { get { return GetmColors(); } } - public aiFaceVector mFaces { get { return GetmFaces(); } } - public aiVector3DVector mNormals { get { return GetmNormals(); } } - public aiVector3DVector mTangents { get { return GetmTangents(); } } - public aiVector3DVectorVector mTextureCoords { get { return GetmTextureCoords(); } } - public aiVector3DVector mVertices { get { return GetmVertices(); } } - - public aiPrimitiveType mPrimitiveTypes { - set { - AssimpPINVOKE.aiMesh_mPrimitiveTypes_set(swigCPtr, (uint)value); - } get { return (aiPrimitiveType)AssimpPINVOKE.aiMesh_mPrimitiveTypes_get(swigCPtr); } - } - - public uint mNumVertices { - set { - AssimpPINVOKE.aiMesh_mNumVertices_set(swigCPtr, value); - } - get { - uint ret = AssimpPINVOKE.aiMesh_mNumVertices_get(swigCPtr); - return ret; - } - } - - public uint mNumFaces { - set { - AssimpPINVOKE.aiMesh_mNumFaces_set(swigCPtr, value); - } - get { - uint ret = AssimpPINVOKE.aiMesh_mNumFaces_get(swigCPtr); - return ret; - } - } - - public uint mNumBones { - set { - AssimpPINVOKE.aiMesh_mNumBones_set(swigCPtr, value); - } - get { - uint ret = AssimpPINVOKE.aiMesh_mNumBones_get(swigCPtr); - return ret; - } - } - - public uint mMaterialIndex { - set { - AssimpPINVOKE.aiMesh_mMaterialIndex_set(swigCPtr, value); - } - get { - uint ret = AssimpPINVOKE.aiMesh_mMaterialIndex_get(swigCPtr); - return ret; - } - } - - public aiString mName { - set { - AssimpPINVOKE.aiMesh_mName_set(swigCPtr, aiString.getCPtr(value)); - } - get { - IntPtr cPtr = AssimpPINVOKE.aiMesh_mName_get(swigCPtr); - aiString ret = (cPtr == IntPtr.Zero) ? null : new aiString(cPtr, false); - return ret; - } - } - - public uint mNumAnimMeshes { - set { - AssimpPINVOKE.aiMesh_mNumAnimMeshes_set(swigCPtr, value); - } - get { - uint ret = AssimpPINVOKE.aiMesh_mNumAnimMeshes_get(swigCPtr); - return ret; - } - } - - public aiMesh() : this(AssimpPINVOKE.new_aiMesh(), true) { - } - - public bool HasPositions() { - bool ret = AssimpPINVOKE.aiMesh_HasPositions(swigCPtr); - return ret; - } - - public bool HasFaces() { - bool ret = AssimpPINVOKE.aiMesh_HasFaces(swigCPtr); - return ret; - } - - public bool HasNormals() { - bool ret = AssimpPINVOKE.aiMesh_HasNormals(swigCPtr); - return ret; - } - - public bool HasTangentsAndBitangents() { - bool ret = AssimpPINVOKE.aiMesh_HasTangentsAndBitangents(swigCPtr); - return ret; - } - - public bool HasVertexColors(uint pIndex) { - bool ret = AssimpPINVOKE.aiMesh_HasVertexColors(swigCPtr, pIndex); - return ret; - } - - public bool HasTextureCoords(uint pIndex) { - bool ret = AssimpPINVOKE.aiMesh_HasTextureCoords(swigCPtr, pIndex); - return ret; - } - - public uint GetNumUVChannels() { - uint ret = AssimpPINVOKE.aiMesh_GetNumUVChannels(swigCPtr); - return ret; - } - - public uint GetNumColorChannels() { - uint ret = AssimpPINVOKE.aiMesh_GetNumColorChannels(swigCPtr); - return ret; - } - - public bool HasBones() { - bool ret = AssimpPINVOKE.aiMesh_HasBones(swigCPtr); - return ret; - } - - private aiAnimMeshVector GetmAnimMeshes() { - IntPtr cPtr = AssimpPINVOKE.aiMesh_GetmAnimMeshes(swigCPtr); - aiAnimMeshVector ret = (cPtr == IntPtr.Zero) ? null : new aiAnimMeshVector(cPtr, true); - return ret; - } - - private aiVector3DVector GetmBitangents() { - IntPtr cPtr = AssimpPINVOKE.aiMesh_GetmBitangents(swigCPtr); - aiVector3DVector ret = (cPtr == IntPtr.Zero) ? null : new aiVector3DVector(cPtr, true); - return ret; - } - - private aiBoneVector GetmBones() { - IntPtr cPtr = AssimpPINVOKE.aiMesh_GetmBones(swigCPtr); - aiBoneVector ret = (cPtr == IntPtr.Zero) ? null : new aiBoneVector(cPtr, true); - return ret; - } - - private aiColor4DVectorVector GetmColors() { - IntPtr cPtr = AssimpPINVOKE.aiMesh_GetmColors(swigCPtr); - aiColor4DVectorVector ret = (cPtr == IntPtr.Zero) ? null : new aiColor4DVectorVector(cPtr, true); - return ret; - } - - private aiFaceVector GetmFaces() { - IntPtr cPtr = AssimpPINVOKE.aiMesh_GetmFaces(swigCPtr); - aiFaceVector ret = (cPtr == IntPtr.Zero) ? null : new aiFaceVector(cPtr, true); - return ret; - } - - private aiVector3DVector GetmNormals() { - IntPtr cPtr = AssimpPINVOKE.aiMesh_GetmNormals(swigCPtr); - aiVector3DVector ret = (cPtr == IntPtr.Zero) ? null : new aiVector3DVector(cPtr, true); - return ret; - } - - private aiVector3DVector GetmTangents() { - IntPtr cPtr = AssimpPINVOKE.aiMesh_GetmTangents(swigCPtr); - aiVector3DVector ret = (cPtr == IntPtr.Zero) ? null : new aiVector3DVector(cPtr, true); - return ret; - } - - private aiVector3DVectorVector GetmTextureCoords() { - IntPtr cPtr = AssimpPINVOKE.aiMesh_GetmTextureCoords(swigCPtr); - aiVector3DVectorVector ret = (cPtr == IntPtr.Zero) ? null : new aiVector3DVectorVector(cPtr, true); - return ret; - } - - private UintVector GetmNumUVComponents() { - IntPtr cPtr = AssimpPINVOKE.aiMesh_GetmNumUVComponents(swigCPtr); - UintVector ret = (cPtr == IntPtr.Zero) ? null : new UintVector(cPtr, true); - return ret; - } - - private aiVector3DVector GetmVertices() { - IntPtr cPtr = AssimpPINVOKE.aiMesh_GetmVertices(swigCPtr); - aiVector3DVector ret = (cPtr == IntPtr.Zero) ? null : new aiVector3DVector(cPtr, true); - return ret; - } - -} diff --git a/port/Assimp.NET/Assimp.NET_CS/aiMeshAnim.cs b/port/Assimp.NET/Assimp.NET_CS/aiMeshAnim.cs deleted file mode 100644 index 78237a555..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/aiMeshAnim.cs +++ /dev/null @@ -1,75 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.8 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - - -using System; -using System.Runtime.InteropServices; - -public class aiMeshAnim : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal aiMeshAnim(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(aiMeshAnim obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~aiMeshAnim() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - AssimpPINVOKE.delete_aiMeshAnim(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public aiMeshKeyVector mKeys { get { return GetmKeys(); } } - - public aiString mName { - set { - AssimpPINVOKE.aiMeshAnim_mName_set(swigCPtr, aiString.getCPtr(value)); - } - get { - IntPtr cPtr = AssimpPINVOKE.aiMeshAnim_mName_get(swigCPtr); - aiString ret = (cPtr == IntPtr.Zero) ? null : new aiString(cPtr, false); - return ret; - } - } - - public uint mNumKeys { - set { - AssimpPINVOKE.aiMeshAnim_mNumKeys_set(swigCPtr, value); - } - get { - uint ret = AssimpPINVOKE.aiMeshAnim_mNumKeys_get(swigCPtr); - return ret; - } - } - - public aiMeshAnim() : this(AssimpPINVOKE.new_aiMeshAnim(), true) { - } - - private aiMeshKeyVector GetmKeys() { - IntPtr cPtr = AssimpPINVOKE.aiMeshAnim_GetmKeys(swigCPtr); - aiMeshKeyVector ret = (cPtr == IntPtr.Zero) ? null : new aiMeshKeyVector(cPtr, true); - return ret; - } - -} diff --git a/port/Assimp.NET/Assimp.NET_CS/aiMeshAnimVector.cs b/port/Assimp.NET/Assimp.NET_CS/aiMeshAnimVector.cs deleted file mode 100644 index c862c258c..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/aiMeshAnimVector.cs +++ /dev/null @@ -1,348 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.8 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - - -using System; -using System.Runtime.InteropServices; - -public class aiMeshAnimVector : IDisposable, System.Collections.IEnumerable -#if !SWIG_DOTNET_1 - , System.Collections.Generic.IList -#endif - { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal aiMeshAnimVector(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(aiMeshAnimVector obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~aiMeshAnimVector() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - AssimpPINVOKE.delete_aiMeshAnimVector(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public aiMeshAnimVector(System.Collections.ICollection c) : this() { - if (c == null) - throw new ArgumentNullException("c"); - foreach (aiMeshAnim element in c) { - this.Add(element); - } - } - - public bool IsFixedSize { - get { - return false; - } - } - - public bool IsReadOnly { - get { - return false; - } - } - - public aiMeshAnim this[int index] { - get { - return getitem(index); - } - set { - setitem(index, value); - } - } - - public int Capacity { - get { - return (int)capacity(); - } - set { - if (value < size()) - throw new ArgumentOutOfRangeException("Capacity"); - reserve((uint)value); - } - } - - public int Count { - get { - return (int)size(); - } - } - - public bool IsSynchronized { - get { - return false; - } - } - -#if SWIG_DOTNET_1 - public void CopyTo(System.Array array) -#else - public void CopyTo(aiMeshAnim[] array) -#endif - { - CopyTo(0, array, 0, this.Count); - } - -#if SWIG_DOTNET_1 - public void CopyTo(System.Array array, int arrayIndex) -#else - public void CopyTo(aiMeshAnim[] array, int arrayIndex) -#endif - { - CopyTo(0, array, arrayIndex, this.Count); - } - -#if SWIG_DOTNET_1 - public void CopyTo(int index, System.Array array, int arrayIndex, int count) -#else - public void CopyTo(int index, aiMeshAnim[] array, int arrayIndex, int count) -#endif - { - if (array == null) - throw new ArgumentNullException("array"); - if (index < 0) - throw new ArgumentOutOfRangeException("index", "Value is less than zero"); - if (arrayIndex < 0) - throw new ArgumentOutOfRangeException("arrayIndex", "Value is less than zero"); - if (count < 0) - throw new ArgumentOutOfRangeException("count", "Value is less than zero"); - if (array.Rank > 1) - throw new ArgumentException("Multi dimensional array.", "array"); - if (index+count > this.Count || arrayIndex+count > array.Length) - throw new ArgumentException("Number of elements to copy is too large."); - for (int i=0; i System.Collections.Generic.IEnumerable.GetEnumerator() { - return new aiMeshAnimVectorEnumerator(this); - } -#endif - - System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { - return new aiMeshAnimVectorEnumerator(this); - } - - public aiMeshAnimVectorEnumerator GetEnumerator() { - return new aiMeshAnimVectorEnumerator(this); - } - - // Type-safe enumerator - /// Note that the IEnumerator documentation requires an InvalidOperationException to be thrown - /// whenever the collection is modified. This has been done for changes in the size of the - /// collection but not when one of the elements of the collection is modified as it is a bit - /// tricky to detect unmanaged code that modifies the collection under our feet. - public sealed class aiMeshAnimVectorEnumerator : System.Collections.IEnumerator -#if !SWIG_DOTNET_1 - , System.Collections.Generic.IEnumerator -#endif - { - private aiMeshAnimVector collectionRef; - private int currentIndex; - private object currentObject; - private int currentSize; - - public aiMeshAnimVectorEnumerator(aiMeshAnimVector collection) { - collectionRef = collection; - currentIndex = -1; - currentObject = null; - currentSize = collectionRef.Count; - } - - // Type-safe iterator Current - public aiMeshAnim Current { - get { - if (currentIndex == -1) - throw new InvalidOperationException("Enumeration not started."); - if (currentIndex > currentSize - 1) - throw new InvalidOperationException("Enumeration finished."); - if (currentObject == null) - throw new InvalidOperationException("Collection modified."); - return (aiMeshAnim)currentObject; - } - } - - // Type-unsafe IEnumerator.Current - object System.Collections.IEnumerator.Current { - get { - return Current; - } - } - - public bool MoveNext() { - int size = collectionRef.Count; - bool moveOkay = (currentIndex+1 < size) && (size == currentSize); - if (moveOkay) { - currentIndex++; - currentObject = collectionRef[currentIndex]; - } else { - currentObject = null; - } - return moveOkay; - } - - public void Reset() { - currentIndex = -1; - currentObject = null; - if (collectionRef.Count != currentSize) { - throw new InvalidOperationException("Collection modified."); - } - } - -#if !SWIG_DOTNET_1 - public void Dispose() { - currentIndex = -1; - currentObject = null; - } -#endif - } - - public void Clear() { - AssimpPINVOKE.aiMeshAnimVector_Clear(swigCPtr); - } - - public void Add(aiMeshAnim x) { - AssimpPINVOKE.aiMeshAnimVector_Add(swigCPtr, aiMeshAnim.getCPtr(x)); - } - - private uint size() { - uint ret = AssimpPINVOKE.aiMeshAnimVector_size(swigCPtr); - return ret; - } - - private uint capacity() { - uint ret = AssimpPINVOKE.aiMeshAnimVector_capacity(swigCPtr); - return ret; - } - - private void reserve(uint n) { - AssimpPINVOKE.aiMeshAnimVector_reserve(swigCPtr, n); - } - - public aiMeshAnimVector() : this(AssimpPINVOKE.new_aiMeshAnimVector__SWIG_0(), true) { - } - - public aiMeshAnimVector(aiMeshAnimVector other) : this(AssimpPINVOKE.new_aiMeshAnimVector__SWIG_1(aiMeshAnimVector.getCPtr(other)), true) { - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public aiMeshAnimVector(int capacity) : this(AssimpPINVOKE.new_aiMeshAnimVector__SWIG_2(capacity), true) { - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - private aiMeshAnim getitemcopy(int index) { - IntPtr cPtr = AssimpPINVOKE.aiMeshAnimVector_getitemcopy(swigCPtr, index); - aiMeshAnim ret = (cPtr == IntPtr.Zero) ? null : new aiMeshAnim(cPtr, false); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - private aiMeshAnim getitem(int index) { - IntPtr cPtr = AssimpPINVOKE.aiMeshAnimVector_getitem(swigCPtr, index); - aiMeshAnim ret = (cPtr == IntPtr.Zero) ? null : new aiMeshAnim(cPtr, false); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - private void setitem(int index, aiMeshAnim val) { - AssimpPINVOKE.aiMeshAnimVector_setitem(swigCPtr, index, aiMeshAnim.getCPtr(val)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void AddRange(aiMeshAnimVector values) { - AssimpPINVOKE.aiMeshAnimVector_AddRange(swigCPtr, aiMeshAnimVector.getCPtr(values)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public aiMeshAnimVector GetRange(int index, int count) { - IntPtr cPtr = AssimpPINVOKE.aiMeshAnimVector_GetRange(swigCPtr, index, count); - aiMeshAnimVector ret = (cPtr == IntPtr.Zero) ? null : new aiMeshAnimVector(cPtr, true); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public void Insert(int index, aiMeshAnim x) { - AssimpPINVOKE.aiMeshAnimVector_Insert(swigCPtr, index, aiMeshAnim.getCPtr(x)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void InsertRange(int index, aiMeshAnimVector values) { - AssimpPINVOKE.aiMeshAnimVector_InsertRange(swigCPtr, index, aiMeshAnimVector.getCPtr(values)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void RemoveAt(int index) { - AssimpPINVOKE.aiMeshAnimVector_RemoveAt(swigCPtr, index); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void RemoveRange(int index, int count) { - AssimpPINVOKE.aiMeshAnimVector_RemoveRange(swigCPtr, index, count); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public static aiMeshAnimVector Repeat(aiMeshAnim value, int count) { - IntPtr cPtr = AssimpPINVOKE.aiMeshAnimVector_Repeat(aiMeshAnim.getCPtr(value), count); - aiMeshAnimVector ret = (cPtr == IntPtr.Zero) ? null : new aiMeshAnimVector(cPtr, true); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public void Reverse() { - AssimpPINVOKE.aiMeshAnimVector_Reverse__SWIG_0(swigCPtr); - } - - public void Reverse(int index, int count) { - AssimpPINVOKE.aiMeshAnimVector_Reverse__SWIG_1(swigCPtr, index, count); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void SetRange(int index, aiMeshAnimVector values) { - AssimpPINVOKE.aiMeshAnimVector_SetRange(swigCPtr, index, aiMeshAnimVector.getCPtr(values)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public bool Contains(aiMeshAnim value) { - bool ret = AssimpPINVOKE.aiMeshAnimVector_Contains(swigCPtr, aiMeshAnim.getCPtr(value)); - return ret; - } - - public int IndexOf(aiMeshAnim value) { - int ret = AssimpPINVOKE.aiMeshAnimVector_IndexOf(swigCPtr, aiMeshAnim.getCPtr(value)); - return ret; - } - - public int LastIndexOf(aiMeshAnim value) { - int ret = AssimpPINVOKE.aiMeshAnimVector_LastIndexOf(swigCPtr, aiMeshAnim.getCPtr(value)); - return ret; - } - - public bool Remove(aiMeshAnim value) { - bool ret = AssimpPINVOKE.aiMeshAnimVector_Remove(swigCPtr, aiMeshAnim.getCPtr(value)); - return ret; - } - -} diff --git a/port/Assimp.NET/Assimp.NET_CS/aiMeshKey.cs b/port/Assimp.NET/Assimp.NET_CS/aiMeshKey.cs deleted file mode 100644 index af16589ff..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/aiMeshKey.cs +++ /dev/null @@ -1,93 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.8 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - - -using System; -using System.Runtime.InteropServices; - -public class aiMeshKey : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal aiMeshKey(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(aiMeshKey obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~aiMeshKey() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - AssimpPINVOKE.delete_aiMeshKey(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public double mTime { - set { - AssimpPINVOKE.aiMeshKey_mTime_set(swigCPtr, value); - } - get { - double ret = AssimpPINVOKE.aiMeshKey_mTime_get(swigCPtr); - return ret; - } - } - - public uint mValue { - set { - AssimpPINVOKE.aiMeshKey_mValue_set(swigCPtr, value); - } - get { - uint ret = AssimpPINVOKE.aiMeshKey_mValue_get(swigCPtr); - return ret; - } - } - - public aiMeshKey() : this(AssimpPINVOKE.new_aiMeshKey__SWIG_0(), true) { - } - - public aiMeshKey(double time, uint value) : this(AssimpPINVOKE.new_aiMeshKey__SWIG_1(time, value), true) { - } - - public bool __equal__(aiMeshKey o) { - bool ret = AssimpPINVOKE.aiMeshKey___equal__(swigCPtr, aiMeshKey.getCPtr(o)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public bool __nequal__(aiMeshKey o) { - bool ret = AssimpPINVOKE.aiMeshKey___nequal__(swigCPtr, aiMeshKey.getCPtr(o)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public bool __smaller__(aiMeshKey o) { - bool ret = AssimpPINVOKE.aiMeshKey___smaller__(swigCPtr, aiMeshKey.getCPtr(o)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public bool __greater__(aiMeshKey o) { - bool ret = AssimpPINVOKE.aiMeshKey___greater__(swigCPtr, aiMeshKey.getCPtr(o)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - -} diff --git a/port/Assimp.NET/Assimp.NET_CS/aiMeshKeyVector.cs b/port/Assimp.NET/Assimp.NET_CS/aiMeshKeyVector.cs deleted file mode 100644 index 73039be46..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/aiMeshKeyVector.cs +++ /dev/null @@ -1,348 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.8 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - - -using System; -using System.Runtime.InteropServices; - -public class aiMeshKeyVector : IDisposable, System.Collections.IEnumerable -#if !SWIG_DOTNET_1 - , System.Collections.Generic.IList -#endif - { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal aiMeshKeyVector(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(aiMeshKeyVector obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~aiMeshKeyVector() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - AssimpPINVOKE.delete_aiMeshKeyVector(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public aiMeshKeyVector(System.Collections.ICollection c) : this() { - if (c == null) - throw new ArgumentNullException("c"); - foreach (aiMeshKey element in c) { - this.Add(element); - } - } - - public bool IsFixedSize { - get { - return false; - } - } - - public bool IsReadOnly { - get { - return false; - } - } - - public aiMeshKey this[int index] { - get { - return getitem(index); - } - set { - setitem(index, value); - } - } - - public int Capacity { - get { - return (int)capacity(); - } - set { - if (value < size()) - throw new ArgumentOutOfRangeException("Capacity"); - reserve((uint)value); - } - } - - public int Count { - get { - return (int)size(); - } - } - - public bool IsSynchronized { - get { - return false; - } - } - -#if SWIG_DOTNET_1 - public void CopyTo(System.Array array) -#else - public void CopyTo(aiMeshKey[] array) -#endif - { - CopyTo(0, array, 0, this.Count); - } - -#if SWIG_DOTNET_1 - public void CopyTo(System.Array array, int arrayIndex) -#else - public void CopyTo(aiMeshKey[] array, int arrayIndex) -#endif - { - CopyTo(0, array, arrayIndex, this.Count); - } - -#if SWIG_DOTNET_1 - public void CopyTo(int index, System.Array array, int arrayIndex, int count) -#else - public void CopyTo(int index, aiMeshKey[] array, int arrayIndex, int count) -#endif - { - if (array == null) - throw new ArgumentNullException("array"); - if (index < 0) - throw new ArgumentOutOfRangeException("index", "Value is less than zero"); - if (arrayIndex < 0) - throw new ArgumentOutOfRangeException("arrayIndex", "Value is less than zero"); - if (count < 0) - throw new ArgumentOutOfRangeException("count", "Value is less than zero"); - if (array.Rank > 1) - throw new ArgumentException("Multi dimensional array.", "array"); - if (index+count > this.Count || arrayIndex+count > array.Length) - throw new ArgumentException("Number of elements to copy is too large."); - for (int i=0; i System.Collections.Generic.IEnumerable.GetEnumerator() { - return new aiMeshKeyVectorEnumerator(this); - } -#endif - - System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { - return new aiMeshKeyVectorEnumerator(this); - } - - public aiMeshKeyVectorEnumerator GetEnumerator() { - return new aiMeshKeyVectorEnumerator(this); - } - - // Type-safe enumerator - /// Note that the IEnumerator documentation requires an InvalidOperationException to be thrown - /// whenever the collection is modified. This has been done for changes in the size of the - /// collection but not when one of the elements of the collection is modified as it is a bit - /// tricky to detect unmanaged code that modifies the collection under our feet. - public sealed class aiMeshKeyVectorEnumerator : System.Collections.IEnumerator -#if !SWIG_DOTNET_1 - , System.Collections.Generic.IEnumerator -#endif - { - private aiMeshKeyVector collectionRef; - private int currentIndex; - private object currentObject; - private int currentSize; - - public aiMeshKeyVectorEnumerator(aiMeshKeyVector collection) { - collectionRef = collection; - currentIndex = -1; - currentObject = null; - currentSize = collectionRef.Count; - } - - // Type-safe iterator Current - public aiMeshKey Current { - get { - if (currentIndex == -1) - throw new InvalidOperationException("Enumeration not started."); - if (currentIndex > currentSize - 1) - throw new InvalidOperationException("Enumeration finished."); - if (currentObject == null) - throw new InvalidOperationException("Collection modified."); - return (aiMeshKey)currentObject; - } - } - - // Type-unsafe IEnumerator.Current - object System.Collections.IEnumerator.Current { - get { - return Current; - } - } - - public bool MoveNext() { - int size = collectionRef.Count; - bool moveOkay = (currentIndex+1 < size) && (size == currentSize); - if (moveOkay) { - currentIndex++; - currentObject = collectionRef[currentIndex]; - } else { - currentObject = null; - } - return moveOkay; - } - - public void Reset() { - currentIndex = -1; - currentObject = null; - if (collectionRef.Count != currentSize) { - throw new InvalidOperationException("Collection modified."); - } - } - -#if !SWIG_DOTNET_1 - public void Dispose() { - currentIndex = -1; - currentObject = null; - } -#endif - } - - public void Clear() { - AssimpPINVOKE.aiMeshKeyVector_Clear(swigCPtr); - } - - public void Add(aiMeshKey x) { - AssimpPINVOKE.aiMeshKeyVector_Add(swigCPtr, aiMeshKey.getCPtr(x)); - } - - private uint size() { - uint ret = AssimpPINVOKE.aiMeshKeyVector_size(swigCPtr); - return ret; - } - - private uint capacity() { - uint ret = AssimpPINVOKE.aiMeshKeyVector_capacity(swigCPtr); - return ret; - } - - private void reserve(uint n) { - AssimpPINVOKE.aiMeshKeyVector_reserve(swigCPtr, n); - } - - public aiMeshKeyVector() : this(AssimpPINVOKE.new_aiMeshKeyVector__SWIG_0(), true) { - } - - public aiMeshKeyVector(aiMeshKeyVector other) : this(AssimpPINVOKE.new_aiMeshKeyVector__SWIG_1(aiMeshKeyVector.getCPtr(other)), true) { - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public aiMeshKeyVector(int capacity) : this(AssimpPINVOKE.new_aiMeshKeyVector__SWIG_2(capacity), true) { - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - private aiMeshKey getitemcopy(int index) { - IntPtr cPtr = AssimpPINVOKE.aiMeshKeyVector_getitemcopy(swigCPtr, index); - aiMeshKey ret = (cPtr == IntPtr.Zero) ? null : new aiMeshKey(cPtr, false); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - private aiMeshKey getitem(int index) { - IntPtr cPtr = AssimpPINVOKE.aiMeshKeyVector_getitem(swigCPtr, index); - aiMeshKey ret = (cPtr == IntPtr.Zero) ? null : new aiMeshKey(cPtr, false); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - private void setitem(int index, aiMeshKey val) { - AssimpPINVOKE.aiMeshKeyVector_setitem(swigCPtr, index, aiMeshKey.getCPtr(val)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void AddRange(aiMeshKeyVector values) { - AssimpPINVOKE.aiMeshKeyVector_AddRange(swigCPtr, aiMeshKeyVector.getCPtr(values)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public aiMeshKeyVector GetRange(int index, int count) { - IntPtr cPtr = AssimpPINVOKE.aiMeshKeyVector_GetRange(swigCPtr, index, count); - aiMeshKeyVector ret = (cPtr == IntPtr.Zero) ? null : new aiMeshKeyVector(cPtr, true); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public void Insert(int index, aiMeshKey x) { - AssimpPINVOKE.aiMeshKeyVector_Insert(swigCPtr, index, aiMeshKey.getCPtr(x)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void InsertRange(int index, aiMeshKeyVector values) { - AssimpPINVOKE.aiMeshKeyVector_InsertRange(swigCPtr, index, aiMeshKeyVector.getCPtr(values)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void RemoveAt(int index) { - AssimpPINVOKE.aiMeshKeyVector_RemoveAt(swigCPtr, index); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void RemoveRange(int index, int count) { - AssimpPINVOKE.aiMeshKeyVector_RemoveRange(swigCPtr, index, count); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public static aiMeshKeyVector Repeat(aiMeshKey value, int count) { - IntPtr cPtr = AssimpPINVOKE.aiMeshKeyVector_Repeat(aiMeshKey.getCPtr(value), count); - aiMeshKeyVector ret = (cPtr == IntPtr.Zero) ? null : new aiMeshKeyVector(cPtr, true); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public void Reverse() { - AssimpPINVOKE.aiMeshKeyVector_Reverse__SWIG_0(swigCPtr); - } - - public void Reverse(int index, int count) { - AssimpPINVOKE.aiMeshKeyVector_Reverse__SWIG_1(swigCPtr, index, count); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void SetRange(int index, aiMeshKeyVector values) { - AssimpPINVOKE.aiMeshKeyVector_SetRange(swigCPtr, index, aiMeshKeyVector.getCPtr(values)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public bool Contains(aiMeshKey value) { - bool ret = AssimpPINVOKE.aiMeshKeyVector_Contains(swigCPtr, aiMeshKey.getCPtr(value)); - return ret; - } - - public int IndexOf(aiMeshKey value) { - int ret = AssimpPINVOKE.aiMeshKeyVector_IndexOf(swigCPtr, aiMeshKey.getCPtr(value)); - return ret; - } - - public int LastIndexOf(aiMeshKey value) { - int ret = AssimpPINVOKE.aiMeshKeyVector_LastIndexOf(swigCPtr, aiMeshKey.getCPtr(value)); - return ret; - } - - public bool Remove(aiMeshKey value) { - bool ret = AssimpPINVOKE.aiMeshKeyVector_Remove(swigCPtr, aiMeshKey.getCPtr(value)); - return ret; - } - -} diff --git a/port/Assimp.NET/Assimp.NET_CS/aiMeshVector.cs b/port/Assimp.NET/Assimp.NET_CS/aiMeshVector.cs deleted file mode 100644 index 8ea841cf2..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/aiMeshVector.cs +++ /dev/null @@ -1,348 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.8 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - - -using System; -using System.Runtime.InteropServices; - -public class aiMeshVector : IDisposable, System.Collections.IEnumerable -#if !SWIG_DOTNET_1 - , System.Collections.Generic.IList -#endif - { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal aiMeshVector(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(aiMeshVector obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~aiMeshVector() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - AssimpPINVOKE.delete_aiMeshVector(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public aiMeshVector(System.Collections.ICollection c) : this() { - if (c == null) - throw new ArgumentNullException("c"); - foreach (aiMesh element in c) { - this.Add(element); - } - } - - public bool IsFixedSize { - get { - return false; - } - } - - public bool IsReadOnly { - get { - return false; - } - } - - public aiMesh this[int index] { - get { - return getitem(index); - } - set { - setitem(index, value); - } - } - - public int Capacity { - get { - return (int)capacity(); - } - set { - if (value < size()) - throw new ArgumentOutOfRangeException("Capacity"); - reserve((uint)value); - } - } - - public int Count { - get { - return (int)size(); - } - } - - public bool IsSynchronized { - get { - return false; - } - } - -#if SWIG_DOTNET_1 - public void CopyTo(System.Array array) -#else - public void CopyTo(aiMesh[] array) -#endif - { - CopyTo(0, array, 0, this.Count); - } - -#if SWIG_DOTNET_1 - public void CopyTo(System.Array array, int arrayIndex) -#else - public void CopyTo(aiMesh[] array, int arrayIndex) -#endif - { - CopyTo(0, array, arrayIndex, this.Count); - } - -#if SWIG_DOTNET_1 - public void CopyTo(int index, System.Array array, int arrayIndex, int count) -#else - public void CopyTo(int index, aiMesh[] array, int arrayIndex, int count) -#endif - { - if (array == null) - throw new ArgumentNullException("array"); - if (index < 0) - throw new ArgumentOutOfRangeException("index", "Value is less than zero"); - if (arrayIndex < 0) - throw new ArgumentOutOfRangeException("arrayIndex", "Value is less than zero"); - if (count < 0) - throw new ArgumentOutOfRangeException("count", "Value is less than zero"); - if (array.Rank > 1) - throw new ArgumentException("Multi dimensional array.", "array"); - if (index+count > this.Count || arrayIndex+count > array.Length) - throw new ArgumentException("Number of elements to copy is too large."); - for (int i=0; i System.Collections.Generic.IEnumerable.GetEnumerator() { - return new aiMeshVectorEnumerator(this); - } -#endif - - System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { - return new aiMeshVectorEnumerator(this); - } - - public aiMeshVectorEnumerator GetEnumerator() { - return new aiMeshVectorEnumerator(this); - } - - // Type-safe enumerator - /// Note that the IEnumerator documentation requires an InvalidOperationException to be thrown - /// whenever the collection is modified. This has been done for changes in the size of the - /// collection but not when one of the elements of the collection is modified as it is a bit - /// tricky to detect unmanaged code that modifies the collection under our feet. - public sealed class aiMeshVectorEnumerator : System.Collections.IEnumerator -#if !SWIG_DOTNET_1 - , System.Collections.Generic.IEnumerator -#endif - { - private aiMeshVector collectionRef; - private int currentIndex; - private object currentObject; - private int currentSize; - - public aiMeshVectorEnumerator(aiMeshVector collection) { - collectionRef = collection; - currentIndex = -1; - currentObject = null; - currentSize = collectionRef.Count; - } - - // Type-safe iterator Current - public aiMesh Current { - get { - if (currentIndex == -1) - throw new InvalidOperationException("Enumeration not started."); - if (currentIndex > currentSize - 1) - throw new InvalidOperationException("Enumeration finished."); - if (currentObject == null) - throw new InvalidOperationException("Collection modified."); - return (aiMesh)currentObject; - } - } - - // Type-unsafe IEnumerator.Current - object System.Collections.IEnumerator.Current { - get { - return Current; - } - } - - public bool MoveNext() { - int size = collectionRef.Count; - bool moveOkay = (currentIndex+1 < size) && (size == currentSize); - if (moveOkay) { - currentIndex++; - currentObject = collectionRef[currentIndex]; - } else { - currentObject = null; - } - return moveOkay; - } - - public void Reset() { - currentIndex = -1; - currentObject = null; - if (collectionRef.Count != currentSize) { - throw new InvalidOperationException("Collection modified."); - } - } - -#if !SWIG_DOTNET_1 - public void Dispose() { - currentIndex = -1; - currentObject = null; - } -#endif - } - - public void Clear() { - AssimpPINVOKE.aiMeshVector_Clear(swigCPtr); - } - - public void Add(aiMesh x) { - AssimpPINVOKE.aiMeshVector_Add(swigCPtr, aiMesh.getCPtr(x)); - } - - private uint size() { - uint ret = AssimpPINVOKE.aiMeshVector_size(swigCPtr); - return ret; - } - - private uint capacity() { - uint ret = AssimpPINVOKE.aiMeshVector_capacity(swigCPtr); - return ret; - } - - private void reserve(uint n) { - AssimpPINVOKE.aiMeshVector_reserve(swigCPtr, n); - } - - public aiMeshVector() : this(AssimpPINVOKE.new_aiMeshVector__SWIG_0(), true) { - } - - public aiMeshVector(aiMeshVector other) : this(AssimpPINVOKE.new_aiMeshVector__SWIG_1(aiMeshVector.getCPtr(other)), true) { - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public aiMeshVector(int capacity) : this(AssimpPINVOKE.new_aiMeshVector__SWIG_2(capacity), true) { - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - private aiMesh getitemcopy(int index) { - IntPtr cPtr = AssimpPINVOKE.aiMeshVector_getitemcopy(swigCPtr, index); - aiMesh ret = (cPtr == IntPtr.Zero) ? null : new aiMesh(cPtr, false); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - private aiMesh getitem(int index) { - IntPtr cPtr = AssimpPINVOKE.aiMeshVector_getitem(swigCPtr, index); - aiMesh ret = (cPtr == IntPtr.Zero) ? null : new aiMesh(cPtr, false); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - private void setitem(int index, aiMesh val) { - AssimpPINVOKE.aiMeshVector_setitem(swigCPtr, index, aiMesh.getCPtr(val)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void AddRange(aiMeshVector values) { - AssimpPINVOKE.aiMeshVector_AddRange(swigCPtr, aiMeshVector.getCPtr(values)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public aiMeshVector GetRange(int index, int count) { - IntPtr cPtr = AssimpPINVOKE.aiMeshVector_GetRange(swigCPtr, index, count); - aiMeshVector ret = (cPtr == IntPtr.Zero) ? null : new aiMeshVector(cPtr, true); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public void Insert(int index, aiMesh x) { - AssimpPINVOKE.aiMeshVector_Insert(swigCPtr, index, aiMesh.getCPtr(x)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void InsertRange(int index, aiMeshVector values) { - AssimpPINVOKE.aiMeshVector_InsertRange(swigCPtr, index, aiMeshVector.getCPtr(values)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void RemoveAt(int index) { - AssimpPINVOKE.aiMeshVector_RemoveAt(swigCPtr, index); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void RemoveRange(int index, int count) { - AssimpPINVOKE.aiMeshVector_RemoveRange(swigCPtr, index, count); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public static aiMeshVector Repeat(aiMesh value, int count) { - IntPtr cPtr = AssimpPINVOKE.aiMeshVector_Repeat(aiMesh.getCPtr(value), count); - aiMeshVector ret = (cPtr == IntPtr.Zero) ? null : new aiMeshVector(cPtr, true); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public void Reverse() { - AssimpPINVOKE.aiMeshVector_Reverse__SWIG_0(swigCPtr); - } - - public void Reverse(int index, int count) { - AssimpPINVOKE.aiMeshVector_Reverse__SWIG_1(swigCPtr, index, count); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void SetRange(int index, aiMeshVector values) { - AssimpPINVOKE.aiMeshVector_SetRange(swigCPtr, index, aiMeshVector.getCPtr(values)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public bool Contains(aiMesh value) { - bool ret = AssimpPINVOKE.aiMeshVector_Contains(swigCPtr, aiMesh.getCPtr(value)); - return ret; - } - - public int IndexOf(aiMesh value) { - int ret = AssimpPINVOKE.aiMeshVector_IndexOf(swigCPtr, aiMesh.getCPtr(value)); - return ret; - } - - public int LastIndexOf(aiMesh value) { - int ret = AssimpPINVOKE.aiMeshVector_LastIndexOf(swigCPtr, aiMesh.getCPtr(value)); - return ret; - } - - public bool Remove(aiMesh value) { - bool ret = AssimpPINVOKE.aiMeshVector_Remove(swigCPtr, aiMesh.getCPtr(value)); - return ret; - } - -} diff --git a/port/Assimp.NET/Assimp.NET_CS/aiNode.cs b/port/Assimp.NET/Assimp.NET_CS/aiNode.cs deleted file mode 100644 index 0e650c0d4..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/aiNode.cs +++ /dev/null @@ -1,131 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.8 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - - -using System; -using System.Runtime.InteropServices; - -public class aiNode : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal aiNode(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(aiNode obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~aiNode() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - AssimpPINVOKE.delete_aiNode(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public aiNodeVector mChildren { get { return GetmChildren(); } } - public UintVector mMeshes { get { return GetmMeshes(); } } - - public aiString mName { - set { - AssimpPINVOKE.aiNode_mName_set(swigCPtr, aiString.getCPtr(value)); - } - get { - IntPtr cPtr = AssimpPINVOKE.aiNode_mName_get(swigCPtr); - aiString ret = (cPtr == IntPtr.Zero) ? null : new aiString(cPtr, false); - return ret; - } - } - - public aiMatrix4x4 mTransformation { - set { - AssimpPINVOKE.aiNode_mTransformation_set(swigCPtr, aiMatrix4x4.getCPtr(value)); - } - get { - IntPtr cPtr = AssimpPINVOKE.aiNode_mTransformation_get(swigCPtr); - aiMatrix4x4 ret = (cPtr == IntPtr.Zero) ? null : new aiMatrix4x4(cPtr, false); - return ret; - } - } - - public aiNode mParent { - set { - AssimpPINVOKE.aiNode_mParent_set(swigCPtr, aiNode.getCPtr(value)); - } - get { - IntPtr cPtr = AssimpPINVOKE.aiNode_mParent_get(swigCPtr); - aiNode ret = (cPtr == IntPtr.Zero) ? null : new aiNode(cPtr, false); - return ret; - } - } - - public uint mNumChildren { - set { - AssimpPINVOKE.aiNode_mNumChildren_set(swigCPtr, value); - } - get { - uint ret = AssimpPINVOKE.aiNode_mNumChildren_get(swigCPtr); - return ret; - } - } - - public uint mNumMeshes { - set { - AssimpPINVOKE.aiNode_mNumMeshes_set(swigCPtr, value); - } - get { - uint ret = AssimpPINVOKE.aiNode_mNumMeshes_get(swigCPtr); - return ret; - } - } - - public aiNode() : this(AssimpPINVOKE.new_aiNode__SWIG_0(), true) { - } - - public aiNode(string name) : this(AssimpPINVOKE.new_aiNode__SWIG_1(name), true) { - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public aiNode FindNode(aiString name) { - IntPtr cPtr = AssimpPINVOKE.aiNode_FindNode__SWIG_0(swigCPtr, aiString.getCPtr(name)); - aiNode ret = (cPtr == IntPtr.Zero) ? null : new aiNode(cPtr, false); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public aiNode FindNode(string name) { - IntPtr cPtr = AssimpPINVOKE.aiNode_FindNode__SWIG_1(swigCPtr, name); - aiNode ret = (cPtr == IntPtr.Zero) ? null : new aiNode(cPtr, false); - return ret; - } - - private aiNodeVector GetmChildren() { - IntPtr cPtr = AssimpPINVOKE.aiNode_GetmChildren(swigCPtr); - aiNodeVector ret = (cPtr == IntPtr.Zero) ? null : new aiNodeVector(cPtr, true); - return ret; - } - - private UintVector GetmMeshes() { - IntPtr cPtr = AssimpPINVOKE.aiNode_GetmMeshes(swigCPtr); - UintVector ret = (cPtr == IntPtr.Zero) ? null : new UintVector(cPtr, true); - return ret; - } - -} diff --git a/port/Assimp.NET/Assimp.NET_CS/aiNodeAnim.cs b/port/Assimp.NET/Assimp.NET_CS/aiNodeAnim.cs deleted file mode 100644 index 629f4f2a9..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/aiNodeAnim.cs +++ /dev/null @@ -1,129 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.8 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - - -using System; -using System.Runtime.InteropServices; - -public class aiNodeAnim : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal aiNodeAnim(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(aiNodeAnim obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~aiNodeAnim() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - AssimpPINVOKE.delete_aiNodeAnim(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public aiVectorKeyVector mPositionKeys { get { return GetmPositionKeys(); } } - public aiQuatKeyVector mRotationKeys { get { return GetmRotationKeys(); } } - public aiVectorKeyVector mScalingKeys { get { return GetmScalingKeys(); } } - - public aiString mNodeName { - set { - AssimpPINVOKE.aiNodeAnim_mNodeName_set(swigCPtr, aiString.getCPtr(value)); - } - get { - IntPtr cPtr = AssimpPINVOKE.aiNodeAnim_mNodeName_get(swigCPtr); - aiString ret = (cPtr == IntPtr.Zero) ? null : new aiString(cPtr, false); - return ret; - } - } - - public uint mNumPositionKeys { - set { - AssimpPINVOKE.aiNodeAnim_mNumPositionKeys_set(swigCPtr, value); - } - get { - uint ret = AssimpPINVOKE.aiNodeAnim_mNumPositionKeys_get(swigCPtr); - return ret; - } - } - - public uint mNumRotationKeys { - set { - AssimpPINVOKE.aiNodeAnim_mNumRotationKeys_set(swigCPtr, value); - } - get { - uint ret = AssimpPINVOKE.aiNodeAnim_mNumRotationKeys_get(swigCPtr); - return ret; - } - } - - public uint mNumScalingKeys { - set { - AssimpPINVOKE.aiNodeAnim_mNumScalingKeys_set(swigCPtr, value); - } - get { - uint ret = AssimpPINVOKE.aiNodeAnim_mNumScalingKeys_get(swigCPtr); - return ret; - } - } - - public aiAnimBehaviour mPreState { - set { - AssimpPINVOKE.aiNodeAnim_mPreState_set(swigCPtr, (int)value); - } - get { - aiAnimBehaviour ret = (aiAnimBehaviour)AssimpPINVOKE.aiNodeAnim_mPreState_get(swigCPtr); - return ret; - } - } - - public aiAnimBehaviour mPostState { - set { - AssimpPINVOKE.aiNodeAnim_mPostState_set(swigCPtr, (int)value); - } - get { - aiAnimBehaviour ret = (aiAnimBehaviour)AssimpPINVOKE.aiNodeAnim_mPostState_get(swigCPtr); - return ret; - } - } - - public aiNodeAnim() : this(AssimpPINVOKE.new_aiNodeAnim(), true) { - } - - private aiVectorKeyVector GetmPositionKeys() { - IntPtr cPtr = AssimpPINVOKE.aiNodeAnim_GetmPositionKeys(swigCPtr); - aiVectorKeyVector ret = (cPtr == IntPtr.Zero) ? null : new aiVectorKeyVector(cPtr, true); - return ret; - } - - private aiQuatKeyVector GetmRotationKeys() { - IntPtr cPtr = AssimpPINVOKE.aiNodeAnim_GetmRotationKeys(swigCPtr); - aiQuatKeyVector ret = (cPtr == IntPtr.Zero) ? null : new aiQuatKeyVector(cPtr, true); - return ret; - } - - private aiVectorKeyVector GetmScalingKeys() { - IntPtr cPtr = AssimpPINVOKE.aiNodeAnim_GetmScalingKeys(swigCPtr); - aiVectorKeyVector ret = (cPtr == IntPtr.Zero) ? null : new aiVectorKeyVector(cPtr, true); - return ret; - } - -} diff --git a/port/Assimp.NET/Assimp.NET_CS/aiNodeAnimVector.cs b/port/Assimp.NET/Assimp.NET_CS/aiNodeAnimVector.cs deleted file mode 100644 index 08ba41850..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/aiNodeAnimVector.cs +++ /dev/null @@ -1,348 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.8 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - - -using System; -using System.Runtime.InteropServices; - -public class aiNodeAnimVector : IDisposable, System.Collections.IEnumerable -#if !SWIG_DOTNET_1 - , System.Collections.Generic.IList -#endif - { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal aiNodeAnimVector(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(aiNodeAnimVector obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~aiNodeAnimVector() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - AssimpPINVOKE.delete_aiNodeAnimVector(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public aiNodeAnimVector(System.Collections.ICollection c) : this() { - if (c == null) - throw new ArgumentNullException("c"); - foreach (aiNodeAnim element in c) { - this.Add(element); - } - } - - public bool IsFixedSize { - get { - return false; - } - } - - public bool IsReadOnly { - get { - return false; - } - } - - public aiNodeAnim this[int index] { - get { - return getitem(index); - } - set { - setitem(index, value); - } - } - - public int Capacity { - get { - return (int)capacity(); - } - set { - if (value < size()) - throw new ArgumentOutOfRangeException("Capacity"); - reserve((uint)value); - } - } - - public int Count { - get { - return (int)size(); - } - } - - public bool IsSynchronized { - get { - return false; - } - } - -#if SWIG_DOTNET_1 - public void CopyTo(System.Array array) -#else - public void CopyTo(aiNodeAnim[] array) -#endif - { - CopyTo(0, array, 0, this.Count); - } - -#if SWIG_DOTNET_1 - public void CopyTo(System.Array array, int arrayIndex) -#else - public void CopyTo(aiNodeAnim[] array, int arrayIndex) -#endif - { - CopyTo(0, array, arrayIndex, this.Count); - } - -#if SWIG_DOTNET_1 - public void CopyTo(int index, System.Array array, int arrayIndex, int count) -#else - public void CopyTo(int index, aiNodeAnim[] array, int arrayIndex, int count) -#endif - { - if (array == null) - throw new ArgumentNullException("array"); - if (index < 0) - throw new ArgumentOutOfRangeException("index", "Value is less than zero"); - if (arrayIndex < 0) - throw new ArgumentOutOfRangeException("arrayIndex", "Value is less than zero"); - if (count < 0) - throw new ArgumentOutOfRangeException("count", "Value is less than zero"); - if (array.Rank > 1) - throw new ArgumentException("Multi dimensional array.", "array"); - if (index+count > this.Count || arrayIndex+count > array.Length) - throw new ArgumentException("Number of elements to copy is too large."); - for (int i=0; i System.Collections.Generic.IEnumerable.GetEnumerator() { - return new aiNodeAnimVectorEnumerator(this); - } -#endif - - System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { - return new aiNodeAnimVectorEnumerator(this); - } - - public aiNodeAnimVectorEnumerator GetEnumerator() { - return new aiNodeAnimVectorEnumerator(this); - } - - // Type-safe enumerator - /// Note that the IEnumerator documentation requires an InvalidOperationException to be thrown - /// whenever the collection is modified. This has been done for changes in the size of the - /// collection but not when one of the elements of the collection is modified as it is a bit - /// tricky to detect unmanaged code that modifies the collection under our feet. - public sealed class aiNodeAnimVectorEnumerator : System.Collections.IEnumerator -#if !SWIG_DOTNET_1 - , System.Collections.Generic.IEnumerator -#endif - { - private aiNodeAnimVector collectionRef; - private int currentIndex; - private object currentObject; - private int currentSize; - - public aiNodeAnimVectorEnumerator(aiNodeAnimVector collection) { - collectionRef = collection; - currentIndex = -1; - currentObject = null; - currentSize = collectionRef.Count; - } - - // Type-safe iterator Current - public aiNodeAnim Current { - get { - if (currentIndex == -1) - throw new InvalidOperationException("Enumeration not started."); - if (currentIndex > currentSize - 1) - throw new InvalidOperationException("Enumeration finished."); - if (currentObject == null) - throw new InvalidOperationException("Collection modified."); - return (aiNodeAnim)currentObject; - } - } - - // Type-unsafe IEnumerator.Current - object System.Collections.IEnumerator.Current { - get { - return Current; - } - } - - public bool MoveNext() { - int size = collectionRef.Count; - bool moveOkay = (currentIndex+1 < size) && (size == currentSize); - if (moveOkay) { - currentIndex++; - currentObject = collectionRef[currentIndex]; - } else { - currentObject = null; - } - return moveOkay; - } - - public void Reset() { - currentIndex = -1; - currentObject = null; - if (collectionRef.Count != currentSize) { - throw new InvalidOperationException("Collection modified."); - } - } - -#if !SWIG_DOTNET_1 - public void Dispose() { - currentIndex = -1; - currentObject = null; - } -#endif - } - - public void Clear() { - AssimpPINVOKE.aiNodeAnimVector_Clear(swigCPtr); - } - - public void Add(aiNodeAnim x) { - AssimpPINVOKE.aiNodeAnimVector_Add(swigCPtr, aiNodeAnim.getCPtr(x)); - } - - private uint size() { - uint ret = AssimpPINVOKE.aiNodeAnimVector_size(swigCPtr); - return ret; - } - - private uint capacity() { - uint ret = AssimpPINVOKE.aiNodeAnimVector_capacity(swigCPtr); - return ret; - } - - private void reserve(uint n) { - AssimpPINVOKE.aiNodeAnimVector_reserve(swigCPtr, n); - } - - public aiNodeAnimVector() : this(AssimpPINVOKE.new_aiNodeAnimVector__SWIG_0(), true) { - } - - public aiNodeAnimVector(aiNodeAnimVector other) : this(AssimpPINVOKE.new_aiNodeAnimVector__SWIG_1(aiNodeAnimVector.getCPtr(other)), true) { - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public aiNodeAnimVector(int capacity) : this(AssimpPINVOKE.new_aiNodeAnimVector__SWIG_2(capacity), true) { - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - private aiNodeAnim getitemcopy(int index) { - IntPtr cPtr = AssimpPINVOKE.aiNodeAnimVector_getitemcopy(swigCPtr, index); - aiNodeAnim ret = (cPtr == IntPtr.Zero) ? null : new aiNodeAnim(cPtr, false); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - private aiNodeAnim getitem(int index) { - IntPtr cPtr = AssimpPINVOKE.aiNodeAnimVector_getitem(swigCPtr, index); - aiNodeAnim ret = (cPtr == IntPtr.Zero) ? null : new aiNodeAnim(cPtr, false); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - private void setitem(int index, aiNodeAnim val) { - AssimpPINVOKE.aiNodeAnimVector_setitem(swigCPtr, index, aiNodeAnim.getCPtr(val)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void AddRange(aiNodeAnimVector values) { - AssimpPINVOKE.aiNodeAnimVector_AddRange(swigCPtr, aiNodeAnimVector.getCPtr(values)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public aiNodeAnimVector GetRange(int index, int count) { - IntPtr cPtr = AssimpPINVOKE.aiNodeAnimVector_GetRange(swigCPtr, index, count); - aiNodeAnimVector ret = (cPtr == IntPtr.Zero) ? null : new aiNodeAnimVector(cPtr, true); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public void Insert(int index, aiNodeAnim x) { - AssimpPINVOKE.aiNodeAnimVector_Insert(swigCPtr, index, aiNodeAnim.getCPtr(x)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void InsertRange(int index, aiNodeAnimVector values) { - AssimpPINVOKE.aiNodeAnimVector_InsertRange(swigCPtr, index, aiNodeAnimVector.getCPtr(values)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void RemoveAt(int index) { - AssimpPINVOKE.aiNodeAnimVector_RemoveAt(swigCPtr, index); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void RemoveRange(int index, int count) { - AssimpPINVOKE.aiNodeAnimVector_RemoveRange(swigCPtr, index, count); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public static aiNodeAnimVector Repeat(aiNodeAnim value, int count) { - IntPtr cPtr = AssimpPINVOKE.aiNodeAnimVector_Repeat(aiNodeAnim.getCPtr(value), count); - aiNodeAnimVector ret = (cPtr == IntPtr.Zero) ? null : new aiNodeAnimVector(cPtr, true); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public void Reverse() { - AssimpPINVOKE.aiNodeAnimVector_Reverse__SWIG_0(swigCPtr); - } - - public void Reverse(int index, int count) { - AssimpPINVOKE.aiNodeAnimVector_Reverse__SWIG_1(swigCPtr, index, count); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void SetRange(int index, aiNodeAnimVector values) { - AssimpPINVOKE.aiNodeAnimVector_SetRange(swigCPtr, index, aiNodeAnimVector.getCPtr(values)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public bool Contains(aiNodeAnim value) { - bool ret = AssimpPINVOKE.aiNodeAnimVector_Contains(swigCPtr, aiNodeAnim.getCPtr(value)); - return ret; - } - - public int IndexOf(aiNodeAnim value) { - int ret = AssimpPINVOKE.aiNodeAnimVector_IndexOf(swigCPtr, aiNodeAnim.getCPtr(value)); - return ret; - } - - public int LastIndexOf(aiNodeAnim value) { - int ret = AssimpPINVOKE.aiNodeAnimVector_LastIndexOf(swigCPtr, aiNodeAnim.getCPtr(value)); - return ret; - } - - public bool Remove(aiNodeAnim value) { - bool ret = AssimpPINVOKE.aiNodeAnimVector_Remove(swigCPtr, aiNodeAnim.getCPtr(value)); - return ret; - } - -} diff --git a/port/Assimp.NET/Assimp.NET_CS/aiNodeVector.cs b/port/Assimp.NET/Assimp.NET_CS/aiNodeVector.cs deleted file mode 100644 index 5f7e0c7fd..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/aiNodeVector.cs +++ /dev/null @@ -1,348 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.8 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - - -using System; -using System.Runtime.InteropServices; - -public class aiNodeVector : IDisposable, System.Collections.IEnumerable -#if !SWIG_DOTNET_1 - , System.Collections.Generic.IList -#endif - { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal aiNodeVector(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(aiNodeVector obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~aiNodeVector() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - AssimpPINVOKE.delete_aiNodeVector(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public aiNodeVector(System.Collections.ICollection c) : this() { - if (c == null) - throw new ArgumentNullException("c"); - foreach (aiNode element in c) { - this.Add(element); - } - } - - public bool IsFixedSize { - get { - return false; - } - } - - public bool IsReadOnly { - get { - return false; - } - } - - public aiNode this[int index] { - get { - return getitem(index); - } - set { - setitem(index, value); - } - } - - public int Capacity { - get { - return (int)capacity(); - } - set { - if (value < size()) - throw new ArgumentOutOfRangeException("Capacity"); - reserve((uint)value); - } - } - - public int Count { - get { - return (int)size(); - } - } - - public bool IsSynchronized { - get { - return false; - } - } - -#if SWIG_DOTNET_1 - public void CopyTo(System.Array array) -#else - public void CopyTo(aiNode[] array) -#endif - { - CopyTo(0, array, 0, this.Count); - } - -#if SWIG_DOTNET_1 - public void CopyTo(System.Array array, int arrayIndex) -#else - public void CopyTo(aiNode[] array, int arrayIndex) -#endif - { - CopyTo(0, array, arrayIndex, this.Count); - } - -#if SWIG_DOTNET_1 - public void CopyTo(int index, System.Array array, int arrayIndex, int count) -#else - public void CopyTo(int index, aiNode[] array, int arrayIndex, int count) -#endif - { - if (array == null) - throw new ArgumentNullException("array"); - if (index < 0) - throw new ArgumentOutOfRangeException("index", "Value is less than zero"); - if (arrayIndex < 0) - throw new ArgumentOutOfRangeException("arrayIndex", "Value is less than zero"); - if (count < 0) - throw new ArgumentOutOfRangeException("count", "Value is less than zero"); - if (array.Rank > 1) - throw new ArgumentException("Multi dimensional array.", "array"); - if (index+count > this.Count || arrayIndex+count > array.Length) - throw new ArgumentException("Number of elements to copy is too large."); - for (int i=0; i System.Collections.Generic.IEnumerable.GetEnumerator() { - return new aiNodeVectorEnumerator(this); - } -#endif - - System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { - return new aiNodeVectorEnumerator(this); - } - - public aiNodeVectorEnumerator GetEnumerator() { - return new aiNodeVectorEnumerator(this); - } - - // Type-safe enumerator - /// Note that the IEnumerator documentation requires an InvalidOperationException to be thrown - /// whenever the collection is modified. This has been done for changes in the size of the - /// collection but not when one of the elements of the collection is modified as it is a bit - /// tricky to detect unmanaged code that modifies the collection under our feet. - public sealed class aiNodeVectorEnumerator : System.Collections.IEnumerator -#if !SWIG_DOTNET_1 - , System.Collections.Generic.IEnumerator -#endif - { - private aiNodeVector collectionRef; - private int currentIndex; - private object currentObject; - private int currentSize; - - public aiNodeVectorEnumerator(aiNodeVector collection) { - collectionRef = collection; - currentIndex = -1; - currentObject = null; - currentSize = collectionRef.Count; - } - - // Type-safe iterator Current - public aiNode Current { - get { - if (currentIndex == -1) - throw new InvalidOperationException("Enumeration not started."); - if (currentIndex > currentSize - 1) - throw new InvalidOperationException("Enumeration finished."); - if (currentObject == null) - throw new InvalidOperationException("Collection modified."); - return (aiNode)currentObject; - } - } - - // Type-unsafe IEnumerator.Current - object System.Collections.IEnumerator.Current { - get { - return Current; - } - } - - public bool MoveNext() { - int size = collectionRef.Count; - bool moveOkay = (currentIndex+1 < size) && (size == currentSize); - if (moveOkay) { - currentIndex++; - currentObject = collectionRef[currentIndex]; - } else { - currentObject = null; - } - return moveOkay; - } - - public void Reset() { - currentIndex = -1; - currentObject = null; - if (collectionRef.Count != currentSize) { - throw new InvalidOperationException("Collection modified."); - } - } - -#if !SWIG_DOTNET_1 - public void Dispose() { - currentIndex = -1; - currentObject = null; - } -#endif - } - - public void Clear() { - AssimpPINVOKE.aiNodeVector_Clear(swigCPtr); - } - - public void Add(aiNode x) { - AssimpPINVOKE.aiNodeVector_Add(swigCPtr, aiNode.getCPtr(x)); - } - - private uint size() { - uint ret = AssimpPINVOKE.aiNodeVector_size(swigCPtr); - return ret; - } - - private uint capacity() { - uint ret = AssimpPINVOKE.aiNodeVector_capacity(swigCPtr); - return ret; - } - - private void reserve(uint n) { - AssimpPINVOKE.aiNodeVector_reserve(swigCPtr, n); - } - - public aiNodeVector() : this(AssimpPINVOKE.new_aiNodeVector__SWIG_0(), true) { - } - - public aiNodeVector(aiNodeVector other) : this(AssimpPINVOKE.new_aiNodeVector__SWIG_1(aiNodeVector.getCPtr(other)), true) { - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public aiNodeVector(int capacity) : this(AssimpPINVOKE.new_aiNodeVector__SWIG_2(capacity), true) { - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - private aiNode getitemcopy(int index) { - IntPtr cPtr = AssimpPINVOKE.aiNodeVector_getitemcopy(swigCPtr, index); - aiNode ret = (cPtr == IntPtr.Zero) ? null : new aiNode(cPtr, false); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - private aiNode getitem(int index) { - IntPtr cPtr = AssimpPINVOKE.aiNodeVector_getitem(swigCPtr, index); - aiNode ret = (cPtr == IntPtr.Zero) ? null : new aiNode(cPtr, false); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - private void setitem(int index, aiNode val) { - AssimpPINVOKE.aiNodeVector_setitem(swigCPtr, index, aiNode.getCPtr(val)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void AddRange(aiNodeVector values) { - AssimpPINVOKE.aiNodeVector_AddRange(swigCPtr, aiNodeVector.getCPtr(values)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public aiNodeVector GetRange(int index, int count) { - IntPtr cPtr = AssimpPINVOKE.aiNodeVector_GetRange(swigCPtr, index, count); - aiNodeVector ret = (cPtr == IntPtr.Zero) ? null : new aiNodeVector(cPtr, true); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public void Insert(int index, aiNode x) { - AssimpPINVOKE.aiNodeVector_Insert(swigCPtr, index, aiNode.getCPtr(x)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void InsertRange(int index, aiNodeVector values) { - AssimpPINVOKE.aiNodeVector_InsertRange(swigCPtr, index, aiNodeVector.getCPtr(values)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void RemoveAt(int index) { - AssimpPINVOKE.aiNodeVector_RemoveAt(swigCPtr, index); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void RemoveRange(int index, int count) { - AssimpPINVOKE.aiNodeVector_RemoveRange(swigCPtr, index, count); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public static aiNodeVector Repeat(aiNode value, int count) { - IntPtr cPtr = AssimpPINVOKE.aiNodeVector_Repeat(aiNode.getCPtr(value), count); - aiNodeVector ret = (cPtr == IntPtr.Zero) ? null : new aiNodeVector(cPtr, true); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public void Reverse() { - AssimpPINVOKE.aiNodeVector_Reverse__SWIG_0(swigCPtr); - } - - public void Reverse(int index, int count) { - AssimpPINVOKE.aiNodeVector_Reverse__SWIG_1(swigCPtr, index, count); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void SetRange(int index, aiNodeVector values) { - AssimpPINVOKE.aiNodeVector_SetRange(swigCPtr, index, aiNodeVector.getCPtr(values)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public bool Contains(aiNode value) { - bool ret = AssimpPINVOKE.aiNodeVector_Contains(swigCPtr, aiNode.getCPtr(value)); - return ret; - } - - public int IndexOf(aiNode value) { - int ret = AssimpPINVOKE.aiNodeVector_IndexOf(swigCPtr, aiNode.getCPtr(value)); - return ret; - } - - public int LastIndexOf(aiNode value) { - int ret = AssimpPINVOKE.aiNodeVector_LastIndexOf(swigCPtr, aiNode.getCPtr(value)); - return ret; - } - - public bool Remove(aiNode value) { - bool ret = AssimpPINVOKE.aiNodeVector_Remove(swigCPtr, aiNode.getCPtr(value)); - return ret; - } - -} diff --git a/port/Assimp.NET/Assimp.NET_CS/aiOrigin.cs b/port/Assimp.NET/Assimp.NET_CS/aiOrigin.cs deleted file mode 100644 index 8dded0e55..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/aiOrigin.cs +++ /dev/null @@ -1,15 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.8 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - - -public enum aiOrigin { - aiOrigin_SET = 0x0, - aiOrigin_CUR = 0x1, - aiOrigin_END = 0x2, - _AI_ORIGIN_ENFORCE_ENUM_SIZE = 0x7fffffff -} diff --git a/port/Assimp.NET/Assimp.NET_CS/aiPlane.cs b/port/Assimp.NET/Assimp.NET_CS/aiPlane.cs deleted file mode 100644 index e19fd572a..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/aiPlane.cs +++ /dev/null @@ -1,93 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.8 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - - -using System; -using System.Runtime.InteropServices; - -public class aiPlane : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal aiPlane(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(aiPlane obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~aiPlane() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - AssimpPINVOKE.delete_aiPlane(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public aiPlane() : this(AssimpPINVOKE.new_aiPlane__SWIG_0(), true) { - } - - public aiPlane(float _a, float _b, float _c, float _d) : this(AssimpPINVOKE.new_aiPlane__SWIG_1(_a, _b, _c, _d), true) { - } - - public aiPlane(aiPlane o) : this(AssimpPINVOKE.new_aiPlane__SWIG_2(aiPlane.getCPtr(o)), true) { - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public float a { - set { - AssimpPINVOKE.aiPlane_a_set(swigCPtr, value); - } - get { - float ret = AssimpPINVOKE.aiPlane_a_get(swigCPtr); - return ret; - } - } - - public float b { - set { - AssimpPINVOKE.aiPlane_b_set(swigCPtr, value); - } - get { - float ret = AssimpPINVOKE.aiPlane_b_get(swigCPtr); - return ret; - } - } - - public float c { - set { - AssimpPINVOKE.aiPlane_c_set(swigCPtr, value); - } - get { - float ret = AssimpPINVOKE.aiPlane_c_get(swigCPtr); - return ret; - } - } - - public float d { - set { - AssimpPINVOKE.aiPlane_d_set(swigCPtr, value); - } - get { - float ret = AssimpPINVOKE.aiPlane_d_get(swigCPtr); - return ret; - } - } - -} diff --git a/port/Assimp.NET/Assimp.NET_CS/aiPostProcessSteps.cs b/port/Assimp.NET/Assimp.NET_CS/aiPostProcessSteps.cs deleted file mode 100644 index e5e0d18a8..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/aiPostProcessSteps.cs +++ /dev/null @@ -1,39 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.8 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - - -public enum aiPostProcessSteps { - aiProcess_CalcTangentSpace = 0x1, - aiProcess_JoinIdenticalVertices = 0x2, - aiProcess_MakeLeftHanded = 0x4, - aiProcess_Triangulate = 0x8, - aiProcess_RemoveComponent = 0x10, - aiProcess_GenNormals = 0x20, - aiProcess_GenSmoothNormals = 0x40, - aiProcess_SplitLargeMeshes = 0x80, - aiProcess_PreTransformVertices = 0x100, - aiProcess_LimitBoneWeights = 0x200, - aiProcess_ValidateDataStructure = 0x400, - aiProcess_ImproveCacheLocality = 0x800, - aiProcess_RemoveRedundantMaterials = 0x1000, - aiProcess_FixInfacingNormals = 0x2000, - aiProcess_SortByPType = 0x8000, - aiProcess_FindDegenerates = 0x10000, - aiProcess_FindInvalidData = 0x20000, - aiProcess_GenUVCoords = 0x40000, - aiProcess_TransformUVCoords = 0x80000, - aiProcess_FindInstances = 0x100000, - aiProcess_OptimizeMeshes = 0x200000, - aiProcess_OptimizeGraph = 0x400000, - aiProcess_FlipUVs = 0x800000, - aiProcess_FlipWindingOrder = 0x1000000, - aiProcess_SplitByBoneCount = 0x2000000, - aiProcess_Debone = 0x4000000 - - , aiProcess_ConvertToLeftHanded = aiProcess_MakeLeftHanded|aiProcess_FlipUVs|aiProcess_FlipWindingOrder, -} diff --git a/port/Assimp.NET/Assimp.NET_CS/aiPrimitiveType.cs b/port/Assimp.NET/Assimp.NET_CS/aiPrimitiveType.cs deleted file mode 100644 index 7c1411611..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/aiPrimitiveType.cs +++ /dev/null @@ -1,15 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.8 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - - -public enum aiPrimitiveType { - aiPrimitiveType_POINT = 0x1, - aiPrimitiveType_LINE = 0x2, - aiPrimitiveType_TRIANGLE = 0x4, - aiPrimitiveType_POLYGON = 0x8 -} diff --git a/port/Assimp.NET/Assimp.NET_CS/aiPropertyTypeInfo.cs b/port/Assimp.NET/Assimp.NET_CS/aiPropertyTypeInfo.cs deleted file mode 100644 index efac6be5e..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/aiPropertyTypeInfo.cs +++ /dev/null @@ -1,15 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.8 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - - -public enum aiPropertyTypeInfo { - aiPTI_Float = 0x1, - aiPTI_String = 0x3, - aiPTI_Integer = 0x4, - aiPTI_Buffer = 0x5 -} diff --git a/port/Assimp.NET/Assimp.NET_CS/aiQuatKey.cs b/port/Assimp.NET/Assimp.NET_CS/aiQuatKey.cs deleted file mode 100644 index 62c31f803..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/aiQuatKey.cs +++ /dev/null @@ -1,95 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.8 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - - -using System; -using System.Runtime.InteropServices; - -public class aiQuatKey : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal aiQuatKey(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(aiQuatKey obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~aiQuatKey() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - AssimpPINVOKE.delete_aiQuatKey(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public double mTime { - set { - AssimpPINVOKE.aiQuatKey_mTime_set(swigCPtr, value); - } - get { - double ret = AssimpPINVOKE.aiQuatKey_mTime_get(swigCPtr); - return ret; - } - } - - public aiQuaternion mValue { - set { - AssimpPINVOKE.aiQuatKey_mValue_set(swigCPtr, aiQuaternion.getCPtr(value)); - } - get { - IntPtr cPtr = AssimpPINVOKE.aiQuatKey_mValue_get(swigCPtr); - aiQuaternion ret = (cPtr == IntPtr.Zero) ? null : new aiQuaternion(cPtr, false); - return ret; - } - } - - public aiQuatKey() : this(AssimpPINVOKE.new_aiQuatKey__SWIG_0(), true) { - } - - public aiQuatKey(double time, aiQuaternion value) : this(AssimpPINVOKE.new_aiQuatKey__SWIG_1(time, aiQuaternion.getCPtr(value)), true) { - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public bool __equal__(aiQuatKey o) { - bool ret = AssimpPINVOKE.aiQuatKey___equal__(swigCPtr, aiQuatKey.getCPtr(o)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public bool __nequal__(aiQuatKey o) { - bool ret = AssimpPINVOKE.aiQuatKey___nequal__(swigCPtr, aiQuatKey.getCPtr(o)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public bool __smaller__(aiQuatKey o) { - bool ret = AssimpPINVOKE.aiQuatKey___smaller__(swigCPtr, aiQuatKey.getCPtr(o)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public bool __greater__(aiQuatKey o) { - bool ret = AssimpPINVOKE.aiQuatKey___greater__(swigCPtr, aiQuatKey.getCPtr(o)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - -} diff --git a/port/Assimp.NET/Assimp.NET_CS/aiQuatKeyVector.cs b/port/Assimp.NET/Assimp.NET_CS/aiQuatKeyVector.cs deleted file mode 100644 index eac1fde9c..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/aiQuatKeyVector.cs +++ /dev/null @@ -1,348 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.8 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - - -using System; -using System.Runtime.InteropServices; - -public class aiQuatKeyVector : IDisposable, System.Collections.IEnumerable -#if !SWIG_DOTNET_1 - , System.Collections.Generic.IList -#endif - { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal aiQuatKeyVector(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(aiQuatKeyVector obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~aiQuatKeyVector() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - AssimpPINVOKE.delete_aiQuatKeyVector(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public aiQuatKeyVector(System.Collections.ICollection c) : this() { - if (c == null) - throw new ArgumentNullException("c"); - foreach (aiQuatKey element in c) { - this.Add(element); - } - } - - public bool IsFixedSize { - get { - return false; - } - } - - public bool IsReadOnly { - get { - return false; - } - } - - public aiQuatKey this[int index] { - get { - return getitem(index); - } - set { - setitem(index, value); - } - } - - public int Capacity { - get { - return (int)capacity(); - } - set { - if (value < size()) - throw new ArgumentOutOfRangeException("Capacity"); - reserve((uint)value); - } - } - - public int Count { - get { - return (int)size(); - } - } - - public bool IsSynchronized { - get { - return false; - } - } - -#if SWIG_DOTNET_1 - public void CopyTo(System.Array array) -#else - public void CopyTo(aiQuatKey[] array) -#endif - { - CopyTo(0, array, 0, this.Count); - } - -#if SWIG_DOTNET_1 - public void CopyTo(System.Array array, int arrayIndex) -#else - public void CopyTo(aiQuatKey[] array, int arrayIndex) -#endif - { - CopyTo(0, array, arrayIndex, this.Count); - } - -#if SWIG_DOTNET_1 - public void CopyTo(int index, System.Array array, int arrayIndex, int count) -#else - public void CopyTo(int index, aiQuatKey[] array, int arrayIndex, int count) -#endif - { - if (array == null) - throw new ArgumentNullException("array"); - if (index < 0) - throw new ArgumentOutOfRangeException("index", "Value is less than zero"); - if (arrayIndex < 0) - throw new ArgumentOutOfRangeException("arrayIndex", "Value is less than zero"); - if (count < 0) - throw new ArgumentOutOfRangeException("count", "Value is less than zero"); - if (array.Rank > 1) - throw new ArgumentException("Multi dimensional array.", "array"); - if (index+count > this.Count || arrayIndex+count > array.Length) - throw new ArgumentException("Number of elements to copy is too large."); - for (int i=0; i System.Collections.Generic.IEnumerable.GetEnumerator() { - return new aiQuatKeyVectorEnumerator(this); - } -#endif - - System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { - return new aiQuatKeyVectorEnumerator(this); - } - - public aiQuatKeyVectorEnumerator GetEnumerator() { - return new aiQuatKeyVectorEnumerator(this); - } - - // Type-safe enumerator - /// Note that the IEnumerator documentation requires an InvalidOperationException to be thrown - /// whenever the collection is modified. This has been done for changes in the size of the - /// collection but not when one of the elements of the collection is modified as it is a bit - /// tricky to detect unmanaged code that modifies the collection under our feet. - public sealed class aiQuatKeyVectorEnumerator : System.Collections.IEnumerator -#if !SWIG_DOTNET_1 - , System.Collections.Generic.IEnumerator -#endif - { - private aiQuatKeyVector collectionRef; - private int currentIndex; - private object currentObject; - private int currentSize; - - public aiQuatKeyVectorEnumerator(aiQuatKeyVector collection) { - collectionRef = collection; - currentIndex = -1; - currentObject = null; - currentSize = collectionRef.Count; - } - - // Type-safe iterator Current - public aiQuatKey Current { - get { - if (currentIndex == -1) - throw new InvalidOperationException("Enumeration not started."); - if (currentIndex > currentSize - 1) - throw new InvalidOperationException("Enumeration finished."); - if (currentObject == null) - throw new InvalidOperationException("Collection modified."); - return (aiQuatKey)currentObject; - } - } - - // Type-unsafe IEnumerator.Current - object System.Collections.IEnumerator.Current { - get { - return Current; - } - } - - public bool MoveNext() { - int size = collectionRef.Count; - bool moveOkay = (currentIndex+1 < size) && (size == currentSize); - if (moveOkay) { - currentIndex++; - currentObject = collectionRef[currentIndex]; - } else { - currentObject = null; - } - return moveOkay; - } - - public void Reset() { - currentIndex = -1; - currentObject = null; - if (collectionRef.Count != currentSize) { - throw new InvalidOperationException("Collection modified."); - } - } - -#if !SWIG_DOTNET_1 - public void Dispose() { - currentIndex = -1; - currentObject = null; - } -#endif - } - - public void Clear() { - AssimpPINVOKE.aiQuatKeyVector_Clear(swigCPtr); - } - - public void Add(aiQuatKey x) { - AssimpPINVOKE.aiQuatKeyVector_Add(swigCPtr, aiQuatKey.getCPtr(x)); - } - - private uint size() { - uint ret = AssimpPINVOKE.aiQuatKeyVector_size(swigCPtr); - return ret; - } - - private uint capacity() { - uint ret = AssimpPINVOKE.aiQuatKeyVector_capacity(swigCPtr); - return ret; - } - - private void reserve(uint n) { - AssimpPINVOKE.aiQuatKeyVector_reserve(swigCPtr, n); - } - - public aiQuatKeyVector() : this(AssimpPINVOKE.new_aiQuatKeyVector__SWIG_0(), true) { - } - - public aiQuatKeyVector(aiQuatKeyVector other) : this(AssimpPINVOKE.new_aiQuatKeyVector__SWIG_1(aiQuatKeyVector.getCPtr(other)), true) { - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public aiQuatKeyVector(int capacity) : this(AssimpPINVOKE.new_aiQuatKeyVector__SWIG_2(capacity), true) { - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - private aiQuatKey getitemcopy(int index) { - IntPtr cPtr = AssimpPINVOKE.aiQuatKeyVector_getitemcopy(swigCPtr, index); - aiQuatKey ret = (cPtr == IntPtr.Zero) ? null : new aiQuatKey(cPtr, false); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - private aiQuatKey getitem(int index) { - IntPtr cPtr = AssimpPINVOKE.aiQuatKeyVector_getitem(swigCPtr, index); - aiQuatKey ret = (cPtr == IntPtr.Zero) ? null : new aiQuatKey(cPtr, false); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - private void setitem(int index, aiQuatKey val) { - AssimpPINVOKE.aiQuatKeyVector_setitem(swigCPtr, index, aiQuatKey.getCPtr(val)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void AddRange(aiQuatKeyVector values) { - AssimpPINVOKE.aiQuatKeyVector_AddRange(swigCPtr, aiQuatKeyVector.getCPtr(values)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public aiQuatKeyVector GetRange(int index, int count) { - IntPtr cPtr = AssimpPINVOKE.aiQuatKeyVector_GetRange(swigCPtr, index, count); - aiQuatKeyVector ret = (cPtr == IntPtr.Zero) ? null : new aiQuatKeyVector(cPtr, true); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public void Insert(int index, aiQuatKey x) { - AssimpPINVOKE.aiQuatKeyVector_Insert(swigCPtr, index, aiQuatKey.getCPtr(x)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void InsertRange(int index, aiQuatKeyVector values) { - AssimpPINVOKE.aiQuatKeyVector_InsertRange(swigCPtr, index, aiQuatKeyVector.getCPtr(values)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void RemoveAt(int index) { - AssimpPINVOKE.aiQuatKeyVector_RemoveAt(swigCPtr, index); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void RemoveRange(int index, int count) { - AssimpPINVOKE.aiQuatKeyVector_RemoveRange(swigCPtr, index, count); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public static aiQuatKeyVector Repeat(aiQuatKey value, int count) { - IntPtr cPtr = AssimpPINVOKE.aiQuatKeyVector_Repeat(aiQuatKey.getCPtr(value), count); - aiQuatKeyVector ret = (cPtr == IntPtr.Zero) ? null : new aiQuatKeyVector(cPtr, true); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public void Reverse() { - AssimpPINVOKE.aiQuatKeyVector_Reverse__SWIG_0(swigCPtr); - } - - public void Reverse(int index, int count) { - AssimpPINVOKE.aiQuatKeyVector_Reverse__SWIG_1(swigCPtr, index, count); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void SetRange(int index, aiQuatKeyVector values) { - AssimpPINVOKE.aiQuatKeyVector_SetRange(swigCPtr, index, aiQuatKeyVector.getCPtr(values)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public bool Contains(aiQuatKey value) { - bool ret = AssimpPINVOKE.aiQuatKeyVector_Contains(swigCPtr, aiQuatKey.getCPtr(value)); - return ret; - } - - public int IndexOf(aiQuatKey value) { - int ret = AssimpPINVOKE.aiQuatKeyVector_IndexOf(swigCPtr, aiQuatKey.getCPtr(value)); - return ret; - } - - public int LastIndexOf(aiQuatKey value) { - int ret = AssimpPINVOKE.aiQuatKeyVector_LastIndexOf(swigCPtr, aiQuatKey.getCPtr(value)); - return ret; - } - - public bool Remove(aiQuatKey value) { - bool ret = AssimpPINVOKE.aiQuatKeyVector_Remove(swigCPtr, aiQuatKey.getCPtr(value)); - return ret; - } - -} diff --git a/port/Assimp.NET/Assimp.NET_CS/aiQuaternion.cs b/port/Assimp.NET/Assimp.NET_CS/aiQuaternion.cs deleted file mode 100644 index 2a0ebccf4..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/aiQuaternion.cs +++ /dev/null @@ -1,148 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.8 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - - -using System; -using System.Runtime.InteropServices; - -public class aiQuaternion : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal aiQuaternion(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(aiQuaternion obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~aiQuaternion() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - AssimpPINVOKE.delete_aiQuaternion(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public aiQuaternion() : this(AssimpPINVOKE.new_aiQuaternion__SWIG_0(), true) { - } - - public aiQuaternion(float w, float x, float y, float z) : this(AssimpPINVOKE.new_aiQuaternion__SWIG_1(w, x, y, z), true) { - } - - public aiQuaternion(aiMatrix3x3 pRotMatrix) : this(AssimpPINVOKE.new_aiQuaternion__SWIG_2(aiMatrix3x3.getCPtr(pRotMatrix)), true) { - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public aiQuaternion(float rotx, float roty, float rotz) : this(AssimpPINVOKE.new_aiQuaternion__SWIG_3(rotx, roty, rotz), true) { - } - - public aiQuaternion(aiVector3D axis, float angle) : this(AssimpPINVOKE.new_aiQuaternion__SWIG_4(aiVector3D.getCPtr(axis), angle), true) { - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public aiQuaternion(aiVector3D normalized) : this(AssimpPINVOKE.new_aiQuaternion__SWIG_5(aiVector3D.getCPtr(normalized)), true) { - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public aiMatrix3x3 GetMatrix() { - aiMatrix3x3 ret = new aiMatrix3x3(AssimpPINVOKE.aiQuaternion_GetMatrix(swigCPtr), true); - return ret; - } - - public bool __equal__(aiQuaternion o) { - bool ret = AssimpPINVOKE.aiQuaternion___equal__(swigCPtr, aiQuaternion.getCPtr(o)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public bool __nequal__(aiQuaternion o) { - bool ret = AssimpPINVOKE.aiQuaternion___nequal__(swigCPtr, aiQuaternion.getCPtr(o)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public aiQuaternion Normalize() { - aiQuaternion ret = new aiQuaternion(AssimpPINVOKE.aiQuaternion_Normalize(swigCPtr), false); - return ret; - } - - public aiQuaternion Conjugate() { - aiQuaternion ret = new aiQuaternion(AssimpPINVOKE.aiQuaternion_Conjugate(swigCPtr), false); - return ret; - } - - public aiVector3D Rotate(aiVector3D arg0) { - aiVector3D ret = new aiVector3D(AssimpPINVOKE.aiQuaternion_Rotate(swigCPtr, aiVector3D.getCPtr(arg0)), true); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public aiQuaternion __mul__(aiQuaternion two) { - aiQuaternion ret = new aiQuaternion(AssimpPINVOKE.aiQuaternion___mul__(swigCPtr, aiQuaternion.getCPtr(two)), true); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static void Interpolate(aiQuaternion pOut, aiQuaternion pStart, aiQuaternion pEnd, float pFactor) { - AssimpPINVOKE.aiQuaternion_Interpolate(aiQuaternion.getCPtr(pOut), aiQuaternion.getCPtr(pStart), aiQuaternion.getCPtr(pEnd), pFactor); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public float w { - set { - AssimpPINVOKE.aiQuaternion_w_set(swigCPtr, value); - } - get { - float ret = AssimpPINVOKE.aiQuaternion_w_get(swigCPtr); - return ret; - } - } - - public float x { - set { - AssimpPINVOKE.aiQuaternion_x_set(swigCPtr, value); - } - get { - float ret = AssimpPINVOKE.aiQuaternion_x_get(swigCPtr); - return ret; - } - } - - public float y { - set { - AssimpPINVOKE.aiQuaternion_y_set(swigCPtr, value); - } - get { - float ret = AssimpPINVOKE.aiQuaternion_y_get(swigCPtr); - return ret; - } - } - - public float z { - set { - AssimpPINVOKE.aiQuaternion_z_set(swigCPtr, value); - } - get { - float ret = AssimpPINVOKE.aiQuaternion_z_get(swigCPtr); - return ret; - } - } - -} diff --git a/port/Assimp.NET/Assimp.NET_CS/aiRay.cs b/port/Assimp.NET/Assimp.NET_CS/aiRay.cs deleted file mode 100644 index 85a1c986e..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/aiRay.cs +++ /dev/null @@ -1,76 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.8 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - - -using System; -using System.Runtime.InteropServices; - -public class aiRay : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal aiRay(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(aiRay obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~aiRay() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - AssimpPINVOKE.delete_aiRay(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public aiRay() : this(AssimpPINVOKE.new_aiRay__SWIG_0(), true) { - } - - public aiRay(aiVector3D _pos, aiVector3D _dir) : this(AssimpPINVOKE.new_aiRay__SWIG_1(aiVector3D.getCPtr(_pos), aiVector3D.getCPtr(_dir)), true) { - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public aiRay(aiRay o) : this(AssimpPINVOKE.new_aiRay__SWIG_2(aiRay.getCPtr(o)), true) { - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public aiVector3D pos { - set { - AssimpPINVOKE.aiRay_pos_set(swigCPtr, aiVector3D.getCPtr(value)); - } - get { - IntPtr cPtr = AssimpPINVOKE.aiRay_pos_get(swigCPtr); - aiVector3D ret = (cPtr == IntPtr.Zero) ? null : new aiVector3D(cPtr, false); - return ret; - } - } - - public aiVector3D dir { - set { - AssimpPINVOKE.aiRay_dir_set(swigCPtr, aiVector3D.getCPtr(value)); - } - get { - IntPtr cPtr = AssimpPINVOKE.aiRay_dir_get(swigCPtr); - aiVector3D ret = (cPtr == IntPtr.Zero) ? null : new aiVector3D(cPtr, false); - return ret; - } - } - -} diff --git a/port/Assimp.NET/Assimp.NET_CS/aiReturn.cs b/port/Assimp.NET/Assimp.NET_CS/aiReturn.cs deleted file mode 100644 index 4e4fde423..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/aiReturn.cs +++ /dev/null @@ -1,15 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.8 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - - -public enum aiReturn { - aiReturn_SUCCESS = 0x0, - aiReturn_FAILURE = -0x1, - aiReturn_OUTOFMEMORY = -0x3, - _AI_ENFORCE_ENUM_SIZE = 0x7fffffff -} diff --git a/port/Assimp.NET/Assimp.NET_CS/aiScene.cs b/port/Assimp.NET/Assimp.NET_CS/aiScene.cs deleted file mode 100644 index d7048cbc1..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/aiScene.cs +++ /dev/null @@ -1,211 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.8 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - - -using System; -using System.Runtime.InteropServices; - -public class aiScene : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal aiScene(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(aiScene obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~aiScene() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - AssimpPINVOKE.delete_aiScene(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public aiAnimationVector mAnimations { get { return GetmAnimations(); } } - public aiCameraVector mCameras { get { return GetmCameras(); } } - public aiLightVector mLights { get { return GetmLights(); } } - public aiMaterialVector mMaterials { get { return GetmMaterials(); } } - public aiMeshVector mMeshes { get { return GetmMeshes(); } } - public aiTextureVector mTextures { get { return GetmTextures(); } } - - public uint mFlags { - set { - AssimpPINVOKE.aiScene_mFlags_set(swigCPtr, value); - } - get { - uint ret = AssimpPINVOKE.aiScene_mFlags_get(swigCPtr); - return ret; - } - } - - public aiNode mRootNode { - set { - AssimpPINVOKE.aiScene_mRootNode_set(swigCPtr, aiNode.getCPtr(value)); - } - get { - IntPtr cPtr = AssimpPINVOKE.aiScene_mRootNode_get(swigCPtr); - aiNode ret = (cPtr == IntPtr.Zero) ? null : new aiNode(cPtr, false); - return ret; - } - } - - public uint mNumMeshes { - set { - AssimpPINVOKE.aiScene_mNumMeshes_set(swigCPtr, value); - } - get { - uint ret = AssimpPINVOKE.aiScene_mNumMeshes_get(swigCPtr); - return ret; - } - } - - public uint mNumMaterials { - set { - AssimpPINVOKE.aiScene_mNumMaterials_set(swigCPtr, value); - } - get { - uint ret = AssimpPINVOKE.aiScene_mNumMaterials_get(swigCPtr); - return ret; - } - } - - public uint mNumAnimations { - set { - AssimpPINVOKE.aiScene_mNumAnimations_set(swigCPtr, value); - } - get { - uint ret = AssimpPINVOKE.aiScene_mNumAnimations_get(swigCPtr); - return ret; - } - } - - public uint mNumTextures { - set { - AssimpPINVOKE.aiScene_mNumTextures_set(swigCPtr, value); - } - get { - uint ret = AssimpPINVOKE.aiScene_mNumTextures_get(swigCPtr); - return ret; - } - } - - public uint mNumLights { - set { - AssimpPINVOKE.aiScene_mNumLights_set(swigCPtr, value); - } - get { - uint ret = AssimpPINVOKE.aiScene_mNumLights_get(swigCPtr); - return ret; - } - } - - public uint mNumCameras { - set { - AssimpPINVOKE.aiScene_mNumCameras_set(swigCPtr, value); - } - get { - uint ret = AssimpPINVOKE.aiScene_mNumCameras_get(swigCPtr); - return ret; - } - } - - public aiScene() : this(AssimpPINVOKE.new_aiScene(), true) { - } - - public bool HasMeshes() { - bool ret = AssimpPINVOKE.aiScene_HasMeshes(swigCPtr); - return ret; - } - - public bool HasMaterials() { - bool ret = AssimpPINVOKE.aiScene_HasMaterials(swigCPtr); - return ret; - } - - public bool HasLights() { - bool ret = AssimpPINVOKE.aiScene_HasLights(swigCPtr); - return ret; - } - - public bool HasTextures() { - bool ret = AssimpPINVOKE.aiScene_HasTextures(swigCPtr); - return ret; - } - - public bool HasCameras() { - bool ret = AssimpPINVOKE.aiScene_HasCameras(swigCPtr); - return ret; - } - - public bool HasAnimations() { - bool ret = AssimpPINVOKE.aiScene_HasAnimations(swigCPtr); - return ret; - } - - public SWIGTYPE_p_void mPrivate { - set { - AssimpPINVOKE.aiScene_mPrivate_set(swigCPtr, SWIGTYPE_p_void.getCPtr(value)); - } - get { - IntPtr cPtr = AssimpPINVOKE.aiScene_mPrivate_get(swigCPtr); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); - return ret; - } - } - - private aiAnimationVector GetmAnimations() { - IntPtr cPtr = AssimpPINVOKE.aiScene_GetmAnimations(swigCPtr); - aiAnimationVector ret = (cPtr == IntPtr.Zero) ? null : new aiAnimationVector(cPtr, true); - return ret; - } - - private aiCameraVector GetmCameras() { - IntPtr cPtr = AssimpPINVOKE.aiScene_GetmCameras(swigCPtr); - aiCameraVector ret = (cPtr == IntPtr.Zero) ? null : new aiCameraVector(cPtr, true); - return ret; - } - - private aiLightVector GetmLights() { - IntPtr cPtr = AssimpPINVOKE.aiScene_GetmLights(swigCPtr); - aiLightVector ret = (cPtr == IntPtr.Zero) ? null : new aiLightVector(cPtr, true); - return ret; - } - - private aiMaterialVector GetmMaterials() { - IntPtr cPtr = AssimpPINVOKE.aiScene_GetmMaterials(swigCPtr); - aiMaterialVector ret = (cPtr == IntPtr.Zero) ? null : new aiMaterialVector(cPtr, true); - return ret; - } - - private aiMeshVector GetmMeshes() { - IntPtr cPtr = AssimpPINVOKE.aiScene_GetmMeshes(swigCPtr); - aiMeshVector ret = (cPtr == IntPtr.Zero) ? null : new aiMeshVector(cPtr, true); - return ret; - } - - private aiTextureVector GetmTextures() { - IntPtr cPtr = AssimpPINVOKE.aiScene_GetmTextures(swigCPtr); - aiTextureVector ret = (cPtr == IntPtr.Zero) ? null : new aiTextureVector(cPtr, true); - return ret; - } - -} diff --git a/port/Assimp.NET/Assimp.NET_CS/aiShadingMode.cs b/port/Assimp.NET/Assimp.NET_CS/aiShadingMode.cs deleted file mode 100644 index 775417918..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/aiShadingMode.cs +++ /dev/null @@ -1,21 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.8 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - - -public enum aiShadingMode { - aiShadingMode_Flat = 0x1, - aiShadingMode_Gouraud = 0x2, - aiShadingMode_Phong = 0x3, - aiShadingMode_Blinn = 0x4, - aiShadingMode_Toon = 0x5, - aiShadingMode_OrenNayar = 0x6, - aiShadingMode_Minnaert = 0x7, - aiShadingMode_CookTorrance = 0x8, - aiShadingMode_NoShading = 0x9, - aiShadingMode_Fresnel = 0xa -} diff --git a/port/Assimp.NET/Assimp.NET_CS/aiString.cs b/port/Assimp.NET/Assimp.NET_CS/aiString.cs deleted file mode 100644 index f55ea8197..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/aiString.cs +++ /dev/null @@ -1,98 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.8 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - - -using System; -using System.Runtime.InteropServices; - -public class aiString : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal aiString(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(aiString obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~aiString() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - AssimpPINVOKE.delete_aiString(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public override string ToString() { return Data; } - - public aiString() : this(AssimpPINVOKE.new_aiString__SWIG_0(), true) { - } - - public aiString(aiString rOther) : this(AssimpPINVOKE.new_aiString__SWIG_1(aiString.getCPtr(rOther)), true) { - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public aiString(string pString) : this(AssimpPINVOKE.new_aiString__SWIG_2(pString), true) { - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public aiString __set__(string sz) { - aiString ret = new aiString(AssimpPINVOKE.aiString___set____SWIG_0(swigCPtr, sz), false); - return ret; - } - - public bool __equal__(aiString other) { - bool ret = AssimpPINVOKE.aiString___equal__(swigCPtr, aiString.getCPtr(other)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public bool __nequal__(aiString other) { - bool ret = AssimpPINVOKE.aiString___nequal__(swigCPtr, aiString.getCPtr(other)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public string C_Str() { - string ret = AssimpPINVOKE.aiString_C_Str(swigCPtr); - return ret; - } - - public uint Length { - set { - AssimpPINVOKE.aiString_Length_set(swigCPtr, value); - } - get { - uint ret = AssimpPINVOKE.aiString_Length_get(swigCPtr); - return ret; - } - } - - public string Data { - set { - AssimpPINVOKE.aiString_Data_set(swigCPtr, value); - } - get { - string ret = AssimpPINVOKE.aiString_Data_get(swigCPtr); - return ret; - } - } - -} diff --git a/port/Assimp.NET/Assimp.NET_CS/aiTexel.cs b/port/Assimp.NET/Assimp.NET_CS/aiTexel.cs deleted file mode 100644 index bfd42ce84..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/aiTexel.cs +++ /dev/null @@ -1,98 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.8 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - - -using System; -using System.Runtime.InteropServices; - -public class aiTexel : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal aiTexel(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(aiTexel obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~aiTexel() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - AssimpPINVOKE.delete_aiTexel(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public byte b { - set { - AssimpPINVOKE.aiTexel_b_set(swigCPtr, value); - } - get { - byte ret = AssimpPINVOKE.aiTexel_b_get(swigCPtr); - return ret; - } - } - - public byte g { - set { - AssimpPINVOKE.aiTexel_g_set(swigCPtr, value); - } - get { - byte ret = AssimpPINVOKE.aiTexel_g_get(swigCPtr); - return ret; - } - } - - public byte r { - set { - AssimpPINVOKE.aiTexel_r_set(swigCPtr, value); - } - get { - byte ret = AssimpPINVOKE.aiTexel_r_get(swigCPtr); - return ret; - } - } - - public byte a { - set { - AssimpPINVOKE.aiTexel_a_set(swigCPtr, value); - } - get { - byte ret = AssimpPINVOKE.aiTexel_a_get(swigCPtr); - return ret; - } - } - - public bool __equal__(aiTexel other) { - bool ret = AssimpPINVOKE.aiTexel___equal__(swigCPtr, aiTexel.getCPtr(other)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public bool __nequal__(aiTexel other) { - bool ret = AssimpPINVOKE.aiTexel___nequal__(swigCPtr, aiTexel.getCPtr(other)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public aiTexel() : this(AssimpPINVOKE.new_aiTexel(), true) { - } - -} diff --git a/port/Assimp.NET/Assimp.NET_CS/aiTexture.cs b/port/Assimp.NET/Assimp.NET_CS/aiTexture.cs deleted file mode 100644 index 87f756edc..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/aiTexture.cs +++ /dev/null @@ -1,92 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.8 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - - -using System; -using System.Runtime.InteropServices; - -public class aiTexture : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal aiTexture(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(aiTexture obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~aiTexture() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - AssimpPINVOKE.delete_aiTexture(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public uint mWidth { - set { - AssimpPINVOKE.aiTexture_mWidth_set(swigCPtr, value); - } - get { - uint ret = AssimpPINVOKE.aiTexture_mWidth_get(swigCPtr); - return ret; - } - } - - public uint mHeight { - set { - AssimpPINVOKE.aiTexture_mHeight_set(swigCPtr, value); - } - get { - uint ret = AssimpPINVOKE.aiTexture_mHeight_get(swigCPtr); - return ret; - } - } - - public string achFormatHint { - set { - AssimpPINVOKE.aiTexture_achFormatHint_set(swigCPtr, value); - } - get { - string ret = AssimpPINVOKE.aiTexture_achFormatHint_get(swigCPtr); - return ret; - } - } - - public aiTexel pcData { - set { - AssimpPINVOKE.aiTexture_pcData_set(swigCPtr, aiTexel.getCPtr(value)); - } - get { - IntPtr cPtr = AssimpPINVOKE.aiTexture_pcData_get(swigCPtr); - aiTexel ret = (cPtr == IntPtr.Zero) ? null : new aiTexel(cPtr, false); - return ret; - } - } - - public bool CheckFormat(string s) { - bool ret = AssimpPINVOKE.aiTexture_CheckFormat(swigCPtr, s); - return ret; - } - - public aiTexture() : this(AssimpPINVOKE.new_aiTexture(), true) { - } - -} diff --git a/port/Assimp.NET/Assimp.NET_CS/aiTextureFlags.cs b/port/Assimp.NET/Assimp.NET_CS/aiTextureFlags.cs deleted file mode 100644 index 7f58f533b..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/aiTextureFlags.cs +++ /dev/null @@ -1,14 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.8 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - - -public enum aiTextureFlags { - aiTextureFlags_Invert = 0x1, - aiTextureFlags_UseAlpha = 0x2, - aiTextureFlags_IgnoreAlpha = 0x4 -} diff --git a/port/Assimp.NET/Assimp.NET_CS/aiTextureMapMode.cs b/port/Assimp.NET/Assimp.NET_CS/aiTextureMapMode.cs deleted file mode 100644 index dfd7c8821..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/aiTextureMapMode.cs +++ /dev/null @@ -1,15 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.8 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - - -public enum aiTextureMapMode { - aiTextureMapMode_Wrap = 0x0, - aiTextureMapMode_Clamp = 0x1, - aiTextureMapMode_Decal = 0x3, - aiTextureMapMode_Mirror = 0x2 -} diff --git a/port/Assimp.NET/Assimp.NET_CS/aiTextureMapping.cs b/port/Assimp.NET/Assimp.NET_CS/aiTextureMapping.cs deleted file mode 100644 index f1f58d416..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/aiTextureMapping.cs +++ /dev/null @@ -1,17 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.8 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - - -public enum aiTextureMapping { - aiTextureMapping_UV = 0x0, - aiTextureMapping_SPHERE = 0x1, - aiTextureMapping_CYLINDER = 0x2, - aiTextureMapping_BOX = 0x3, - aiTextureMapping_PLANE = 0x4, - aiTextureMapping_OTHER = 0x5 -} diff --git a/port/Assimp.NET/Assimp.NET_CS/aiTextureOp.cs b/port/Assimp.NET/Assimp.NET_CS/aiTextureOp.cs deleted file mode 100644 index bf844aacf..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/aiTextureOp.cs +++ /dev/null @@ -1,17 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.8 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - - -public enum aiTextureOp { - aiTextureOp_Multiply = 0x0, - aiTextureOp_Add = 0x1, - aiTextureOp_Subtract = 0x2, - aiTextureOp_Divide = 0x3, - aiTextureOp_SmoothAdd = 0x4, - aiTextureOp_SignedAdd = 0x5 -} diff --git a/port/Assimp.NET/Assimp.NET_CS/aiTextureType.cs b/port/Assimp.NET/Assimp.NET_CS/aiTextureType.cs deleted file mode 100644 index 0b9ffb14f..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/aiTextureType.cs +++ /dev/null @@ -1,24 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.8 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - - -public enum aiTextureType { - aiTextureType_NONE = 0x0, - aiTextureType_DIFFUSE = 0x1, - aiTextureType_SPECULAR = 0x2, - aiTextureType_AMBIENT = 0x3, - aiTextureType_EMISSIVE = 0x4, - aiTextureType_HEIGHT = 0x5, - aiTextureType_NORMALS = 0x6, - aiTextureType_SHININESS = 0x7, - aiTextureType_OPACITY = 0x8, - aiTextureType_DISPLACEMENT = 0x9, - aiTextureType_LIGHTMAP = 0xA, - aiTextureType_REFLECTION = 0xB, - aiTextureType_UNKNOWN = 0xC -} diff --git a/port/Assimp.NET/Assimp.NET_CS/aiTextureVector.cs b/port/Assimp.NET/Assimp.NET_CS/aiTextureVector.cs deleted file mode 100644 index 745a44ec8..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/aiTextureVector.cs +++ /dev/null @@ -1,348 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.8 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - - -using System; -using System.Runtime.InteropServices; - -public class aiTextureVector : IDisposable, System.Collections.IEnumerable -#if !SWIG_DOTNET_1 - , System.Collections.Generic.IList -#endif - { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal aiTextureVector(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(aiTextureVector obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~aiTextureVector() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - AssimpPINVOKE.delete_aiTextureVector(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public aiTextureVector(System.Collections.ICollection c) : this() { - if (c == null) - throw new ArgumentNullException("c"); - foreach (aiTexture element in c) { - this.Add(element); - } - } - - public bool IsFixedSize { - get { - return false; - } - } - - public bool IsReadOnly { - get { - return false; - } - } - - public aiTexture this[int index] { - get { - return getitem(index); - } - set { - setitem(index, value); - } - } - - public int Capacity { - get { - return (int)capacity(); - } - set { - if (value < size()) - throw new ArgumentOutOfRangeException("Capacity"); - reserve((uint)value); - } - } - - public int Count { - get { - return (int)size(); - } - } - - public bool IsSynchronized { - get { - return false; - } - } - -#if SWIG_DOTNET_1 - public void CopyTo(System.Array array) -#else - public void CopyTo(aiTexture[] array) -#endif - { - CopyTo(0, array, 0, this.Count); - } - -#if SWIG_DOTNET_1 - public void CopyTo(System.Array array, int arrayIndex) -#else - public void CopyTo(aiTexture[] array, int arrayIndex) -#endif - { - CopyTo(0, array, arrayIndex, this.Count); - } - -#if SWIG_DOTNET_1 - public void CopyTo(int index, System.Array array, int arrayIndex, int count) -#else - public void CopyTo(int index, aiTexture[] array, int arrayIndex, int count) -#endif - { - if (array == null) - throw new ArgumentNullException("array"); - if (index < 0) - throw new ArgumentOutOfRangeException("index", "Value is less than zero"); - if (arrayIndex < 0) - throw new ArgumentOutOfRangeException("arrayIndex", "Value is less than zero"); - if (count < 0) - throw new ArgumentOutOfRangeException("count", "Value is less than zero"); - if (array.Rank > 1) - throw new ArgumentException("Multi dimensional array.", "array"); - if (index+count > this.Count || arrayIndex+count > array.Length) - throw new ArgumentException("Number of elements to copy is too large."); - for (int i=0; i System.Collections.Generic.IEnumerable.GetEnumerator() { - return new aiTextureVectorEnumerator(this); - } -#endif - - System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { - return new aiTextureVectorEnumerator(this); - } - - public aiTextureVectorEnumerator GetEnumerator() { - return new aiTextureVectorEnumerator(this); - } - - // Type-safe enumerator - /// Note that the IEnumerator documentation requires an InvalidOperationException to be thrown - /// whenever the collection is modified. This has been done for changes in the size of the - /// collection but not when one of the elements of the collection is modified as it is a bit - /// tricky to detect unmanaged code that modifies the collection under our feet. - public sealed class aiTextureVectorEnumerator : System.Collections.IEnumerator -#if !SWIG_DOTNET_1 - , System.Collections.Generic.IEnumerator -#endif - { - private aiTextureVector collectionRef; - private int currentIndex; - private object currentObject; - private int currentSize; - - public aiTextureVectorEnumerator(aiTextureVector collection) { - collectionRef = collection; - currentIndex = -1; - currentObject = null; - currentSize = collectionRef.Count; - } - - // Type-safe iterator Current - public aiTexture Current { - get { - if (currentIndex == -1) - throw new InvalidOperationException("Enumeration not started."); - if (currentIndex > currentSize - 1) - throw new InvalidOperationException("Enumeration finished."); - if (currentObject == null) - throw new InvalidOperationException("Collection modified."); - return (aiTexture)currentObject; - } - } - - // Type-unsafe IEnumerator.Current - object System.Collections.IEnumerator.Current { - get { - return Current; - } - } - - public bool MoveNext() { - int size = collectionRef.Count; - bool moveOkay = (currentIndex+1 < size) && (size == currentSize); - if (moveOkay) { - currentIndex++; - currentObject = collectionRef[currentIndex]; - } else { - currentObject = null; - } - return moveOkay; - } - - public void Reset() { - currentIndex = -1; - currentObject = null; - if (collectionRef.Count != currentSize) { - throw new InvalidOperationException("Collection modified."); - } - } - -#if !SWIG_DOTNET_1 - public void Dispose() { - currentIndex = -1; - currentObject = null; - } -#endif - } - - public void Clear() { - AssimpPINVOKE.aiTextureVector_Clear(swigCPtr); - } - - public void Add(aiTexture x) { - AssimpPINVOKE.aiTextureVector_Add(swigCPtr, aiTexture.getCPtr(x)); - } - - private uint size() { - uint ret = AssimpPINVOKE.aiTextureVector_size(swigCPtr); - return ret; - } - - private uint capacity() { - uint ret = AssimpPINVOKE.aiTextureVector_capacity(swigCPtr); - return ret; - } - - private void reserve(uint n) { - AssimpPINVOKE.aiTextureVector_reserve(swigCPtr, n); - } - - public aiTextureVector() : this(AssimpPINVOKE.new_aiTextureVector__SWIG_0(), true) { - } - - public aiTextureVector(aiTextureVector other) : this(AssimpPINVOKE.new_aiTextureVector__SWIG_1(aiTextureVector.getCPtr(other)), true) { - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public aiTextureVector(int capacity) : this(AssimpPINVOKE.new_aiTextureVector__SWIG_2(capacity), true) { - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - private aiTexture getitemcopy(int index) { - IntPtr cPtr = AssimpPINVOKE.aiTextureVector_getitemcopy(swigCPtr, index); - aiTexture ret = (cPtr == IntPtr.Zero) ? null : new aiTexture(cPtr, false); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - private aiTexture getitem(int index) { - IntPtr cPtr = AssimpPINVOKE.aiTextureVector_getitem(swigCPtr, index); - aiTexture ret = (cPtr == IntPtr.Zero) ? null : new aiTexture(cPtr, false); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - private void setitem(int index, aiTexture val) { - AssimpPINVOKE.aiTextureVector_setitem(swigCPtr, index, aiTexture.getCPtr(val)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void AddRange(aiTextureVector values) { - AssimpPINVOKE.aiTextureVector_AddRange(swigCPtr, aiTextureVector.getCPtr(values)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public aiTextureVector GetRange(int index, int count) { - IntPtr cPtr = AssimpPINVOKE.aiTextureVector_GetRange(swigCPtr, index, count); - aiTextureVector ret = (cPtr == IntPtr.Zero) ? null : new aiTextureVector(cPtr, true); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public void Insert(int index, aiTexture x) { - AssimpPINVOKE.aiTextureVector_Insert(swigCPtr, index, aiTexture.getCPtr(x)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void InsertRange(int index, aiTextureVector values) { - AssimpPINVOKE.aiTextureVector_InsertRange(swigCPtr, index, aiTextureVector.getCPtr(values)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void RemoveAt(int index) { - AssimpPINVOKE.aiTextureVector_RemoveAt(swigCPtr, index); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void RemoveRange(int index, int count) { - AssimpPINVOKE.aiTextureVector_RemoveRange(swigCPtr, index, count); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public static aiTextureVector Repeat(aiTexture value, int count) { - IntPtr cPtr = AssimpPINVOKE.aiTextureVector_Repeat(aiTexture.getCPtr(value), count); - aiTextureVector ret = (cPtr == IntPtr.Zero) ? null : new aiTextureVector(cPtr, true); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public void Reverse() { - AssimpPINVOKE.aiTextureVector_Reverse__SWIG_0(swigCPtr); - } - - public void Reverse(int index, int count) { - AssimpPINVOKE.aiTextureVector_Reverse__SWIG_1(swigCPtr, index, count); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void SetRange(int index, aiTextureVector values) { - AssimpPINVOKE.aiTextureVector_SetRange(swigCPtr, index, aiTextureVector.getCPtr(values)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public bool Contains(aiTexture value) { - bool ret = AssimpPINVOKE.aiTextureVector_Contains(swigCPtr, aiTexture.getCPtr(value)); - return ret; - } - - public int IndexOf(aiTexture value) { - int ret = AssimpPINVOKE.aiTextureVector_IndexOf(swigCPtr, aiTexture.getCPtr(value)); - return ret; - } - - public int LastIndexOf(aiTexture value) { - int ret = AssimpPINVOKE.aiTextureVector_LastIndexOf(swigCPtr, aiTexture.getCPtr(value)); - return ret; - } - - public bool Remove(aiTexture value) { - bool ret = AssimpPINVOKE.aiTextureVector_Remove(swigCPtr, aiTexture.getCPtr(value)); - return ret; - } - -} diff --git a/port/Assimp.NET/Assimp.NET_CS/aiUVTransform.cs b/port/Assimp.NET/Assimp.NET_CS/aiUVTransform.cs deleted file mode 100644 index 0452ee461..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/aiUVTransform.cs +++ /dev/null @@ -1,78 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.8 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - - -using System; -using System.Runtime.InteropServices; - -public class aiUVTransform : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal aiUVTransform(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(aiUVTransform obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~aiUVTransform() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - AssimpPINVOKE.delete_aiUVTransform(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public aiVector2D mTranslation { - set { - AssimpPINVOKE.aiUVTransform_mTranslation_set(swigCPtr, aiVector2D.getCPtr(value)); - } - get { - IntPtr cPtr = AssimpPINVOKE.aiUVTransform_mTranslation_get(swigCPtr); - aiVector2D ret = (cPtr == IntPtr.Zero) ? null : new aiVector2D(cPtr, false); - return ret; - } - } - - public aiVector2D mScaling { - set { - AssimpPINVOKE.aiUVTransform_mScaling_set(swigCPtr, aiVector2D.getCPtr(value)); - } - get { - IntPtr cPtr = AssimpPINVOKE.aiUVTransform_mScaling_get(swigCPtr); - aiVector2D ret = (cPtr == IntPtr.Zero) ? null : new aiVector2D(cPtr, false); - return ret; - } - } - - public float mRotation { - set { - AssimpPINVOKE.aiUVTransform_mRotation_set(swigCPtr, value); - } - get { - float ret = AssimpPINVOKE.aiUVTransform_mRotation_get(swigCPtr); - return ret; - } - } - - public aiUVTransform() : this(AssimpPINVOKE.new_aiUVTransform(), true) { - } - -} diff --git a/port/Assimp.NET/Assimp.NET_CS/aiVector2D.cs b/port/Assimp.NET/Assimp.NET_CS/aiVector2D.cs deleted file mode 100644 index 98074e6d1..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/aiVector2D.cs +++ /dev/null @@ -1,145 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.8 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - - -using System; -using System.Runtime.InteropServices; - -public class aiVector2D : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal aiVector2D(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(aiVector2D obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~aiVector2D() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - AssimpPINVOKE.delete_aiVector2D(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public aiVector2D() : this(AssimpPINVOKE.new_aiVector2D__SWIG_0(), true) { - } - - public aiVector2D(float _x, float _y) : this(AssimpPINVOKE.new_aiVector2D__SWIG_1(_x, _y), true) { - } - - public aiVector2D(float _xyz) : this(AssimpPINVOKE.new_aiVector2D__SWIG_2(_xyz), true) { - } - - public aiVector2D(aiVector2D o) : this(AssimpPINVOKE.new_aiVector2D__SWIG_3(aiVector2D.getCPtr(o)), true) { - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void Set(float pX, float pY) { - AssimpPINVOKE.aiVector2D_Set(swigCPtr, pX, pY); - } - - public float SquareLength() { - float ret = AssimpPINVOKE.aiVector2D_SquareLength(swigCPtr); - return ret; - } - - public float Length() { - float ret = AssimpPINVOKE.aiVector2D_Length(swigCPtr); - return ret; - } - - public aiVector2D Normalize() { - aiVector2D ret = new aiVector2D(AssimpPINVOKE.aiVector2D_Normalize(swigCPtr), false); - return ret; - } - - public aiVector2D __addnset__(aiVector2D o) { - aiVector2D ret = new aiVector2D(AssimpPINVOKE.aiVector2D___addnset__(swigCPtr, aiVector2D.getCPtr(o)), false); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public aiVector2D __subnset__(aiVector2D o) { - aiVector2D ret = new aiVector2D(AssimpPINVOKE.aiVector2D___subnset__(swigCPtr, aiVector2D.getCPtr(o)), false); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public aiVector2D __mulnset__(float f) { - aiVector2D ret = new aiVector2D(AssimpPINVOKE.aiVector2D___mulnset__(swigCPtr, f), false); - return ret; - } - - public aiVector2D __divnset__(float f) { - aiVector2D ret = new aiVector2D(AssimpPINVOKE.aiVector2D___divnset__(swigCPtr, f), false); - return ret; - } - - public float __idx__(uint i) { - float ret = AssimpPINVOKE.aiVector2D___idx____SWIG_0(swigCPtr, i); - return ret; - } - - public bool __equal__(aiVector2D other) { - bool ret = AssimpPINVOKE.aiVector2D___equal__(swigCPtr, aiVector2D.getCPtr(other)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public bool __nequal__(aiVector2D other) { - bool ret = AssimpPINVOKE.aiVector2D___nequal__(swigCPtr, aiVector2D.getCPtr(other)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public aiVector2D __set__(float f) { - aiVector2D ret = new aiVector2D(AssimpPINVOKE.aiVector2D___set__(swigCPtr, f), false); - return ret; - } - - public aiVector2D SymMul(aiVector2D o) { - aiVector2D ret = new aiVector2D(AssimpPINVOKE.aiVector2D_SymMul(swigCPtr, aiVector2D.getCPtr(o)), true); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public float x { - set { - AssimpPINVOKE.aiVector2D_x_set(swigCPtr, value); - } - get { - float ret = AssimpPINVOKE.aiVector2D_x_get(swigCPtr); - return ret; - } - } - - public float y { - set { - AssimpPINVOKE.aiVector2D_y_set(swigCPtr, value); - } - get { - float ret = AssimpPINVOKE.aiVector2D_y_get(swigCPtr); - return ret; - } - } - -} diff --git a/port/Assimp.NET/Assimp.NET_CS/aiVector3D.cs b/port/Assimp.NET/Assimp.NET_CS/aiVector3D.cs deleted file mode 100644 index c09201dbf..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/aiVector3D.cs +++ /dev/null @@ -1,162 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.8 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - - -using System; -using System.Runtime.InteropServices; - -public class aiVector3D : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal aiVector3D(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(aiVector3D obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~aiVector3D() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - AssimpPINVOKE.delete_aiVector3D(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public aiVector3D() : this(AssimpPINVOKE.new_aiVector3D__SWIG_0(), true) { - } - - public aiVector3D(float _x, float _y, float _z) : this(AssimpPINVOKE.new_aiVector3D__SWIG_1(_x, _y, _z), true) { - } - - public aiVector3D(float _xyz) : this(AssimpPINVOKE.new_aiVector3D__SWIG_2(_xyz), true) { - } - - public aiVector3D(aiVector3D o) : this(AssimpPINVOKE.new_aiVector3D__SWIG_3(aiVector3D.getCPtr(o)), true) { - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public aiVector3D __addnset__(aiVector3D o) { - aiVector3D ret = new aiVector3D(AssimpPINVOKE.aiVector3D___addnset__(swigCPtr, aiVector3D.getCPtr(o)), false); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public aiVector3D __subnset__(aiVector3D o) { - aiVector3D ret = new aiVector3D(AssimpPINVOKE.aiVector3D___subnset__(swigCPtr, aiVector3D.getCPtr(o)), false); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public aiVector3D __mulnset__(float f) { - aiVector3D ret = new aiVector3D(AssimpPINVOKE.aiVector3D___mulnset____SWIG_0(swigCPtr, f), false); - return ret; - } - - public aiVector3D __divnset__(float f) { - aiVector3D ret = new aiVector3D(AssimpPINVOKE.aiVector3D___divnset__(swigCPtr, f), false); - return ret; - } - - public aiVector3D __mulnset__(aiMatrix3x3 mat) { - aiVector3D ret = new aiVector3D(AssimpPINVOKE.aiVector3D___mulnset____SWIG_1(swigCPtr, aiMatrix3x3.getCPtr(mat)), false); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public aiVector3D __mulnset__(aiMatrix4x4 mat) { - aiVector3D ret = new aiVector3D(AssimpPINVOKE.aiVector3D___mulnset____SWIG_2(swigCPtr, aiMatrix4x4.getCPtr(mat)), false); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public float __idx__(uint i) { - float ret = AssimpPINVOKE.aiVector3D___idx____SWIG_0(swigCPtr, i); - return ret; - } - - public bool __equal__(aiVector3D other) { - bool ret = AssimpPINVOKE.aiVector3D___equal__(swigCPtr, aiVector3D.getCPtr(other)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public bool __nequal__(aiVector3D other) { - bool ret = AssimpPINVOKE.aiVector3D___nequal__(swigCPtr, aiVector3D.getCPtr(other)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public void Set(float pX, float pY, float pZ) { - AssimpPINVOKE.aiVector3D_Set(swigCPtr, pX, pY, pZ); - } - - public float SquareLength() { - float ret = AssimpPINVOKE.aiVector3D_SquareLength(swigCPtr); - return ret; - } - - public float Length() { - float ret = AssimpPINVOKE.aiVector3D_Length(swigCPtr); - return ret; - } - - public aiVector3D Normalize() { - aiVector3D ret = new aiVector3D(AssimpPINVOKE.aiVector3D_Normalize(swigCPtr), false); - return ret; - } - - public aiVector3D SymMul(aiVector3D o) { - aiVector3D ret = new aiVector3D(AssimpPINVOKE.aiVector3D_SymMul(swigCPtr, aiVector3D.getCPtr(o)), true); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public float x { - set { - AssimpPINVOKE.aiVector3D_x_set(swigCPtr, value); - } - get { - float ret = AssimpPINVOKE.aiVector3D_x_get(swigCPtr); - return ret; - } - } - - public float y { - set { - AssimpPINVOKE.aiVector3D_y_set(swigCPtr, value); - } - get { - float ret = AssimpPINVOKE.aiVector3D_y_get(swigCPtr); - return ret; - } - } - - public float z { - set { - AssimpPINVOKE.aiVector3D_z_set(swigCPtr, value); - } - get { - float ret = AssimpPINVOKE.aiVector3D_z_get(swigCPtr); - return ret; - } - } - -} diff --git a/port/Assimp.NET/Assimp.NET_CS/aiVector3DVector.cs b/port/Assimp.NET/Assimp.NET_CS/aiVector3DVector.cs deleted file mode 100644 index 19e6c958c..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/aiVector3DVector.cs +++ /dev/null @@ -1,348 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.8 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - - -using System; -using System.Runtime.InteropServices; - -public class aiVector3DVector : IDisposable, System.Collections.IEnumerable -#if !SWIG_DOTNET_1 - , System.Collections.Generic.IList -#endif - { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal aiVector3DVector(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(aiVector3DVector obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~aiVector3DVector() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - AssimpPINVOKE.delete_aiVector3DVector(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public aiVector3DVector(System.Collections.ICollection c) : this() { - if (c == null) - throw new ArgumentNullException("c"); - foreach (aiVector3D element in c) { - this.Add(element); - } - } - - public bool IsFixedSize { - get { - return false; - } - } - - public bool IsReadOnly { - get { - return false; - } - } - - public aiVector3D this[int index] { - get { - return getitem(index); - } - set { - setitem(index, value); - } - } - - public int Capacity { - get { - return (int)capacity(); - } - set { - if (value < size()) - throw new ArgumentOutOfRangeException("Capacity"); - reserve((uint)value); - } - } - - public int Count { - get { - return (int)size(); - } - } - - public bool IsSynchronized { - get { - return false; - } - } - -#if SWIG_DOTNET_1 - public void CopyTo(System.Array array) -#else - public void CopyTo(aiVector3D[] array) -#endif - { - CopyTo(0, array, 0, this.Count); - } - -#if SWIG_DOTNET_1 - public void CopyTo(System.Array array, int arrayIndex) -#else - public void CopyTo(aiVector3D[] array, int arrayIndex) -#endif - { - CopyTo(0, array, arrayIndex, this.Count); - } - -#if SWIG_DOTNET_1 - public void CopyTo(int index, System.Array array, int arrayIndex, int count) -#else - public void CopyTo(int index, aiVector3D[] array, int arrayIndex, int count) -#endif - { - if (array == null) - throw new ArgumentNullException("array"); - if (index < 0) - throw new ArgumentOutOfRangeException("index", "Value is less than zero"); - if (arrayIndex < 0) - throw new ArgumentOutOfRangeException("arrayIndex", "Value is less than zero"); - if (count < 0) - throw new ArgumentOutOfRangeException("count", "Value is less than zero"); - if (array.Rank > 1) - throw new ArgumentException("Multi dimensional array.", "array"); - if (index+count > this.Count || arrayIndex+count > array.Length) - throw new ArgumentException("Number of elements to copy is too large."); - for (int i=0; i System.Collections.Generic.IEnumerable.GetEnumerator() { - return new aiVector3DVectorEnumerator(this); - } -#endif - - System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { - return new aiVector3DVectorEnumerator(this); - } - - public aiVector3DVectorEnumerator GetEnumerator() { - return new aiVector3DVectorEnumerator(this); - } - - // Type-safe enumerator - /// Note that the IEnumerator documentation requires an InvalidOperationException to be thrown - /// whenever the collection is modified. This has been done for changes in the size of the - /// collection but not when one of the elements of the collection is modified as it is a bit - /// tricky to detect unmanaged code that modifies the collection under our feet. - public sealed class aiVector3DVectorEnumerator : System.Collections.IEnumerator -#if !SWIG_DOTNET_1 - , System.Collections.Generic.IEnumerator -#endif - { - private aiVector3DVector collectionRef; - private int currentIndex; - private object currentObject; - private int currentSize; - - public aiVector3DVectorEnumerator(aiVector3DVector collection) { - collectionRef = collection; - currentIndex = -1; - currentObject = null; - currentSize = collectionRef.Count; - } - - // Type-safe iterator Current - public aiVector3D Current { - get { - if (currentIndex == -1) - throw new InvalidOperationException("Enumeration not started."); - if (currentIndex > currentSize - 1) - throw new InvalidOperationException("Enumeration finished."); - if (currentObject == null) - throw new InvalidOperationException("Collection modified."); - return (aiVector3D)currentObject; - } - } - - // Type-unsafe IEnumerator.Current - object System.Collections.IEnumerator.Current { - get { - return Current; - } - } - - public bool MoveNext() { - int size = collectionRef.Count; - bool moveOkay = (currentIndex+1 < size) && (size == currentSize); - if (moveOkay) { - currentIndex++; - currentObject = collectionRef[currentIndex]; - } else { - currentObject = null; - } - return moveOkay; - } - - public void Reset() { - currentIndex = -1; - currentObject = null; - if (collectionRef.Count != currentSize) { - throw new InvalidOperationException("Collection modified."); - } - } - -#if !SWIG_DOTNET_1 - public void Dispose() { - currentIndex = -1; - currentObject = null; - } -#endif - } - - public void Clear() { - AssimpPINVOKE.aiVector3DVector_Clear(swigCPtr); - } - - public void Add(aiVector3D x) { - AssimpPINVOKE.aiVector3DVector_Add(swigCPtr, aiVector3D.getCPtr(x)); - } - - private uint size() { - uint ret = AssimpPINVOKE.aiVector3DVector_size(swigCPtr); - return ret; - } - - private uint capacity() { - uint ret = AssimpPINVOKE.aiVector3DVector_capacity(swigCPtr); - return ret; - } - - private void reserve(uint n) { - AssimpPINVOKE.aiVector3DVector_reserve(swigCPtr, n); - } - - public aiVector3DVector() : this(AssimpPINVOKE.new_aiVector3DVector__SWIG_0(), true) { - } - - public aiVector3DVector(aiVector3DVector other) : this(AssimpPINVOKE.new_aiVector3DVector__SWIG_1(aiVector3DVector.getCPtr(other)), true) { - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public aiVector3DVector(int capacity) : this(AssimpPINVOKE.new_aiVector3DVector__SWIG_2(capacity), true) { - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - private aiVector3D getitemcopy(int index) { - IntPtr cPtr = AssimpPINVOKE.aiVector3DVector_getitemcopy(swigCPtr, index); - aiVector3D ret = (cPtr == IntPtr.Zero) ? null : new aiVector3D(cPtr, false); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - private aiVector3D getitem(int index) { - IntPtr cPtr = AssimpPINVOKE.aiVector3DVector_getitem(swigCPtr, index); - aiVector3D ret = (cPtr == IntPtr.Zero) ? null : new aiVector3D(cPtr, false); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - private void setitem(int index, aiVector3D val) { - AssimpPINVOKE.aiVector3DVector_setitem(swigCPtr, index, aiVector3D.getCPtr(val)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void AddRange(aiVector3DVector values) { - AssimpPINVOKE.aiVector3DVector_AddRange(swigCPtr, aiVector3DVector.getCPtr(values)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public aiVector3DVector GetRange(int index, int count) { - IntPtr cPtr = AssimpPINVOKE.aiVector3DVector_GetRange(swigCPtr, index, count); - aiVector3DVector ret = (cPtr == IntPtr.Zero) ? null : new aiVector3DVector(cPtr, true); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public void Insert(int index, aiVector3D x) { - AssimpPINVOKE.aiVector3DVector_Insert(swigCPtr, index, aiVector3D.getCPtr(x)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void InsertRange(int index, aiVector3DVector values) { - AssimpPINVOKE.aiVector3DVector_InsertRange(swigCPtr, index, aiVector3DVector.getCPtr(values)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void RemoveAt(int index) { - AssimpPINVOKE.aiVector3DVector_RemoveAt(swigCPtr, index); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void RemoveRange(int index, int count) { - AssimpPINVOKE.aiVector3DVector_RemoveRange(swigCPtr, index, count); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public static aiVector3DVector Repeat(aiVector3D value, int count) { - IntPtr cPtr = AssimpPINVOKE.aiVector3DVector_Repeat(aiVector3D.getCPtr(value), count); - aiVector3DVector ret = (cPtr == IntPtr.Zero) ? null : new aiVector3DVector(cPtr, true); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public void Reverse() { - AssimpPINVOKE.aiVector3DVector_Reverse__SWIG_0(swigCPtr); - } - - public void Reverse(int index, int count) { - AssimpPINVOKE.aiVector3DVector_Reverse__SWIG_1(swigCPtr, index, count); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void SetRange(int index, aiVector3DVector values) { - AssimpPINVOKE.aiVector3DVector_SetRange(swigCPtr, index, aiVector3DVector.getCPtr(values)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public bool Contains(aiVector3D value) { - bool ret = AssimpPINVOKE.aiVector3DVector_Contains(swigCPtr, aiVector3D.getCPtr(value)); - return ret; - } - - public int IndexOf(aiVector3D value) { - int ret = AssimpPINVOKE.aiVector3DVector_IndexOf(swigCPtr, aiVector3D.getCPtr(value)); - return ret; - } - - public int LastIndexOf(aiVector3D value) { - int ret = AssimpPINVOKE.aiVector3DVector_LastIndexOf(swigCPtr, aiVector3D.getCPtr(value)); - return ret; - } - - public bool Remove(aiVector3D value) { - bool ret = AssimpPINVOKE.aiVector3DVector_Remove(swigCPtr, aiVector3D.getCPtr(value)); - return ret; - } - -} diff --git a/port/Assimp.NET/Assimp.NET_CS/aiVector3DVectorVector.cs b/port/Assimp.NET/Assimp.NET_CS/aiVector3DVectorVector.cs deleted file mode 100644 index 6326be345..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/aiVector3DVectorVector.cs +++ /dev/null @@ -1,327 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.8 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - - -using System; -using System.Runtime.InteropServices; - -public class aiVector3DVectorVector : IDisposable, System.Collections.IEnumerable -#if !SWIG_DOTNET_1 - , System.Collections.Generic.IEnumerable -#endif - { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal aiVector3DVectorVector(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(aiVector3DVectorVector obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~aiVector3DVectorVector() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - AssimpPINVOKE.delete_aiVector3DVectorVector(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public aiVector3DVectorVector(System.Collections.ICollection c) : this() { - if (c == null) - throw new ArgumentNullException("c"); - foreach (aiVector3DVector element in c) { - this.Add(element); - } - } - - public bool IsFixedSize { - get { - return false; - } - } - - public bool IsReadOnly { - get { - return false; - } - } - - public aiVector3DVector this[int index] { - get { - return getitem(index); - } - set { - setitem(index, value); - } - } - - public int Capacity { - get { - return (int)capacity(); - } - set { - if (value < size()) - throw new ArgumentOutOfRangeException("Capacity"); - reserve((uint)value); - } - } - - public int Count { - get { - return (int)size(); - } - } - - public bool IsSynchronized { - get { - return false; - } - } - -#if SWIG_DOTNET_1 - public void CopyTo(System.Array array) -#else - public void CopyTo(aiVector3DVector[] array) -#endif - { - CopyTo(0, array, 0, this.Count); - } - -#if SWIG_DOTNET_1 - public void CopyTo(System.Array array, int arrayIndex) -#else - public void CopyTo(aiVector3DVector[] array, int arrayIndex) -#endif - { - CopyTo(0, array, arrayIndex, this.Count); - } - -#if SWIG_DOTNET_1 - public void CopyTo(int index, System.Array array, int arrayIndex, int count) -#else - public void CopyTo(int index, aiVector3DVector[] array, int arrayIndex, int count) -#endif - { - if (array == null) - throw new ArgumentNullException("array"); - if (index < 0) - throw new ArgumentOutOfRangeException("index", "Value is less than zero"); - if (arrayIndex < 0) - throw new ArgumentOutOfRangeException("arrayIndex", "Value is less than zero"); - if (count < 0) - throw new ArgumentOutOfRangeException("count", "Value is less than zero"); - if (array.Rank > 1) - throw new ArgumentException("Multi dimensional array.", "array"); - if (index+count > this.Count || arrayIndex+count > array.Length) - throw new ArgumentException("Number of elements to copy is too large."); - for (int i=0; i System.Collections.Generic.IEnumerable.GetEnumerator() { - return new aiVector3DVectorVectorEnumerator(this); - } -#endif - - System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { - return new aiVector3DVectorVectorEnumerator(this); - } - - public aiVector3DVectorVectorEnumerator GetEnumerator() { - return new aiVector3DVectorVectorEnumerator(this); - } - - // Type-safe enumerator - /// Note that the IEnumerator documentation requires an InvalidOperationException to be thrown - /// whenever the collection is modified. This has been done for changes in the size of the - /// collection but not when one of the elements of the collection is modified as it is a bit - /// tricky to detect unmanaged code that modifies the collection under our feet. - public sealed class aiVector3DVectorVectorEnumerator : System.Collections.IEnumerator -#if !SWIG_DOTNET_1 - , System.Collections.Generic.IEnumerator -#endif - { - private aiVector3DVectorVector collectionRef; - private int currentIndex; - private object currentObject; - private int currentSize; - - public aiVector3DVectorVectorEnumerator(aiVector3DVectorVector collection) { - collectionRef = collection; - currentIndex = -1; - currentObject = null; - currentSize = collectionRef.Count; - } - - // Type-safe iterator Current - public aiVector3DVector Current { - get { - if (currentIndex == -1) - throw new InvalidOperationException("Enumeration not started."); - if (currentIndex > currentSize - 1) - throw new InvalidOperationException("Enumeration finished."); - if (currentObject == null) - throw new InvalidOperationException("Collection modified."); - return (aiVector3DVector)currentObject; - } - } - - // Type-unsafe IEnumerator.Current - object System.Collections.IEnumerator.Current { - get { - return Current; - } - } - - public bool MoveNext() { - int size = collectionRef.Count; - bool moveOkay = (currentIndex+1 < size) && (size == currentSize); - if (moveOkay) { - currentIndex++; - currentObject = collectionRef[currentIndex]; - } else { - currentObject = null; - } - return moveOkay; - } - - public void Reset() { - currentIndex = -1; - currentObject = null; - if (collectionRef.Count != currentSize) { - throw new InvalidOperationException("Collection modified."); - } - } - -#if !SWIG_DOTNET_1 - public void Dispose() { - currentIndex = -1; - currentObject = null; - } -#endif - } - - public void Clear() { - AssimpPINVOKE.aiVector3DVectorVector_Clear(swigCPtr); - } - - public void Add(aiVector3DVector x) { - AssimpPINVOKE.aiVector3DVectorVector_Add(swigCPtr, aiVector3DVector.getCPtr(x)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - private uint size() { - uint ret = AssimpPINVOKE.aiVector3DVectorVector_size(swigCPtr); - return ret; - } - - private uint capacity() { - uint ret = AssimpPINVOKE.aiVector3DVectorVector_capacity(swigCPtr); - return ret; - } - - private void reserve(uint n) { - AssimpPINVOKE.aiVector3DVectorVector_reserve(swigCPtr, n); - } - - public aiVector3DVectorVector() : this(AssimpPINVOKE.new_aiVector3DVectorVector__SWIG_0(), true) { - } - - public aiVector3DVectorVector(aiVector3DVectorVector other) : this(AssimpPINVOKE.new_aiVector3DVectorVector__SWIG_1(aiVector3DVectorVector.getCPtr(other)), true) { - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public aiVector3DVectorVector(int capacity) : this(AssimpPINVOKE.new_aiVector3DVectorVector__SWIG_2(capacity), true) { - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - private aiVector3DVector getitemcopy(int index) { - aiVector3DVector ret = new aiVector3DVector(AssimpPINVOKE.aiVector3DVectorVector_getitemcopy(swigCPtr, index), true); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - private aiVector3DVector getitem(int index) { - aiVector3DVector ret = new aiVector3DVector(AssimpPINVOKE.aiVector3DVectorVector_getitem(swigCPtr, index), false); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - private void setitem(int index, aiVector3DVector val) { - AssimpPINVOKE.aiVector3DVectorVector_setitem(swigCPtr, index, aiVector3DVector.getCPtr(val)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void AddRange(aiVector3DVectorVector values) { - AssimpPINVOKE.aiVector3DVectorVector_AddRange(swigCPtr, aiVector3DVectorVector.getCPtr(values)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public aiVector3DVectorVector GetRange(int index, int count) { - IntPtr cPtr = AssimpPINVOKE.aiVector3DVectorVector_GetRange(swigCPtr, index, count); - aiVector3DVectorVector ret = (cPtr == IntPtr.Zero) ? null : new aiVector3DVectorVector(cPtr, true); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public void Insert(int index, aiVector3DVector x) { - AssimpPINVOKE.aiVector3DVectorVector_Insert(swigCPtr, index, aiVector3DVector.getCPtr(x)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void InsertRange(int index, aiVector3DVectorVector values) { - AssimpPINVOKE.aiVector3DVectorVector_InsertRange(swigCPtr, index, aiVector3DVectorVector.getCPtr(values)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void RemoveAt(int index) { - AssimpPINVOKE.aiVector3DVectorVector_RemoveAt(swigCPtr, index); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void RemoveRange(int index, int count) { - AssimpPINVOKE.aiVector3DVectorVector_RemoveRange(swigCPtr, index, count); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public static aiVector3DVectorVector Repeat(aiVector3DVector value, int count) { - IntPtr cPtr = AssimpPINVOKE.aiVector3DVectorVector_Repeat(aiVector3DVector.getCPtr(value), count); - aiVector3DVectorVector ret = (cPtr == IntPtr.Zero) ? null : new aiVector3DVectorVector(cPtr, true); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public void Reverse() { - AssimpPINVOKE.aiVector3DVectorVector_Reverse__SWIG_0(swigCPtr); - } - - public void Reverse(int index, int count) { - AssimpPINVOKE.aiVector3DVectorVector_Reverse__SWIG_1(swigCPtr, index, count); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void SetRange(int index, aiVector3DVectorVector values) { - AssimpPINVOKE.aiVector3DVectorVector_SetRange(swigCPtr, index, aiVector3DVectorVector.getCPtr(values)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - -} diff --git a/port/Assimp.NET/Assimp.NET_CS/aiVectorKey.cs b/port/Assimp.NET/Assimp.NET_CS/aiVectorKey.cs deleted file mode 100644 index 13eb78c8f..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/aiVectorKey.cs +++ /dev/null @@ -1,95 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.8 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - - -using System; -using System.Runtime.InteropServices; - -public class aiVectorKey : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal aiVectorKey(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(aiVectorKey obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~aiVectorKey() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - AssimpPINVOKE.delete_aiVectorKey(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public double mTime { - set { - AssimpPINVOKE.aiVectorKey_mTime_set(swigCPtr, value); - } - get { - double ret = AssimpPINVOKE.aiVectorKey_mTime_get(swigCPtr); - return ret; - } - } - - public aiVector3D mValue { - set { - AssimpPINVOKE.aiVectorKey_mValue_set(swigCPtr, aiVector3D.getCPtr(value)); - } - get { - IntPtr cPtr = AssimpPINVOKE.aiVectorKey_mValue_get(swigCPtr); - aiVector3D ret = (cPtr == IntPtr.Zero) ? null : new aiVector3D(cPtr, false); - return ret; - } - } - - public aiVectorKey() : this(AssimpPINVOKE.new_aiVectorKey__SWIG_0(), true) { - } - - public aiVectorKey(double time, aiVector3D value) : this(AssimpPINVOKE.new_aiVectorKey__SWIG_1(time, aiVector3D.getCPtr(value)), true) { - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public bool __equal__(aiVectorKey o) { - bool ret = AssimpPINVOKE.aiVectorKey___equal__(swigCPtr, aiVectorKey.getCPtr(o)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public bool __nequal__(aiVectorKey o) { - bool ret = AssimpPINVOKE.aiVectorKey___nequal__(swigCPtr, aiVectorKey.getCPtr(o)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public bool __smaller__(aiVectorKey o) { - bool ret = AssimpPINVOKE.aiVectorKey___smaller__(swigCPtr, aiVectorKey.getCPtr(o)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public bool __greater__(aiVectorKey o) { - bool ret = AssimpPINVOKE.aiVectorKey___greater__(swigCPtr, aiVectorKey.getCPtr(o)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - -} diff --git a/port/Assimp.NET/Assimp.NET_CS/aiVectorKeyVector.cs b/port/Assimp.NET/Assimp.NET_CS/aiVectorKeyVector.cs deleted file mode 100644 index aee1d002e..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/aiVectorKeyVector.cs +++ /dev/null @@ -1,348 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.8 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - - -using System; -using System.Runtime.InteropServices; - -public class aiVectorKeyVector : IDisposable, System.Collections.IEnumerable -#if !SWIG_DOTNET_1 - , System.Collections.Generic.IList -#endif - { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal aiVectorKeyVector(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(aiVectorKeyVector obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~aiVectorKeyVector() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - AssimpPINVOKE.delete_aiVectorKeyVector(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public aiVectorKeyVector(System.Collections.ICollection c) : this() { - if (c == null) - throw new ArgumentNullException("c"); - foreach (aiVectorKey element in c) { - this.Add(element); - } - } - - public bool IsFixedSize { - get { - return false; - } - } - - public bool IsReadOnly { - get { - return false; - } - } - - public aiVectorKey this[int index] { - get { - return getitem(index); - } - set { - setitem(index, value); - } - } - - public int Capacity { - get { - return (int)capacity(); - } - set { - if (value < size()) - throw new ArgumentOutOfRangeException("Capacity"); - reserve((uint)value); - } - } - - public int Count { - get { - return (int)size(); - } - } - - public bool IsSynchronized { - get { - return false; - } - } - -#if SWIG_DOTNET_1 - public void CopyTo(System.Array array) -#else - public void CopyTo(aiVectorKey[] array) -#endif - { - CopyTo(0, array, 0, this.Count); - } - -#if SWIG_DOTNET_1 - public void CopyTo(System.Array array, int arrayIndex) -#else - public void CopyTo(aiVectorKey[] array, int arrayIndex) -#endif - { - CopyTo(0, array, arrayIndex, this.Count); - } - -#if SWIG_DOTNET_1 - public void CopyTo(int index, System.Array array, int arrayIndex, int count) -#else - public void CopyTo(int index, aiVectorKey[] array, int arrayIndex, int count) -#endif - { - if (array == null) - throw new ArgumentNullException("array"); - if (index < 0) - throw new ArgumentOutOfRangeException("index", "Value is less than zero"); - if (arrayIndex < 0) - throw new ArgumentOutOfRangeException("arrayIndex", "Value is less than zero"); - if (count < 0) - throw new ArgumentOutOfRangeException("count", "Value is less than zero"); - if (array.Rank > 1) - throw new ArgumentException("Multi dimensional array.", "array"); - if (index+count > this.Count || arrayIndex+count > array.Length) - throw new ArgumentException("Number of elements to copy is too large."); - for (int i=0; i System.Collections.Generic.IEnumerable.GetEnumerator() { - return new aiVectorKeyVectorEnumerator(this); - } -#endif - - System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { - return new aiVectorKeyVectorEnumerator(this); - } - - public aiVectorKeyVectorEnumerator GetEnumerator() { - return new aiVectorKeyVectorEnumerator(this); - } - - // Type-safe enumerator - /// Note that the IEnumerator documentation requires an InvalidOperationException to be thrown - /// whenever the collection is modified. This has been done for changes in the size of the - /// collection but not when one of the elements of the collection is modified as it is a bit - /// tricky to detect unmanaged code that modifies the collection under our feet. - public sealed class aiVectorKeyVectorEnumerator : System.Collections.IEnumerator -#if !SWIG_DOTNET_1 - , System.Collections.Generic.IEnumerator -#endif - { - private aiVectorKeyVector collectionRef; - private int currentIndex; - private object currentObject; - private int currentSize; - - public aiVectorKeyVectorEnumerator(aiVectorKeyVector collection) { - collectionRef = collection; - currentIndex = -1; - currentObject = null; - currentSize = collectionRef.Count; - } - - // Type-safe iterator Current - public aiVectorKey Current { - get { - if (currentIndex == -1) - throw new InvalidOperationException("Enumeration not started."); - if (currentIndex > currentSize - 1) - throw new InvalidOperationException("Enumeration finished."); - if (currentObject == null) - throw new InvalidOperationException("Collection modified."); - return (aiVectorKey)currentObject; - } - } - - // Type-unsafe IEnumerator.Current - object System.Collections.IEnumerator.Current { - get { - return Current; - } - } - - public bool MoveNext() { - int size = collectionRef.Count; - bool moveOkay = (currentIndex+1 < size) && (size == currentSize); - if (moveOkay) { - currentIndex++; - currentObject = collectionRef[currentIndex]; - } else { - currentObject = null; - } - return moveOkay; - } - - public void Reset() { - currentIndex = -1; - currentObject = null; - if (collectionRef.Count != currentSize) { - throw new InvalidOperationException("Collection modified."); - } - } - -#if !SWIG_DOTNET_1 - public void Dispose() { - currentIndex = -1; - currentObject = null; - } -#endif - } - - public void Clear() { - AssimpPINVOKE.aiVectorKeyVector_Clear(swigCPtr); - } - - public void Add(aiVectorKey x) { - AssimpPINVOKE.aiVectorKeyVector_Add(swigCPtr, aiVectorKey.getCPtr(x)); - } - - private uint size() { - uint ret = AssimpPINVOKE.aiVectorKeyVector_size(swigCPtr); - return ret; - } - - private uint capacity() { - uint ret = AssimpPINVOKE.aiVectorKeyVector_capacity(swigCPtr); - return ret; - } - - private void reserve(uint n) { - AssimpPINVOKE.aiVectorKeyVector_reserve(swigCPtr, n); - } - - public aiVectorKeyVector() : this(AssimpPINVOKE.new_aiVectorKeyVector__SWIG_0(), true) { - } - - public aiVectorKeyVector(aiVectorKeyVector other) : this(AssimpPINVOKE.new_aiVectorKeyVector__SWIG_1(aiVectorKeyVector.getCPtr(other)), true) { - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public aiVectorKeyVector(int capacity) : this(AssimpPINVOKE.new_aiVectorKeyVector__SWIG_2(capacity), true) { - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - private aiVectorKey getitemcopy(int index) { - IntPtr cPtr = AssimpPINVOKE.aiVectorKeyVector_getitemcopy(swigCPtr, index); - aiVectorKey ret = (cPtr == IntPtr.Zero) ? null : new aiVectorKey(cPtr, false); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - private aiVectorKey getitem(int index) { - IntPtr cPtr = AssimpPINVOKE.aiVectorKeyVector_getitem(swigCPtr, index); - aiVectorKey ret = (cPtr == IntPtr.Zero) ? null : new aiVectorKey(cPtr, false); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - private void setitem(int index, aiVectorKey val) { - AssimpPINVOKE.aiVectorKeyVector_setitem(swigCPtr, index, aiVectorKey.getCPtr(val)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void AddRange(aiVectorKeyVector values) { - AssimpPINVOKE.aiVectorKeyVector_AddRange(swigCPtr, aiVectorKeyVector.getCPtr(values)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public aiVectorKeyVector GetRange(int index, int count) { - IntPtr cPtr = AssimpPINVOKE.aiVectorKeyVector_GetRange(swigCPtr, index, count); - aiVectorKeyVector ret = (cPtr == IntPtr.Zero) ? null : new aiVectorKeyVector(cPtr, true); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public void Insert(int index, aiVectorKey x) { - AssimpPINVOKE.aiVectorKeyVector_Insert(swigCPtr, index, aiVectorKey.getCPtr(x)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void InsertRange(int index, aiVectorKeyVector values) { - AssimpPINVOKE.aiVectorKeyVector_InsertRange(swigCPtr, index, aiVectorKeyVector.getCPtr(values)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void RemoveAt(int index) { - AssimpPINVOKE.aiVectorKeyVector_RemoveAt(swigCPtr, index); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void RemoveRange(int index, int count) { - AssimpPINVOKE.aiVectorKeyVector_RemoveRange(swigCPtr, index, count); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public static aiVectorKeyVector Repeat(aiVectorKey value, int count) { - IntPtr cPtr = AssimpPINVOKE.aiVectorKeyVector_Repeat(aiVectorKey.getCPtr(value), count); - aiVectorKeyVector ret = (cPtr == IntPtr.Zero) ? null : new aiVectorKeyVector(cPtr, true); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public void Reverse() { - AssimpPINVOKE.aiVectorKeyVector_Reverse__SWIG_0(swigCPtr); - } - - public void Reverse(int index, int count) { - AssimpPINVOKE.aiVectorKeyVector_Reverse__SWIG_1(swigCPtr, index, count); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void SetRange(int index, aiVectorKeyVector values) { - AssimpPINVOKE.aiVectorKeyVector_SetRange(swigCPtr, index, aiVectorKeyVector.getCPtr(values)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public bool Contains(aiVectorKey value) { - bool ret = AssimpPINVOKE.aiVectorKeyVector_Contains(swigCPtr, aiVectorKey.getCPtr(value)); - return ret; - } - - public int IndexOf(aiVectorKey value) { - int ret = AssimpPINVOKE.aiVectorKeyVector_IndexOf(swigCPtr, aiVectorKey.getCPtr(value)); - return ret; - } - - public int LastIndexOf(aiVectorKey value) { - int ret = AssimpPINVOKE.aiVectorKeyVector_LastIndexOf(swigCPtr, aiVectorKey.getCPtr(value)); - return ret; - } - - public bool Remove(aiVectorKey value) { - bool ret = AssimpPINVOKE.aiVectorKeyVector_Remove(swigCPtr, aiVectorKey.getCPtr(value)); - return ret; - } - -} diff --git a/port/Assimp.NET/Assimp.NET_CS/aiVertexWeight.cs b/port/Assimp.NET/Assimp.NET_CS/aiVertexWeight.cs deleted file mode 100644 index ddb2c4efb..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/aiVertexWeight.cs +++ /dev/null @@ -1,69 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.8 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - - -using System; -using System.Runtime.InteropServices; - -public class aiVertexWeight : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal aiVertexWeight(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(aiVertexWeight obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~aiVertexWeight() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - AssimpPINVOKE.delete_aiVertexWeight(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public uint mVertexId { - set { - AssimpPINVOKE.aiVertexWeight_mVertexId_set(swigCPtr, value); - } - get { - uint ret = AssimpPINVOKE.aiVertexWeight_mVertexId_get(swigCPtr); - return ret; - } - } - - public float mWeight { - set { - AssimpPINVOKE.aiVertexWeight_mWeight_set(swigCPtr, value); - } - get { - float ret = AssimpPINVOKE.aiVertexWeight_mWeight_get(swigCPtr); - return ret; - } - } - - public aiVertexWeight() : this(AssimpPINVOKE.new_aiVertexWeight__SWIG_0(), true) { - } - - public aiVertexWeight(uint pID, float pWeight) : this(AssimpPINVOKE.new_aiVertexWeight__SWIG_1(pID, pWeight), true) { - } - -} diff --git a/port/Assimp.NET/Assimp.NET_CS/aiVertexWeightVector.cs b/port/Assimp.NET/Assimp.NET_CS/aiVertexWeightVector.cs deleted file mode 100644 index bcdb1ca92..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/aiVertexWeightVector.cs +++ /dev/null @@ -1,348 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.8 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - - -using System; -using System.Runtime.InteropServices; - -public class aiVertexWeightVector : IDisposable, System.Collections.IEnumerable -#if !SWIG_DOTNET_1 - , System.Collections.Generic.IList -#endif - { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal aiVertexWeightVector(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(aiVertexWeightVector obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~aiVertexWeightVector() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - AssimpPINVOKE.delete_aiVertexWeightVector(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public aiVertexWeightVector(System.Collections.ICollection c) : this() { - if (c == null) - throw new ArgumentNullException("c"); - foreach (aiVertexWeight element in c) { - this.Add(element); - } - } - - public bool IsFixedSize { - get { - return false; - } - } - - public bool IsReadOnly { - get { - return false; - } - } - - public aiVertexWeight this[int index] { - get { - return getitem(index); - } - set { - setitem(index, value); - } - } - - public int Capacity { - get { - return (int)capacity(); - } - set { - if (value < size()) - throw new ArgumentOutOfRangeException("Capacity"); - reserve((uint)value); - } - } - - public int Count { - get { - return (int)size(); - } - } - - public bool IsSynchronized { - get { - return false; - } - } - -#if SWIG_DOTNET_1 - public void CopyTo(System.Array array) -#else - public void CopyTo(aiVertexWeight[] array) -#endif - { - CopyTo(0, array, 0, this.Count); - } - -#if SWIG_DOTNET_1 - public void CopyTo(System.Array array, int arrayIndex) -#else - public void CopyTo(aiVertexWeight[] array, int arrayIndex) -#endif - { - CopyTo(0, array, arrayIndex, this.Count); - } - -#if SWIG_DOTNET_1 - public void CopyTo(int index, System.Array array, int arrayIndex, int count) -#else - public void CopyTo(int index, aiVertexWeight[] array, int arrayIndex, int count) -#endif - { - if (array == null) - throw new ArgumentNullException("array"); - if (index < 0) - throw new ArgumentOutOfRangeException("index", "Value is less than zero"); - if (arrayIndex < 0) - throw new ArgumentOutOfRangeException("arrayIndex", "Value is less than zero"); - if (count < 0) - throw new ArgumentOutOfRangeException("count", "Value is less than zero"); - if (array.Rank > 1) - throw new ArgumentException("Multi dimensional array.", "array"); - if (index+count > this.Count || arrayIndex+count > array.Length) - throw new ArgumentException("Number of elements to copy is too large."); - for (int i=0; i System.Collections.Generic.IEnumerable.GetEnumerator() { - return new aiVertexWeightVectorEnumerator(this); - } -#endif - - System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { - return new aiVertexWeightVectorEnumerator(this); - } - - public aiVertexWeightVectorEnumerator GetEnumerator() { - return new aiVertexWeightVectorEnumerator(this); - } - - // Type-safe enumerator - /// Note that the IEnumerator documentation requires an InvalidOperationException to be thrown - /// whenever the collection is modified. This has been done for changes in the size of the - /// collection but not when one of the elements of the collection is modified as it is a bit - /// tricky to detect unmanaged code that modifies the collection under our feet. - public sealed class aiVertexWeightVectorEnumerator : System.Collections.IEnumerator -#if !SWIG_DOTNET_1 - , System.Collections.Generic.IEnumerator -#endif - { - private aiVertexWeightVector collectionRef; - private int currentIndex; - private object currentObject; - private int currentSize; - - public aiVertexWeightVectorEnumerator(aiVertexWeightVector collection) { - collectionRef = collection; - currentIndex = -1; - currentObject = null; - currentSize = collectionRef.Count; - } - - // Type-safe iterator Current - public aiVertexWeight Current { - get { - if (currentIndex == -1) - throw new InvalidOperationException("Enumeration not started."); - if (currentIndex > currentSize - 1) - throw new InvalidOperationException("Enumeration finished."); - if (currentObject == null) - throw new InvalidOperationException("Collection modified."); - return (aiVertexWeight)currentObject; - } - } - - // Type-unsafe IEnumerator.Current - object System.Collections.IEnumerator.Current { - get { - return Current; - } - } - - public bool MoveNext() { - int size = collectionRef.Count; - bool moveOkay = (currentIndex+1 < size) && (size == currentSize); - if (moveOkay) { - currentIndex++; - currentObject = collectionRef[currentIndex]; - } else { - currentObject = null; - } - return moveOkay; - } - - public void Reset() { - currentIndex = -1; - currentObject = null; - if (collectionRef.Count != currentSize) { - throw new InvalidOperationException("Collection modified."); - } - } - -#if !SWIG_DOTNET_1 - public void Dispose() { - currentIndex = -1; - currentObject = null; - } -#endif - } - - public void Clear() { - AssimpPINVOKE.aiVertexWeightVector_Clear(swigCPtr); - } - - public void Add(aiVertexWeight x) { - AssimpPINVOKE.aiVertexWeightVector_Add(swigCPtr, aiVertexWeight.getCPtr(x)); - } - - private uint size() { - uint ret = AssimpPINVOKE.aiVertexWeightVector_size(swigCPtr); - return ret; - } - - private uint capacity() { - uint ret = AssimpPINVOKE.aiVertexWeightVector_capacity(swigCPtr); - return ret; - } - - private void reserve(uint n) { - AssimpPINVOKE.aiVertexWeightVector_reserve(swigCPtr, n); - } - - public aiVertexWeightVector() : this(AssimpPINVOKE.new_aiVertexWeightVector__SWIG_0(), true) { - } - - public aiVertexWeightVector(aiVertexWeightVector other) : this(AssimpPINVOKE.new_aiVertexWeightVector__SWIG_1(aiVertexWeightVector.getCPtr(other)), true) { - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public aiVertexWeightVector(int capacity) : this(AssimpPINVOKE.new_aiVertexWeightVector__SWIG_2(capacity), true) { - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - private aiVertexWeight getitemcopy(int index) { - IntPtr cPtr = AssimpPINVOKE.aiVertexWeightVector_getitemcopy(swigCPtr, index); - aiVertexWeight ret = (cPtr == IntPtr.Zero) ? null : new aiVertexWeight(cPtr, false); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - private aiVertexWeight getitem(int index) { - IntPtr cPtr = AssimpPINVOKE.aiVertexWeightVector_getitem(swigCPtr, index); - aiVertexWeight ret = (cPtr == IntPtr.Zero) ? null : new aiVertexWeight(cPtr, false); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - private void setitem(int index, aiVertexWeight val) { - AssimpPINVOKE.aiVertexWeightVector_setitem(swigCPtr, index, aiVertexWeight.getCPtr(val)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void AddRange(aiVertexWeightVector values) { - AssimpPINVOKE.aiVertexWeightVector_AddRange(swigCPtr, aiVertexWeightVector.getCPtr(values)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public aiVertexWeightVector GetRange(int index, int count) { - IntPtr cPtr = AssimpPINVOKE.aiVertexWeightVector_GetRange(swigCPtr, index, count); - aiVertexWeightVector ret = (cPtr == IntPtr.Zero) ? null : new aiVertexWeightVector(cPtr, true); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public void Insert(int index, aiVertexWeight x) { - AssimpPINVOKE.aiVertexWeightVector_Insert(swigCPtr, index, aiVertexWeight.getCPtr(x)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void InsertRange(int index, aiVertexWeightVector values) { - AssimpPINVOKE.aiVertexWeightVector_InsertRange(swigCPtr, index, aiVertexWeightVector.getCPtr(values)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void RemoveAt(int index) { - AssimpPINVOKE.aiVertexWeightVector_RemoveAt(swigCPtr, index); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void RemoveRange(int index, int count) { - AssimpPINVOKE.aiVertexWeightVector_RemoveRange(swigCPtr, index, count); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public static aiVertexWeightVector Repeat(aiVertexWeight value, int count) { - IntPtr cPtr = AssimpPINVOKE.aiVertexWeightVector_Repeat(aiVertexWeight.getCPtr(value), count); - aiVertexWeightVector ret = (cPtr == IntPtr.Zero) ? null : new aiVertexWeightVector(cPtr, true); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public void Reverse() { - AssimpPINVOKE.aiVertexWeightVector_Reverse__SWIG_0(swigCPtr); - } - - public void Reverse(int index, int count) { - AssimpPINVOKE.aiVertexWeightVector_Reverse__SWIG_1(swigCPtr, index, count); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void SetRange(int index, aiVertexWeightVector values) { - AssimpPINVOKE.aiVertexWeightVector_SetRange(swigCPtr, index, aiVertexWeightVector.getCPtr(values)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public bool Contains(aiVertexWeight value) { - bool ret = AssimpPINVOKE.aiVertexWeightVector_Contains(swigCPtr, aiVertexWeight.getCPtr(value)); - return ret; - } - - public int IndexOf(aiVertexWeight value) { - int ret = AssimpPINVOKE.aiVertexWeightVector_IndexOf(swigCPtr, aiVertexWeight.getCPtr(value)); - return ret; - } - - public int LastIndexOf(aiVertexWeight value) { - int ret = AssimpPINVOKE.aiVertexWeightVector_LastIndexOf(swigCPtr, aiVertexWeight.getCPtr(value)); - return ret; - } - - public bool Remove(aiVertexWeight value) { - bool ret = AssimpPINVOKE.aiVertexWeightVector_Remove(swigCPtr, aiVertexWeight.getCPtr(value)); - return ret; - } - -} diff --git a/port/Assimp.NET/Assimp.NET_CS/app.config b/port/Assimp.NET/Assimp.NET_CS/app.config deleted file mode 100644 index b7db28170..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/app.config +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/port/Assimp.NET/Assimp.NET_DEMO/Assimp.NET_DEMO.csproj b/port/Assimp.NET/Assimp.NET_DEMO/Assimp.NET_DEMO.csproj deleted file mode 100644 index b1df7341c..000000000 --- a/port/Assimp.NET/Assimp.NET_DEMO/Assimp.NET_DEMO.csproj +++ /dev/null @@ -1,172 +0,0 @@ - - - - Debug - AnyCPU - 9.0.21022 - 2.0 - {B2813591-1491-4C99-B6E2-67B484411AFC} - WinExe - Properties - Assimp.Viewer - Assimp.Viewer - v3.5 - 512 - Assimp.Viewer.Program - publish\ - true - Disk - false - Foreground - 7 - Days - false - false - true - 0 - 1.0.0.%2a - false - false - true - - - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - x86 - false - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - true - bin\x86\Debug\ - DEBUG;TRACE - full - x86 - prompt - - - bin\x86\Release\ - TRACE - true - pdbonly - x86 - prompt - - - - - - - - - - - 3.5 - - - - - 3.5 - - - 3.5 - - - - - - - - - - Form - - - AssimpView.cs - - - - - Form - - - - - AssimpView.cs - - - ResXFileCodeGenerator - Resources.Designer.cs - Designer - - - True - Resources.resx - True - - - - SettingsSingleFileGenerator - Settings.Designer.cs - - - True - Settings.settings - True - - - - - {A86A8AF2-3B4D-4381-BB01-9CA2AE88450E} - Assimp_NET - - - {A0CE9ED2-A27E-40AE-95F5-FEF94BB7E131} - Assimp.NET_CS - - - - - False - .NET Framework 2.0 %28x86%29 - false - - - False - .NET Framework 3.0 %28x86%29 - false - - - False - .NET Framework 3.5 - true - - - False - Windows Installer 3.1 - true - - - - - \ No newline at end of file diff --git a/port/Assimp.NET/Assimp.NET_DEMO/Assimp.NET_DEMO.csproj.user b/port/Assimp.NET/Assimp.NET_DEMO/Assimp.NET_DEMO.csproj.user deleted file mode 100644 index 3b27fb449..000000000 --- a/port/Assimp.NET/Assimp.NET_DEMO/Assimp.NET_DEMO.csproj.user +++ /dev/null @@ -1,18 +0,0 @@ - - - false - - - publish\ - - - - - - - - - de-DE - false - - \ No newline at end of file diff --git a/port/Assimp.NET/Assimp.NET_DEMO/AssimpView.Designer.cs b/port/Assimp.NET/Assimp.NET_DEMO/AssimpView.Designer.cs deleted file mode 100644 index 8ab6aee57..000000000 --- a/port/Assimp.NET/Assimp.NET_DEMO/AssimpView.Designer.cs +++ /dev/null @@ -1,90 +0,0 @@ -/* ---------------------------------------------------------------------------- -Open Asset Import Library (ASSIMP) ---------------------------------------------------------------------------- - -Copyright (c) 2006-2010, ASSIMP Development Team - -All rights reserved. - -Redistribution and use of this software 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 ASSIMP team, nor the names of its - contributors may be used to endorse or promote products - derived from this software without specific prior - written permission of the ASSIMP Development Team. - -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. ---------------------------------------------------------------------------- -*/ -namespace Assimp.Viewer -{ - partial class AssimpView - { - /// - /// Erforderliche Designervariable. - /// - private System.ComponentModel.IContainer components = null; - - /// - /// Verwendete Ressourcen bereinigen. - /// - /// True, wenn verwaltete Ressourcen gelöscht werden sollen; andernfalls False. - protected override void Dispose(bool disposing) - { - if (disposing && (components != null)) - { - components.Dispose(); - } - base.Dispose(disposing); - } - - #region Vom Windows Form-Designer generierter Code - - /// - /// Erforderliche Methode für die Designerunterstützung. - /// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden. - /// - private void InitializeComponent() - { - this.SuspendLayout(); - // - // Form1 - // - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(735, 380); - this.Name = "Form1"; - this.Text = "Form1"; - this.Load += new System.EventHandler(this.Form1_Load); - this.SizeChanged += new System.EventHandler(this.Form1_SizeChanged); - this.ResumeLayout(false); - - } - - #endregion - - } -} - diff --git a/port/Assimp.NET/Assimp.NET_DEMO/AssimpView.cs b/port/Assimp.NET/Assimp.NET_DEMO/AssimpView.cs deleted file mode 100644 index 270494fa4..000000000 --- a/port/Assimp.NET/Assimp.NET_DEMO/AssimpView.cs +++ /dev/null @@ -1,496 +0,0 @@ -/* ---------------------------------------------------------------------------- -Open Asset Import Library (ASSIMP) ---------------------------------------------------------------------------- - -Copyright (c) 2006-2010, ASSIMP Development Team - -All rights reserved. - -Redistribution and use of this software 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 ASSIMP team, nor the names of its - contributors may be used to endorse or promote products - derived from this software without specific prior - written permission of the ASSIMP Development Team. - -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. ---------------------------------------------------------------------------- -*/ -using System; -using System.Collections.Generic; -using System.ComponentModel; -using System.Data; -using System.Diagnostics; -using System.Drawing; -using System.IO; -using System.Text; -using System.Windows.Forms; -using Microsoft.DirectX; -using Microsoft.DirectX.Direct3D; - -namespace Assimp.Viewer -{ - public partial class AssimpView : Form - { - public AssimpView() - { - InitializeComponent(); - - // Window title - this.Text = "Assimp .NET Viewer"; - - // Ignore WM_ERASEBKGND messages to prevent flicker - this.SetStyle(ControlStyles.AllPaintingInWmPaint, true); - - // Listen to mouse - this.MouseDown += new MouseEventHandler(AssimpView_MouseDown); - this.MouseMove += new MouseEventHandler(AssimpView_MouseMove); - this.MouseUp += new MouseEventHandler(AssimpView_MouseUp); - this.MouseWheel += new MouseEventHandler(AssimpView_MouseWheel); - } - - void AssimpView_MouseWheel(object sender, MouseEventArgs e) { - g_sCamera.vPos.Z *= 1.0f - (e.Delta / 1000.0f); - Refresh(); - } - - private void AssimpView_MouseDown(object sender, MouseEventArgs e) { - UpdateMouseState(e); - } - - private void AssimpView_MouseMove(object sender, MouseEventArgs e) { - UpdateMouseState(e); - } - - private void AssimpView_MouseUp(object sender, MouseEventArgs e) { - UpdateMouseState(e); - } - - private void UpdateMouseState(MouseEventArgs e) { - g_bMousePressed = (e.Button == MouseButtons.Left); - g_bMousePressedR = (e.Button == MouseButtons.Right); - g_bMousePressedM = (e.Button == MouseButtons.Middle); - g_bMousePressedBoth = (e.Button == (MouseButtons.Left | MouseButtons.Right)); - Refresh(); - } - - protected override void OnPaintBackground(PaintEventArgs pevent) { - /* Do nothing to prevent flicker during resize */ - } - - private void Form1_Load(object sender, EventArgs e) - { - InitializeDevice(); - InitializeAssimp(); - } - - private void Form1_SizeChanged(object sender, EventArgs e) { - presentParams.BackBufferWidth = Width; - presentParams.BackBufferHeight = Height; - device.Reset(presentParams); - Invalidate(); - } - - public void InitializeDevice() - { - // Improve Performance - // http://blogs.msdn.com/b/tmiller/archive/2003/11/14/57531.aspx - Device.IsUsingEventHandlers = false; - - // For Windowed mode leave Width and Height at 0 - var adapter = Manager.Adapters.Default; - presentParams = new PresentParameters(); - presentParams.AutoDepthStencilFormat = DepthFormat.D16; - presentParams.EnableAutoDepthStencil = true; - presentParams.Windowed = true; - presentParams.SwapEffect = SwapEffect.Discard; - - // Keep precision in floating point calculations - // http://blogs.msdn.com/b/tmiller/archive/2004/06/01/145596.aspx - var createFlags = CreateFlags.FpuPreserve; - - // Pure device for performance - all device render states are now write only - var deviceType = DeviceType.Hardware; - var caps = Manager.GetDeviceCaps(adapter.Adapter, deviceType); - if (caps.DeviceCaps.SupportsPureDevice) { - createFlags |= CreateFlags.PureDevice; - } - - // Warning: some drivers lie about supporting HT&L. Use Software if you see problems. - if (caps.DeviceCaps.SupportsHardwareTransformAndLight) { - createFlags |= CreateFlags.HardwareVertexProcessing; - } - else { - createFlags |= CreateFlags.SoftwareVertexProcessing; - } - - // Create Device - device = new Device(adapter.Adapter, deviceType, this, createFlags, presentParams); - - // Add event handlers - device.DeviceResizing += new CancelEventHandler(device_DeviceResizing); - } - - private void device_DeviceResizing(object sender, CancelEventArgs e) { - device.Reset(); - } - - // default pp steps - private static aiPostProcessSteps ppsteps = - aiPostProcessSteps.aiProcess_CalcTangentSpace | // calculate tangents and bitangents if possible - aiPostProcessSteps.aiProcess_JoinIdenticalVertices | // join identical vertices/ optimize indexing - aiPostProcessSteps.aiProcess_ValidateDataStructure | // perform a full validation of the loader's output - aiPostProcessSteps.aiProcess_ImproveCacheLocality | // improve the cache locality of the output vertices - aiPostProcessSteps.aiProcess_RemoveRedundantMaterials | // remove redundant materials - aiPostProcessSteps.aiProcess_FindDegenerates | // remove degenerated polygons from the import - aiPostProcessSteps.aiProcess_FindInvalidData | // detect invalid model data, such as invalid normal vectors - aiPostProcessSteps.aiProcess_GenUVCoords | // convert spherical, cylindrical, box and planar mapping to proper UVs - aiPostProcessSteps.aiProcess_TransformUVCoords | // preprocess UV transformations (scaling, translation ...) - aiPostProcessSteps.aiProcess_FindInstances | // search for instanced meshes and remove them by references to one master - aiPostProcessSteps.aiProcess_LimitBoneWeights | // limit bone weights to 4 per vertex - aiPostProcessSteps.aiProcess_OptimizeMeshes | // join small meshes, if possible; - (aiPostProcessSteps)0; - - - public void InitializeAssimp() { - var flags = ( ppsteps | - aiPostProcessSteps.aiProcess_GenSmoothNormals | // generate smooth normal vectors if not existing - aiPostProcessSteps.aiProcess_SplitLargeMeshes | // split large, unrenderable meshes into submeshes - aiPostProcessSteps.aiProcess_Triangulate | // triangulate polygons with more than 3 edges - aiPostProcessSteps.aiProcess_ConvertToLeftHanded | // convert everything to D3D left handed space - aiPostProcessSteps.aiProcess_SortByPType | // make 'clean' meshes which consist of a single typ of primitives - (aiPostProcessSteps)0); - - // default model - var path = "../../../../../test/models/3DS/test1.3ds"; - - importer = new Importer(); - string[] args = Environment.GetCommandLineArgs(); - if (args.Length > 1) { - path = args[1]; - } - - - //var path = "man.3ds"; - scene = importer.ReadFile(path, flags); - if (scene != null) - { - directory = Path.GetDirectoryName(path); - CacheMaterials(scene.mMaterials); - CacheMeshes(scene.mMeshes); - SetupCamera(scene.mCameras); - } - else { - MessageBox.Show("Failed to open file: " + path + ". Either Assimp screwed up or the path is not valid."); - Application.Exit(); - } - } - - private void CacheMeshes(aiMeshVector meshes) { - var numMeshes = meshes.Count; - meshCache = new Mesh[numMeshes]; - meshBoundsMin = new Vector3[numMeshes]; - meshBoundsMax = new Vector3[numMeshes]; - - for (int i = 0; i < numMeshes; ++i) { - var mesh = meshes[i]; - - switch (mesh.mPrimitiveTypes) { - case aiPrimitiveType.aiPrimitiveType_TRIANGLE: - Vector3 min, max; - meshCache[i] = CreateMesh(mesh, out min, out max); - meshBoundsMin[i] = min; - meshBoundsMax[i] = max; - break; - } - } - } - - private void CacheMaterials(aiMaterialVector materials) { - var numMaterials = materials.Count; - materialCache = new ExtendedMaterial[numMaterials]; - textureCache = new Dictionary(); - - for (int i = 0; i < numMaterials; ++i) { - var material = materials[i]; - var dxExtendedMaterial = new ExtendedMaterial(); - var dxMaterial = new Material(); - dxMaterial.AmbientColor = material.Ambient.ToColorValue(); - dxMaterial.DiffuseColor = material.Diffuse.ToColorValue(); - dxMaterial.EmissiveColor = material.Emissive.ToColorValue(); - dxMaterial.SpecularColor = material.Specular.ToColorValue(); - dxMaterial.SpecularSharpness = material.ShininessStrength; - dxExtendedMaterial.Material3D = dxMaterial; - dxExtendedMaterial.TextureFilename = material.TextureDiffuse0; - - materialCache[i] = dxExtendedMaterial; - - var textureFilename = dxExtendedMaterial.TextureFilename; - if (!string.IsNullOrEmpty(textureFilename) && !textureCache.ContainsKey(textureFilename)) { - textureCache.Add(textureFilename, CreateTexture(textureFilename)); - } - } - } - - private Texture CreateTexture(string fileName) { - var path = Path.Combine(directory, fileName); - try { - using (var data = new FileStream(path, FileMode.Open, FileAccess.Read, FileShare.Read)) { - var dxTexture = Texture.FromStream(device, data, Usage.None, Pool.Managed); - textureCache[path] = dxTexture; - return dxTexture; - } - } - catch (Exception) { - return null; - } - } - - private Mesh CreateMesh(aiMesh aiMesh, out Vector3 min, out Vector3 max) { - var numFaces = (int) aiMesh.mNumFaces; - var numVertices = (int) aiMesh.mNumVertices; - - var dxMesh = new Mesh(numFaces, numVertices, MeshFlags.Managed | MeshFlags.Use32Bit, - CustomVertex.PositionNormalTextured.Format, device); - - var aiPositions = aiMesh.mVertices; - var aiNormals = aiMesh.mNormals; - var aiTextureCoordsAll = aiMesh.mTextureCoords; - var aiTextureCoords = (aiTextureCoordsAll!=null) ? aiTextureCoordsAll[0] : null; - var dxVertices = new CustomVertex.PositionNormalTextured[numVertices]; - for (int i = 0; i < numVertices; ++i) { - dxVertices[i].Position = aiPositions[i].ToVector3(); - if (aiNormals != null) { - dxVertices[i].Normal = aiNormals[i].ToVector3(); - } - if (aiTextureCoords != null) { - var uv = aiTextureCoords[i]; - dxVertices[i].Tu = uv.x; - dxVertices[i].Tv = uv.y; - } - } - dxMesh.VertexBuffer.SetData(dxVertices, 0, LockFlags.None); - - var aiFaces = aiMesh.mFaces; - var dxIndices = new uint[numFaces * 3]; - for (int i = 0; i < numFaces; ++i) { - var aiFace = aiFaces[i]; - var aiIndices = aiFace.mIndices; - for (int j = 0; j < 3; ++j) { - dxIndices[i * 3 + j] = aiIndices[j]; - } - } - dxMesh.IndexBuffer.SetData(dxIndices, 0, LockFlags.None); - - var dxAttributes = dxMesh.LockAttributeBufferArray(LockFlags.None); - // TODO: Set face material index for attributes - dxMesh.UnlockAttributeBuffer(dxAttributes); - - var adjacency = new int[numFaces * 3]; - dxMesh.GenerateAdjacency(0.0f, adjacency); - dxMesh.OptimizeInPlace(MeshFlags.OptimizeAttributeSort, adjacency); - - Geometry.ComputeBoundingBox(dxVertices, CustomVertex.PositionNormalTextured.StrideSize, out min, out max); - - return dxMesh; - } - - //------------------------------------------------------------------------------- - // Calculate the boundaries of a given node and all of its children - // The boundaries are in Worldspace (AABB) - // piNode Input node - // min/max Receives the min/max boundaries - // piMatrix Transformation matrix of the graph at this position - //------------------------------------------------------------------------------- - private void CalculateBounds(aiNode piNode, ref Vector3 min, ref Vector3 max, Matrix piMatrix) { - Debug.Assert(null != piNode); - - var mTemp = piNode.mTransformation.ToMatrix(); - var aiMe = mTemp * piMatrix; - - var meshes = piNode.mMeshes; - var numMeshes = meshes.Count; - for (int i = 0; i < numMeshes; ++i) { - var mesh = meshes[i]; - var meshMin = Vector3.TransformCoordinate(meshBoundsMin[mesh], aiMe); - var meshMax = Vector3.TransformCoordinate(meshBoundsMax[mesh], aiMe); - min.X = Math.Min(min.X, meshMin.X); - min.Y = Math.Min(min.Y, meshMin.Y); - min.Z = Math.Min(min.Z, meshMin.Z); - max.X = Math.Max(max.X, meshMax.X); - max.Y = Math.Max(max.Y, meshMax.Y); - max.Z = Math.Max(max.Z, meshMax.Z); - } - var children = piNode.mChildren; - var numChildren = children.Count; - for (int i = 0; i < numChildren; ++i) { - CalculateBounds(children[i], ref min, ref max, aiMe); - } - } - - protected override void OnPaint(System.Windows.Forms.PaintEventArgs e) { - HandleMouseInputLocal(); - Render(); - } - - private void Render() { - device.Clear(ClearFlags.Target|ClearFlags.ZBuffer, Color.DarkSlateBlue, 1.0f, 0); - device.BeginScene(); - - SetupMatrices(); - - if (scene != null && scene.mRootNode != null) { - SetupLights(scene.mLights); - RenderNode(scene.mRootNode, g_mWorldRotate); - } - - device.EndScene(); - device.Present(); - } - - private void SetupMatrices() { - var fovy = Geometry.DegreeToRadian(45.0f); - var aspect = ((float)this.Width / (float)this.Height); - device.Transform.Projection = Matrix.PerspectiveFovLH(fovy, aspect, g_zNear, g_zFar); - device.Transform.View = g_sCamera.GetMatrix(); - } - - private void SetupCamera(aiCameraVector cameras) { - // Get scene bounds - var min = new Vector3(float.MaxValue, float.MaxValue, float.MaxValue); - var max = new Vector3(float.MinValue, float.MinValue, float.MinValue); - CalculateBounds(scene.mRootNode, ref min, ref max, Matrix.Identity); - - // Projection Depth - var size = (max-min); - g_zFar = Math.Max(Math.Max(size.X, size.Y), size.Z) * 100; - - // Starting View Position - var center = min + size * 0.5f; - var lookAt = new Vector3(0,0,1); // Unit vector not coordinate - var position = new Vector3(center.X, center.Y, center.Z-(size.Z*10)); - var up = new Vector3(0, 1, 0); - if (cameras.Count > 0) { - var camera = cameras[0]; - lookAt = camera.mLookAt.ToVector3(); - position = camera.mPosition.ToVector3(); - up = camera.mUp.ToVector3(); - } - g_sCamera.vLookAt = lookAt; - g_sCamera.vPos = position; - g_sCamera.vUp = up; - } - - private void SetupLights(aiLightVector lights) { - var numLights = lights.Count; - - if (numLights == 0) { - var light = device.Lights[0]; - light.Type = LightType.Directional; - light.Diffuse = Color.LightGray; - light.Direction = new Vector3(-1, -1, 1); - light.Enabled = true; - } - else { - // TODO: setup lights - } - - // Enables lighting - device.RenderState.Lighting = true; - device.RenderState.Ambient = Color.DarkGray; - device.RenderState.SpecularEnable = true; - } - - private void RenderNode(aiNode node, Matrix parentMatrix) { - var nodeMatrix = node.mTransformation.ToMatrix() * parentMatrix; - - var children = node.mChildren; - var numChildren = node.mNumChildren; - for (int i = 0; i < numChildren; ++i) { - var child = children[i]; - RenderNode(child, nodeMatrix); - } - - device.Transform.World = nodeMatrix; - var meshes = node.mMeshes; - var numMeshes = meshes.Count; - for (int i = 0; i < numMeshes; ++i) { - var meshId = (int)meshes[i]; - var mesh = scene.mMeshes[meshId]; - var materialId = (int)mesh.mMaterialIndex; - - var dxMaterial = materialCache[materialId]; - device.Material = dxMaterial.Material3D; - - Texture dxTexture = null; - if (!string.IsNullOrEmpty(dxMaterial.TextureFilename)) { - textureCache.TryGetValue(dxMaterial.TextureFilename, out dxTexture); - } - device.SetTexture(0, dxTexture); - - var dxMesh = meshCache[meshId]; - RenderMesh(dxMesh); - } - } - - private void RenderMesh(Mesh mesh) { - for (int i = 0; i < mesh.NumberAttributes; ++i) { - mesh.DrawSubset(i); - } - } - - private Device device; - private PresentParameters presentParams; - - private Importer importer; - private string directory; - private aiScene scene; - private Mesh[] meshCache; - private ExtendedMaterial[] materialCache; - private Dictionary textureCache; - private Vector3[] meshBoundsMin; - private Vector3[] meshBoundsMax; - - private Camera g_sCamera = new Camera(); - private float g_zNear = 0.2f; - private float g_zFar = 1000.0f; - private Matrix g_mProjection = Matrix.Identity; - private Matrix g_mWorldRotate = Matrix.Identity; - } - - //------------------------------------------------------------------------------- - // Position of the cursor relative to the 3ds max' like control circle - //------------------------------------------------------------------------------- - public enum EClickPos { - // The click was inside the inner circle (x,y axis) - Circle, - // The click was inside one of tghe vertical snap-ins - CircleVert, - // The click was inside onf of the horizontal snap-ins - CircleHor, - // the cklick was outside the circle (z-axis) - Outside - }; -} diff --git a/port/Assimp.NET/Assimp.NET_DEMO/AssimpView.resx b/port/Assimp.NET/Assimp.NET_DEMO/AssimpView.resx deleted file mode 100644 index ff31a6db5..000000000 --- a/port/Assimp.NET/Assimp.NET_DEMO/AssimpView.resx +++ /dev/null @@ -1,120 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - \ No newline at end of file diff --git a/port/Assimp.NET/Assimp.NET_DEMO/Camera.cs b/port/Assimp.NET/Assimp.NET_DEMO/Camera.cs deleted file mode 100644 index 5decff307..000000000 --- a/port/Assimp.NET/Assimp.NET_DEMO/Camera.cs +++ /dev/null @@ -1,100 +0,0 @@ -/* ---------------------------------------------------------------------------- -Open Asset Import Library (ASSIMP) ---------------------------------------------------------------------------- - -Copyright (c) 2006-2010, ASSIMP Development Team - -All rights reserved. - -Redistribution and use of this software 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 ASSIMP team, nor the names of its - contributors may be used to endorse or promote products - derived from this software without specific prior - written permission of the ASSIMP Development Team. - -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. ---------------------------------------------------------------------------- -*/ -using Microsoft.DirectX; - -namespace Assimp.Viewer { - public class Camera { - public Camera () { - vPos = new Vector3(0.0f,0.0f,-10.0f); - vLookAt = new Vector3(0.0f, 0.0f, 1.0f); - vUp = new Vector3(0.0f,1.0f,0.0f); - vRight = new Vector3(0.0f,1.0f,0.0f); - } - - // position of the camera - public Vector3 vPos; - - // up-vector of the camera - public Vector3 vUp; - - // camera's looking point is vPos + vLookAt - public Vector3 vLookAt; - - // right vector of the camera - public Vector3 vRight; - - - // Equation - // (vRight ^ vUp) - vLookAt == 0 - // needn't apply - - public Matrix GetMatrix() { - vLookAt.Normalize(); - vRight = Vector3.Cross(vUp, vLookAt); - vRight.Normalize(); - vUp = Vector3.Cross(vLookAt, vRight); - vUp.Normalize(); - - var view = Matrix.Identity; - view.M11 = vRight.X; - view.M12 = vUp.X; - view.M13 = vLookAt.X; - view.M14 = 0.0f; - - view.M21 = vRight.Y; - view.M22 = vUp.Y; - view.M23 = vLookAt.Y; - view.M24 = 0.0f; - - view.M31 = vRight.Z; - view.M32 = vUp.Z; - view.M33 = vLookAt.Z; - view.M34 = 0.0f; - - view.M41 = -Vector3.Dot(vPos, vRight); - view.M42 = -Vector3.Dot(vPos, vUp); - view.M43 = -Vector3.Dot(vPos, vLookAt); - view.M44 = 1.0f; - - return view; - } - } -} diff --git a/port/Assimp.NET/Assimp.NET_DEMO/Display.cs b/port/Assimp.NET/Assimp.NET_DEMO/Display.cs deleted file mode 100644 index 677d8daa9..000000000 --- a/port/Assimp.NET/Assimp.NET_DEMO/Display.cs +++ /dev/null @@ -1,2314 +0,0 @@ -/* ---------------------------------------------------------------------------- -Open Asset Import Library (ASSIMP) ---------------------------------------------------------------------------- - -Copyright (c) 2006-2010, ASSIMP Development Team - -All rights reserved. - -Redistribution and use of this software 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 ASSIMP team, nor the names of its - contributors may be used to endorse or promote products - derived from this software without specific prior - written permission of the ASSIMP Development Team. - -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. ---------------------------------------------------------------------------- -*/ - - -namespace Assimp.Viewer { - - public struct SVertex - { - float x,y,z,w,u,v; - }; - - partial class AssimpView { -#if false -extern COLORREF g_aclCustomColors[16] /*= {0}*/; -extern HKEY g_hRegistry; -extern float g_fLoadTime; - -//------------------------------------------------------------------------------- -// Table of colors used for normal vectors. -//------------------------------------------------------------------------------- -D3DXVECTOR4 g_aclNormalColors[14] = -{ - D3DXVECTOR4(0xFF / 255.0f,0xFF / 255.0f,0xFF / 255.0f, 1.0f), // white - - D3DXVECTOR4(0xFF / 255.0f,0x00 / 255.0f,0x00 / 255.0f,1.0f), // red - D3DXVECTOR4(0x00 / 255.0f,0xFF / 255.0f,0x00 / 255.0f,1.0f), // green - D3DXVECTOR4(0x00 / 255.0f,0x00 / 255.0f,0xFF / 255.0f,1.0f), // blue - - D3DXVECTOR4(0xFF / 255.0f,0xFF / 255.0f,0x00 / 255.0f,1.0f), // yellow - D3DXVECTOR4(0xFF / 255.0f,0x00 / 255.0f,0xFF / 255.0f,1.0f), // magenta - D3DXVECTOR4(0x00 / 255.0f,0xFF / 255.0f,0xFF / 255.0f,1.0f), // wtf - - D3DXVECTOR4(0xFF / 255.0f,0x60 / 255.0f,0x60 / 255.0f,1.0f), // light red - D3DXVECTOR4(0x60 / 255.0f,0xFF / 255.0f,0x60 / 255.0f,1.0f), // light green - D3DXVECTOR4(0x60 / 255.0f,0x60 / 255.0f,0xFF / 255.0f,1.0f), // light blue - - D3DXVECTOR4(0xA0 / 255.0f,0x00 / 255.0f,0x00 / 255.0f,1.0f), // dark red - D3DXVECTOR4(0x00 / 255.0f,0xA0 / 255.0f,0x00 / 255.0f,1.0f), // dark green - D3DXVECTOR4(0x00 / 255.0f,0x00 / 255.0f,0xA0 / 255.0f,1.0f), // dark blue - - D3DXVECTOR4(0x88 / 255.0f,0x88 / 255.0f,0x88 / 255.0f, 1.0f) // gray -}; - - -//------------------------------------------------------------------------------- -// Recursivly count the number of nodes in an asset's node graph -// Used by LoadAsset() -//------------------------------------------------------------------------------- -void GetNodeCount(aiNode* pcNode, unsigned int* piCnt) -{ - *piCnt = *piCnt+1; - for (unsigned int i = 0; i < pcNode->mNumChildren;++i) - GetNodeCount(pcNode->mChildren[i],piCnt); -} - -//------------------------------------------------------------------------------- -int CDisplay::EnableAnimTools(BOOL hm) -{ - EnableWindow(GetDlgItem(g_hDlg,IDC_PLAY),hm); - EnableWindow(GetDlgItem(g_hDlg,IDC_SLIDERANIM),hm); - return 1; -} - -//------------------------------------------------------------------------------- -// Fill animation combo box -int CDisplay::FillAnimList(void) -{ - if (0 != g_pcAsset->pcScene->mNumAnimations) - { - // now fill in all animation names - for (unsigned int i = 0; i < g_pcAsset->pcScene->mNumAnimations;++i) { - SendDlgItemMessage(g_hDlg,IDC_COMBO1,CB_ADDSTRING,0, - ( LPARAM ) g_pcAsset->pcScene->mAnimations[i]->mName.data); - } - - // also add a dummy - 'none' - SendDlgItemMessage(g_hDlg,IDC_COMBO1,CB_ADDSTRING,0,(LPARAM)"none"); - - // select first - SendDlgItemMessage(g_hDlg,IDC_COMBO1,CB_SETCURSEL,0,0); - - EnableAnimTools(TRUE); - } - else // tools remain disabled - EnableAnimTools(FALSE); - - return 1; -} -//------------------------------------------------------------------------------- -// Clear the list of animations -int CDisplay::ClearAnimList(void) -{ - // clear the combo box - SendDlgItemMessage(g_hDlg,IDC_COMBO1,CB_RESETCONTENT,0,0); - return 1; -} -//------------------------------------------------------------------------------- -// Clear the tree view -int CDisplay::ClearDisplayList(void) -{ - // clear the combo box - TreeView_DeleteAllItems(GetDlgItem(g_hDlg,IDC_TREE1)); - this->Reset(); - return 1; -} -//------------------------------------------------------------------------------- -// Add a specific node to the display list -int CDisplay::AddNodeToDisplayList( - unsigned int iIndex, - unsigned int iDepth, - aiNode* pcNode, - HTREEITEM hRoot) -{ - ai_assert(NULL != pcNode); - ai_assert(NULL != hRoot); - - char chTemp[MAXLEN]; - - if(0 == pcNode->mName.length) { - if (iIndex >= 100) { - iIndex += iDepth * 1000; - } - else if (iIndex >= 10) - { - iIndex += iDepth * 100; - } - else iIndex += iDepth * 10; - sprintf(chTemp,"Node %i",iIndex); - } - else { - sprintf(chTemp,"%s",pcNode->mName.data); - } - sprintf(chTemp+strlen(chTemp), iIndex ? " (%i)" : " (%i meshes)",pcNode->mNumMeshes); - - TVITEMEXW tvi; - TVINSERTSTRUCTW sNew; - - wchar_t tmp[512]; - int t = MultiByteToWideChar(CP_UTF8,0,chTemp,-1,tmp,512); - - tvi.pszText = tmp; - tvi.cchTextMax = (int)t; - - tvi.mask = TVIF_TEXT | TVIF_SELECTEDIMAGE | TVIF_IMAGE | TVIF_HANDLE | TVIF_PARAM; - tvi.iImage = this->m_aiImageList[AI_VIEW_IMGLIST_NODE]; - tvi.iSelectedImage = this->m_aiImageList[AI_VIEW_IMGLIST_NODE]; - tvi.lParam = (LPARAM)5; - - sNew.itemex = tvi; - sNew.hInsertAfter = TVI_LAST; - sNew.hParent = hRoot; - - // add the item to the list - HTREEITEM hTexture = (HTREEITEM)SendMessage(GetDlgItem(g_hDlg,IDC_TREE1), - TVM_INSERTITEMW, - 0, - (LPARAM)(LPTVINSERTSTRUCT)&sNew); - - // recursively add all child nodes - ++iDepth; - for (unsigned int i = 0; i< pcNode->mNumChildren;++i){ - AddNodeToDisplayList(i,iDepth,pcNode->mChildren[i],hTexture); - } - - // add the node to the list - NodeInfo info; - info.hTreeItem = hTexture; - info.psNode = pcNode; - this->AddNode(info); - return 1; -} - -//------------------------------------------------------------------------------- -int CDisplay::AddMeshToDisplayList(unsigned int iIndex, HTREEITEM hRoot) -{ - aiMesh* pcMesh = g_pcAsset->pcScene->mMeshes[iIndex]; - - char chTemp[MAXLEN]; - - if(0 == pcMesh->mName.length) { - sprintf(chTemp,"Mesh %i",iIndex); - } - else { - sprintf(chTemp,"%s",pcMesh->mName.data); - } - sprintf(chTemp+strlen(chTemp), iIndex ? " (%i)" : " (%i faces)",pcMesh->mNumFaces); - - TVITEMEXW tvi; - TVINSERTSTRUCTW sNew; - - wchar_t tmp[512]; - int t = MultiByteToWideChar(CP_UTF8,0,chTemp,-1,tmp,512); - - tvi.pszText = tmp; - tvi.cchTextMax = (int)t; - - tvi.mask = TVIF_TEXT | TVIF_SELECTEDIMAGE | TVIF_IMAGE | TVIF_HANDLE | TVIF_PARAM; - tvi.iImage = this->m_aiImageList[AI_VIEW_IMGLIST_NODE]; - tvi.iSelectedImage = this->m_aiImageList[AI_VIEW_IMGLIST_NODE]; - tvi.lParam = (LPARAM)5; - - sNew.itemex = tvi; - sNew.hInsertAfter = TVI_LAST; - sNew.hParent = hRoot; - - // add the item to the list - HTREEITEM hTexture = (HTREEITEM)SendMessage(GetDlgItem(g_hDlg,IDC_TREE1), - TVM_INSERTITEMW, - 0, - (LPARAM)(LPTVINSERTSTRUCT)&sNew); - - // add the mesh to the list of all mesh entries in the scene browser - MeshInfo info; - info.hTreeItem = hTexture; - info.psMesh = pcMesh; - AddMesh(info); - return 1; -} - -//------------------------------------------------------------------------------- -// Replace the currently selected texture by another one -int CDisplay::ReplaceCurrentTexture(const char* szPath) -{ - ai_assert(NULL != szPath); - - // well ... try to load it - IDirect3DTexture9* piTexture = NULL; - aiString szString; - strcpy(szString.data,szPath); - szString.length = strlen(szPath); - CMaterialManager::Instance().LoadTexture(&piTexture,&szString); - - if (!piTexture) { - CLogDisplay::Instance().AddEntry("[ERROR] Unable to load this texture", - D3DCOLOR_ARGB(0xFF,0xFF,0x0,0x0)); - return 0; - } - - // we must also change the icon of the corresponding tree - // view item if the default texture was previously set - TVITEMEX tvi; - tvi.mask = TVIF_SELECTEDIMAGE | TVIF_IMAGE; - tvi.iImage = m_aiImageList[AI_VIEW_IMGLIST_MATERIAL]; - tvi.iSelectedImage = m_aiImageList[AI_VIEW_IMGLIST_MATERIAL]; - - TreeView_SetItem(GetDlgItem(g_hDlg,IDC_TREE1), - m_pcCurrentTexture->hTreeItem); - - // change this in the old aiMaterial structure, too - Assimp::MaterialHelper* pcMat = (Assimp::MaterialHelper*) - g_pcAsset->pcScene->mMaterials[m_pcCurrentTexture->iMatIndex]; - - // update all meshes referencing this material - for (unsigned int i = 0; i < g_pcAsset->pcScene->mNumMeshes;++i) - { - if (this->m_pcCurrentTexture->iMatIndex != g_pcAsset->pcScene->mMeshes[i]->mMaterialIndex) - continue; - - AssetHelper::MeshHelper* pcMesh = g_pcAsset->apcMeshes[i]; - IDirect3DTexture9** tex = NULL; - const char* tex_string = NULL; - - switch (this->m_pcCurrentTexture->iType) - { - case aiTextureType_DIFFUSE: - tex = &pcMesh->piDiffuseTexture; - tex_string = "DIFFUSE_TEXTURE"; - break; - case aiTextureType_AMBIENT: - tex = &pcMesh->piAmbientTexture; - tex_string = "AMBIENT_TEXTURE"; - break; - case aiTextureType_SPECULAR: - tex = &pcMesh->piSpecularTexture; - tex_string = "SPECULAR_TEXTURE"; - break; - case aiTextureType_EMISSIVE: - tex = &pcMesh->piEmissiveTexture; - tex_string = "EMISSIVE_TEXTURE"; - break; - case aiTextureType_LIGHTMAP: - tex = &pcMesh->piLightmapTexture; - tex_string = "LIGHTMAP_TEXTURE"; - break; - case aiTextureType_DISPLACEMENT: - case aiTextureType_REFLECTION: - case aiTextureType_UNKNOWN: - break; - case aiTextureType_SHININESS: - tex = &pcMesh->piShininessTexture; - tex_string = "SHININESS_TEXTURE"; - break; - case aiTextureType_NORMALS: - case aiTextureType_HEIGHT: - - // special handling here - if (pcMesh->piNormalTexture && pcMesh->piNormalTexture != piTexture) { - piTexture->AddRef(); - pcMesh->piNormalTexture->Release(); - pcMesh->piNormalTexture = piTexture; - CMaterialManager::Instance().HMtoNMIfNecessary(pcMesh->piNormalTexture,&pcMesh->piNormalTexture,true); - m_pcCurrentTexture->piTexture = &pcMesh->piNormalTexture; - - if (!pcMesh->bSharedFX) { - pcMesh->piEffect->SetTexture("NORMAL_TEXTURE",piTexture); - } - } - break; - default: //case aiTextureType_OPACITY && case aiTextureType_OPACITY | 0x40000000: - - tex = &pcMesh->piOpacityTexture; - tex_string = "OPACITY_TEXTURE"; - break; - }; - if (tex && *tex && *tex != piTexture) - { - (**tex).Release(); - *tex = piTexture; - m_pcCurrentTexture->piTexture = tex; - - //if (!pcMesh->bSharedFX){ - pcMesh->piEffect->SetTexture(tex_string,piTexture); - //} - } - } - // now update the material itself - aiString szOld; - - aiGetMaterialString(pcMat,AI_MATKEY_TEXTURE(m_pcCurrentTexture->iType,0),&szOld); - pcMat->AddProperty(&szString,AI_MATKEY_TEXTURE(m_pcCurrentTexture->iType,0)); - -#if 0 - char szBuffer[512]; - sprintf(szBuffer,"%s%s",szKey,"_old"); - - if (AI_SUCCESS != aiGetMaterialString(pcMat, szBuffer, &szOld)) - { - pcMat->AddProperty(&szOld,szBuffer ); - } - else if (szString.length == szOld.length && - 0 == ASSIMP_stricmp(szString.data,szOld.data)) - { - pcMat->RemoveProperty(szBuffer); - } -#endif - return 1; -} -//------------------------------------------------------------------------------- -int CDisplay::AddTextureToDisplayList(unsigned int iType, - unsigned int iIndex, - const aiString* szPath, - HTREEITEM hFX, - unsigned int iUVIndex /*= 0*/, - const float fBlendFactor /*= 0.0f*/, - aiTextureOp eTextureOp /*= aiTextureOp_Multiply*/, - unsigned int iMesh /*= 0*/) -{ - ai_assert(NULL != szPath); - ai_assert(NULL != pcMat); - - char chTemp[512]; - char chTempEmb[256]; - const char* sz = strrchr(szPath->data,'\\'); - if (!sz)sz = strrchr(szPath->data,'/'); - if (!sz) - { - if ('*' == *szPath->data) - { - int iIndex = atoi(szPath->data+1); - sprintf(chTempEmb,"Embedded #%i",iIndex); - sz = chTempEmb; - } - else - { - sz = szPath->data; - } - } - - bool bIsExtraOpacity = 0 != (iType & 0x40000000); - const char* szType; - IDirect3DTexture9** piTexture; - switch (iType) - { - case aiTextureType_DIFFUSE: - piTexture = &g_pcAsset->apcMeshes[iMesh]->piDiffuseTexture; - szType = "Diffuse"; - break; - case aiTextureType_SPECULAR: - piTexture = &g_pcAsset->apcMeshes[iMesh]->piSpecularTexture; - szType = "Specular"; - break; - case aiTextureType_AMBIENT: - piTexture = &g_pcAsset->apcMeshes[iMesh]->piAmbientTexture; - szType = "Ambient"; - break; - case aiTextureType_EMISSIVE: - piTexture = &g_pcAsset->apcMeshes[iMesh]->piEmissiveTexture; - szType = "Emissive"; - break; - case aiTextureType_HEIGHT: - piTexture = &g_pcAsset->apcMeshes[iMesh]->piNormalTexture; - szType = "Heightmap"; - break; - case aiTextureType_NORMALS: - piTexture = &g_pcAsset->apcMeshes[iMesh]->piNormalTexture; - szType = "Normalmap"; - break; - case aiTextureType_SHININESS: - piTexture = &g_pcAsset->apcMeshes[iMesh]->piShininessTexture; - szType = "Shininess"; - break; - case aiTextureType_LIGHTMAP: - piTexture = &g_pcAsset->apcMeshes[iMesh]->piLightmapTexture; - szType = "Lightmap"; - break; - case aiTextureType_DISPLACEMENT: - piTexture = NULL; - szType = "Displacement"; - break; - case aiTextureType_REFLECTION: - piTexture = NULL; - szType = "Reflection"; - break; - case aiTextureType_UNKNOWN: - piTexture = NULL; - szType = "Unknown"; - break; - default: // opacity + opacity | mask - piTexture = &g_pcAsset->apcMeshes[iMesh]->piOpacityTexture; - szType = "Opacity"; - break; - }; - if (bIsExtraOpacity) { - sprintf(chTemp,"%s %i ()",szType,iIndex+1); - } - else - sprintf(chTemp,"%s %i (%s)",szType,iIndex+1,sz); - - TVITEMEX tvi; - TVINSERTSTRUCT sNew; - tvi.pszText = chTemp; - tvi.cchTextMax = (int)strlen(chTemp); - tvi.mask = TVIF_TEXT | TVIF_SELECTEDIMAGE | TVIF_IMAGE | TVIF_HANDLE | TVIF_HANDLE; - tvi.lParam = (LPARAM)20; - - // find out whether this is the default texture or not - - if (piTexture && *piTexture) { - // {9785DA94-1D96-426b-B3CB-BADC36347F5E} - static const GUID guidPrivateData = - { 0x9785da94, 0x1d96, 0x426b, - { 0xb3, 0xcb, 0xba, 0xdc, 0x36, 0x34, 0x7f, 0x5e } }; - - uint32_t iData = 0; - DWORD dwSize = 4; - (*piTexture)->GetPrivateData(guidPrivateData,&iData,&dwSize); - - if (0xFFFFFFFF == iData) - { - tvi.iImage = m_aiImageList[AI_VIEW_IMGLIST_TEXTURE_INVALID]; - tvi.iSelectedImage = m_aiImageList[AI_VIEW_IMGLIST_TEXTURE_INVALID]; - } - else - { - tvi.iImage = m_aiImageList[AI_VIEW_IMGLIST_TEXTURE]; - tvi.iSelectedImage = m_aiImageList[AI_VIEW_IMGLIST_TEXTURE]; - } - } - else - { - tvi.iImage = m_aiImageList[AI_VIEW_IMGLIST_TEXTURE_INVALID]; - tvi.iSelectedImage = m_aiImageList[AI_VIEW_IMGLIST_TEXTURE_INVALID]; - } - - sNew.itemex = tvi; - sNew.hInsertAfter = TVI_LAST; - sNew.hParent = hFX; - - // add the item to the list - HTREEITEM hTexture = (HTREEITEM)SendMessage(GetDlgItem(g_hDlg,IDC_TREE1), - TVM_INSERTITEM, - 0, - (LPARAM)(LPTVINSERTSTRUCT)&sNew); - - // add it to the list - CDisplay::TextureInfo sInfo; - sInfo.iUV = iUVIndex; - sInfo.fBlend = fBlendFactor; - sInfo.eOp = eTextureOp; - sInfo.szPath = szPath->data; - sInfo.hTreeItem = hTexture; - sInfo.piTexture = piTexture; - sInfo.iType = iType; - sInfo.iMatIndex = g_pcAsset->pcScene->mMeshes[iMesh]->mMaterialIndex; - AddTexture(sInfo); - return 1; -} -//------------------------------------------------------------------------------- -int CDisplay::AddMaterialToDisplayList(HTREEITEM hRoot, - unsigned int iIndex) -{ - ai_assert(NULL != hRoot); - - aiMaterial* pcMat = g_pcAsset->pcScene->mMaterials[iIndex]; - - - // find the first mesh using this material index - unsigned int iMesh = 0; - for (unsigned int i = 0; i < g_pcAsset->pcScene->mNumMeshes;++i) - { - if (iIndex == g_pcAsset->pcScene->mMeshes[i]->mMaterialIndex) - { - iMesh = i; - break; - } - } - - // use the name of the material, if possible - char chTemp[512]; - aiString szOut; - if (AI_SUCCESS != aiGetMaterialString(pcMat,AI_MATKEY_NAME,&szOut)) - { - sprintf(chTemp,"Material %i",iIndex+1); - } - else - { - sprintf(chTemp,"%s (%i)",szOut.data,iIndex+1); - } - TVITEMEXW tvi; - TVINSERTSTRUCTW sNew; - - wchar_t tmp[512]; - int t = MultiByteToWideChar(CP_UTF8,0,chTemp,-1,tmp,512); - - tvi.pszText = tmp; - tvi.cchTextMax = (int)t; - tvi.mask = TVIF_TEXT | TVIF_SELECTEDIMAGE | TVIF_IMAGE | TVIF_HANDLE | TVIF_PARAM ; - tvi.iImage = m_aiImageList[AI_VIEW_IMGLIST_MATERIAL]; - tvi.iSelectedImage = m_aiImageList[AI_VIEW_IMGLIST_MATERIAL]; - tvi.lParam = (LPARAM)10; - //tvi.state = TVIS_EXPANDED | TVIS_EXPANDEDONCE ; - - sNew.itemex = tvi; - sNew.hInsertAfter = TVI_LAST; - sNew.hParent = hRoot; - - // add the item to the list - HTREEITEM hTexture = (HTREEITEM)SendMessage(GetDlgItem(g_hDlg,IDC_TREE1), - TVM_INSERTITEMW, - 0, - (LPARAM)(LPTVINSERTSTRUCT)&sNew); - - // for each texture in the list ... add it - unsigned int iUV; - float fBlend; - aiTextureOp eOp; - aiString szPath; - bool bNoOpacity = true; - for (unsigned int i = 0; i <= AI_TEXTURE_TYPE_MAX;++i) - { - unsigned int iNum = 0; - while (true) - { - if (AI_SUCCESS != aiGetMaterialTexture(pcMat,(aiTextureType)i,iNum, - &szPath,NULL, &iUV,&fBlend,&eOp)) - { - break; - } - if (aiTextureType_OPACITY == i)bNoOpacity = false; - AddTextureToDisplayList(i,iNum,&szPath,hTexture,iUV,fBlend,eOp,iMesh); - ++iNum; - } - } - - AssetHelper::MeshHelper* pcMesh = g_pcAsset->apcMeshes[iMesh]; - - if (pcMesh->piDiffuseTexture && pcMesh->piDiffuseTexture == pcMesh->piOpacityTexture && bNoOpacity) - { - // check whether the diffuse texture is not a default texture - - // {9785DA94-1D96-426b-B3CB-BADC36347F5E} - static const GUID guidPrivateData = - { 0x9785da94, 0x1d96, 0x426b, - { 0xb3, 0xcb, 0xba, 0xdc, 0x36, 0x34, 0x7f, 0x5e } }; - - uint32_t iData = 0; - DWORD dwSize = 4; - if(FAILED( pcMesh->piDiffuseTexture->GetPrivateData(guidPrivateData,&iData,&dwSize) || - 0xffffffff == iData)) - { - // seems the diffuse texture contains alpha, therefore it has been - // added to the opacity channel, too. Add a special value ... - AddTextureToDisplayList(aiTextureType_OPACITY | 0x40000000, - 0,&szPath,hTexture,iUV,fBlend,eOp,iMesh); - } - } - - // add the material to the list - MaterialInfo info; - info.hTreeItem = hTexture; - info.psMaterial = pcMat; - info.iIndex = iIndex; - info.piEffect = g_pcAsset->apcMeshes[iMesh]->piEffect; - this->AddMaterial(info); - return 1; -} -//------------------------------------------------------------------------------- -// Expand all elements in the treeview -int CDisplay::ExpandTree() -{ - // expand all materials - for (std::vector< MaterialInfo >::iterator - i = m_asMaterials.begin(); - i != m_asMaterials.end();++i) - { - TreeView_Expand(GetDlgItem(g_hDlg,IDC_TREE1),(*i).hTreeItem,TVE_EXPAND); - } - // expand all nodes - for (std::vector< NodeInfo >::iterator - i = m_asNodes.begin(); - i != m_asNodes.end();++i) - { - TreeView_Expand(GetDlgItem(g_hDlg,IDC_TREE1),(*i).hTreeItem,TVE_EXPAND); - } - TreeView_Expand(GetDlgItem(g_hDlg,IDC_TREE1),m_hRoot,TVE_EXPAND); - return 1; -} -//------------------------------------------------------------------------------- -// Get image list for tree view -int CDisplay::LoadImageList(void) -{ - if (!m_hImageList) - { - // First, create the image list we will need. - // FIX: Need RGB888 color space to display all colors correctly - HIMAGELIST hIml = ImageList_Create( 16,16,ILC_COLOR24, 5, 0 ); - - // Load the bitmaps and add them to the image lists. - HBITMAP hBmp = LoadBitmap(g_hInstance, MAKEINTRESOURCE(IDB_BFX)); - m_aiImageList[AI_VIEW_IMGLIST_MATERIAL] = ImageList_Add(hIml, hBmp, NULL); - DeleteObject(hBmp); - - hBmp = LoadBitmap(g_hInstance, MAKEINTRESOURCE(IDB_BNODE)); - m_aiImageList[AI_VIEW_IMGLIST_NODE] = ImageList_Add(hIml, hBmp, NULL); - DeleteObject(hBmp); - - hBmp = LoadBitmap(g_hInstance, MAKEINTRESOURCE(IDB_BTX)); - m_aiImageList[AI_VIEW_IMGLIST_TEXTURE] = ImageList_Add(hIml, hBmp, NULL); - DeleteObject(hBmp); - - hBmp = LoadBitmap(g_hInstance, MAKEINTRESOURCE(IDB_BTXI)); - m_aiImageList[AI_VIEW_IMGLIST_TEXTURE_INVALID] = ImageList_Add(hIml, hBmp, NULL); - DeleteObject(hBmp); - - hBmp = LoadBitmap(g_hInstance, MAKEINTRESOURCE(IDB_BROOT)); - m_aiImageList[AI_VIEW_IMGLIST_MODEL] = ImageList_Add(hIml, hBmp, NULL); - DeleteObject(hBmp); - - // Associate the image list with the tree. - TreeView_SetImageList(GetDlgItem(g_hDlg,IDC_TREE1), hIml, TVSIL_NORMAL); - - m_hImageList = hIml; - } - return 1; -} -//------------------------------------------------------------------------------- -// Fill tree view -int CDisplay::FillDisplayList(void) -{ - LoadImageList(); - - // Initialize the tree view window. - // fill in the first entry - TVITEMEX tvi; - TVINSERTSTRUCT sNew; - tvi.pszText = "Model"; - tvi.cchTextMax = (int)strlen(tvi.pszText); - tvi.mask = TVIF_TEXT | TVIF_SELECTEDIMAGE | TVIF_IMAGE | TVIF_HANDLE | TVIF_STATE; - tvi.state = TVIS_EXPANDED; - tvi.iImage = m_aiImageList[AI_VIEW_IMGLIST_MODEL]; - tvi.iSelectedImage = m_aiImageList[AI_VIEW_IMGLIST_MODEL]; - tvi.lParam = (LPARAM)0; - - sNew.itemex = tvi; - sNew.hInsertAfter = TVI_ROOT; - sNew.hParent = 0; - - // add the root item to the tree - m_hRoot = (HTREEITEM)SendMessage(GetDlgItem(g_hDlg,IDC_TREE1), - TVM_INSERTITEM, - 0, - (LPARAM)(LPTVINSERTSTRUCT)&sNew); - - // add each loaded material to the tree - for (unsigned int i = 0; i < g_pcAsset->pcScene->mNumMaterials;++i) - AddMaterialToDisplayList(m_hRoot,i); - - // add each mesh to the tree - for (unsigned int i = 0; i < g_pcAsset->pcScene->mNumMeshes;++i) - AddMeshToDisplayList(i,m_hRoot); - - // now add all loaded nodes recursively - AddNodeToDisplayList(0,0,g_pcAsset->pcScene->mRootNode,m_hRoot); - - // now expand all parent nodes in the tree - ExpandTree(); - - // everything reacts a little bit slowly if D3D is rendering, - // so give GDI a small hint to leave the couch and work ;-) - UpdateWindow(g_hDlg); - return 1; -} -//------------------------------------------------------------------------------- -// Main render loop -int CDisplay::OnRender() -{ - // update possible animation - if( g_pcAsset) - { - static double lastPlaying = 0.; - - ai_assert( g_pcAsset->mAnimator); - if (g_bPlay) { - g_dCurrent += clock()/ double( CLOCKS_PER_SEC) -lastPlaying; - - double time = g_dCurrent; - aiAnimation* mAnim = g_pcAsset->mAnimator->CurrentAnim(); - if( mAnim && mAnim->mDuration > 0.0) { - double tps = mAnim->mTicksPerSecond ? mAnim->mTicksPerSecond : 25.f; - time = fmod( time, mAnim->mDuration/tps); - SendDlgItemMessage(g_hDlg,IDC_SLIDERANIM,TBM_SETPOS,TRUE,LPARAM(10000 * (time/(mAnim->mDuration/tps)))); - } - - g_pcAsset->mAnimator->Calculate( time ); - lastPlaying = g_dCurrent; - } - } - // begin the frame - g_piDevice->BeginScene(); - - switch (m_iViewMode) - { - case VIEWMODE_FULL: - case VIEWMODE_NODE: - RenderFullScene(); - break; - case VIEWMODE_MATERIAL: - RenderMaterialView(); - break; - case VIEWMODE_TEXTURE: - RenderTextureView(); - break; - }; - - // Now render the log display in the upper right corner of the window - CLogDisplay::Instance().OnRender(); - - // present the backbuffer - g_piDevice->EndScene(); - g_piDevice->Present(NULL,NULL,NULL,NULL); - - // don't remove this, problems on some older machines (AMD timing bug) - Sleep(10); - return 1; -} -//------------------------------------------------------------------------------- -// Update UI -void UpdateColorFieldsInUI() -{ - InvalidateRect(GetDlgItem(g_hDlg,IDC_LCOLOR1),NULL,TRUE); - InvalidateRect(GetDlgItem(g_hDlg,IDC_LCOLOR2),NULL,TRUE); - InvalidateRect(GetDlgItem(g_hDlg,IDC_LCOLOR3),NULL,TRUE); - - UpdateWindow(GetDlgItem(g_hDlg,IDC_LCOLOR1)); - UpdateWindow(GetDlgItem(g_hDlg,IDC_LCOLOR2)); - UpdateWindow(GetDlgItem(g_hDlg,IDC_LCOLOR3)); -} -//------------------------------------------------------------------------------- -// FIll statistics UI -int CDisplay::FillDefaultStatistics(void) -{ - if (!g_pcAsset) - { - // clear all stats edit controls - SetDlgItemText(g_hDlg,IDC_EVERT,"0"); - SetDlgItemText(g_hDlg,IDC_EFACE,"0"); - SetDlgItemText(g_hDlg,IDC_EMAT,"0"); - SetDlgItemText(g_hDlg,IDC_ENODE,"0"); - SetDlgItemText(g_hDlg,IDC_ESHADER,"0"); - SetDlgItemText(g_hDlg,IDC_ETEX,"0"); - return 1; - } - - // get the number of vertices/faces in the model - unsigned int iNumVert = 0; - unsigned int iNumFaces = 0; - for (unsigned int i = 0; i < g_pcAsset->pcScene->mNumMeshes;++i) - { - iNumVert += g_pcAsset->pcScene->mMeshes[i]->mNumVertices; - iNumFaces += g_pcAsset->pcScene->mMeshes[i]->mNumFaces; - } - // and fill the statistic edit controls - char szOut[1024]; - sprintf(szOut,"%i",(int)iNumVert); - SetDlgItemText(g_hDlg,IDC_EVERT,szOut); - sprintf(szOut,"%i",(int)iNumFaces); - SetDlgItemText(g_hDlg,IDC_EFACE,szOut); - sprintf(szOut,"%i",(int)g_pcAsset->pcScene->mNumMaterials); - SetDlgItemText(g_hDlg,IDC_EMAT,szOut); - sprintf(szOut,"%i",(int)g_pcAsset->pcScene->mNumMeshes); - SetDlgItemText(g_hDlg,IDC_EMESH,szOut); - - // need to get the number of nodes - iNumVert = 0; - GetNodeCount(g_pcAsset->pcScene->mRootNode,&iNumVert); - sprintf(szOut,"%i",(int)iNumVert); - SetDlgItemText(g_hDlg,IDC_ENODEWND,szOut); - - // now get the number of unique shaders generated for the asset - // (even if the environment changes this number won't change) - sprintf(szOut,"%i", CMaterialManager::Instance().GetShaderCount()); - SetDlgItemText(g_hDlg,IDC_ESHADER,szOut); - - sprintf(szOut,"%.5f",(float)g_fLoadTime); - SetDlgItemText(g_hDlg,IDC_ELOAD,szOut); - - UpdateColorFieldsInUI(); - UpdateWindow(g_hDlg); - return 1; -} -//------------------------------------------------------------------------------- -// Reset UI -int CDisplay::Reset(void) -{ - // clear all lists - m_asMaterials.clear(); - m_asTextures.clear(); - m_asNodes.clear(); - m_asMeshes.clear(); - - m_hRoot = NULL; - - return OnSetupNormalView(); -} -//------------------------------------------------------------------------------- -// reset to standard statistics view -void ShowNormalUIComponents() -{ - ShowWindow(GetDlgItem(g_hDlg,IDC_NUMNODES),SW_SHOW); - ShowWindow(GetDlgItem(g_hDlg,IDC_ENODEWND),SW_SHOW); - ShowWindow(GetDlgItem(g_hDlg,IDC_NUMSHADERS),SW_SHOW); - ShowWindow(GetDlgItem(g_hDlg,IDC_LOADTIME),SW_SHOW); - ShowWindow(GetDlgItem(g_hDlg,IDC_ESHADER),SW_SHOW); - ShowWindow(GetDlgItem(g_hDlg,IDC_ELOAD),SW_SHOW); - ShowWindow(GetDlgItem(g_hDlg,IDC_VIEWMATRIX),SW_HIDE); -} -//------------------------------------------------------------------------------- -int CDisplay::OnSetupNormalView() -{ - if (VIEWMODE_NODE == m_iViewMode) - { - ShowNormalUIComponents(); - } - - // now ... change the meaning of the statistics fields back - SetWindowText(GetDlgItem(g_hDlg,IDC_NUMVERTS),"Verts:"); - SetWindowText(GetDlgItem(g_hDlg,IDC_NUMNODES),"Nodes:"); - SetWindowText(GetDlgItem(g_hDlg,IDC_NUMFACES),"Faces:"); - SetWindowText(GetDlgItem(g_hDlg,IDC_NUMSHADERS),"Shd:"); - SetWindowText(GetDlgItem(g_hDlg,IDC_NUMMATS),"Mats:"); - SetWindowText(GetDlgItem(g_hDlg,IDC_NUMMESHES),"Mesh:"); - SetWindowText(GetDlgItem(g_hDlg,IDC_LOADTIME),"Time:"); - - FillDefaultStatistics(); - SetViewMode(VIEWMODE_FULL); - - // for debugging - m_pcCurrentMaterial = NULL; - m_pcCurrentTexture = NULL; - m_pcCurrentNode = NULL; - - // redraw the color fields in the UI --- their purpose has possibly changed - UpdateColorFieldsInUI(); - UpdateWindow(g_hDlg); - return 1; -} -//------------------------------------------------------------------------------- -int CDisplay::OnSetupNodeView(NodeInfo* pcNew) -{ - ai_assert(NULL != pcNew); - - if (m_pcCurrentNode == pcNew)return 2; - - // now ... change the meaning of the statistics fields back - SetWindowText(GetDlgItem(g_hDlg,IDC_NUMVERTS),"Verts:"); - SetWindowText(GetDlgItem(g_hDlg,IDC_NUMFACES),"Faces:"); - SetWindowText(GetDlgItem(g_hDlg,IDC_NUMMATS),"Mats:"); - SetWindowText(GetDlgItem(g_hDlg,IDC_NUMMESHES),"Mesh:"); - - ShowWindow(GetDlgItem(g_hDlg,IDC_NUMNODES),SW_HIDE); - ShowWindow(GetDlgItem(g_hDlg,IDC_ENODEWND),SW_HIDE); - ShowWindow(GetDlgItem(g_hDlg,IDC_NUMSHADERS),SW_HIDE); - ShowWindow(GetDlgItem(g_hDlg,IDC_LOADTIME),SW_HIDE); - ShowWindow(GetDlgItem(g_hDlg,IDC_ESHADER),SW_HIDE); - ShowWindow(GetDlgItem(g_hDlg,IDC_ELOAD),SW_HIDE); - ShowWindow(GetDlgItem(g_hDlg,IDC_VIEWMATRIX),SW_SHOW); - - char szTemp[1024]; - sprintf(szTemp, - "%.2f %.2f %.2f\r\n" - "%.2f %.2f %.2f\r\n" - "%.2f %.2f %.2f\r\n" - "%.2f %.2f %.2f\r\n", - pcNew->psNode->mTransformation.a1, - pcNew->psNode->mTransformation.b1, - pcNew->psNode->mTransformation.c1, - pcNew->psNode->mTransformation.a2, - pcNew->psNode->mTransformation.b2, - pcNew->psNode->mTransformation.c2, - pcNew->psNode->mTransformation.a3, - pcNew->psNode->mTransformation.b3, - pcNew->psNode->mTransformation.c3, - pcNew->psNode->mTransformation.a4, - pcNew->psNode->mTransformation.b4, - pcNew->psNode->mTransformation.c4); - SetWindowText(GetDlgItem(g_hDlg,IDC_VIEWMATRIX),szTemp); - - - m_pcCurrentNode = pcNew; - SetViewMode(VIEWMODE_NODE); - - return 1; -} -//------------------------------------------------------------------------------- -int CDisplay::OnSetupMaterialView(MaterialInfo* pcNew) -{ - ai_assert(NULL != pcNew); - - if (m_pcCurrentMaterial == pcNew)return 2; - - if (VIEWMODE_NODE == m_iViewMode) - ShowNormalUIComponents(); - - m_pcCurrentMaterial = pcNew; - SetViewMode(VIEWMODE_MATERIAL); - - // redraw the color fields in the UI --- their purpose has possibly changed - UpdateColorFieldsInUI(); - UpdateWindow(g_hDlg); - return 1; -} -//------------------------------------------------------------------------------- -int CDisplay::OnSetupTextureView(TextureInfo* pcNew) -{ - ai_assert(NULL != pcNew); - - if (this->m_pcCurrentTexture == pcNew)return 2; - - if (VIEWMODE_NODE == this->m_iViewMode) - { - ShowNormalUIComponents(); - } - - if ((aiTextureType_OPACITY | 0x40000000) == pcNew->iType) - { - // for opacity textures display a warn message - CLogDisplay::Instance().AddEntry("[INFO] This texture is not existing in the " - "original mesh",D3DCOLOR_ARGB(0xFF,0xFF,0xFF,0)); - CLogDisplay::Instance().AddEntry("It is a copy of the alpha channel of the first " - "diffuse texture",D3DCOLOR_ARGB(0xFF,0xFF,0xFF,0)); - } - - // check whether the pattern background effect is supported - if (g_sCaps.PixelShaderVersion < D3DPS_VERSION(3,0)) - { - CLogDisplay::Instance().AddEntry("[WARN] The background shader won't work " - "on your system, it required PS 3.0 hardware. A default color is used ...", - D3DCOLOR_ARGB(0xFF,0xFF,0x00,0)); - } - - this->m_fTextureZoom = 1000.0f; - this->m_vTextureOffset.x = this->m_vTextureOffset.y = 0.0f; - - this->m_pcCurrentTexture = pcNew; - this->SetViewMode(VIEWMODE_TEXTURE); - - // now ... change the meaning of the statistics fields - SetWindowText(GetDlgItem(g_hDlg,IDC_NUMVERTS),"Width:"); - SetWindowText(GetDlgItem(g_hDlg,IDC_NUMNODES),"Height:"); - SetWindowText(GetDlgItem(g_hDlg,IDC_NUMFACES),"Format:"); - SetWindowText(GetDlgItem(g_hDlg,IDC_NUMSHADERS),"MIPs:"); - SetWindowText(GetDlgItem(g_hDlg,IDC_NUMMATS),"UV:"); - SetWindowText(GetDlgItem(g_hDlg,IDC_NUMMESHES),"Blend:"); - SetWindowText(GetDlgItem(g_hDlg,IDC_LOADTIME),"Op:"); - - // and fill them with data - D3DSURFACE_DESC sDesc; - if (pcNew->piTexture && *pcNew->piTexture) { - (*pcNew->piTexture)->GetLevelDesc(0,&sDesc); - char szTemp[128]; - - sprintf(szTemp,"%i",sDesc.Width); - SetWindowText(GetDlgItem(g_hDlg,IDC_EVERT),szTemp); - - sprintf(szTemp,"%i",sDesc.Height); - SetWindowText(GetDlgItem(g_hDlg,IDC_ENODEWND),szTemp); - - sprintf(szTemp,"%i",(*pcNew->piTexture)->GetLevelCount()); - SetWindowText(GetDlgItem(g_hDlg,IDC_ESHADER),szTemp); - - sprintf(szTemp,"%i",pcNew->iUV); - SetWindowText(GetDlgItem(g_hDlg,IDC_EMAT),szTemp); - - sprintf(szTemp,"%f",pcNew->fBlend); - SetWindowText(GetDlgItem(g_hDlg,IDC_EMESH),szTemp); - - const char* szOp; - switch (pcNew->eOp) - { - case aiTextureOp_Add: - szOp = "add";break; - case aiTextureOp_Subtract: - szOp = "sub";break; - case aiTextureOp_Divide: - szOp = "div";break; - case aiTextureOp_SignedAdd: - szOp = "addsign";break; - case aiTextureOp_SmoothAdd: - szOp = "addsmooth";break; - default: szOp = "mul"; - }; - SetWindowText(GetDlgItem(g_hDlg,IDC_ELOAD),szOp); - - // NOTE: Format is always ARGB8888 since other formats are - // converted to this format ... - SetWindowText(GetDlgItem(g_hDlg,IDC_EFACE),"ARGB8"); - - // check whether this is the default texture - if (pcNew->piTexture) - { - // {9785DA94-1D96-426b-B3CB-BADC36347F5E} - static const GUID guidPrivateData = - { 0x9785da94, 0x1d96, 0x426b, - { 0xb3, 0xcb, 0xba, 0xdc, 0x36, 0x34, 0x7f, 0x5e } }; - - uint32_t iData = 0; - DWORD dwSize = 4; - (*pcNew->piTexture)->GetPrivateData(guidPrivateData,&iData,&dwSize); - - if (0xFFFFFFFF == iData) - { - CLogDisplay::Instance().AddEntry("[ERROR] Texture could not be loaded. " - "The displayed texture is a default texture", - D3DCOLOR_ARGB(0xFF,0xFF,0,0)); - return 0; - } - } - } - // redraw the color fields in the UI --- their purpose has possibly changed - UpdateColorFieldsInUI(); - UpdateWindow(g_hDlg); - return 1; -} -//------------------------------------------------------------------------------- -int CDisplay::OnSetup(HTREEITEM p_hTreeItem) -{ - // search in our list for the item - union { - TextureInfo* pcNew; - NodeInfo* pcNew2; - MaterialInfo* pcNew3; - }; - - pcNew = NULL; - for (std::vector::iterator i = m_asTextures.begin();i != m_asTextures.end();++i){ - if (p_hTreeItem == (*i).hTreeItem) { - pcNew = &(*i); - break; - } - } - if (pcNew) { - return OnSetupTextureView(pcNew); - } - - // seach the node list - for (std::vector::iterator i = m_asNodes.begin(); i != m_asNodes.end();++i){ - if (p_hTreeItem == (*i).hTreeItem) { - pcNew2 = &(*i); - break; - } - } - if (pcNew2) { - return OnSetupNodeView(pcNew2); - } - - // seach the material list - for (std::vector::iterator i = m_asMaterials.begin();i != m_asMaterials.end();++i){ - if (p_hTreeItem == (*i).hTreeItem){ - pcNew3 = &(*i); - break; - } - } - if (pcNew3) { - return OnSetupMaterialView(pcNew3); - } - return OnSetupNormalView(); -} -//------------------------------------------------------------------------------- -int CDisplay::ShowTreeViewContextMenu(HTREEITEM hItem) -{ - ai_assert(NULL != hItem); - - HMENU hDisplay = NULL; - - // search in our list for the item - TextureInfo* pcNew = NULL; - for (std::vector::iterator - i = m_asTextures.begin(); - i != m_asTextures.end();++i) - { - if (hItem == (*i).hTreeItem) { - pcNew = &(*i); - break; - } - } - if (pcNew) - { - HMENU hMenu = LoadMenu(g_hInstance,MAKEINTRESOURCE(IDR_TXPOPUP)); - hDisplay = GetSubMenu(hMenu,0); - } - - // search in the material list for the item - MaterialInfo* pcNew2 = NULL; - for (std::vector::iterator - i = m_asMaterials.begin(); - i != m_asMaterials.end();++i) - { - if (hItem == (*i).hTreeItem) { - pcNew2 = &(*i); - break; - } - } - if (pcNew2) - { - HMENU hMenu = LoadMenu(g_hInstance,MAKEINTRESOURCE(IDR_MATPOPUP)); - hDisplay = GetSubMenu(hMenu,0); - } - if (NULL != hDisplay) - { - // select this entry (this should all OnSetup()) - TreeView_Select(GetDlgItem(g_hDlg,IDC_TREE1),hItem,TVGN_CARET); - - // FIX: Render the scene once that the correct texture/material - // is displayed while the context menu is active - OnRender(); - - POINT sPoint; - GetCursorPos(&sPoint); - TrackPopupMenu(hDisplay, TPM_LEFTALIGN, sPoint.x, sPoint.y, 0, - g_hDlg,NULL); - } - return 1; -} -//------------------------------------------------------------------------------- -int CDisplay::HandleTreeViewPopup(WPARAM wParam,LPARAM lParam) -{ - // get the current selected material - std::vector apclrOut; - const char* szMatKey; - - switch (LOWORD(wParam)) - { - case ID_SOLONG_CLEARDIFFUSECOLOR: - for (unsigned int i = 0; i < g_pcAsset->pcScene->mNumMeshes;++i) - { - if (this->m_pcCurrentMaterial->iIndex == g_pcAsset->pcScene->mMeshes[i]->mMaterialIndex) - { - apclrOut.push_back( Info( &g_pcAsset->apcMeshes[i]->vDiffuseColor, - g_pcAsset->apcMeshes[i],"DIFFUSE_COLOR")); - } - } - szMatKey = "$clr.diffuse"; - break; - case ID_SOLONG_CLEARSPECULARCOLOR: - for (unsigned int i = 0; i < g_pcAsset->pcScene->mNumMeshes;++i) - { - if (this->m_pcCurrentMaterial->iIndex == g_pcAsset->pcScene->mMeshes[i]->mMaterialIndex) - { - apclrOut.push_back( Info( &g_pcAsset->apcMeshes[i]->vSpecularColor, - g_pcAsset->apcMeshes[i],"SPECULAR_COLOR")); - } - } - szMatKey = "$clr.specular"; - break; - case ID_SOLONG_CLEARAMBIENTCOLOR: - for (unsigned int i = 0; i < g_pcAsset->pcScene->mNumMeshes;++i) - { - if (this->m_pcCurrentMaterial->iIndex == g_pcAsset->pcScene->mMeshes[i]->mMaterialIndex) - { - apclrOut.push_back( Info( &g_pcAsset->apcMeshes[i]->vAmbientColor, - g_pcAsset->apcMeshes[i],"AMBIENT_COLOR")); - } - } - szMatKey = "$clr.ambient"; - break; - case ID_SOLONG_CLEAREMISSIVECOLOR: - for (unsigned int i = 0; i < g_pcAsset->pcScene->mNumMeshes;++i) - { - if (this->m_pcCurrentMaterial->iIndex == g_pcAsset->pcScene->mMeshes[i]->mMaterialIndex) - { - apclrOut.push_back( Info( &g_pcAsset->apcMeshes[i]->vEmissiveColor, - g_pcAsset->apcMeshes[i],"EMISSIVE_COLOR")); - } - } - szMatKey = "$clr.emissive"; - break; - default: - - // let the next function do this ... no spaghetti code ;-) - HandleTreeViewPopup2(wParam,lParam); - }; - if (!apclrOut.empty()) - { - aiColor4D clrOld = *((aiColor4D*)(apclrOut.front().pclrColor)); - - CHOOSECOLOR clr; - clr.lStructSize = sizeof(CHOOSECOLOR); - clr.hwndOwner = g_hDlg; - clr.Flags = CC_RGBINIT | CC_FULLOPEN; - clr.rgbResult = RGB( - clamp(clrOld.r * 255.0f), - clamp(clrOld.g * 255.0f), - clamp(clrOld.b * 255.0f)); - clr.lpCustColors = g_aclCustomColors; - clr.lpfnHook = NULL; - clr.lpTemplateName = NULL; - clr.lCustData = NULL; - - ChooseColor(&clr); - - clrOld.r = (float)(((unsigned int)clr.rgbResult) & 0xFF) / 255.0f; - clrOld.g = (float)(((unsigned int)clr.rgbResult >> 8) & 0xFF) / 255.0f; - clrOld.b = (float)(((unsigned int)clr.rgbResult >> 16) & 0xFF) / 255.0f; - - // update the color values in the mesh instances and - // update all shaders ... - for (std::vector::iterator - i = apclrOut.begin(); - i != apclrOut.end();++i) - { - *((*i).pclrColor) = *((D3DXVECTOR4*)&clrOld); - if (!(*i).pMesh->bSharedFX) - { - (*i).pMesh->piEffect->SetVector((*i).szShaderParam,(*i).pclrColor); - } - } - - // change the material key ... - Assimp::MaterialHelper* pcMat = (Assimp::MaterialHelper*)g_pcAsset->pcScene->mMaterials[ - this->m_pcCurrentMaterial->iIndex]; - pcMat->AddProperty(&clrOld,1,szMatKey,0,0); - - if (ID_SOLONG_CLEARSPECULARCOLOR == LOWORD(wParam) && - aiShadingMode_Gouraud == apclrOut.front().pMesh->eShadingMode) - { - CLogDisplay::Instance().AddEntry("[INFO] You have just changed the specular " - "material color",D3DCOLOR_ARGB(0xFF,0xFF,0xFF,0)); - CLogDisplay::Instance().AddEntry( - "This is great, especially since there is currently no specular shading", - D3DCOLOR_ARGB(0xFF,0xFF,0xFF,0)); - } - } - return 1; -} -//------------------------------------------------------------------------------- -int CALLBACK TreeViewCompareFunc(LPARAM lParam1, LPARAM lParam2, LPARAM lParamSort) -{ - if (lParamSort == lParam1)return -1; - if (lParamSort == lParam2)return 1; - return 0; -} -//------------------------------------------------------------------------------- -int CDisplay::HandleTreeViewPopup2(WPARAM wParam,LPARAM lParam) -{ - char szFileName[MAX_PATH]; - DWORD dwTemp = MAX_PATH; - - switch (LOWORD(wParam)) - { - case ID_HEY_REPLACE: - { - // get a path to a new texture - if(ERROR_SUCCESS != RegQueryValueEx(g_hRegistry,"ReplaceTextureSrc",NULL,NULL, - (BYTE*)szFileName,&dwTemp)) - { - // Key was not found. Use C: - strcpy(szFileName,""); - } - else - { - // need to remove the file name - char* sz = strrchr(szFileName,'\\'); - if (!sz)sz = strrchr(szFileName,'/'); - if (!sz)*sz = 0; - } - OPENFILENAME sFilename1 = { - sizeof(OPENFILENAME), - g_hDlg,GetModuleHandle(NULL), - "Textures\0*.png;*.dds;*.tga;*.bmp;*.tif;*.ppm;*.ppx;*.jpg;*.jpeg;*.exr\0*.*\0", - NULL, 0, 1, - szFileName, MAX_PATH, NULL, 0, NULL, - "Replace this texture", - OFN_OVERWRITEPROMPT | OFN_HIDEREADONLY | OFN_NOCHANGEDIR, - 0, 1, ".jpg", 0, NULL, NULL - }; - if(GetOpenFileName(&sFilename1) == 0) return 0; - - // Now store the file in the registry - RegSetValueExA(g_hRegistry,"ReplaceTextureSrc",0,REG_SZ,(const BYTE*)szFileName,MAX_PATH); - this->ReplaceCurrentTexture(szFileName); - } - return 1; - - case ID_HEY_EXPORT: - { - if(ERROR_SUCCESS != RegQueryValueEx(g_hRegistry,"TextureExportDest",NULL,NULL, - (BYTE*)szFileName,&dwTemp)) - { - // Key was not found. Use C: - strcpy(szFileName,""); - } - else - { - // need to remove the file name - char* sz = strrchr(szFileName,'\\'); - if (!sz)sz = strrchr(szFileName,'/'); - if (!sz)*sz = 0; - } - OPENFILENAME sFilename1 = { - sizeof(OPENFILENAME), - g_hDlg,GetModuleHandle(NULL), - "Textures\0*.png;*.dds;*.bmp;*.tif;*.pfm;*.jpg;*.jpeg;*.hdr\0*.*\0", NULL, 0, 1, - szFileName, MAX_PATH, NULL, 0, NULL, - "Export texture to file", - OFN_OVERWRITEPROMPT | OFN_HIDEREADONLY | OFN_NOCHANGEDIR, - 0, 1, ".png", 0, NULL, NULL - }; - if(GetSaveFileName(&sFilename1) == 0) return 0; - - // Now store the file in the registry - RegSetValueExA(g_hRegistry,"TextureExportDest",0,REG_SZ,(const BYTE*)szFileName,MAX_PATH); - - // determine the file format ... - D3DXIMAGE_FILEFORMAT eFormat = D3DXIFF_PNG; - const char* sz = strrchr(szFileName,'.'); - if (sz) - { - ++sz; - if (0 == Assimp::ASSIMP_stricmp(sz,"pfm"))eFormat = D3DXIFF_PFM; - else if (0 == Assimp::ASSIMP_stricmp(sz,"dds"))eFormat = D3DXIFF_DDS; - else if (0 == Assimp::ASSIMP_stricmp(sz,"jpg"))eFormat = D3DXIFF_JPG; - else if (0 == Assimp::ASSIMP_stricmp(sz,"jpeg"))eFormat = D3DXIFF_JPG; - else if (0 == Assimp::ASSIMP_stricmp(sz,"hdr"))eFormat = D3DXIFF_HDR; - else if (0 == Assimp::ASSIMP_stricmp(sz,"bmp"))eFormat = D3DXIFF_BMP; - } - - // get a pointer to the first surface of the current texture - IDirect3DSurface9* pi = NULL; - (*this->m_pcCurrentTexture->piTexture)->GetSurfaceLevel(0,&pi); - if(!pi || FAILED(D3DXSaveSurfaceToFile(szFileName,eFormat,pi,NULL,NULL))) - { - CLogDisplay::Instance().AddEntry("[ERROR] Unable to export texture", - D3DCOLOR_ARGB(0xFF,0xFF,0,0)); - } - else - { - CLogDisplay::Instance().AddEntry("[INFO] The texture has been exported", - D3DCOLOR_ARGB(0xFF,0xFF,0xFF,0)); - } - if(pi)pi->Release(); - } - return 1; - - case ID_HEY_REMOVE: - { - - if(IDYES != MessageBox(g_hDlg,"To recover the texture you need to reload the model. Do you wish to continue?", - "Remove texture",MB_YESNO)) { - return 1; - } - - Assimp::MaterialHelper* pcMat = (Assimp::MaterialHelper*)g_pcAsset->pcScene->mMaterials[ - m_pcCurrentTexture->iMatIndex]; - - unsigned int s; - if (m_pcCurrentTexture->iType == (aiTextureType_OPACITY | 0x40000000)) - { - // set a special property to indicate that no alpha channel is required - int iVal = 1; - pcMat->AddProperty(&iVal,1,"no_a_from_d",0,0); - s = aiTextureType_OPACITY; - } - else s = m_pcCurrentTexture->iType; - pcMat->RemoveProperty(AI_MATKEY_TEXTURE(m_pcCurrentTexture->iType,0)); - - // need to update all meshes associated with this material - for (unsigned int i = 0;i < g_pcAsset->pcScene->mNumMeshes;++i) - { - if (m_pcCurrentTexture->iMatIndex == g_pcAsset->pcScene->mMeshes[i]->mMaterialIndex) - { - CMaterialManager::Instance().DeleteMaterial(g_pcAsset->apcMeshes[i]); - CMaterialManager::Instance().CreateMaterial(g_pcAsset->apcMeshes[i],g_pcAsset->pcScene->mMeshes[i]); - } - } - // find the corresponding MaterialInfo structure - const unsigned int iMatIndex = m_pcCurrentTexture->iMatIndex; - for (std::vector::iterator - a = m_asMaterials.begin(); - a != m_asMaterials.end();++a) - { - if (iMatIndex == (*a).iIndex) - { - // good news. we will also need to find all other textures - // associated with this item ... - for (std::vector::iterator - n = m_asTextures.begin(); - n != m_asTextures.end();++n) - { - if ((*n).iMatIndex == iMatIndex) - { - n = m_asTextures.erase(n); - if (m_asTextures.end() == n)break; - } - } - // delete this material from all lists ... - TreeView_DeleteItem(GetDlgItem(g_hDlg,IDC_TREE1),(*a).hTreeItem); - this->m_asMaterials.erase(a); - break; - } - } - - // add the new material to the list and make sure it will be fully expanded - AddMaterialToDisplayList(m_hRoot,iMatIndex); - HTREEITEM hNewItem = m_asMaterials.back().hTreeItem; - TreeView_Expand(GetDlgItem(g_hDlg,IDC_TREE1),hNewItem,TVE_EXPAND); - - // we need to sort the list, materials come first, then nodes - TVSORTCB sSort; - sSort.hParent = m_hRoot; - sSort.lParam = 10; - sSort.lpfnCompare = &TreeViewCompareFunc; - TreeView_SortChildrenCB(GetDlgItem(g_hDlg,IDC_TREE1),&sSort,0); - - // the texture was selected, but the silly user has just deleted it - // ... go back to normal viewing mode - TreeView_Select(GetDlgItem(g_hDlg,IDC_TREE1),m_hRoot,TVGN_CARET); - return 1; - } - } - return 0; -} -//------------------------------------------------------------------------------- -// Setup stereo view -int CDisplay::SetupStereoView() -{ - if (NULL != g_pcAsset && NULL != g_pcAsset->pcScene->mRootNode) - { - // enable the RED, GREEN and ALPHA channels - g_piDevice->SetRenderState(D3DRS_COLORWRITEENABLE, - D3DCOLORWRITEENABLE_RED | - D3DCOLORWRITEENABLE_ALPHA | - D3DCOLORWRITEENABLE_GREEN); - - // move the camera a little bit to the left - g_sCamera.vPos -= g_sCamera.vRight * 0.03f; - } - return 1; -} -//------------------------------------------------------------------------------- -// Do the actual rendering pass for the stereo view -int CDisplay::RenderStereoView(const aiMatrix4x4& m) -{ - // and rerender the scene - if (NULL != g_pcAsset && NULL != g_pcAsset->pcScene->mRootNode) - { - // enable the BLUE, GREEN and ALPHA channels - g_piDevice->SetRenderState(D3DRS_COLORWRITEENABLE, - D3DCOLORWRITEENABLE_GREEN | - D3DCOLORWRITEENABLE_ALPHA | - D3DCOLORWRITEENABLE_BLUE); - - // clear the z-buffer - g_piDevice->Clear(0,NULL,D3DCLEAR_ZBUFFER,0,1.0f,0); - - // move the camera a little bit to the right - g_sCamera.vPos += g_sCamera.vRight * 0.06f; - - RenderNode(g_pcAsset->pcScene->mRootNode,m,false); - g_piDevice->SetRenderState(D3DRS_ZWRITEENABLE,FALSE); - RenderNode(g_pcAsset->pcScene->mRootNode,m,true); - g_piDevice->SetRenderState(D3DRS_ZWRITEENABLE,TRUE); - - // (move back to the original position) - g_sCamera.vPos -= g_sCamera.vRight * 0.03f; - - // reenable all channels - g_piDevice->SetRenderState(D3DRS_COLORWRITEENABLE, - D3DCOLORWRITEENABLE_RED | - D3DCOLORWRITEENABLE_GREEN | - D3DCOLORWRITEENABLE_ALPHA | - D3DCOLORWRITEENABLE_BLUE); - } - return 1; -} -//------------------------------------------------------------------------------- -// Process input for the texture view -int CDisplay::HandleInputTextureView() -{ - HandleMouseInputTextureView(); - HandleKeyboardInputTextureView(); - return 1; -} -#endif - -//------------------------------------------------------------------------------- -// Get input for the current state - private int HandleInput() - { - //if(CBackgroundPainter::TEXTURE_CUBE == CBackgroundPainter::Instance().GetMode()) - // HandleMouseInputSkyBox(); - - // handle input commands - //HandleMouseInputLightRotate(); - //HandleMouseInputLightIntensityAndColor(); - //if(g_bFPSView) - //{ - // HandleMouseInputFPS(); - // HandleKeyboardInputFPS(); - //} - //else - HandleMouseInputLocal(); - - // compute auto rotation depending on the time which has passed - if (g_sOptions.bRotate) - { - aiMatrix4x4 mMat; - D3DXMatrixRotationYawPitchRoll((D3DXMATRIX*)&mMat, - g_vRotateSpeed.x * g_fElpasedTime, - g_vRotateSpeed.y * g_fElpasedTime, - g_vRotateSpeed.z * g_fElpasedTime); - g_mWorldRotate = g_mWorldRotate * mMat; - } - - // Handle rotations of light source(s) - if (g_sOptions.bLightRotate) - { - aiMatrix4x4 mMat; - D3DXMatrixRotationYawPitchRoll((D3DXMATRIX*)&mMat, - g_vRotateSpeed.x * g_fElpasedTime * 0.5f, - g_vRotateSpeed.y * g_fElpasedTime * 0.5f, - g_vRotateSpeed.z * g_fElpasedTime * 0.5f); - - D3DXVec3TransformNormal((D3DXVECTOR3*)&g_avLightDirs[0], - (D3DXVECTOR3*)&g_avLightDirs[0],(D3DXMATRIX*)&mMat); - - // 2 lights to rotate? - if (g_sOptions.b3Lights) - { - D3DXVec3TransformNormal((D3DXVECTOR3*)&g_avLightDirs[1], - (D3DXVECTOR3*)&g_avLightDirs[1],(D3DXMATRIX*)&mMat); - - g_avLightDirs[1].Normalize(); - } - g_avLightDirs[0].Normalize(); - } - return 1; - } -#if false -//------------------------------------------------------------------------------- -// Process input for an empty scen view to allow for skybox rotations -int CDisplay::HandleInputEmptyScene() -{ - if(CBackgroundPainter::TEXTURE_CUBE == CBackgroundPainter::Instance().GetMode()) - { - if (g_bFPSView) - { - HandleMouseInputFPS(); - HandleKeyboardInputFPS(); - } - HandleMouseInputSkyBox(); - - // need to store the last mouse position in the global variable - // HandleMouseInputFPS() is doing this internally - if (!g_bFPSView) - { - g_LastmousePos.x = g_mousePos.x; - g_LastmousePos.y = g_mousePos.y; - } - } - return 1; -} -//------------------------------------------------------------------------------- -// Draw the HUD on top of the scene -int CDisplay::DrawHUD() -{ - // HACK: (thom) can't get the effect to work on non-shader cards, therefore deactivated for the moment - if( g_sCaps.PixelShaderVersion < D3DPS_VERSION(2,0)) - return 1; - - // get the dimension of the back buffer - RECT sRect; - GetWindowRect(GetDlgItem(g_hDlg,IDC_RT),&sRect); - sRect.right -= sRect.left; - sRect.bottom -= sRect.top; - - // commit the texture to the shader - // FIX: Necessary because the texture view is also using this shader - g_piPassThroughEffect->SetTexture("TEXTURE_2D",g_pcTexture); - - // NOTE: The shader might be used for other purposes, too. - // So ensure the right technique is there - if( g_sCaps.PixelShaderVersion < D3DPS_VERSION(2,0)) - g_piPassThroughEffect->SetTechnique( "PassThrough_FF"); - else - g_piPassThroughEffect->SetTechnique("PassThrough"); - - // build vertices for drawing from system memory - UINT dw; - g_piPassThroughEffect->Begin(&dw,0); - g_piPassThroughEffect->BeginPass(0); - - D3DSURFACE_DESC sDesc; - g_pcTexture->GetLevelDesc(0,&sDesc); - SVertex as[4]; - float fHalfX = ((float)sRect.right-(float)sDesc.Width) / 2.0f; - float fHalfY = ((float)sRect.bottom-(float)sDesc.Height) / 2.0f; - as[1].x = fHalfX; - as[1].y = fHalfY; - as[1].z = 0.2f; - as[1].w = 1.0f; - as[1].u = 0.0f; - as[1].v = 0.0f; - - as[3].x = (float)sRect.right-fHalfX; - as[3].y = fHalfY; - as[3].z = 0.2f; - as[3].w = 1.0f; - as[3].u = 1.0f; - as[3].v = 0.0f; - - as[0].x = fHalfX; - as[0].y = (float)sRect.bottom-fHalfY; - as[0].z = 0.2f; - as[0].w = 1.0f; - as[0].u = 0.0f; - as[0].v = 1.0f; - - as[2].x = (float)sRect.right-fHalfX; - as[2].y = (float)sRect.bottom-fHalfY; - as[2].z = 0.2f; - as[2].w = 1.0f; - as[2].u = 1.0f; - as[2].v = 1.0f; - - as[0].x -= 0.5f;as[1].x -= 0.5f;as[2].x -= 0.5f;as[3].x -= 0.5f; - as[0].y -= 0.5f;as[1].y -= 0.5f;as[2].y -= 0.5f;as[3].y -= 0.5f; - - g_piDevice->SetSamplerState(0,D3DSAMP_MAGFILTER,D3DTEXF_LINEAR); - g_piDevice->SetSamplerState(0,D3DSAMP_MINFILTER,D3DTEXF_LINEAR); - - // draw the screen-filling squad - DWORD dw2;g_piDevice->GetFVF(&dw2); - g_piDevice->SetFVF(D3DFVF_XYZRHW | D3DFVF_TEX1); - g_piDevice->DrawPrimitiveUP(D3DPT_TRIANGLESTRIP,2, - &as,sizeof(SVertex)); - - // end the effect and recover the old vertex format - g_piPassThroughEffect->EndPass(); - g_piPassThroughEffect->End(); - - g_piDevice->SetFVF(dw2); - return 1; -} -//------------------------------------------------------------------------------- -// Render the full scene, all nodes -int CDisplay::RenderFullScene() -{ - // reset the color index used for drawing normals - g_iCurrentColor = 0; - - aiMatrix4x4 pcProj; - GetProjectionMatrix(pcProj); - - vPos = GetCameraMatrix(mViewProjection); - mViewProjection = mViewProjection * pcProj; - - // setup wireframe/solid rendering mode - if (g_sOptions.eDrawMode == RenderOptions::WIREFRAME) - g_piDevice->SetRenderState(D3DRS_FILLMODE,D3DFILL_WIREFRAME); - else g_piDevice->SetRenderState(D3DRS_FILLMODE,D3DFILL_SOLID); - - if (g_sOptions.bCulling) - g_piDevice->SetRenderState(D3DRS_CULLMODE,D3DCULL_CCW); - else g_piDevice->SetRenderState(D3DRS_CULLMODE,D3DCULL_NONE); - - // for high-quality mode, enable anisotropic texture filtering - if (g_sOptions.bLowQuality) { - for (DWORD d = 0; d < 8;++d) { - g_piDevice->SetSamplerState(d,D3DSAMP_MAGFILTER,D3DTEXF_LINEAR); - g_piDevice->SetSamplerState(d,D3DSAMP_MINFILTER,D3DTEXF_LINEAR); - g_piDevice->SetSamplerState(d,D3DSAMP_MIPFILTER,D3DTEXF_LINEAR); - } - } - else { - for (DWORD d = 0; d < 8;++d) { - g_piDevice->SetSamplerState(d,D3DSAMP_MAGFILTER,D3DTEXF_ANISOTROPIC); - g_piDevice->SetSamplerState(d,D3DSAMP_MINFILTER,D3DTEXF_ANISOTROPIC); - g_piDevice->SetSamplerState(d,D3DSAMP_MIPFILTER,D3DTEXF_LINEAR); - - g_piDevice->SetSamplerState(d,D3DSAMP_MAXANISOTROPY,g_sCaps.MaxAnisotropy); - } - } - - // draw the scene background (clear and texture 2d) - CBackgroundPainter::Instance().OnPreRender(); - - // setup the stereo view if necessary - if (g_sOptions.bStereoView) - SetupStereoView(); - - - // draw all opaque objects in the scene - aiMatrix4x4 m; - if (NULL != g_pcAsset && NULL != g_pcAsset->pcScene->mRootNode) - { - HandleInput(); - m = g_mWorld * g_mWorldRotate; - RenderNode(g_pcAsset->pcScene->mRootNode,m,false); - } - - // if a cube texture is loaded as background image, the user - // should be able to rotate it even if no asset is loaded - HandleInputEmptyScene(); - - // draw the scene background - CBackgroundPainter::Instance().OnPostRender(); - - // draw all non-opaque objects in the scene - if (NULL != g_pcAsset && NULL != g_pcAsset->pcScene->mRootNode) - { - // disable the z-buffer - g_piDevice->SetRenderState(D3DRS_ZWRITEENABLE,FALSE); - RenderNode(g_pcAsset->pcScene->mRootNode,m,true); - g_piDevice->SetRenderState(D3DRS_ZWRITEENABLE,TRUE); - } - - // setup the stereo view if necessary - if (g_sOptions.bStereoView) - RenderStereoView(m); - - // render the skeleton if necessary - if (g_sOptions.bSkeleton && NULL != g_pcAsset && NULL != g_pcAsset->pcScene->mRootNode) { - // disable the z-buffer - g_piDevice->SetRenderState(D3DRS_ZWRITEENABLE,FALSE); - - if (g_sOptions.eDrawMode != RenderOptions::WIREFRAME) { - g_piDevice->SetRenderState(D3DRS_ZENABLE,FALSE); - } - - g_piDevice->SetVertexDeclaration( gDefaultVertexDecl); - // this is very similar to the code in SetupMaterial() - ID3DXEffect* piEnd = g_piNormalsEffect; - aiMatrix4x4 pcProj = m * mViewProjection; - - D3DXVECTOR4 vVector(1.f,0.f,0.f,1.f); - piEnd->SetVector("OUTPUT_COLOR",&vVector); - piEnd->SetMatrix("WorldViewProjection", (const D3DXMATRIX*)&pcProj); - - UINT dwPasses = 0; - piEnd->Begin(&dwPasses,0); - piEnd->BeginPass(0); - - RenderSkeleton(g_pcAsset->pcScene->mRootNode,m,m); - - piEnd->EndPass();piEnd->End(); - g_piDevice->SetRenderState(D3DRS_ZWRITEENABLE,TRUE); - g_piDevice->SetRenderState(D3DRS_ZENABLE,TRUE); - } - - // draw the HUD texture on top of the rendered scene using - // pre-projected vertices - if (!g_bFPSView && g_pcAsset && g_pcTexture) - DrawHUD(); - - return 1; -} -//------------------------------------------------------------------------------- -int CDisplay::RenderMaterialView() -{ - return 1; -} -//------------------------------------------------------------------------------- -// Render animation skeleton -int CDisplay::RenderSkeleton (aiNode* piNode,const aiMatrix4x4& piMatrix, const aiMatrix4x4& parent) -{ - aiMatrix4x4 me = g_pcAsset->mAnimator->GetGlobalTransform( piNode); - - me.Transpose(); - //me *= piMatrix; - - if (piNode->mParent) { - AssetHelper::LineVertex data[2]; - data[0].dColorDiffuse = data[1].dColorDiffuse = D3DCOLOR_ARGB(0xff,0xff,0,0); - - data[0].vPosition.x = parent.d1; - data[0].vPosition.y = parent.d2; - data[0].vPosition.z = parent.d3; - - data[1].vPosition.x = me.d1; - data[1].vPosition.y = me.d2; - data[1].vPosition.z = me.d3; - - g_piDevice->DrawPrimitiveUP(D3DPT_LINELIST,1,&data,sizeof(AssetHelper::LineVertex)); - } - - // render all child nodes - for (unsigned int i = 0; i < piNode->mNumChildren;++i) - RenderSkeleton(piNode->mChildren[i],piMatrix, me ); - - return 1; -} -//------------------------------------------------------------------------------- -// Render a single node -int CDisplay::RenderNode (aiNode* piNode,const aiMatrix4x4& piMatrix, - bool bAlpha /*= false*/) -{ - aiMatrix4x4 aiMe = g_pcAsset->mAnimator->GetGlobalTransform( piNode); - - aiMe.Transpose(); - aiMe *= piMatrix; - - bool bChangedVM = false; - if (VIEWMODE_NODE == m_iViewMode && m_pcCurrentNode) - { - if (piNode != m_pcCurrentNode->psNode) - { - // directly call our children - for (unsigned int i = 0; i < piNode->mNumChildren;++i) - RenderNode(piNode->mChildren[i],piMatrix,bAlpha ); - - return 1; - } - m_iViewMode = VIEWMODE_FULL; - bChangedVM = true; - } - - aiMatrix4x4 pcProj = aiMe * mViewProjection; - - aiMatrix4x4 pcCam = aiMe; - pcCam.Inverse().Transpose(); - - // VERY UNOPTIMIZED, much stuff is redundant. Who cares? - if (!g_sOptions.bRenderMats && !bAlpha) - { - // this is very similar to the code in SetupMaterial() - ID3DXEffect* piEnd = g_piDefaultEffect; - - // commit transformation matrices to the shader - piEnd->SetMatrix("WorldViewProjection", - (const D3DXMATRIX*)&pcProj); - - piEnd->SetMatrix("World",(const D3DXMATRIX*)&aiMe); - piEnd->SetMatrix("WorldInverseTranspose", - (const D3DXMATRIX*)&pcCam); - - if ( CBackgroundPainter::TEXTURE_CUBE == CBackgroundPainter::Instance().GetMode()) - { - pcCam = pcCam * pcProj; - piEnd->SetMatrix("ViewProj",(const D3DXMATRIX*)&pcCam); - pcCam.Inverse(); - piEnd->SetMatrix("InvViewProj",(const D3DXMATRIX*)&pcCam); - } - - // commit light colors and direction to the shader - D3DXVECTOR4 apcVec[5]; - apcVec[0].x = g_avLightDirs[0].x; - apcVec[0].y = g_avLightDirs[0].y; - apcVec[0].z = g_avLightDirs[0].z; - apcVec[0].w = 0.0f; - apcVec[1].x = g_avLightDirs[0].x * -1.0f; - apcVec[1].y = g_avLightDirs[0].y * -1.0f; - apcVec[1].z = g_avLightDirs[0].z * -1.0f; - apcVec[1].w = 0.0f; - - D3DXVec4Normalize(&apcVec[0],&apcVec[0]); - D3DXVec4Normalize(&apcVec[1],&apcVec[1]); - piEnd->SetVectorArray("afLightDir",apcVec,5); - - apcVec[0].x = ((g_avLightColors[0] >> 16) & 0xFF) / 255.0f; - apcVec[0].y = ((g_avLightColors[0] >> 8) & 0xFF) / 255.0f; - apcVec[0].z = ((g_avLightColors[0]) & 0xFF) / 255.0f; - apcVec[0].w = 1.0f; - - if( g_sOptions.b3Lights) - { - apcVec[1].x = ((g_avLightColors[1] >> 16) & 0xFF) / 255.0f; - apcVec[1].y = ((g_avLightColors[1] >> 8) & 0xFF) / 255.0f; - apcVec[1].z = ((g_avLightColors[1]) & 0xFF) / 255.0f; - apcVec[1].w = 0.0f; - } else - { - apcVec[1].x = 0.0f; - apcVec[1].y = 0.0f; - apcVec[1].z = 0.0f; - apcVec[1].w = 0.0f; - } - - apcVec[0] *= g_fLightIntensity; - apcVec[1] *= g_fLightIntensity; - piEnd->SetVectorArray("afLightColor",apcVec,5); - - apcVec[0].x = vPos.x; - apcVec[0].y = vPos.y; - apcVec[0].z = vPos.z; - piEnd->SetVector( "vCameraPos",&apcVec[0]); - - // setup the best technique - if( g_sCaps.PixelShaderVersion < D3DPS_VERSION(2,0)) - { - g_piDefaultEffect->SetTechnique( "DefaultFXSpecular_FF"); - } else - if (g_sCaps.PixelShaderVersion < D3DPS_VERSION(3,0) || g_sOptions.bLowQuality) - { - if (g_sOptions.b3Lights) - piEnd->SetTechnique("DefaultFXSpecular_PS20_D2"); - else piEnd->SetTechnique("DefaultFXSpecular_PS20_D1"); - } - else - { - if (g_sOptions.b3Lights) - piEnd->SetTechnique("DefaultFXSpecular_D2"); - else piEnd->SetTechnique("DefaultFXSpecular_D1"); - } - - // setup the default material - UINT dwPasses = 0; - piEnd->Begin(&dwPasses,0); - piEnd->BeginPass(0); - } - D3DXVECTOR4 vVector = g_aclNormalColors[g_iCurrentColor]; - if (++g_iCurrentColor == 14) - { - g_iCurrentColor = 0; - } - if (! (!g_sOptions.bRenderMats && bAlpha )) - { - for (unsigned int i = 0; i < piNode->mNumMeshes;++i) - { - const aiMesh* mesh = g_pcAsset->pcScene->mMeshes[piNode->mMeshes[i]]; - AssetHelper::MeshHelper* helper = g_pcAsset->apcMeshes[piNode->mMeshes[i]]; - - // don't render the mesh if the render pass is incorrect - if (g_sOptions.bRenderMats && (helper->piOpacityTexture || helper->fOpacity != 1.0f) && !mesh->HasBones()) - { - if (!bAlpha)continue; - } - else if (bAlpha)continue; - - // Upload bone matrices. This maybe is the wrong place to do it, but for the heck of it I don't understand this code flow - if( mesh->HasBones()) - { - if( helper->piEffect) - { - static float matrices[4*4*60]; - float* tempmat = matrices; - const std::vector& boneMats = g_pcAsset->mAnimator->GetBoneMatrices( piNode, i); - ai_assert( boneMats.size() == mesh->mNumBones); - - for( unsigned int a = 0; a < mesh->mNumBones; a++) - { - const aiMatrix4x4& mat = boneMats[a]; - *tempmat++ = mat.a1; *tempmat++ = mat.a2; *tempmat++ = mat.a3; *tempmat++ = mat.a4; - *tempmat++ = mat.b1; *tempmat++ = mat.b2; *tempmat++ = mat.b3; *tempmat++ = mat.b4; - *tempmat++ = mat.c1; *tempmat++ = mat.c2; *tempmat++ = mat.c3; *tempmat++ = mat.c4; - *tempmat++ = mat.d1; *tempmat++ = mat.d2; *tempmat++ = mat.d3; *tempmat++ = mat.d4; - //tempmat += 4; - } - - if( g_sOptions.bRenderMats) - { - helper->piEffect->SetMatrixTransposeArray( "gBoneMatrix", (D3DXMATRIX*)matrices, 60); - } else - { - g_piDefaultEffect->SetMatrixTransposeArray( "gBoneMatrix", (D3DXMATRIX*)matrices, 60); - g_piDefaultEffect->CommitChanges(); - } - } - } else - { - // upload identity matrices instead. Only the first is ever going to be used in meshes without bones - if( !g_sOptions.bRenderMats) - { - D3DXMATRIX identity( 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); - g_piDefaultEffect->SetMatrixTransposeArray( "gBoneMatrix", &identity, 1); - g_piDefaultEffect->CommitChanges(); - } - } - - // now setup the material - if (g_sOptions.bRenderMats) - { - CMaterialManager::Instance().SetupMaterial( helper, pcProj, aiMe, pcCam, vPos); - } - g_piDevice->SetVertexDeclaration( gDefaultVertexDecl); - - if (bAlpha)CMeshRenderer::Instance().DrawSorted(piNode->mMeshes[i],aiMe); - else CMeshRenderer::Instance().DrawUnsorted(piNode->mMeshes[i]); - - // now end the material - if (g_sOptions.bRenderMats) - { - CMaterialManager::Instance().EndMaterial( helper); - } - - // render normal vectors? - if (g_sOptions.bRenderNormals && helper->piVBNormals) - { - // this is very similar to the code in SetupMaterial() - ID3DXEffect* piEnd = g_piNormalsEffect; - - piEnd->SetVector("OUTPUT_COLOR",&vVector); - piEnd->SetMatrix("WorldViewProjection", (const D3DXMATRIX*)&pcProj); - - UINT dwPasses = 0; - piEnd->Begin(&dwPasses,0); - piEnd->BeginPass(0); - - g_piDevice->SetStreamSource(0, helper->piVBNormals, 0, sizeof(AssetHelper::LineVertex)); - g_piDevice->DrawPrimitive(D3DPT_LINELIST,0, g_pcAsset->pcScene->mMeshes[piNode->mMeshes[i]]->mNumVertices); - - piEnd->EndPass(); - piEnd->End(); - } - } - // end the default material - if (!g_sOptions.bRenderMats) - { - g_piDefaultEffect->EndPass(); - g_piDefaultEffect->End(); - } - } - // render all child nodes - for (unsigned int i = 0; i < piNode->mNumChildren;++i) - RenderNode(piNode->mChildren[i],piMatrix,bAlpha ); - - // need to reset the viewmode? - if (bChangedVM) - m_iViewMode = VIEWMODE_NODE; - return 1; -} -//------------------------------------------------------------------------------- -int CDisplay::RenderPatternBG() -{ - if (!g_piPatternEffect) - { - // the pattern effect won't work on ps_2_0 cards - if (g_sCaps.PixelShaderVersion >= D3DPS_VERSION(3,0)) - { - // seems we have not yet compiled this shader. - // and NOW is the best time to do that ... - ID3DXBuffer* piBuffer = NULL; - if(FAILED( D3DXCreateEffect(g_piDevice, - g_szCheckerBackgroundShader.c_str(), - (UINT)g_szCheckerBackgroundShader.length(), - NULL, - NULL, - D3DXSHADER_USE_LEGACY_D3DX9_31_DLL, - NULL, - &g_piPatternEffect,&piBuffer))) - { - if( piBuffer) - { - MessageBox(g_hDlg,(LPCSTR)piBuffer->GetBufferPointer(),"HLSL",MB_OK); - piBuffer->Release(); - } - return 0; - } - if( piBuffer) - { - piBuffer->Release(); - piBuffer = NULL; - } - } - else - { - // clear the color buffer in magenta - // (hopefully this is ugly enough that every ps_2_0 cards owner - // runs to the next shop to buy himself a new card ...) - g_piDevice->Clear(0,NULL,D3DCLEAR_TARGET | D3DCLEAR_ZBUFFER, - D3DCOLOR_ARGB(0xFF,0xFF,0,0xFF), 1.0f,0 ); - return 1; - } - } - - // clear the depth buffer only - g_piDevice->Clear(0,NULL,D3DCLEAR_ZBUFFER, - D3DCOLOR_ARGB(0xFF,0xFF,0,0xFF), 1.0f,0 ); - - // setup the colors to be used ... - g_piPatternEffect->SetVector("COLOR_ONE",&m_avCheckerColors[0]); - g_piPatternEffect->SetVector("COLOR_TWO",&m_avCheckerColors[1]); - - // setup the shader - UINT dw; - g_piPatternEffect->Begin(&dw,0); - g_piPatternEffect->BeginPass(0); - - RECT sRect; - GetWindowRect(GetDlgItem(g_hDlg,IDC_RT),&sRect); - sRect.right -= sRect.left; - sRect.bottom -= sRect.top; - - struct SVertex - { - float x,y,z,w; - }; - // build the screen-filling rectangle - SVertex as[4]; - as[1].x = 0.0f; - as[1].y = 0.0f; - as[1].z = 0.2f; - as[3].x = (float)sRect.right; - as[3].y = 0.0f; - as[3].z = 0.2f; - as[0].x = 0.0f; - as[0].y = (float)sRect.bottom; - as[0].z = 0.2f; - as[2].x = (float)sRect.right; - as[2].y = (float)sRect.bottom; - as[2].z = 0.2f; - - as[0].w = 1.0f; - as[1].w = 1.0f; - as[2].w = 1.0f; - as[3].w = 1.0f; - - as[0].x -= 0.5f;as[1].x -= 0.5f;as[2].x -= 0.5f;as[3].x -= 0.5f; - as[0].y -= 0.5f;as[1].y -= 0.5f;as[2].y -= 0.5f;as[3].y -= 0.5f; - - // draw the rectangle - DWORD dw2;g_piDevice->GetFVF(&dw2); - g_piDevice->SetFVF(D3DFVF_XYZRHW); - g_piDevice->DrawPrimitiveUP(D3DPT_TRIANGLESTRIP,2, - &as,sizeof(SVertex)); - g_piDevice->SetFVF(dw2); - - // cleanup - g_piPatternEffect->EndPass(); - g_piPatternEffect->End(); - return 1; -} -//------------------------------------------------------------------------------- -int CDisplay::RenderTextureView() -{ - if (!g_pcAsset || !g_pcAsset->pcScene)return 0; - - // handle input - this->HandleInputTextureView(); - - // render the background - RenderPatternBG(); - - // it might be that there is no texture ... - if (!m_pcCurrentTexture->piTexture) - { - // FIX: no such log message. it would be repeated to often - //CLogDisplay::Instance().AddEntry("Unable to display texture. Image is unreachable.", - // D3DCOLOR_ARGB(0xFF,0xFF,0,0)); - return 0; - } - - - RECT sRect; - GetWindowRect(GetDlgItem(g_hDlg,IDC_RT),&sRect); - sRect.right -= sRect.left; - sRect.bottom -= sRect.top; - - // commit the texture to the shader - g_piPassThroughEffect->SetTexture("TEXTURE_2D",*m_pcCurrentTexture->piTexture); - - if (aiTextureType_OPACITY == m_pcCurrentTexture->iType) - { - g_piPassThroughEffect->SetTechnique("PassThroughAlphaFromR"); - } - else if ((aiTextureType_OPACITY | 0x40000000) == m_pcCurrentTexture->iType) - { - g_piPassThroughEffect->SetTechnique("PassThroughAlphaFromA"); - } - else if( g_sCaps.PixelShaderVersion < D3DPS_VERSION(2,0)) - g_piPassThroughEffect->SetTechnique( "PassThrough_FF"); - else - g_piPassThroughEffect->SetTechnique("PassThrough"); - - UINT dw; - g_piPassThroughEffect->Begin(&dw,0); - g_piPassThroughEffect->BeginPass(0); - - if (aiTextureType_HEIGHT == m_pcCurrentTexture->iType || - aiTextureType_NORMALS == m_pcCurrentTexture->iType) - { - // manually disable alpha blending - g_piDevice->SetRenderState(D3DRS_ALPHABLENDENABLE,FALSE); - } - - // build a rectangle which centers the texture - // scaling is OK, but no stretching - D3DSURFACE_DESC sDesc; - if ( m_pcCurrentTexture->piTexture && *m_pcCurrentTexture->piTexture) { /* just a dirty fix */ - (*m_pcCurrentTexture->piTexture)->GetLevelDesc(0,&sDesc); - - struct SVertex{float x,y,z,w,u,v;}; - SVertex as[4]; - - const float nx = (float)sRect.right; - const float ny = (float)sRect.bottom; - const float x = (float)sDesc.Width; - const float y = (float)sDesc.Height; - float f = std::min((nx-30) / x,(ny-30) / y) * (m_fTextureZoom/1000.0f); - - float fHalfX = (nx - (f * x)) / 2.0f; - float fHalfY = (ny - (f * y)) / 2.0f; - as[1].x = fHalfX + m_vTextureOffset.x; - as[1].y = fHalfY + m_vTextureOffset.y; - as[1].z = 0.2f; - as[1].w = 1.0f; - as[1].u = 0.0f; - as[1].v = 0.0f; - as[3].x = nx-fHalfX + m_vTextureOffset.x; - as[3].y = fHalfY + m_vTextureOffset.y; - as[3].z = 0.2f; - as[3].w = 1.0f; - as[3].u = 1.0f; - as[3].v = 0.0f; - as[0].x = fHalfX + m_vTextureOffset.x; - as[0].y = ny-fHalfY + m_vTextureOffset.y; - as[0].z = 0.2f; - as[0].w = 1.0f; - as[0].u = 0.0f; - as[0].v = 1.0f; - as[2].x = nx-fHalfX + m_vTextureOffset.x; - as[2].y = ny-fHalfY + m_vTextureOffset.y; - as[2].z = 0.2f; - as[2].w = 1.0f; - as[2].u = 1.0f; - as[2].v = 1.0f; - as[0].x -= 0.5f;as[1].x -= 0.5f;as[2].x -= 0.5f;as[3].x -= 0.5f; - as[0].y -= 0.5f;as[1].y -= 0.5f;as[2].y -= 0.5f;as[3].y -= 0.5f; - - // draw the rectangle - DWORD dw2;g_piDevice->GetFVF(&dw2); - g_piDevice->SetFVF(D3DFVF_XYZRHW | D3DFVF_TEX1); - g_piDevice->DrawPrimitiveUP(D3DPT_TRIANGLESTRIP,2, - &as,sizeof(SVertex)); - g_piDevice->SetFVF(dw2); - } - - g_piPassThroughEffect->EndPass(); - g_piPassThroughEffect->End(); - - // do we need to draw UV coordinates? - return 1; -} -}; -#endif - } -} diff --git a/port/Assimp.NET/Assimp.NET_DEMO/ExtensionMethods.cs b/port/Assimp.NET/Assimp.NET_DEMO/ExtensionMethods.cs deleted file mode 100644 index 8f8e801a7..000000000 --- a/port/Assimp.NET/Assimp.NET_DEMO/ExtensionMethods.cs +++ /dev/null @@ -1,70 +0,0 @@ -/* ---------------------------------------------------------------------------- -Open Asset Import Library (ASSIMP) ---------------------------------------------------------------------------- - -Copyright (c) 2006-2010, ASSIMP Development Team - -All rights reserved. - -Redistribution and use of this software 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 ASSIMP team, nor the names of its - contributors may be used to endorse or promote products - derived from this software without specific prior - written permission of the ASSIMP Development Team. - -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. ---------------------------------------------------------------------------- -*/ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using Microsoft.DirectX; -using Microsoft.DirectX.Direct3D; - -namespace Assimp.Viewer { - public static class ExtensionMethods { - public static Vector3 ToVector3(this aiVector3D v) { - return new Vector3(v.x, v.y, v.z); - } - - public static Matrix ToMatrix(this aiMatrix4x4 m) { - // Read and Transpose for DirectX - return new Matrix() { - M11 = m.a1, M12 = m.b1, M13 = m.c1, M14 = m.d1, - M21 = m.a2, M22 = m.b2, M23 = m.c2, M24 = m.d2, - M31 = m.a3, M32 = m.b3, M33 = m.c3, M34 = m.d3, - M41 = m.a4, M42 = m.b4, M43 = m.c4, M44 = m.d4, - }; - } - - public static ColorValue ToColorValue(this aiColor4D c) { - return new ColorValue() { - Alpha = c.a, Red = c.r, Green = c.g, Blue = c.b - }; - } - } -} diff --git a/port/Assimp.NET/Assimp.NET_DEMO/Input.cs b/port/Assimp.NET/Assimp.NET_DEMO/Input.cs deleted file mode 100644 index 7b34afe86..000000000 --- a/port/Assimp.NET/Assimp.NET_DEMO/Input.cs +++ /dev/null @@ -1,390 +0,0 @@ -/* ---------------------------------------------------------------------------- -Open Asset Import Library (ASSIMP) ---------------------------------------------------------------------------- - -Copyright (c) 2006-2010, ASSIMP Development Team - -All rights reserved. - -Redistribution and use of this software 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 ASSIMP team, nor the names of its - contributors may be used to endorse or promote products - derived from this software without specific prior - written permission of the ASSIMP Development Team. - -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. ---------------------------------------------------------------------------- -*/ -using System.Drawing; -using System.Windows.Forms; -using Microsoft.DirectX; -using Microsoft.DirectX.Direct3D; -using System; - -namespace Assimp.Viewer -{ - partial class AssimpView { - private EClickPos g_eClick = EClickPos.Circle; - - private bool g_bMousePressed; - private bool g_bMousePressedR; - private bool g_bMousePressedM; - private bool g_bMousePressedBoth; - - private Point g_mousePos; - private Point g_LastmousePos; - private bool g_bInvert; - -#if false - //------------------------------------------------------------------------------- - // Handle mouse input for the FPS input behaviour - // - // Movement in x and y axis is possible - //------------------------------------------------------------------------------- - private void HandleMouseInputFPS() - { - Point mousePos; - mousePos = Control.MousePosition; - mousePos = PointToClient(mousePos); - - g_mousePos.X = mousePos.X; - g_mousePos.Y = mousePos.Y; - - Matrix matRotation; - - if (g_bMousePressed) - { - int nXDiff = (g_mousePos.X - g_LastmousePos.X); - int nYDiff = (g_mousePos.Y - g_LastmousePos.Y); - - if( 0 != nYDiff) - { - D3DXMatrixRotationAxis( &matRotation, (D3DXVECTOR3*)& g_sCamera.vRight, D3DXToRadian((float)nYDiff / 6.0f)); - D3DXVec3TransformCoord( (D3DXVECTOR3*)&g_sCamera.vLookAt, (D3DXVECTOR3*)& g_sCamera.vLookAt, &matRotation ); - D3DXVec3TransformCoord( (D3DXVECTOR3*)&g_sCamera.vUp, (D3DXVECTOR3*)&g_sCamera.vUp, &matRotation ); - } - - if( 0 != nXDiff ) - { - D3DXVECTOR3 v(0,1,0); - D3DXMatrixRotationAxis( &matRotation, (D3DXVECTOR3*)&g_sCamera.vUp, D3DXToRadian((float)nXDiff / 6.0f) ); - D3DXVec3TransformCoord( (D3DXVECTOR3*)&g_sCamera.vLookAt, (D3DXVECTOR3*)&g_sCamera.vLookAt, &matRotation ); - D3DXVec3TransformCoord( (D3DXVECTOR3*)&g_sCamera.vRight,(D3DXVECTOR3*) &g_sCamera.vRight, &matRotation ); - } - } - - g_LastmousePos.X = g_mousePos.X; - g_LastmousePos.Y = g_mousePos.Y; - } - - - //------------------------------------------------------------------------------- - // Handle mouse input for the FPS input behaviour - // - // Movement in x and y axis is possible - //------------------------------------------------------------------------------- - void HandleMouseInputTextureView( void ) - { - POINT mousePos; - GetCursorPos( &mousePos ); - ScreenToClient( GetDlgItem(g_hDlg,IDC_RT), &mousePos ); - - g_mousePos.X = mousePos.X; - g_mousePos.Y = mousePos.Y; - - D3DXMATRIX matRotation; - - if (g_bMousePressed) - { - CDisplay::Instance().SetTextureViewOffsetX((float)(g_mousePos.X - g_LastmousePos.X)); - CDisplay::Instance().SetTextureViewOffsetY((float)(g_mousePos.Y - g_LastmousePos.Y)); - } - - g_LastmousePos.X = g_mousePos.X; - g_LastmousePos.Y = g_mousePos.Y; - } - - //------------------------------------------------------------------------------- - // handle mouse input for the light rotation - // - // Axes: global x/y axis - //------------------------------------------------------------------------------- - private void HandleMouseInputLightRotate() - { - Point mousePos; - mousePos = Control.MousePosition; - mousePos = PointToClient(mousePos); - - g_mousePos.X = mousePos.X; - g_mousePos.Y = mousePos.Y; - - if (g_bMousePressedR) - { - int nXDiff = -(g_mousePos.X - g_LastmousePos.X); - int nYDiff = -(g_mousePos.Y - g_LastmousePos.Y); - - Vector3 v = new Vector3(1.0f,0.0f,0.0f); - Matrix mTemp; - mTemp = Matrix.RotationAxis(v, Geometry.DegreeToRadian((float)nYDiff / 2.0f)); - D3DXMatrixRotationAxis( (D3DXMATRIX*) &mTemp, (D3DXVECTOR3*)&v, D3DXToRadian((float)nYDiff / 2.0f)); - Vector3.TransformCoordinate( - D3DXVec3TransformCoord((D3DXVECTOR3*)&g_avLightDirs[0], - (const D3DXVECTOR3*)&g_avLightDirs[0],(const D3DXMATRIX*)&mTemp); - - v = aiVector3D(0.0f,1.0f,0.0f); - D3DXMatrixRotationAxis( (D3DXMATRIX*) &mTemp, (D3DXVECTOR3*)&v, D3DXToRadian((float)nXDiff / 2.0f)); - D3DXVec3TransformCoord((D3DXVECTOR3*)&g_avLightDirs[0], - (const D3DXVECTOR3*)&g_avLightDirs[0],(const D3DXMATRIX*)&mTemp); - } - } - - - //------------------------------------------------------------------------------- - // Handle mouse input for movements of the skybox - // - // The skybox can be moved by holding both the left and the right mouse button - // pressed. Rotation is possible in x and y direction. - //------------------------------------------------------------------------------- - void HandleMouseInputSkyBox( void ) - { - POINT mousePos; - GetCursorPos( &mousePos ); - ScreenToClient( GetDlgItem(g_hDlg,IDC_RT), &mousePos ); - - g_mousePos.X = mousePos.X; - g_mousePos.Y = mousePos.Y; - - aiMatrix4x4 matRotation; - - if (g_bMousePressedBoth ) - { - int nXDiff = -(g_mousePos.X - g_LastmousePos.X); - int nYDiff = -(g_mousePos.Y - g_LastmousePos.Y); - - aiMatrix4x4 matWorld; - - if( 0 != nYDiff) - { - aiVector3D v = aiVector3D(1.0f,0.0f,0.0f); - D3DXMatrixRotationAxis( (D3DXMATRIX*) &matWorld, (D3DXVECTOR3*)&v, D3DXToRadian((float)nYDiff / 2.0f)); - CBackgroundPainter::Instance().RotateSB(&matWorld); - } - - if( 0 != nXDiff) - { - aiMatrix4x4 matWorldOld; - if( 0 != nYDiff) - { - matWorldOld = matWorld; - } - - aiVector3D v = aiVector3D(0.0f,1.0f,0.0f); - D3DXMatrixRotationAxis( (D3DXMATRIX*)&matWorld, (D3DXVECTOR3*)&v, D3DXToRadian((float)nXDiff / 2.0f) ); - matWorld = matWorldOld * matWorld; - CBackgroundPainter::Instance().RotateSB(&matWorld); - } - } - } - - //------------------------------------------------------------------------------- - //------------------------------------------------------------------------------- - void HandleMouseInputLightIntensityAndColor( void ) - { - POINT mousePos; - GetCursorPos( &mousePos ); - ScreenToClient( GetDlgItem(g_hDlg,IDC_RT), &mousePos ); - - g_mousePos.X = mousePos.X; - g_mousePos.Y = mousePos.Y; - - if (g_bMousePressedM) - { - int nXDiff = -(g_mousePos.X - g_LastmousePos.X); - int nYDiff = -(g_mousePos.Y - g_LastmousePos.Y); - - g_fLightIntensity -= (float)nXDiff / 400.0f; - if ((nYDiff > 2 || nYDiff < -2) && (nXDiff < 20 && nXDiff > -20)) - { - if (!g_bFPSView) - { - g_sCamera.vPos.Z += nYDiff / 120.0f; - } - else - { - g_sCamera.vPos += (nYDiff / 120.0f) * g_sCamera.vLookAt.Normalize(); - } - } - } - return; - } -#endif - - //------------------------------------------------------------------------------- - //------------------------------------------------------------------------------- - private void HandleMouseInputLocal() - { - Point mousePos; - mousePos = Control.MousePosition; - mousePos = PointToClient(mousePos); - - g_mousePos.X = mousePos.X; - g_mousePos.Y = mousePos.Y; - - if (g_bMousePressed) - { - int nXDiff = -(g_mousePos.X - g_LastmousePos.X); - int nYDiff = -(g_mousePos.Y - g_LastmousePos.Y); - - Matrix matWorld; - if (g_eClick != EClickPos.Outside) - { - if( 0 != nYDiff && g_eClick != EClickPos.CircleHor) - { - Vector3 v = new Vector3(1.0f,0.0f,0.0f); - matWorld = Matrix.RotationAxis(v, Geometry.DegreeToRadian((float)nYDiff / 2.0f)); - g_mWorldRotate = g_mWorldRotate * matWorld; - } - - if( 0 != nXDiff && g_eClick != EClickPos.CircleVert) - { - Vector3 v = new Vector3(0.0f,1.0f,0.0f); - matWorld = Matrix.RotationAxis(v, Geometry.DegreeToRadian((float)nXDiff / 2.0f)); - g_mWorldRotate = g_mWorldRotate * matWorld; - } - } - else - { - if(0 != nYDiff || 0 != nXDiff) - { - var sRect = new Rectangle(Point.Empty, this.Size); - - // rotate around the z-axis - int xPos = g_mousePos.X - sRect.Right/2; - int yPos = g_mousePos.Y - sRect.Bottom/2; - float fXDist = (float)xPos; - float fYDist = (float)yPos / (float)Math.Sqrt(yPos * yPos + xPos * xPos); - - bool bSign1; - if (fXDist < 0.0f)bSign1 = false; - else bSign1 = true; - float fAngle = (float)Math.Asin(fYDist); - - xPos = g_LastmousePos.X - sRect.Right/2; - yPos = g_LastmousePos.Y - sRect.Bottom/2; - - fXDist = (float)xPos; - fYDist = (float)yPos / (float)Math.Sqrt(yPos * yPos + xPos * xPos); - - bool bSign2; - if (fXDist < 0.0f)bSign2 = false; - else bSign2 = true; - float fAngle2 = (float)Math.Asin(fYDist); - fAngle -= fAngle2; - - if (bSign1 != bSign2) - { - g_bInvert = !g_bInvert; - } - if (g_bInvert)fAngle *= -1.0f; - - Vector3 v = new Vector3(0.0f, 0.0f, 1.0f); - matWorld = Matrix.RotationAxis(v, (float)(fAngle * 1.2)); - g_mWorldRotate = g_mWorldRotate * matWorld; - } - } - } - - g_LastmousePos.X = g_mousePos.X; - g_LastmousePos.Y = g_mousePos.Y; - } - -#if false - //------------------------------------------------------------------------------- - //------------------------------------------------------------------------------- - void HandleKeyboardInputFPS( void ) - { - unsigned char keys[256]; - GetKeyboardState( keys ); - - aiVector3D tmpLook = g_sCamera.vLookAt; - aiVector3D tmpRight = g_sCamera.vRight; - - aiVector3D vOldPos = g_sCamera.vPos; - - // Up Arrow Key - View moves forward - if( keys[VK_UP] & 0x80 ) - g_sCamera.vPos -= (tmpLook*-MOVE_SPEED)*g_fElpasedTime; - - // Down Arrow Key - View moves backward - if( keys[VK_DOWN] & 0x80 ) - g_sCamera.vPos += (tmpLook*-MOVE_SPEED)*g_fElpasedTime; - - // Left Arrow Key - View side-steps or strafes to the left - if( keys[VK_LEFT] & 0x80 ) - g_sCamera.vPos -= (tmpRight*MOVE_SPEED)*g_fElpasedTime; - - // Right Arrow Key - View side-steps or strafes to the right - if( keys[VK_RIGHT] & 0x80 ) - g_sCamera.vPos += (tmpRight*MOVE_SPEED)*g_fElpasedTime; - - // Home Key - View elevates up - if( keys[VK_HOME] & 0x80 ) - g_sCamera.vPos .Y += MOVE_SPEED*g_fElpasedTime; - - // End Key - View elevates down - if( keys[VK_END] & 0x80 ) - g_sCamera.vPos.Y -= MOVE_SPEED*g_fElpasedTime; - } - - - //------------------------------------------------------------------------------- - //------------------------------------------------------------------------------- - void HandleKeyboardInputTextureView( void ) - { - unsigned char keys[256]; - GetKeyboardState( keys ); - - // Up Arrow Key - if( keys[VK_UP] & 0x80 ) - CDisplay::Instance().SetTextureViewOffsetY ( g_fElpasedTime * 150.0f ); - - // Down Arrow Key - if( keys[VK_DOWN] & 0x80 ) - CDisplay::Instance().SetTextureViewOffsetY ( -g_fElpasedTime * 150.0f ); - - // Left Arrow Key - if( keys[VK_LEFT] & 0x80 ) - CDisplay::Instance().SetTextureViewOffsetX ( g_fElpasedTime * 150.0f ); - - // Right Arrow Key - if( keys[VK_RIGHT] & 0x80 ) - CDisplay::Instance().SetTextureViewOffsetX ( -g_fElpasedTime * 150.0f ); - } - }; -#endif - -} -} \ No newline at end of file diff --git a/port/Assimp.NET/Assimp.NET_DEMO/Program.cs b/port/Assimp.NET/Assimp.NET_DEMO/Program.cs deleted file mode 100644 index 0fb19a7bc..000000000 --- a/port/Assimp.NET/Assimp.NET_DEMO/Program.cs +++ /dev/null @@ -1,62 +0,0 @@ -/* ---------------------------------------------------------------------------- -Open Asset Import Library (ASSIMP) ---------------------------------------------------------------------------- - -Copyright (c) 2006-2010, ASSIMP Development Team - -All rights reserved. - -Redistribution and use of this software 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 ASSIMP team, nor the names of its - contributors may be used to endorse or promote products - derived from this software without specific prior - written permission of the ASSIMP Development Team. - -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. ---------------------------------------------------------------------------- -*/ -using System; -using System.Collections.Generic; -using System.Windows.Forms; -using System.Reflection; -using System.IO; - -namespace Assimp.Viewer -{ - static class Program - { - /// - /// Der Haupteinstiegspunkt für die Anwendung. - /// - [STAThread] - static void Main() - { - Application.EnableVisualStyles(); - Application.SetCompatibleTextRenderingDefault(false); - Application.Run(new AssimpView()); - } - } -} diff --git a/port/Assimp.NET/Assimp.NET_DEMO/Properties/AssemblyInfo.cs b/port/Assimp.NET/Assimp.NET_DEMO/Properties/AssemblyInfo.cs deleted file mode 100644 index eee3073b3..000000000 --- a/port/Assimp.NET/Assimp.NET_DEMO/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// Allgemeine Informationen über eine Assembly werden über die folgenden -// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern, -// die mit einer Assembly verknüpft sind. -[assembly: AssemblyTitle("Assimp.NET_DEMO")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("Microsoft")] -[assembly: AssemblyProduct("Assimp.NET_DEMO")] -[assembly: AssemblyCopyright("Copyright © Microsoft 2010")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Durch Festlegen von ComVisible auf "false" werden die Typen in dieser Assembly unsichtbar -// für COM-Komponenten. Wenn Sie auf einen Typ in dieser Assembly von -// COM zugreifen müssen, legen Sie das ComVisible-Attribut für diesen Typ auf "true" fest. -[assembly: ComVisible(false)] - -// Die folgende GUID bestimmt die ID der Typbibliothek, wenn dieses Projekt für COM verfügbar gemacht wird -[assembly: Guid("bdbe5566-8c2f-4bef-9d1c-bcb9a916cf69")] - -// Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten: -// -// Hauptversion -// Nebenversion -// Buildnummer -// Revision -// -// Sie können alle Werte angeben oder die standardmäßigen Build- und Revisionsnummern -// übernehmen, indem Sie "*" eingeben: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/port/Assimp.NET/Assimp.NET_DEMO/Properties/Resources.Designer.cs b/port/Assimp.NET/Assimp.NET_DEMO/Properties/Resources.Designer.cs deleted file mode 100644 index afd96b327..000000000 --- a/port/Assimp.NET/Assimp.NET_DEMO/Properties/Resources.Designer.cs +++ /dev/null @@ -1,63 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:2.0.50727.4927 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace Assimp.Viewer.Properties { - using System; - - - /// - /// A strongly-typed resource class, for looking up localized strings, etc. - /// - // This class was auto-generated by the StronglyTypedResourceBuilder - // class via a tool like ResGen or Visual Studio. - // To add or remove a member, edit your .ResX file then rerun ResGen - // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "2.0.0.0")] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class Resources { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal Resources() { - } - - /// - /// Returns the cached ResourceManager instance used by this class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { - get { - if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Assimp.Viewer.Properties.Resources", typeof(Resources).Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - } -} diff --git a/port/Assimp.NET/Assimp.NET_DEMO/Properties/Resources.resx b/port/Assimp.NET/Assimp.NET_DEMO/Properties/Resources.resx deleted file mode 100644 index ffecec851..000000000 --- a/port/Assimp.NET/Assimp.NET_DEMO/Properties/Resources.resx +++ /dev/null @@ -1,117 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - \ No newline at end of file diff --git a/port/Assimp.NET/Assimp.NET_DEMO/Properties/Settings.Designer.cs b/port/Assimp.NET/Assimp.NET_DEMO/Properties/Settings.Designer.cs deleted file mode 100644 index ab7b38f40..000000000 --- a/port/Assimp.NET/Assimp.NET_DEMO/Properties/Settings.Designer.cs +++ /dev/null @@ -1,26 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:2.0.50727.4927 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace Assimp.Viewer.Properties { - - - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "9.0.0.0")] - internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { - - private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); - - public static Settings Default { - get { - return defaultInstance; - } - } - } -} diff --git a/port/Assimp.NET/Assimp.NET_DEMO/Properties/Settings.settings b/port/Assimp.NET/Assimp.NET_DEMO/Properties/Settings.settings deleted file mode 100644 index abf36c5d3..000000000 --- a/port/Assimp.NET/Assimp.NET_DEMO/Properties/Settings.settings +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/port/Assimp.NET/Assimp.NET_DEMO/app.config b/port/Assimp.NET/Assimp.NET_DEMO/app.config deleted file mode 100644 index b7db28170..000000000 --- a/port/Assimp.NET/Assimp.NET_DEMO/app.config +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/port/Assimp.NET/CSharpViewerScreenShot.PNG b/port/Assimp.NET/CSharpViewerScreenShot.PNG deleted file mode 100644 index a6a2b8f53..000000000 Binary files a/port/Assimp.NET/CSharpViewerScreenShot.PNG and /dev/null differ diff --git a/port/Assimp.NET/README.txt b/port/Assimp.NET/README.txt deleted file mode 100644 index 4946cca60..000000000 --- a/port/Assimp.NET/README.txt +++ /dev/null @@ -1,58 +0,0 @@ -Assimp.NET ----------- - -This part of the assimp project provides a .NET wrapper for the main assimp -classes and a test viewer written in C# that shows how to use the API. - -NOTE: This has only been tested on 32-bit Windows 7 in .NET 3.5SP1 compiled - under Visual Studio 2008 with the 'Debug' and 'Release' targets. - - - -How To Build ------------- - -For Windows: - -You don't need to build the main assimp projects first, that project is -referenced in the "Assimp.NET.sln" solution file so you can test C++ changes -to the main assimp source from the C# viewer application. - - -1) Download SWIG 2.0.0 or later (http://sourceforge.net/projects/swig/) - Install it somewhere like (C:\Program Files\swigwin-2.0.0). - - NOTE: you can leave this step out, provided the SWIG-generated - files in the repository are up-to-date. This will usually be - the case in release versions, but not necessarily in TRUNK. - - -2) Download Boost 1.43.0 or later (http://www.boost.org/) - Install it somewhere like (C:\Program Files\Boost\boost_1_43_0). - -2) In Visual Studio 2008 go to: - Tools->Options->Projects and Solutions->VC++ Directories - Set "Platform:" to "Win32" - Set "Show directories for:" to "Executable Files" - - Add the swig directory to this list (C:\Program Files\swigwin-2.0.0). - Set "Show directories for:" to "Include Files" - - Add the boost directory to this list (C:\Program Files\Boost\boost_1_43_0). - -3) Open the "Assimp.NET.sln" solution file in Visual Studio - -4) Build and run Assimp.NET_DEMO. - - -By default, the viewer application loads a pre-defined 3DS test file from -the /test/models/3DS folder. To load another file, pass it on the -command line. - -The viewer is very minimalistic, don't expect all files to be displayed -properly. Feel free to extend it ;-) - - - -License -------- - -The license for Assimp.NET is the same as the main Assimp license. diff --git a/port/AssimpNET/Readme.md b/port/AssimpNET/Readme.md new file mode 100644 index 000000000..d251cecc3 --- /dev/null +++ b/port/AssimpNET/Readme.md @@ -0,0 +1 @@ +See https://code.google.com/p/assimp-net/ and https://github.com/assimp/assimp-net for a Github mirror. \ No newline at end of file diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index f4b67bad6..967dfd313 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -40,10 +40,13 @@ SET( TEST_SRCS unit/utTriangulate.cpp unit/utVertexTriangleAdjacency.cpp unit/utNoBoostTest.cpp + unit/utColladaExportCamera.cpp + unit/utColladaExportLight.cpp ) SOURCE_GROUP( tests FILES ${TEST_SRCS} ) +if(AddGTest_FOUND) add_executable( unit unit/CCompilerTest.c unit/Main.cpp @@ -58,5 +61,6 @@ target_link_libraries( unit assimp debug ${GTEST_DEBUG_LIBRARIES} optimized ${GTEST_RELEASE_LIBRARIES} ) +endif(AddGTest_FOUND) add_subdirectory(headercheck) diff --git a/test/models/Collada/cameras.dae b/test/models/Collada/cameras.dae new file mode 100644 index 000000000..d514b0f3d --- /dev/null +++ b/test/models/Collada/cameras.dae @@ -0,0 +1,93 @@ + + + + + Blender User + Blender 2.74.0 commit date:2015-03-31, commit time:13:39, hash:000dfc0 + + 2015-05-17T19:24:51 + 2015-05-17T19:24:51 + + Z_UP + + + + + + + 49.13434 + 1.777778 + 0.1 + 100 + + + + + + 0 + 0 + 0 + + + + + + + + 3 + 1.777778 + 0.1 + 100 + + + + + + 0 + 0 + 0 + + + + + + + + 29.86284 + 1.777778 + 0.1 + 50 + + + + + + 0 + 0 + 0 + + + + + + + + + + 7.54979e-8 0 1 10 0 1 0 0 -1 0 7.54979e-8 0 0 0 0 1 + + + + 7.54979e-8 0 -1 -10 0 1 0 0 1 0 7.54979e-8 0 0 0 0 1 + + + + 3.09086e-8 -1 1.58933e-8 0 -3.09086e-8 1.58933e-8 1 5 -1 -3.09086e-8 -3.09086e-8 0 0 0 0 1 + + + + + + + + diff --git a/test/models/Collada/lights.dae b/test/models/Collada/lights.dae new file mode 100644 index 000000000..9e040aac6 --- /dev/null +++ b/test/models/Collada/lights.dae @@ -0,0 +1,380 @@ + + + + + Blender User + Blender 2.74.0 commit date:2015-03-31, commit time:13:39, hash:000dfc0 + + 2015-05-17T21:55:44 + 2015-05-17T21:55:44 + + Z_UP + + + + + + 1 1 1 + 1 + 0 + 0.00111109 + + + + + 0.000999987 + 1 + 0.1 + 0.1 + 1 + 1 + 1 + 2 + 0 + 1 + 1 + 1 + 1 + 1 + 0 + 2880 + 2 + 30.002 + 1.000799 + 0.04999995 + 29.99998 + 1 + 2 + 0 + 0 + 1 + 1 + 1 + 1 + 8192 + 1 + 1 + 0 + 1 + 1 + 1 + 3 + 0 + 0 + 0 + 0 + 0 + 1 + 1 + 1 + 3 + 0.15 + 75 + 1 + 1 + 0 + 1 + 1 + 0 + + + + + + + 1 1 1 + + + + + 0.000999987 + 0 + 0.1 + 0.1 + 0.1 + 1 + 1 + 2 + 0 + 1 + 1 + 1 + 1 + 1 + 0 + 512 + 2 + 40 + 0.5 + 0.04999995 + 25 + 1 + 2 + 0 + 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 1 + 1 + 1 + 3 + 0 + 0 + 0 + 0 + 2 + 1 + 1 + 1 + 3 + 0.15 + 45 + 1 + 1 + 0 + 1 + 1 + 1 + + + + + + + 1 1 1 + 1 + 0 + 0.001599967 + 45 + 0.15 + + + + + 0.000999987 + 0 + 0.1 + 0.1 + 0.1 + 1 + 1 + 2 + 0 + 1 + 1 + 1 + 1 + 1 + 0 + 512 + 2 + 40 + 0.5 + 0.04999995 + 25 + 1 + 2 + 0 + 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 1 + 1 + 1 + 3 + 0 + 0 + 0 + 0 + 2 + 1 + 1 + 1 + 3 + 0.15 + 45 + 1 + 1 + 0 + 1 + 1 + 2 + + + + + + + 1 1 1 + + + + + 0.000999987 + 0 + 0.1 + 0.1 + 0.1 + 1 + 1 + 2 + 0 + 1 + 1 + 1 + 1 + 1 + 0 + 512 + 2 + 40 + 0.5 + 0.04999995 + 25 + 1 + 2 + 0 + 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 1 + 1 + 1 + 3 + 0 + 0 + 0 + 0 + 2 + 1 + 1 + 1 + 3 + 0.15 + 45 + 1 + 1 + 0 + 1 + 1 + 3 + + + + + + + 1 1 1 + 1 + 0 + 0.001599967 + + + + + 0.000999987 + 0 + 0.1 + 0.1 + 0.1 + 1 + 1 + 2 + 0 + 1 + 1 + 1 + 1 + 1 + 0 + 512 + 2 + 40 + 0.5 + 0.04999995 + 25 + 1 + 2 + 0 + 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 1 + 1 + 1 + 3 + 0 + 0 + 0 + 0 + 2 + 1 + 1 + 1 + 3 + 0.15 + 45 + 1 + 1 + 0 + 1 + 1 + 4 + + + + + + + + + + 1 0 0 0 0 1 0 1 0 0 1 1 0 0 0 1 + + + + 1 0 0 7.076701 0 1 0 -5.572294 0 0 1 5.147222 0 0 0 1 + + + + 1 0 0 8.888217 0 1 0 -5.016863 0 0 1 5.336025 0 0 0 1 + + + + 1 0 0 7.326984 0 1 0 -4.602942 0 0 1 5.554852 0 0 0 1 + + + + 1 0 0 8.063721 0 1 0 -4.19857 0 0 1 5.273283 0 0 0 1 + + + + + + + + \ No newline at end of file diff --git a/test/models/OBJ/space_in_material_name.mtl b/test/models/OBJ/space_in_material_name.mtl new file mode 100644 index 000000000..2f210fd48 --- /dev/null +++ b/test/models/OBJ/space_in_material_name.mtl @@ -0,0 +1,13 @@ + +# Example for github issue #545: spaces in material names. + +newmtl Hard Shiny Plastic White +Ka 0 0 0 +Kd 0.141176 0.184314 0.411765 +Ks 0 0 0 +Ni 1 +Ns 400 +Tf 1 1 1 +d 1 + + diff --git a/test/models/OBJ/space_in_material_name.obj b/test/models/OBJ/space_in_material_name.obj new file mode 100644 index 000000000..d5824e113 --- /dev/null +++ b/test/models/OBJ/space_in_material_name.obj @@ -0,0 +1,77 @@ +#### +# +# OBJ File Generated by LightWave3D +# LightWave3D OBJ Export v2.3 +# +#### +o concave_test.obj +mtllib space_in_material_name.mtl +g default +v -1.146 1.6575 2.348 +v -1.146 1.67177 2.49285 +v -1.146 1.67177 2.20315 +v -1.146 1.7125 2.35 +v -1.146 1.71402 2.63214 +v -1.146 1.71402 2.06386 +v -1.146 1.72571 2.48412 +v -1.146 1.72571 2.21588 +v -1.146 1.76483 2.61309 +v -1.146 1.76483 2.08691 +v -1.146 1.78263 2.76051 +v -1.146 1.78263 1.93549 +v -1.146 1.82836 2.73195 +v -1.146 1.82836 1.96805 +v -1.146 1.87497 2.87303 +v -1.146 1.87497 1.82297 +v -1.146 1.91386 2.83614 +v -1.146 1.91386 1.86386 +v -1.146 1.98749 2.96537 +v -1.146 1.98749 1.73063 +v -1.146 2.01805 2.92164 +v -1.146 2.01805 1.77836 +v -1.146 2.11586 3.03398 +v -1.146 2.11586 1.66202 +v -1.146 2.13691 2.98517 +v -1.146 2.13691 1.71483 +v -1.146 2.25515 3.07623 +v -1.146 2.25515 1.61977 +v -1.146 2.26588 3.02429 +v -1.146 2.26588 1.67571 +v -1.146 2.4 3.0905 +v -1.146 2.4 3.0375 +v -1.146 2.4 1.6625 +v -1.146 2.4 1.6055 +v -1.146 2.53412 3.02429 +v -1.146 2.53412 1.67571 +v -1.146 2.54485 3.07623 +v -1.146 2.54485 1.61977 +v -1.146 2.66309 2.98517 +v -1.146 2.66309 1.71483 +v -1.146 2.68414 3.03398 +v -1.146 2.68414 1.66202 +v -1.146 2.78195 2.92164 +v -1.146 2.78195 1.77836 +v -1.146 2.81251 2.96537 +v -1.146 2.81251 1.73063 +v -1.146 2.88614 2.83614 +v -1.146 2.88614 1.86386 +v -1.146 2.92503 2.87303 +v -1.146 2.92503 1.82297 +v -1.146 2.97164 2.73195 +v -1.146 2.97164 1.96805 +v -1.146 3.01737 2.76051 +v -1.146 3.01737 1.93549 +v -1.146 3.03517 2.61309 +v -1.146 3.03517 2.08691 +v -1.146 3.07429 2.48412 +v -1.146 3.07429 2.21588 +v -1.146 3.08598 2.63214 +v -1.146 3.08598 2.06386 +v -1.146 3.0875 2.35 +v -1.146 3.12823 2.49285 +v -1.146 3.12823 2.20315 +v -1.146 3.1425 2.348 +vn 1 0 -0 +usemtl Hard Shiny Plastic White +s 1 +f 27//1 23//1 19//1 15//1 11//1 5//1 2//1 1//1 3//1 6//1 12//1 16//1 20//1 24//1 28//1 34//1 38//1 42//1 46//1 50//1 54//1 60//1 63//1 64//1 62//1 59//1 53//1 49//1 45//1 41//1 37//1 31//1 32//1 35//1 39//1 43//1 47//1 51//1 55//1 57//1 61//1 58//1 56//1 52//1 48//1 44//1 40//1 36//1 33//1 30//1 26//1 22//1 18//1 14//1 10//1 8//1 4//1 7//1 9//1 13//1 17//1 21//1 25//1 29//1 32//1 31//1 diff --git a/test/regression/db.zip b/test/regression/db.zip index 42cf9d5a7..ee68fc8cd 100644 Binary files a/test/regression/db.zip and b/test/regression/db.zip differ diff --git a/test/regression/result_checker.py b/test/regression/result_checker.py new file mode 100644 index 000000000..5e5ab81d1 --- /dev/null +++ b/test/regression/result_checker.py @@ -0,0 +1,113 @@ +#!/usr/bin/env python3 +# -*- Coding: UTF-8 -*- + +# --------------------------------------------------------------------------- +# Open Asset Import Library (ASSIMP) +# --------------------------------------------------------------------------- +# +# Copyright (c) 2006-2015, ASSIMP Development Team +# +# All rights reserved. +# +# Redistribution and use of this software 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 ASSIMP team, nor the names of its +# contributors may be used to endorse or promote products +# derived from this software without specific prior +# written permission of the ASSIMP Development Team. +# +# 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. +# --------------------------------------------------------------------------- + +""" +This script runs as part of the Travis CI build on Github and controls +whether a patch passes the regression test suite. + +Given the failures encountered by the regression suite runner (run.py) in + ../results/whitelist.csv +and the current whitelist of failures considered acceptable in + ./run_regression_suite_failures_whitelisted.csv +determine PASSED or FAILED. + +""" + +import sys +import os + +RESULTS_FILE = os.path.join('..', 'results', 'run_regression_suite_failures.csv') +WHITELIST_FILE = os.path.join('whitelist.csv') + +BANNER = """ +***************************************************************** +Regression suite result checker +(test/regression/result_checker.py) +***************************************************************** +""" + +def passed(message): + print('\n\n**PASSED: {0}.\n'.format(message)) + return 0 + +def failed(message): + print('\n\n**FAILED: {0}. \nFor more information see test/regression/README.\n' + .format(message)) + return -1 + +def read_results_csv(filename): + parse = lambda line: map(str.strip, line.split(';')[:2]) + try: + with open(filename, 'rt') as results: + return dict(parse(line) for line in results.readlines()[1:]) + except IOError: + print('Failed to read {0}.'.format(filename)) + return None + +def run(): + print(BANNER) + print('Reading input files.') + + result_dict = read_results_csv(RESULTS_FILE) + whitelist_dict = read_results_csv(WHITELIST_FILE) + if result_dict is None or whitelist_dict is None: + return failed('Could not locate input files') + + if not result_dict: + return passed('No failures encountered') + + print('Failures:\n' + '\n'.join(sorted(result_dict.keys()))) + print('Whitelisted:\n' + '\n'.join(sorted(whitelist_dict.keys()))) + non_whitelisted_failures = set(result_dict.keys()) - set(whitelist_dict.keys()) + print('Failures not whitelisted:\n' + '\n'.join(sorted(non_whitelisted_failures))) + if not non_whitelisted_failures: + return passed('All failures are whitelisted and considered acceptable \n' + + 'due to implementation differences, library shortcomings and bugs \n' + + 'that have not been fixed for a long time') + return failed('Encountered new regression failures that are not whitelisted. \n' + + 'Please carefully review the changes you made and use the gen_db.py script\n' + + 'to update the regression database for the affected files') + +if __name__ == "__main__": + sys.exit(run()) + +# vim: ai ts=4 sts=4 et sw=4 \ No newline at end of file diff --git a/test/regression/settings.py b/test/regression/settings.py index 77570ff52..db0407809 100644 --- a/test/regression/settings.py +++ b/test/regression/settings.py @@ -53,7 +53,7 @@ import os # pond.0.ply - loads with 40k identical triangles, causing postprocessing # to have quadratic runtime. # ------------------------------------------------------------------------------- -files_to_ignore = ["pond.0.ply"] +files_to_ignore = ["pond.0.ply", "Example.ogex"] # ------------------------------------------------------------------------------- # List of file extensions to be excluded from the regression suite diff --git a/test/regression/whitelist.csv b/test/regression/whitelist.csv new file mode 100644 index 000000000..2237268d1 --- /dev/null +++ b/test/regression/whitelist.csv @@ -0,0 +1,31 @@ +ORIGINAL FILE;EXPECTED DUMP +../models/AC/SphereWithLightUvScaling4X.ac -cfull;../results/tmp/SphereWithLightUvScaling4X.ac_30edbbcd/EXPECT +../models/AC/SphereWithLightUvScaling4X.ac -vds -jiv;../results/tmp/SphereWithLightUvScaling4X.ac_a627320a/EXPECT +../models/AC/sample_subdiv.ac -cfull;../results/tmp/sample_subdiv.ac_669c529e/EXPECT +../models/AC/sample_subdiv.ac -vds -jiv;../results/tmp/sample_subdiv.ac_d5987f9/EXPECT +../models/BLEND/CubeHierarchy_248.blend -cfull;../results/tmp/CubeHierarchy_248.blend_4e04cc99/EXPECT +../models/BLEND/CubeHierarchy_248.blend -og -om -vds;../results/tmp/CubeHierarchy_248.blend_5e78ea9c/EXPECT +../models/BLEND/CubeHierarchy_248.blend -vds -jiv;../results/tmp/CubeHierarchy_248.blend_8aca7a3e/EXPECT +../models/BLEND/CubeHierarchy_248.blend -ptv -gsn -cts -db;../results/tmp/CubeHierarchy_248.blend_1f2b8aa4/EXPECT +../models/BLEND/CubeHierarchy_248.blend ;../results/tmp/CubeHierarchy_248.blend_b827f814/EXPECT +../models/BLEND/SuzanneSubdiv_252.blend -cfull;../results/tmp/SuzanneSubdiv_252.blend_4a8dd3d3/EXPECT +../models/BLEND/SuzanneSubdiv_252.blend -vds -jiv;../results/tmp/SuzanneSubdiv_252.blend_7f41fe84/EXPECT +../models/STL/Spider_ascii.stl -cfull;../results/tmp/Spider_ascii.stl_8047fd91/EXPECT +../models/STL/Spider_ascii.stl -vds -jiv;../results/tmp/Spider_ascii.stl_d4858346/EXPECT +../models/STL/Spider_binary.stl -cfull;../results/tmp/Spider_binary.stl_dd4fe21/EXPECT +../models/STL/Spider_binary.stl -vds -jiv;../results/tmp/Spider_binary.stl_2c8deeb6/EXPECT +../models-nonbsd/BLEND/Bob.blend -cfull;../results/tmp/Bob.blend_7f8349ba/EXPECT +../models-nonbsd/BLEND/Bob.blend -og -om -vds;../results/tmp/Bob.blend_4f4a63d/EXPECT +../models-nonbsd/BLEND/Bob.blend -vds -jiv;../results/tmp/Bob.blend_ab1aa5dd/EXPECT +../models-nonbsd/BLEND/Bob.blend -ptv -gsn -cts -db;../results/tmp/Bob.blend_6a5ec4c5/EXPECT +../models-nonbsd/BLEND/Bob.blend ;../results/tmp/Bob.blend_2fc376b5/EXPECT +../models-nonbsd/BLEND/fleurOptonl.blend -cfull;../results/tmp/fleurOptonl.blend_6e87e039/EXPECT +../models-nonbsd/BLEND/fleurOptonl.blend -og -om -vds;../results/tmp/fleurOptonl.blend_95048e3c/EXPECT +../models-nonbsd/BLEND/fleurOptonl.blend -vds -jiv;../results/tmp/fleurOptonl.blend_52481e9e/EXPECT +../models-nonbsd/BLEND/fleurOptonl.blend -ptv -gsn -cts -db;../results/tmp/fleurOptonl.blend_5e7be44/EXPECT +../models-nonbsd/BLEND/fleurOptonl.blend ;../results/tmp/fleurOptonl.blend_18ca7bb4/EXPECT +../models-nonbsd/LWS/QuickDraw v.2.2_oldformat_56.lws -ptv -gsn -cts -db;../results/tmp/QuickDraw v.2.2_oldformat_56.lws_da6fa6e2/EXPECT +../models-nonbsd/LWS/QuickDraw v.2.2_oldformat_56.lws ;../results/tmp/QuickDraw v.2.2_oldformat_56.lws_d37dcb52/EXPECT +../models-nonbsd/Ogre/OgreSDK/ninja.mesh.xml -cfull;../results/tmp/ninja.mesh.xml_2a5e7eb6/EXPECT +../models-nonbsd/PK3/SGDTT3.pk3 -ptv -gsn -cts -db;../results/tmp/SGDTT3.pk3_591f74f1/EXPECT +../models-nonbsd/PK3/SGDTT3.pk3 ;../results/tmp/SGDTT3.pk3_ad4b2ce1/EXPECT diff --git a/test/unit/utColladaExportCamera.cpp b/test/unit/utColladaExportCamera.cpp new file mode 100644 index 000000000..c647684b6 --- /dev/null +++ b/test/unit/utColladaExportCamera.cpp @@ -0,0 +1,80 @@ +/* + * ColladaCameraExporter.cpp + * + * Created on: May 17, 2015 + * Author: wise + */ + + +#include "UnitTestPCH.h" + +#include +#include +#include +#include + +#ifndef ASSIMP_BUILD_NO_EXPORT + +class ColladaExportCamera : public ::testing::Test { +public: + + virtual void SetUp() + { + ex = new Assimp::Exporter(); + im = new Assimp::Importer(); + + } + + virtual void TearDown() + { + delete ex; + delete im; + } + +protected: + + + Assimp::Exporter* ex; + Assimp::Importer* im; +}; + +// ------------------------------------------------------------------------------------------------ +TEST_F(ColladaExportCamera, testExportCamera) +{ + const char* file = "cameraExp.dae"; + + const aiScene* pTest = im->ReadFile("../test/models/Collada/cameras.dae",0); + ASSERT_TRUE(pTest!=NULL); + ASSERT_TRUE(pTest->HasCameras()); + + + EXPECT_EQ(AI_SUCCESS,ex->Export(pTest,"collada",file)); + + const aiScene* imported = im->ReadFile(file,0); + + ASSERT_TRUE(imported!=NULL); + + EXPECT_TRUE(imported->HasCameras()); + EXPECT_EQ(pTest->mNumCameras,imported->mNumCameras); + + for(size_t i=0; i< pTest->mNumCameras;i++){ + + const aiCamera *orig = pTest->mCameras[i]; + const aiCamera *read = imported->mCameras[i]; + + EXPECT_TRUE(orig->mName==read->mName); + EXPECT_FLOAT_EQ(orig->mHorizontalFOV,read->mHorizontalFOV); + EXPECT_FLOAT_EQ(orig->mClipPlaneNear,read->mClipPlaneNear); + EXPECT_FLOAT_EQ(orig->mClipPlaneFar,read->mClipPlaneFar); + + EXPECT_FLOAT_EQ(orig->mPosition.x,read->mPosition.x); + EXPECT_FLOAT_EQ(orig->mPosition.y,read->mPosition.y); + EXPECT_FLOAT_EQ(orig->mPosition.z,read->mPosition.z); + } + +} + + +#endif + + diff --git a/test/unit/utColladaExportLight.cpp b/test/unit/utColladaExportLight.cpp new file mode 100644 index 000000000..510be7ee2 --- /dev/null +++ b/test/unit/utColladaExportLight.cpp @@ -0,0 +1,92 @@ +/* + * ColladaCameraExporter.cpp + * + * Created on: May 17, 2015 + * Author: wise + */ + + +#include "UnitTestPCH.h" + +#include +#include +#include +#include + +#ifndef ASSIMP_BUILD_NO_EXPORT + +class ColladaExportLight : public ::testing::Test { +public: + + virtual void SetUp() + { + ex = new Assimp::Exporter(); + im = new Assimp::Importer(); + + } + + virtual void TearDown() + { + delete ex; + delete im; + } + +protected: + + + Assimp::Exporter* ex; + Assimp::Importer* im; +}; + +// ------------------------------------------------------------------------------------------------ +TEST_F(ColladaExportLight, testExportLight) +{ + const char* file = "cameraExp.dae"; + + const aiScene* pTest = im->ReadFile("../test/models/Collada/lights.dae",0); + ASSERT_TRUE(pTest!=NULL); + ASSERT_TRUE(pTest->HasLights()); + + + EXPECT_EQ(AI_SUCCESS,ex->Export(pTest,"collada",file)); + EXPECT_EQ(AI_SUCCESS,ex->Export(pTest,"collada","/home/wise/lightsExp.dae")); + + const aiScene* imported = im->ReadFile(file,0); + + ASSERT_TRUE(imported!=NULL); + + EXPECT_TRUE(imported->HasLights()); + EXPECT_EQ(pTest->mNumLights,imported->mNumLights); + + for(size_t i=0; i< pTest->mNumLights;i++){ + + const aiLight *orig = pTest->mLights[i]; + const aiLight *read = imported->mLights[i]; + + EXPECT_TRUE(orig->mName==read->mName); + EXPECT_EQ(orig->mType,read->mType); + EXPECT_FLOAT_EQ(orig->mAttenuationConstant,read->mAttenuationConstant); + EXPECT_FLOAT_EQ(orig->mAttenuationLinear,read->mAttenuationLinear); + EXPECT_FLOAT_EQ(orig->mAttenuationQuadratic,read->mAttenuationQuadratic); + + EXPECT_FLOAT_EQ(orig->mColorAmbient.r,read->mColorAmbient.r); + EXPECT_FLOAT_EQ(orig->mColorAmbient.g,read->mColorAmbient.g); + EXPECT_FLOAT_EQ(orig->mColorAmbient.b,read->mColorAmbient.b); + + EXPECT_FLOAT_EQ(orig->mColorDiffuse.r,read->mColorDiffuse.r); + EXPECT_FLOAT_EQ(orig->mColorDiffuse.g,read->mColorDiffuse.g); + EXPECT_FLOAT_EQ(orig->mColorDiffuse.b,read->mColorDiffuse.b); + + EXPECT_FLOAT_EQ(orig->mColorSpecular.r,read->mColorSpecular.r); + EXPECT_FLOAT_EQ(orig->mColorSpecular.g,read->mColorSpecular.g); + EXPECT_FLOAT_EQ(orig->mColorSpecular.b,read->mColorSpecular.b); + + EXPECT_NEAR(orig->mAngleInnerCone,read->mAngleInnerCone,0.001); + EXPECT_NEAR(orig->mAngleOuterCone,read->mAngleOuterCone,0.001); + } +} + + +#endif + + diff --git a/test/unit/utImporter.cpp b/test/unit/utImporter.cpp index c7094229a..164c51bff 100644 --- a/test/unit/utImporter.cpp +++ b/test/unit/utImporter.cpp @@ -1,7 +1,7 @@ #include "UnitTestPCH.h" - + #include "../../include/assimp/postprocess.h" -#include "../../include/assimp/scene.h" +#include "../../include/assimp/scene.h" #include #include @@ -219,13 +219,13 @@ TEST_F(ImporterTest, testMultipleReads) aiProcess_OptimizeMeshes | aiProcess_OptimizeGraph; - EXPECT_TRUE(pImp->ReadFile("../../test/models/X/test.x",flags)); + EXPECT_TRUE(pImp->ReadFile("../test/models/X/test.x",flags)); //EXPECT_TRUE(pImp->ReadFile("../../test/models/X/dwarf.x",flags)); # is in nonbsd - EXPECT_TRUE(pImp->ReadFile("../../test/models/X/Testwuson.X",flags)); - EXPECT_TRUE(pImp->ReadFile("../../test/models/X/anim_test.x",flags)); + EXPECT_TRUE(pImp->ReadFile("../test/models/X/Testwuson.X",flags)); + EXPECT_TRUE(pImp->ReadFile("../test/models/X/anim_test.x",flags)); //EXPECT_TRUE(pImp->ReadFile("../../test/models/X/dwarf.x",flags)); # is in nonbsd - EXPECT_TRUE(pImp->ReadFile("../../test/models/X/anim_test.x",flags)); - EXPECT_TRUE(pImp->ReadFile("../../test/models/X/BCN_Epileptic.X",flags)); + EXPECT_TRUE(pImp->ReadFile("../test/models/X/anim_test.x",flags)); + EXPECT_TRUE(pImp->ReadFile("../test/models/X/BCN_Epileptic.X",flags)); //EXPECT_TRUE(pImp->ReadFile("../../test/models/X/dwarf.x",flags)); # is in nonbsd } diff --git a/tools/assimp_cmd/Main.h b/tools/assimp_cmd/Main.h index 01bd74530..96b0684c3 100644 --- a/tools/assimp_cmd/Main.h +++ b/tools/assimp_cmd/Main.h @@ -46,7 +46,9 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #ifndef AICMD_MAIN_INCLUDED #define AICMD_MAIN_INCLUDED +#ifndef _CRT_SECURE_NO_WARNINGS #define _CRT_SECURE_NO_WARNINGS +#endif #include #include @@ -203,4 +205,4 @@ int Assimp_TestBatchLoad ( unsigned int num); -#endif // !! AICMD_MAIN_INCLUDED \ No newline at end of file +#endif // !! AICMD_MAIN_INCLUDED