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/CREDITS b/CREDITS index 5028bc306..774bed5f8 100644 --- a/CREDITS +++ b/CREDITS @@ -153,6 +153,8 @@ Ogre Binary format support Android JNI asset extraction support - Richard Steffen -Contributed X File exporter Contributed ExportProperties interface +Contributed X File exporter +Contributed Step (stp) exporter + diff --git a/code/CMakeLists.txt b/code/CMakeLists.txt index fd475c373..55e69f8b2 100644 --- a/code/CMakeLists.txt +++ b/code/CMakeLists.txt @@ -580,6 +580,12 @@ SET( XFile_SRCS ) SOURCE_GROUP( XFile FILES ${XFile_SRCS}) +SET( Step_SRCS + StepExporter.h + StepExporter.cpp +) +SOURCE_GROUP( Step FILES ${Step_SRCS}) + SET( Exporter_SRCS Exporter.cpp AssimpCExport.cpp @@ -717,6 +723,7 @@ SET( assimp_src ${Terragen_SRCS} ${Unreal_SRCS} ${XFile_SRCS} + ${Step_SRCS} ${Extra_SRCS} ${MS3D_SRCS} ${COB_SRCS} @@ -784,7 +791,7 @@ if( MSVC ) else() set(MSVC_PREFIX "vc130") endif() - set(LIBRARY_SUFFIX "${ASSIMP_LIBRARY_SUFFIX}-${MSVC_PREFIX}-mt" CACHE STRING "the suffix for the assimp windows library" FORCE) + set(LIBRARY_SUFFIX "${ASSIMP_LIBRARY_SUFFIX}-${MSVC_PREFIX}-mt" CACHE STRING "the suffix for the assimp windows library") endif() SET_TARGET_PROPERTIES( assimp PROPERTIES diff --git a/code/ColladaExporter.cpp b/code/ColladaExporter.cpp index 380b971f2..078ac0a56 100644 --- a/code/ColladaExporter.cpp +++ b/code/ColladaExporter.cpp @@ -47,6 +47,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include "Bitmap.h" #include "fast_atof.h" #include "SceneCombiner.h" +#include "DefaultIOSystem.h" #include "XMLTools.h" #include "../include/assimp/IOSystem.hpp" #include "../include/assimp/Exporter.hpp" @@ -67,22 +68,8 @@ namespace Assimp // Worker function for exporting a scene to Collada. Prototyped and registered in Exporter.cpp void ExportSceneCollada(const char* pFile, IOSystem* pIOSystem, const aiScene* pScene, const ExportProperties* pProperties) { - std::string path = ""; - std::string file = pFile; - - // We need to test both types of folder separators because pIOSystem->getOsSeparator() is not reliable. - // Moreover, the path given by some applications is not even consistent with the OS specific type of separator. - const char* end_path = std::max(strrchr(pFile, '\\'), strrchr(pFile, '/')); - - if(end_path != NULL) { - path = std::string(pFile, end_path + 1 - pFile); - file = file.substr(end_path + 1 - pFile, file.npos); - - std::size_t pos = file.find_last_of('.'); - if(pos != file.npos) { - file = file.substr(0, pos); - } - } + std::string path = DefaultIOSystem::absolutePath(std::string(pFile)); + std::string file = DefaultIOSystem::completeBaseName(std::string(pFile)); // invoke the exporter ColladaExporter iDoTheExportThing( pScene, pIOSystem, path, file); diff --git a/code/DefaultIOSystem.cpp b/code/DefaultIOSystem.cpp index 58a84aafa..5ce86eadc 100644 --- a/code/DefaultIOSystem.cpp +++ b/code/DefaultIOSystem.cpp @@ -167,4 +167,31 @@ bool DefaultIOSystem::ComparePaths (const char* one, const char* second) const return !ASSIMP_stricmp(temp1,temp2); } + +std::string DefaultIOSystem::fileName(std::string path) +{ + std::string ret = path; + std::size_t last = ret.find_last_of("\\/"); + if (last != std::string::npos) ret = ret.substr(last + 1); + return ret; +} + + +std::string DefaultIOSystem::completeBaseName(std::string path) +{ + std::string ret = fileName(path); + std::size_t pos = ret.find_last_of('.'); + if(pos != ret.npos) ret = ret.substr(0, pos); + return ret; +} + + +std::string DefaultIOSystem::absolutePath(std::string path) +{ + std::string ret = path; + std::size_t last = ret.find_last_of("\\/"); + if (last != std::string::npos) ret = ret.substr(0, last); + return ret; +} + #undef PATHLIMIT diff --git a/code/DefaultIOSystem.h b/code/DefaultIOSystem.h index fa3e4c625..de79df329 100644 --- a/code/DefaultIOSystem.h +++ b/code/DefaultIOSystem.h @@ -76,6 +76,21 @@ public: // ------------------------------------------------------------------- /** Compare two paths */ bool ComparePaths (const char* one, const char* second) const; + + /** @brief get the file name of a full filepath + * example: /tmp/archive.tar.gz -> archive.tar.gz + */ + static std::string fileName(std::string path); + + /** @brief get the complete base name of a full filepath + * example: /tmp/archive.tar.gz -> archive.tar + */ + static std::string completeBaseName(std::string path); + + /** @brief get the path of a full filepath + * example: /tmp/archive.tar.gz -> /tmp/ + */ + static std::string absolutePath(std::string path); }; } //!ns Assimp diff --git a/code/Exporter.cpp b/code/Exporter.cpp index 0aea1b044..fc0fccdf7 100644 --- a/code/Exporter.cpp +++ b/code/Exporter.cpp @@ -79,7 +79,8 @@ void GetPostProcessingStepInstanceList(std::vector< BaseProcess* >& out); // Exporter worker function prototypes. Should not be necessary to #ifndef them, it's just a prototype // do not use const, because some exporter need to convert the scene temporary void ExportSceneCollada(const char*,IOSystem*, const aiScene*, const ExportProperties*); -void ExportSceneXFile(const char*,IOSystem*, const aiScene*, const ExportProperties*); +void ExportSceneXFile(const char*,IOSystem*, const aiScene*, const ExportProperties*); +void ExportSceneStep(const char*,IOSystem*, const aiScene*, const ExportProperties*); void ExportSceneObj(const char*,IOSystem*, const aiScene*, const ExportProperties*); void ExportSceneSTL(const char*,IOSystem*, const aiScene*, const ExportProperties*); void ExportSceneSTLBinary(const char*,IOSystem*, const aiScene*, const ExportProperties*); @@ -102,6 +103,10 @@ Exporter::ExportFormatEntry gExporters[] = aiProcess_MakeLeftHanded | aiProcess_FlipWindingOrder | aiProcess_FlipUVs), #endif +#ifndef ASSIMP_BUILD_NO_STEP_EXPORTER + Exporter::ExportFormatEntry( "stp", "Step Files", "stp", &ExportSceneStep, 0), +#endif + #ifndef ASSIMP_BUILD_NO_OBJ_EXPORTER Exporter::ExportFormatEntry( "obj", "Wavefront OBJ format", "obj", &ExportSceneObj, aiProcess_GenSmoothNormals /*| aiProcess_PreTransformVertices */), diff --git a/code/ProcessHelper.cpp b/code/ProcessHelper.cpp index 70e883df4..179f5bc2f 100644 --- a/code/ProcessHelper.cpp +++ b/code/ProcessHelper.cpp @@ -94,6 +94,26 @@ void FindMeshCenter (aiMesh* mesh, aiVector3D& out, aiVector3D& min, aiVector3D& out = min + (max-min)*0.5f; } +// ------------------------------------------------------------------------------- +void FindSceneCenter (aiScene* scene, aiVector3D& out, aiVector3D& min, aiVector3D& max) +{ + if (scene->mNumMeshes == 0) return; + FindMeshCenter(scene->mMeshes[0], out, min, max); + for (unsigned int i = 1; i < scene->mNumMeshes; ++i) + { + aiVector3D tout, tmin, tmax; + FindMeshCenter(scene->mMeshes[i], tout, tmin, tmax); + if (min[0] > tmin[0]) min[0] = tmin[0]; + if (min[1] > tmin[1]) min[1] = tmin[1]; + if (min[2] > tmin[2]) min[2] = tmin[2]; + if (max[0] < tmax[0]) max[0] = tmax[0]; + if (max[1] < tmax[1]) max[1] = tmax[1]; + if (max[2] < tmax[2]) max[2] = tmax[2]; + } + out = min + (max-min)*0.5f; +} + + // ------------------------------------------------------------------------------- void FindMeshCenterTransformed (aiMesh* mesh, aiVector3D& out, aiVector3D& min, aiVector3D& max, const aiMatrix4x4& m) diff --git a/code/ProcessHelper.h b/code/ProcessHelper.h index 4dc80972a..6bdf11b87 100644 --- a/code/ProcessHelper.h +++ b/code/ProcessHelper.h @@ -265,6 +265,16 @@ void FindAABBTransformed (const aiMesh* mesh, aiVector3D& min, aiVector3D& max, * @param[out] out Center point */ void FindMeshCenter (aiMesh* mesh, aiVector3D& out, aiVector3D& min, aiVector3D& max); +// ------------------------------------------------------------------------------- +/** @brief Helper function to determine the 'real' center of a scene + * + * That is the center of its axis-aligned bounding box. + * @param scene Input scene + * @param[out] min Minimum vertex of the scene + * @param[out] max maximum vertex of the scene + * @param[out] out Center point */ +void FindSceneCenter (aiScene* scene, aiVector3D& out, aiVector3D& min, aiVector3D& max); + // ------------------------------------------------------------------------------- // Helper function to determine the 'real' center of a mesh after applying a given transform diff --git a/code/STEPFileEncoding.cpp b/code/STEPFileEncoding.cpp index 3d2ab4933..479aaae00 100644 --- a/code/STEPFileEncoding.cpp +++ b/code/STEPFileEncoding.cpp @@ -332,7 +332,7 @@ bool STEP::StringToUTF8(std::string& s) case '4': if (s[i+3] == '\\') { const size_t basei = i+4; - size_t j = basei, jend = s.size()-4; + size_t j = basei, jend = s.size()-3; for (; j < jend; ++j) { if (s[j] == '\\' && s[j] == 'X' && s[j] == '0' && s[j] == '\\') { diff --git a/code/StepExporter.cpp b/code/StepExporter.cpp new file mode 100644 index 000000000..0ce273313 --- /dev/null +++ b/code/StepExporter.cpp @@ -0,0 +1,386 @@ +/* +Open Asset Import Library (assimp) +---------------------------------------------------------------------- + +Copyright (c) 2006-2015, assimp 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 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. + +@author: Richard Steffen, 2015 +---------------------------------------------------------------------- +*/ + + +#ifndef ASSIMP_BUILD_NO_EXPORT +#ifndef ASSIMP_BUILD_NO_STEP_EXPORTER +#include "StepExporter.h" +#include "ConvertToLHProcess.h" +#include "Bitmap.h" +#include "BaseImporter.h" +#include "fast_atof.h" +#include "SceneCombiner.h" +#include "DefaultIOSystem.h" +#include +#include +#include +#include +#include +#include +#include "Exceptional.h" +#include "../include/assimp/IOSystem.hpp" +#include "../include/assimp/scene.h" +#include "../include/assimp/light.h" + +// +#if _MSC_VER > 1500 || (defined __GNUC___) +# define ASSIMP_STEP_USE_UNORDERED_MULTIMAP +# else +# define step_unordered_map map +# define step_unordered_multimap multimap +#endif + +#ifdef ASSIMP_STEP_USE_UNORDERED_MULTIMAP +# include +# if _MSC_VER > 1600 +# define step_unordered_map unordered_map +# define step_unordered_multimap unordered_multimap +# else +# define step_unordered_map tr1::unordered_map +# define step_unordered_multimap tr1::unordered_multimap +# endif +#endif + +typedef std::step_unordered_map VectorIndexUMap; + +/* Tested with Step viewer v4 from www.ida-step.net */ + +using namespace Assimp; + +namespace Assimp +{ + +// ------------------------------------------------------------------------------------------------ +// Worker function for exporting a scene to Collada. Prototyped and registered in Exporter.cpp +void ExportSceneStep(const char* pFile,IOSystem* pIOSystem, const aiScene* pScene, const ExportProperties* pProperties) +{ + std::string path = DefaultIOSystem::absolutePath(std::string(pFile)); + std::string file = DefaultIOSystem::completeBaseName(std::string(pFile)); + + // create/copy Properties + ExportProperties props(*pProperties); + + // invoke the exporter + StepExporter iDoTheExportThing( pScene, pIOSystem, path, file, &props); + + // we're still here - export successfully completed. Write result to the given IOSYstem + boost::scoped_ptr outfile (pIOSystem->Open(pFile,"wt")); + if(outfile == NULL) { + throw DeadlyExportError("could not open output .stp file: " + std::string(pFile)); + } + + // XXX maybe use a small wrapper around IOStream that behaves like std::stringstream in order to avoid the extra copy. + outfile->Write( iDoTheExportThing.mOutput.str().c_str(), static_cast(iDoTheExportThing.mOutput.tellp()),1); +} + +} // end of namespace Assimp + + +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(); + trafos[node] = parent * node->mTransformation; + for (unsigned int i = 0; i < node->mNumChildren; ++i) { + CollectTrafos(node->mChildren[i], trafos); + } + } + + // Generate a flat list of the meshes (by index) assigned to each node + void CollectMeshes(const aiNode* node, std::multimap& meshes) { + for (unsigned int i = 0; i < node->mNumMeshes; ++i) { + meshes.insert(std::make_pair(node, node->mMeshes[i])); + } + for (unsigned int i = 0; i < node->mNumChildren; ++i) { + CollectMeshes(node->mChildren[i], meshes); + } + } +} + +// ------------------------------------------------------------------------------------------------ +// 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) +{ + CollectTrafos(pScene->mRootNode, trafos); + CollectMeshes(pScene->mRootNode, meshes); + + // 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(); +} + +// ------------------------------------------------------------------------------------------------ +// Starts writing the contents +void StepExporter::WriteFile() +{ + // see http://shodhganga.inflibnet.ac.in:8080/jspui/bitstream/10603/14116/11/11_chapter%203.pdf + // note, that all realnumber values must be comma separated in x files + mOutput.setf(std::ios::fixed); + mOutput.precision(16); // precission for double + + // standard color + aiColor4D fColor; + fColor.r = 0.8f; + fColor.g = 0.8f; + fColor.b = 0.8f; + + int ind = 100; // the start index to be used + int faceEntryLen = 30; // number of entries for a triangle/face + // prepare unique (count triangles and vertices) + + VectorIndexUMap uniqueVerts; // use a map to reduce find complexity to log(n) + VectorIndexUMap::iterator it; + int countFace = 0; + + for (unsigned int i=0; imNumMeshes; ++i) + { + aiMesh* mesh = mScene->mMeshes[i]; + for (unsigned int j=0; jmNumFaces; ++j) + { + aiFace* face = &(mesh->mFaces[j]); + + if (face->mNumIndices == 3) countFace++; + } + for (unsigned int j=0; jmNumVertices; ++j) + { + aiVector3D* v = &(mesh->mVertices[j]); + it =uniqueVerts.find(v); + if (it == uniqueVerts.end()) + { + uniqueVerts[v] = -1; // first mark the vector as not transformed + } + } + } + + static const unsigned int date_nb_chars = 20; + char date_str[date_nb_chars]; + std::time_t date = std::time(NULL); + std::strftime(date_str, date_nb_chars, "%Y-%m-%dT%H:%M:%S", std::localtime(&date)); + + // write the header + mOutput << "ISO-10303-21" << endstr; + mOutput << "HEADER" << endstr; + mOutput << "FILE_DESCRIPTION(('STEP AP214'),'1')" << endstr; + mOutput << "FILE_NAME('" << mFile << ".stp','" << date_str << "',(' '),(' '),'Spatial InterOp 3D',' ',' ')" << endstr; + mOutput << "FILE_SCHEMA(('automotive_design'))" << endstr; + mOutput << "ENDSEC" << endstr; + + // write the top of data + mOutput << "DATA" << endstr; + mOutput << "#1=MECHANICAL_DESIGN_GEOMETRIC_PRESENTATION_REPRESENTATION(' ',("; + for (int i=0; imMeshes[mesh_idx]; + aiMatrix4x4& trafo = trafos[&node]; + for (unsigned int i = 0; i < mesh->mNumVertices; ++i) + { + aiVector3D* v = &(mesh->mVertices[i]); + it = uniqueVerts.find(v); + if (it->second >=0 ) continue; + it->second = ind; // this one is new, so set the index (ind) + aiVector3D vt = trafo * (*v); // transform the coordinate + mOutput << "#" << it->second << "=CARTESIAN_POINT('',(" << vt.x << "," << vt.y << "," << vt.z << "))" << endstr; + mOutput << "#" << it->second+1 << "=VERTEX_POINT('',#" << it->second << ")" << endstr; + ind += 2; + } + } + + // write the triangles + for (unsigned int i=0; imNumMeshes; ++i) + { + aiMesh* mesh = mScene->mMeshes[i]; + for (unsigned int j=0; jmNumFaces; ++j) + { + aiFace* face = &(mesh->mFaces[j]); + + if (face->mNumIndices != 3) continue; + + aiVector3D* v1 = &(mesh->mVertices[face->mIndices[0]]); + aiVector3D* v2 = &(mesh->mVertices[face->mIndices[1]]); + aiVector3D* v3 = &(mesh->mVertices[face->mIndices[2]]); + aiVector3D dv12 = *v2 - *v1; + aiVector3D dv23 = *v3 - *v2; + aiVector3D dv31 = *v1 - *v3; + aiVector3D dv13 = *v3 - *v1; + dv12.Normalize(); + dv23.Normalize(); + dv31.Normalize(); + dv13.Normalize(); + + int pid1 = uniqueVerts.find(v1)->second; + int pid2 = uniqueVerts.find(v2)->second; + int pid3 = uniqueVerts.find(v3)->second; + + // mean vertex color for the face if available + if (mesh->HasVertexColors(0)) + { + fColor.r = 0.0; + fColor.g = 0.0; + fColor.b = 0.0; + fColor += mesh->mColors[0][face->mIndices[0]]; + fColor += mesh->mColors[0][face->mIndices[1]]; + fColor += mesh->mColors[0][face->mIndices[2]]; + fColor /= 3.0f; + } + + int sid = ind; // the sub index + mOutput << "#" << sid << "=STYLED_ITEM('',(#" << sid+1 << "),#" << sid+8 << ")" << endstr; /* the item that must be referenced in #1 */ + /* This is the color information of the Triangle */ + mOutput << "#" << sid+1 << "=PRESENTATION_STYLE_ASSIGNMENT((#" << sid+2 << "))" << endstr; + mOutput << "#" << sid+2 << "=SURFACE_STYLE_USAGE(.BOTH.,#" << sid+3 << ")" << endstr; + mOutput << "#" << sid+3 << "=SURFACE_SIDE_STYLE('',(#" << sid+4 << "))" << endstr; + mOutput << "#" << sid+4 << "=SURFACE_STYLE_FILL_AREA(#" << sid+5 << ")" << endstr; + mOutput << "#" << sid+5 << "=FILL_AREA_STYLE('',(#" << sid+6 << "))" << endstr; + mOutput << "#" << sid+6 << "=FILL_AREA_STYLE_COLOUR('',#" << sid+7 << ")" << endstr; + mOutput << "#" << sid+7 << "=COLOUR_RGB(''," << fColor.r << "," << fColor.g << "," << fColor.b << ")" << endstr; + + /* this is the geometry */ + mOutput << "#" << sid+8 << "=FACE_SURFACE('',(#" << sid+13 << "),#" << sid+9<< ",.T.)" << endstr; /* the face that must be referenced in 29 */ + + /* 2 directions of the plane */ + mOutput << "#" << sid+9 << "=PLANE('',#" << sid+10 << ")" << endstr; + mOutput << "#" << sid+10 << "=AXIS2_PLACEMENT_3D('',#" << pid1 << ", #" << sid+11 << ",#" << sid+12 << ")" << endstr; + + mOutput << "#" << sid+11 << "=DIRECTION('',(" << dv12.x << "," << dv12.y << "," << dv12.z << "))" << endstr; + mOutput << "#" << sid+12 << "=DIRECTION('',(" << dv13.x << "," << dv13.y << "," << dv13.z << "))" << endstr; + + mOutput << "#" << sid+13 << "=FACE_BOUND('',#" << sid+14 << ",.T.)" << endstr; + mOutput << "#" << sid+14 << "=EDGE_LOOP('',(#" << sid+15 << ",#" << sid+16 << ",#" << sid+17 << "))" << endstr; + + /* edge loop */ + mOutput << "#" << sid+15 << "=ORIENTED_EDGE('',*,*,#" << sid+18 << ",.T.)" << endstr; + mOutput << "#" << sid+16 << "=ORIENTED_EDGE('',*,*,#" << sid+19 << ",.T.)" << endstr; + mOutput << "#" << sid+17 << "=ORIENTED_EDGE('',*,*,#" << sid+20 << ",.T.)" << endstr; + + /* oriented edges */ + mOutput << "#" << sid+18 << "=EDGE_CURVE('',#" << pid1+1 << ",#" << pid2+1 << ",#" << sid+21 << ",.F.)" << endstr; + mOutput << "#" << sid+19 << "=EDGE_CURVE('',#" << pid2+1 << ",#" << pid3+1 << ",#" << sid+22 << ",.T.)" << endstr; + mOutput << "#" << sid+20 << "=EDGE_CURVE('',#" << pid3+1 << ",#" << pid1+1 << ",#" << sid+23 << ",.T.)" << endstr; + + /* 3 lines and 3 vectors for the lines for the 3 edge curves */ + mOutput << "#" << sid+21 << "=LINE('',#" << pid1 << ",#" << sid+24 << ")" << endstr; + mOutput << "#" << sid+22 << "=LINE('',#" << pid2 << ",#" << sid+25 << ")" << endstr; + mOutput << "#" << sid+23 << "=LINE('',#" << pid3 << ",#" << sid+26 << ")" << endstr; + mOutput << "#" << sid+24 << "=VECTOR('',#" << sid+27 << ",1.0)" << endstr; + mOutput << "#" << sid+25 << "=VECTOR('',#" << sid+28 << ",1.0)" << endstr; + mOutput << "#" << sid+26 << "=VECTOR('',#" << sid+29 << ",1.0)" << endstr; + mOutput << "#" << sid+27 << "=DIRECTION('',(" << dv12.x << "," << dv12.y << "," << dv12.z << "))" << endstr; + mOutput << "#" << sid+28 << "=DIRECTION('',(" << dv23.x << "," << dv23.y << "," << dv23.z << "))" << endstr; + mOutput << "#" << sid+29 << "=DIRECTION('',(" << dv31.x << "," << dv31.y << "," << dv31.z << "))" << endstr; + ind += faceEntryLen; // increase counter + } + } + + mOutput << "ENDSEC" << endstr; // end of data section + mOutput << "END-ISO-10303-21" << endstr; // end of file +} + +#endif +#endif + diff --git a/code/StepExporter.h b/code/StepExporter.h new file mode 100644 index 000000000..7f15f3535 --- /dev/null +++ b/code/StepExporter.h @@ -0,0 +1,109 @@ +/* +Open Asset Import Library (assimp) +---------------------------------------------------------------------- + +Copyright (c) 2006-2012, assimp 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 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. + +@author: Richard Steffen, 2014 + +---------------------------------------------------------------------- +*/ + +/** @file StepExporter.h + * Declares the exporter class to write a scene to a Collada file + */ +#ifndef AI_STEPEXPORTER_H_INC +#define AI_STEPEXPORTER_H_INC + +#include "../include/assimp/ai_assert.h" +#include "../include/assimp/matrix4x4.h" +#include "../include/assimp/Exporter.hpp" +#include + + +struct aiScene; +struct aiNode; + +namespace Assimp +{ + +/// Helper class to export a given scene to a StepFile. +/// Note: an StepFile uses a left hand system. Assimp used a right hand system (OpenGL), therefore we have to transform everything +class StepExporter +{ +public: + /// Constructor for a specific scene to export + StepExporter(const aiScene* pScene, IOSystem* pIOSystem, const std::string& path, const std::string& file, const ExportProperties* pProperties); + +protected: + /// Starts writing the contents + void WriteFile(); + +public: + + /// Stringstream to write all output into + std::stringstream mOutput; + +protected: + + /// hold the properties pointer + const ExportProperties* mProperties; + + /// The IOSystem for output + IOSystem* mIOSystem; + + /// Name of the file (without extension) where the scene will be exported + std::string mFile; + + /// Path of the directory where the scene will be exported + std::string mPath; + + /// The scene to be written + const aiScene* mScene; + + /// current line end string for simple stream insertion + std::string endstr; + + /// accumultated transformations for nodes + std::map trafos; + + /// map to all meshed of nodes + typedef std::multimap MeshesByNodeMap; + MeshesByNodeMap meshes; + +}; + +} + +#endif // !! AI_STEPEXPORTER_H_INC diff --git a/code/XFileExporter.cpp b/code/XFileExporter.cpp index 48f7e6697..276b309dd 100644 --- a/code/XFileExporter.cpp +++ b/code/XFileExporter.cpp @@ -48,7 +48,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include "BaseImporter.h" #include "fast_atof.h" #include "SceneCombiner.h" - +#include "DefaultIOSystem.h" #include #include #include @@ -68,22 +68,8 @@ namespace Assimp // Worker function for exporting a scene to Collada. Prototyped and registered in Exporter.cpp void ExportSceneXFile(const char* pFile,IOSystem* pIOSystem, const aiScene* pScene, const ExportProperties* pProperties) { - std::string path = ""; - std::string file = pFile; - - // We need to test both types of folder separators because pIOSystem->getOsSeparator() is not reliable. - // Moreover, the path given by some applications is not even consistent with the OS specific type of separator. - const char* end_path = std::max(strrchr(pFile, '\\'), strrchr(pFile, '/')); - - if(end_path != NULL) { - path = std::string(pFile, end_path + 1 - pFile); - file = file.substr(end_path + 1 - pFile, file.npos); - - std::size_t pos = file.find_last_of('.'); - if(pos != file.npos) { - file = file.substr(0, pos); - } - } + std::string path = DefaultIOSystem::absolutePath(std::string(pFile)); + std::string file = DefaultIOSystem::completeBaseName(std::string(pFile)); // create/copy Properties ExportProperties props(*pProperties); @@ -118,7 +104,7 @@ XFileExporter::XFileExporter(const aiScene* pScene, IOSystem* pIOSystem, const s mSceneOwned = false; // set up strings - endstr = "\n"; + endstr = "\n"; // start writing WriteFile(); @@ -326,8 +312,8 @@ void XFileExporter::WriteNode( aiNode* pNode) WriteMesh(mScene->mMeshes[pNode->mMeshes[i]]); // recursive call the Nodes - for (size_t a = 0; a < pNode->mNumChildren; a++) - WriteNode( mScene->mRootNode->mChildren[a]); + for (size_t i = 0; i < pNode->mNumChildren; ++i) + WriteNode( mScene->mRootNode->mChildren[i]); PopTag(); @@ -514,12 +500,16 @@ void XFileExporter::WriteMesh(aiMesh* mesh) std::string XFileExporter::toXFileString(aiString &name) { - std::string str = std::string(name.C_Str()); - std::replace(str.begin(), str.end(), '<', '_'); - std::replace(str.begin(), str.end(), '>', '_'); - std::replace(str.begin(), str.end(), '{', '_'); - std::replace(str.begin(), str.end(), '}', '_'); - std::replace(str.begin(), str.end(), '$', '_'); + std::string pref = ""; // node name prefix to prevent unexpected start of string + std::string str = pref + std::string(name.C_Str()); + for (int i=0; i < (int) str.length(); ++i) + { + if ((str[i] >= '0' && str[i] <= '9') || // 0-9 + (str[i] >= 'A' && str[i] <= 'Z') || // A-Z + (str[i] >= 'a' && str[i] <= 'z')) // a-z + continue; + str[i] = '_'; + } return str; } diff --git a/code/XFileExporter.h b/code/XFileExporter.h index 22c236cf5..42015882b 100644 --- a/code/XFileExporter.h +++ b/code/XFileExporter.h @@ -128,8 +128,6 @@ protected: /// current line end string for simple stream insertion std::string endstr; -protected: - }; } 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/regression/db.zip b/test/regression/db.zip index 42cf9d5a7..d1a4edf76 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