diff --git a/port/Assimp.NET/Assimp.NET/Assimp.NET.vcproj b/port/Assimp.NET/Assimp.NET/Assimp.NET.vcproj index c2e25415a..d0bcaba92 100644 --- a/port/Assimp.NET/Assimp.NET/Assimp.NET.vcproj +++ b/port/Assimp.NET/Assimp.NET/Assimp.NET.vcproj @@ -30,6 +30,7 @@ /> ; %rename(__smaller__) operator<; + +%rename(opNew) operator new; +%rename(opNewArray) operator new[]; + +%rename(opDelete) operator delete; +%rename(opDeleteArray) operator delete[]; + + //%rename(Node) aiNode; %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) +%newobject CLASS::NAME; +%extend CLASS { + std::vector *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) +%newobject CLASS::NAME; +%extend CLASS { + std::vector *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) +%newobject CLASS::NAME; +%extend CLASS { + std::vector > *NAME() { + std::vector > *result = new 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 + //%include "..\..\..\include\aiAssert.h" %include "..\..\..\include\aiDefines.h" @@ -78,6 +164,19 @@ %include "..\..\..\include\LogStream.h" %include "..\..\..\include\NullLogger.h" - +%template(UintVector) std::vector; +%template(aiAnimationVector) std::vector; +%template(aiCameraVector) std::vector; +%template(aiColor4DVector) std::vector; +%template(aiColor4DVectorVector) std::vector >; +%template(aiFaceVector) std::vector; +%template(aiLightVector) std::vector; +%template(aiMaterialVector) std::vector; +%template(aiMeshVector) std::vector; +%template(aiNodeVector) std::vector; +%template(aiNodeAnimVector) std::vector; +%template(aiTextureVector) std::vector; +%template(aiVector3DVector) std::vector; +%template(aiVector3DVectorVector) std::vector >; diff --git a/port/Assimp.NET/Assimp.NET_CS/AllocateFromAssimpHeap.cs b/port/Assimp.NET/Assimp.NET_CS/AllocateFromAssimpHeap.cs deleted file mode 100644 index 7bc473c66..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/AllocateFromAssimpHeap.cs +++ /dev/null @@ -1,46 +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 AllocateFromAssimpHeap : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal AllocateFromAssimpHeap(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(AllocateFromAssimpHeap obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~AllocateFromAssimpHeap() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - AssimpPINVOKE.delete_AllocateFromAssimpHeap(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public AllocateFromAssimpHeap() : this(AssimpPINVOKE.new_AllocateFromAssimpHeap(), true) { - } - -} diff --git a/port/Assimp.NET/Assimp.NET_CS/Assimp.NET_CS.csproj b/port/Assimp.NET/Assimp.NET_CS/Assimp.NET_CS.csproj index 9264a3cde..8d2d15c66 100644 --- a/port/Assimp.NET/Assimp.NET_CS/Assimp.NET_CS.csproj +++ b/port/Assimp.NET/Assimp.NET_CS/Assimp.NET_CS.csproj @@ -101,7 +101,6 @@ - @@ -129,6 +128,7 @@ + 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 9a724971c..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/Assimp.cs +++ /dev/null @@ -1,199 +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 Assimp { - public static uint MAXLEN { - get { - uint ret = AssimpPINVOKE.MAXLEN_get(); - return ret; - } - } - - public static aiVector2D __add__(aiVector2D v1, aiVector2D v2) { - aiVector2D ret = new aiVector2D(AssimpPINVOKE.__add__(aiVector2D.getCPtr(v1), aiVector2D.getCPtr(v2)), true); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static aiVector2D __sub__(aiVector2D v1, aiVector2D v2) { - aiVector2D ret = new aiVector2D(AssimpPINVOKE.__sub____SWIG_0(aiVector2D.getCPtr(v1), aiVector2D.getCPtr(v2)), true); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static float __mul__(aiVector2D v1, aiVector2D v2) { - float ret = AssimpPINVOKE.__mul____SWIG_0(aiVector2D.getCPtr(v1), aiVector2D.getCPtr(v2)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static aiVector2D __mul__(float f, aiVector2D v) { - aiVector2D ret = new aiVector2D(AssimpPINVOKE.__mul____SWIG_1(f, aiVector2D.getCPtr(v)), true); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static aiVector2D __mul__(aiVector2D v, float f) { - aiVector2D ret = new aiVector2D(AssimpPINVOKE.__mul____SWIG_2(aiVector2D.getCPtr(v), f), true); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static aiVector2D __div__(aiVector2D v, float f) { - aiVector2D ret = new aiVector2D(AssimpPINVOKE.__div____SWIG_0(aiVector2D.getCPtr(v), f), true); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static aiVector2D __div__(aiVector2D v, aiVector2D v2) { - aiVector2D ret = new aiVector2D(AssimpPINVOKE.__div____SWIG_1(aiVector2D.getCPtr(v), aiVector2D.getCPtr(v2)), true); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static aiVector2D __sub__(aiVector2D v) { - aiVector2D ret = new aiVector2D(AssimpPINVOKE.__sub____SWIG_1(aiVector2D.getCPtr(v)), true); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static aiReturn aiGetMaterialProperty(aiMaterial pMat, string pKey, uint type, uint index, SWIGTYPE_p_p_aiMaterialProperty pPropOut) { - aiReturn ret = (aiReturn)AssimpPINVOKE.aiGetMaterialProperty(aiMaterial.getCPtr(pMat), pKey, type, index, SWIGTYPE_p_p_aiMaterialProperty.getCPtr(pPropOut)); - return ret; - } - - public static aiReturn aiGetMaterialFloatArray(aiMaterial pMat, string pKey, uint type, uint index, SWIGTYPE_p_float pOut, SWIGTYPE_p_unsigned_int pMax) { - aiReturn ret = (aiReturn)AssimpPINVOKE.aiGetMaterialFloatArray(aiMaterial.getCPtr(pMat), pKey, type, index, SWIGTYPE_p_float.getCPtr(pOut), SWIGTYPE_p_unsigned_int.getCPtr(pMax)); - return ret; - } - - public static aiReturn aiGetMaterialFloat(aiMaterial pMat, string pKey, uint type, uint index, SWIGTYPE_p_float pOut) { - aiReturn ret = (aiReturn)AssimpPINVOKE.aiGetMaterialFloat(aiMaterial.getCPtr(pMat), pKey, type, index, SWIGTYPE_p_float.getCPtr(pOut)); - return ret; - } - - public static aiReturn aiGetMaterialIntegerArray(aiMaterial pMat, string pKey, uint type, uint index, SWIGTYPE_p_int pOut, SWIGTYPE_p_unsigned_int pMax) { - aiReturn ret = (aiReturn)AssimpPINVOKE.aiGetMaterialIntegerArray(aiMaterial.getCPtr(pMat), pKey, type, index, SWIGTYPE_p_int.getCPtr(pOut), SWIGTYPE_p_unsigned_int.getCPtr(pMax)); - return ret; - } - - public static aiReturn aiGetMaterialInteger(aiMaterial pMat, string pKey, uint type, uint index, SWIGTYPE_p_int pOut) { - aiReturn ret = (aiReturn)AssimpPINVOKE.aiGetMaterialInteger(aiMaterial.getCPtr(pMat), pKey, type, index, SWIGTYPE_p_int.getCPtr(pOut)); - return ret; - } - - public static aiReturn aiGetMaterialColor(aiMaterial pMat, string pKey, uint type, uint index, SWIGTYPE_p_aiColor4D pOut) { - aiReturn ret = (aiReturn)AssimpPINVOKE.aiGetMaterialColor(aiMaterial.getCPtr(pMat), pKey, type, index, SWIGTYPE_p_aiColor4D.getCPtr(pOut)); - return ret; - } - - public static aiReturn aiGetMaterialString(aiMaterial pMat, string pKey, uint type, uint index, aiString pOut) { - aiReturn ret = (aiReturn)AssimpPINVOKE.aiGetMaterialString(aiMaterial.getCPtr(pMat), pKey, type, index, aiString.getCPtr(pOut)); - return ret; - } - - public static uint aiGetMaterialTextureCount(aiMaterial pMat, aiTextureType type) { - uint ret = AssimpPINVOKE.aiGetMaterialTextureCount(aiMaterial.getCPtr(pMat), (int)type); - return ret; - } - - public static aiReturn aiGetMaterialTexture(aiMaterial mat, aiTextureType type, uint index, aiString path, SWIGTYPE_p_aiTextureMapping mapping, SWIGTYPE_p_unsigned_int uvindex, SWIGTYPE_p_float blend, SWIGTYPE_p_aiTextureOp op, SWIGTYPE_p_aiTextureMapMode mapmode, SWIGTYPE_p_unsigned_int flags) { - aiReturn ret = (aiReturn)AssimpPINVOKE.aiGetMaterialTexture(aiMaterial.getCPtr(mat), (int)type, index, aiString.getCPtr(path), SWIGTYPE_p_aiTextureMapping.getCPtr(mapping), SWIGTYPE_p_unsigned_int.getCPtr(uvindex), SWIGTYPE_p_float.getCPtr(blend), SWIGTYPE_p_aiTextureOp.getCPtr(op), SWIGTYPE_p_aiTextureMapMode.getCPtr(mapmode), SWIGTYPE_p_unsigned_int.getCPtr(flags)); - return ret; - } - - public static aiScene aiImportFileEx(string arg0, uint arg1, aiFileIO arg2) { - IntPtr cPtr = AssimpPINVOKE.aiImportFileEx(arg0, arg1, aiFileIO.getCPtr(arg2)); - aiScene ret = (cPtr == IntPtr.Zero) ? null : new aiScene(cPtr, false); - return ret; - } - - public static aiScene aiImportFileFromMemory(string arg0, uint arg1, uint arg2, string arg3) { - IntPtr cPtr = AssimpPINVOKE.aiImportFileFromMemory(arg0, arg1, arg2, arg3); - aiScene ret = (cPtr == IntPtr.Zero) ? null : new aiScene(cPtr, false); - 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_PP_CT_MAX_SMOOTHING_ANGLE = AssimpPINVOKE.AI_CONFIG_PP_CT_MAX_SMOOTHING_ANGLE_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 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 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_DEFAULT_TEXTURED_MATERIAL_NAME = AssimpPINVOKE.AI_DEFAULT_TEXTURED_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(); - public static readonly uint MAX_LOG_MESSAGE_LENGTH = AssimpPINVOKE.MAX_LOG_MESSAGE_LENGTH_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 f44231eec..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/AssimpPINVOKE.cs +++ /dev/null @@ -1,2316 +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; - -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(); - - - [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_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_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_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_new_AllocateFromAssimpHeap")] - public static extern IntPtr new_AllocateFromAssimpHeap(); - - [DllImport("Assimp", EntryPoint="CSharp_delete_AllocateFromAssimpHeap")] - public static extern void delete_AllocateFromAssimpHeap(HandleRef jarg1); - - [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 void aiString_Set__SWIG_0(HandleRef jarg1, string jarg2); - - [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_Append")] - public static extern void aiString_Append(HandleRef jarg1, string jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiString_Clear")] - public static extern void aiString_Clear(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_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___add__")] - public static extern IntPtr __add__(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp___sub____SWIG_0")] - public static extern IntPtr __sub____SWIG_0(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp___mul____SWIG_0")] - public static extern float __mul____SWIG_0(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp___mul____SWIG_1")] - public static extern IntPtr __mul____SWIG_1(float jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp___mul____SWIG_2")] - public static extern IntPtr __mul____SWIG_2(HandleRef jarg1, float jarg2); - - [DllImport("Assimp", EntryPoint="CSharp___div____SWIG_0")] - public static extern IntPtr __div____SWIG_0(HandleRef jarg1, float jarg2); - - [DllImport("Assimp", EntryPoint="CSharp___div____SWIG_1")] - public static extern IntPtr __div____SWIG_1(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp___sub____SWIG_1")] - public static extern IntPtr __sub____SWIG_1(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_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_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_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_mPositionKeys_set")] - public static extern void aiNodeAnim_mPositionKeys_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiNodeAnim_mPositionKeys_get")] - public static extern IntPtr aiNodeAnim_mPositionKeys_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_mRotationKeys_set")] - public static extern void aiNodeAnim_mRotationKeys_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiNodeAnim_mRotationKeys_get")] - public static extern IntPtr aiNodeAnim_mRotationKeys_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_mScalingKeys_set")] - public static extern void aiNodeAnim_mScalingKeys_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiNodeAnim_mScalingKeys_get")] - public static extern IntPtr aiNodeAnim_mScalingKeys_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_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_mChannels_set")] - public static extern void aiAnimation_mChannels_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiAnimation_mChannels_get")] - public static extern IntPtr aiAnimation_mChannels_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_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_aiFace_mIndices_set")] - public static extern void aiFace_mIndices_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiFace_mIndices_get")] - public static extern IntPtr aiFace_mIndices_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_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_mWeights_set")] - public static extern void aiBone_mWeights_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiBone_mWeights_get")] - public static extern IntPtr aiBone_mWeights_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_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_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_mVertices_set")] - public static extern void aiMesh_mVertices_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMesh_mVertices_get")] - public static extern IntPtr aiMesh_mVertices_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMesh_mNormals_set")] - public static extern void aiMesh_mNormals_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMesh_mNormals_get")] - public static extern IntPtr aiMesh_mNormals_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMesh_mTangents_set")] - public static extern void aiMesh_mTangents_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMesh_mTangents_get")] - public static extern IntPtr aiMesh_mTangents_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMesh_mBitangents_set")] - public static extern void aiMesh_mBitangents_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMesh_mBitangents_get")] - public static extern IntPtr aiMesh_mBitangents_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMesh_mColors_set")] - public static extern void aiMesh_mColors_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMesh_mColors_get")] - public static extern IntPtr aiMesh_mColors_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMesh_mTextureCoords_set")] - public static extern void aiMesh_mTextureCoords_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMesh_mTextureCoords_get")] - public static extern IntPtr aiMesh_mTextureCoords_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMesh_mNumUVComponents_set")] - public static extern void aiMesh_mNumUVComponents_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMesh_mNumUVComponents_get")] - public static extern IntPtr aiMesh_mNumUVComponents_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMesh_mFaces_set")] - public static extern void aiMesh_mFaces_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMesh_mFaces_get")] - public static extern IntPtr aiMesh_mFaces_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_mBones_set")] - public static extern void aiMesh_mBones_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMesh_mBones_get")] - public static extern IntPtr aiMesh_mBones_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_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_aiFileIO_OpenProc_set")] - public static extern void aiFileIO_OpenProc_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiFileIO_OpenProc_get")] - public static extern IntPtr aiFileIO_OpenProc_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiFileIO_CloseProc_set")] - public static extern void aiFileIO_CloseProc_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiFileIO_CloseProc_get")] - public static extern IntPtr aiFileIO_CloseProc_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiFileIO_UserData_set")] - public static extern void aiFileIO_UserData_set(HandleRef jarg1, string jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiFileIO_UserData_get")] - public static extern string aiFileIO_UserData_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiFileIO")] - public static extern IntPtr new_aiFileIO(); - - [DllImport("Assimp", EntryPoint="CSharp_delete_aiFileIO")] - public static extern void delete_aiFileIO(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiFile_ReadProc_set")] - public static extern void aiFile_ReadProc_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiFile_ReadProc_get")] - public static extern IntPtr aiFile_ReadProc_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiFile_WriteProc_set")] - public static extern void aiFile_WriteProc_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiFile_WriteProc_get")] - public static extern IntPtr aiFile_WriteProc_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiFile_TellProc_set")] - public static extern void aiFile_TellProc_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiFile_TellProc_get")] - public static extern IntPtr aiFile_TellProc_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiFile_FileSizeProc_set")] - public static extern void aiFile_FileSizeProc_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiFile_FileSizeProc_get")] - public static extern IntPtr aiFile_FileSizeProc_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiFile_SeekProc_set")] - public static extern void aiFile_SeekProc_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiFile_SeekProc_get")] - public static extern IntPtr aiFile_SeekProc_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiFile_FlushProc_set")] - public static extern void aiFile_FlushProc_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiFile_FlushProc_get")] - public static extern IntPtr aiFile_FlushProc_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiFile_UserData_set")] - public static extern void aiFile_UserData_set(HandleRef jarg1, string jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiFile_UserData_get")] - public static extern string aiFile_UserData_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_new_aiFile")] - public static extern IntPtr new_aiFile(); - - [DllImport("Assimp", EntryPoint="CSharp_delete_aiFile")] - public static extern void delete_aiFile(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_AI_DEFAULT_MATERIAL_NAME_get")] - public static extern string AI_DEFAULT_MATERIAL_NAME_get(); - - [DllImport("Assimp", EntryPoint="CSharp_AI_DEFAULT_TEXTURED_MATERIAL_NAME_get")] - public static extern string AI_DEFAULT_TEXTURED_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_GetTexture__SWIG_0")] - public static extern int aiMaterial_GetTexture__SWIG_0(HandleRef jarg1, int jarg2, uint jarg3, HandleRef jarg4, HandleRef jarg5, HandleRef jarg6, HandleRef jarg7, HandleRef jarg8, HandleRef jarg9); - - [DllImport("Assimp", EntryPoint="CSharp_aiMaterial_GetTexture__SWIG_1")] - public static extern int aiMaterial_GetTexture__SWIG_1(HandleRef jarg1, int jarg2, uint jarg3, HandleRef jarg4, HandleRef jarg5, HandleRef jarg6, HandleRef jarg7, HandleRef jarg8); - - [DllImport("Assimp", EntryPoint="CSharp_aiMaterial_GetTexture__SWIG_2")] - public static extern int aiMaterial_GetTexture__SWIG_2(HandleRef jarg1, int jarg2, uint jarg3, HandleRef jarg4, HandleRef jarg5, HandleRef jarg6, HandleRef jarg7); - - [DllImport("Assimp", EntryPoint="CSharp_aiMaterial_GetTexture__SWIG_3")] - public static extern int aiMaterial_GetTexture__SWIG_3(HandleRef jarg1, int jarg2, uint jarg3, HandleRef jarg4, HandleRef jarg5, HandleRef jarg6); - - [DllImport("Assimp", EntryPoint="CSharp_aiMaterial_GetTexture__SWIG_4")] - public static extern int aiMaterial_GetTexture__SWIG_4(HandleRef jarg1, int jarg2, uint jarg3, HandleRef jarg4, HandleRef jarg5); - - [DllImport("Assimp", EntryPoint="CSharp_aiMaterial_GetTexture__SWIG_5")] - public static extern int aiMaterial_GetTexture__SWIG_5(HandleRef jarg1, int jarg2, uint jarg3, HandleRef jarg4); - - [DllImport("Assimp", EntryPoint="CSharp_aiMaterial_mProperties_set")] - public static extern void aiMaterial_mProperties_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMaterial_mProperties_get")] - public static extern IntPtr aiMaterial_mProperties_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMaterial_mNumProperties_set")] - public static extern void aiMaterial_mNumProperties_set(HandleRef jarg1, uint jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMaterial_mNumProperties_get")] - public static extern uint aiMaterial_mNumProperties_get(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_aiMaterial_mNumAllocated_set")] - public static extern void aiMaterial_mNumAllocated_set(HandleRef jarg1, uint jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiMaterial_mNumAllocated_get")] - public static extern uint aiMaterial_mNumAllocated_get(HandleRef jarg1); - - [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_aiGetMaterialProperty")] - public static extern int aiGetMaterialProperty(HandleRef jarg1, string jarg2, uint jarg3, uint jarg4, HandleRef jarg5); - - [DllImport("Assimp", EntryPoint="CSharp_aiGetMaterialFloatArray")] - public static extern int aiGetMaterialFloatArray(HandleRef jarg1, string jarg2, uint jarg3, uint jarg4, HandleRef jarg5, HandleRef jarg6); - - [DllImport("Assimp", EntryPoint="CSharp_aiGetMaterialFloat")] - public static extern int aiGetMaterialFloat(HandleRef jarg1, string jarg2, uint jarg3, uint jarg4, HandleRef jarg5); - - [DllImport("Assimp", EntryPoint="CSharp_aiGetMaterialIntegerArray")] - public static extern int aiGetMaterialIntegerArray(HandleRef jarg1, string jarg2, uint jarg3, uint jarg4, HandleRef jarg5, HandleRef jarg6); - - [DllImport("Assimp", EntryPoint="CSharp_aiGetMaterialInteger")] - public static extern int aiGetMaterialInteger(HandleRef jarg1, string jarg2, uint jarg3, uint jarg4, HandleRef jarg5); - - [DllImport("Assimp", EntryPoint="CSharp_aiGetMaterialColor")] - public static extern int aiGetMaterialColor(HandleRef jarg1, string jarg2, uint jarg3, uint jarg4, HandleRef jarg5); - - [DllImport("Assimp", EntryPoint="CSharp_aiGetMaterialString")] - public static extern int aiGetMaterialString(HandleRef jarg1, string jarg2, uint jarg3, uint jarg4, HandleRef jarg5); - - [DllImport("Assimp", EntryPoint="CSharp_aiGetMaterialTextureCount")] - public static extern uint aiGetMaterialTextureCount(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiGetMaterialTexture")] - public static extern int aiGetMaterialTexture(HandleRef jarg1, int jarg2, uint jarg3, HandleRef jarg4, HandleRef jarg5, HandleRef jarg6, HandleRef jarg7, HandleRef jarg8, HandleRef jarg9, HandleRef jarg10); - - [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_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_mChildren_set")] - public static extern void aiNode_mChildren_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiNode_mChildren_get")] - public static extern IntPtr aiNode_mChildren_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_aiNode_mMeshes_set")] - public static extern void aiNode_mMeshes_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiNode_mMeshes_get")] - public static extern IntPtr aiNode_mMeshes_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_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_mMeshes_set")] - public static extern void aiScene_mMeshes_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiScene_mMeshes_get")] - public static extern IntPtr aiScene_mMeshes_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_mMaterials_set")] - public static extern void aiScene_mMaterials_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiScene_mMaterials_get")] - public static extern IntPtr aiScene_mMaterials_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_mAnimations_set")] - public static extern void aiScene_mAnimations_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiScene_mAnimations_get")] - public static extern IntPtr aiScene_mAnimations_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_mTextures_set")] - public static extern void aiScene_mTextures_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiScene_mTextures_get")] - public static extern IntPtr aiScene_mTextures_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_mLights_set")] - public static extern void aiScene_mLights_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiScene_mLights_get")] - public static extern IntPtr aiScene_mLights_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_aiScene_mCameras_set")] - public static extern void aiScene_mCameras_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_aiScene_mCameras_get")] - public static extern IntPtr aiScene_mCameras_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_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_aiImportFileEx")] - public static extern IntPtr aiImportFileEx(string jarg1, uint jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_aiImportFileFromMemory")] - public static extern IntPtr aiImportFileFromMemory(string jarg1, uint jarg2, uint jarg3, string jarg4); - - [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_RegisterLoader")] - public static extern int Importer_RegisterLoader(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_Importer_UnregisterLoader")] - public static extern int Importer_UnregisterLoader(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_Importer_RegisterPPStep")] - public static extern int Importer_RegisterPPStep(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_Importer_UnregisterPPStep")] - public static extern int Importer_UnregisterPPStep(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_Importer_SetPropertyInteger__SWIG_0")] - public static extern void Importer_SetPropertyInteger__SWIG_0(HandleRef jarg1, string jarg2, int jarg3, HandleRef jarg4); - - [DllImport("Assimp", EntryPoint="CSharp_Importer_SetPropertyInteger__SWIG_1")] - public static extern void Importer_SetPropertyInteger__SWIG_1(HandleRef jarg1, string jarg2, int jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_Importer_SetPropertyFloat__SWIG_0")] - public static extern void Importer_SetPropertyFloat__SWIG_0(HandleRef jarg1, string jarg2, float jarg3, HandleRef jarg4); - - [DllImport("Assimp", EntryPoint="CSharp_Importer_SetPropertyFloat__SWIG_1")] - public static extern void Importer_SetPropertyFloat__SWIG_1(HandleRef jarg1, string jarg2, float jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_Importer_SetPropertyString__SWIG_0")] - public static extern void Importer_SetPropertyString__SWIG_0(HandleRef jarg1, string jarg2, string jarg3, HandleRef jarg4); - - [DllImport("Assimp", EntryPoint="CSharp_Importer_SetPropertyString__SWIG_1")] - public static extern void Importer_SetPropertyString__SWIG_1(HandleRef jarg1, string jarg2, string jarg3); - - [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_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_SetIOHandler")] - public static extern void Importer_SetIOHandler(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_Importer_GetIOHandler")] - public static extern IntPtr Importer_GetIOHandler(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_Importer_IsDefaultIOHandler")] - public static extern bool Importer_IsDefaultIOHandler(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_ReadFileFromMemory__SWIG_0")] - public static extern IntPtr Importer_ReadFileFromMemory__SWIG_0(HandleRef jarg1, HandleRef jarg2, uint jarg3, uint jarg4, string jarg5); - - [DllImport("Assimp", EntryPoint="CSharp_Importer_ReadFileFromMemory__SWIG_1")] - public static extern IntPtr Importer_ReadFileFromMemory__SWIG_1(HandleRef jarg1, HandleRef jarg2, uint jarg3, uint jarg4); - - [DllImport("Assimp", EntryPoint="CSharp_Importer_ApplyPostProcessing")] - public static extern IntPtr Importer_ApplyPostProcessing(HandleRef jarg1, uint jarg2); - - [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_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_FindLoader")] - public static extern IntPtr Importer_FindLoader(HandleRef jarg1, string jarg2); - - [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_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_delete_IOSystem")] - public static extern void delete_IOSystem(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_IOSystem_Exists__SWIG_0")] - public static extern bool IOSystem_Exists__SWIG_0(HandleRef jarg1, string jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_IOSystem_getOsSeparator")] - public static extern char IOSystem_getOsSeparator(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_IOSystem_Open__SWIG_0")] - public static extern IntPtr IOSystem_Open__SWIG_0(HandleRef jarg1, string jarg2, string jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_IOSystem_Open__SWIG_1")] - public static extern IntPtr IOSystem_Open__SWIG_1(HandleRef jarg1, string jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_IOSystem_Close")] - public static extern void IOSystem_Close(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_IOSystem_ComparePaths__SWIG_0")] - public static extern bool IOSystem_ComparePaths__SWIG_0(HandleRef jarg1, string jarg2, string jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_delete_IOStream")] - public static extern void delete_IOStream(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_IOStream_Read")] - public static extern uint IOStream_Read(HandleRef jarg1, HandleRef jarg2, uint jarg3, uint jarg4); - - [DllImport("Assimp", EntryPoint="CSharp_IOStream_Write")] - public static extern uint IOStream_Write(HandleRef jarg1, HandleRef jarg2, uint jarg3, uint jarg4); - - [DllImport("Assimp", EntryPoint="CSharp_IOStream_Seek")] - public static extern int IOStream_Seek(HandleRef jarg1, uint jarg2, int jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_IOStream_Tell")] - public static extern uint IOStream_Tell(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_IOStream_FileSize")] - public static extern uint IOStream_FileSize(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_IOStream_Flush")] - public static extern void IOStream_Flush(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_MAX_LOG_MESSAGE_LENGTH_get")] - public static extern uint MAX_LOG_MESSAGE_LENGTH_get(); - - [DllImport("Assimp", EntryPoint="CSharp_delete_Logger")] - public static extern void delete_Logger(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_Logger_debug")] - public static extern void Logger_debug(HandleRef jarg1, string jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_Logger_info")] - public static extern void Logger_info(HandleRef jarg1, string jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_Logger_warn")] - public static extern void Logger_warn(HandleRef jarg1, string jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_Logger_error")] - public static extern void Logger_error(HandleRef jarg1, string jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_Logger_setLogSeverity")] - public static extern void Logger_setLogSeverity(HandleRef jarg1, int jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_Logger_getLogSeverity")] - public static extern int Logger_getLogSeverity(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_Logger_attachStream__SWIG_0")] - public static extern bool Logger_attachStream__SWIG_0(HandleRef jarg1, HandleRef jarg2, uint jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_Logger_attachStream__SWIG_1")] - public static extern bool Logger_attachStream__SWIG_1(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_Logger_detatchStream__SWIG_0")] - public static extern bool Logger_detatchStream__SWIG_0(HandleRef jarg1, HandleRef jarg2, uint jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_Logger_detatchStream__SWIG_1")] - public static extern bool Logger_detatchStream__SWIG_1(HandleRef jarg1, HandleRef jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_delete_LogStream")] - public static extern void delete_LogStream(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_LogStream_write")] - public static extern void LogStream_write(HandleRef jarg1, string jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_LogStream_createDefaultStream__SWIG_0")] - public static extern IntPtr LogStream_createDefaultStream__SWIG_0(int jarg1, string jarg2, HandleRef jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_LogStream_createDefaultStream__SWIG_1")] - public static extern IntPtr LogStream_createDefaultStream__SWIG_1(int jarg1, string jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_LogStream_createDefaultStream__SWIG_2")] - public static extern IntPtr LogStream_createDefaultStream__SWIG_2(int jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_NullLogger_OnDebug")] - public static extern void NullLogger_OnDebug(HandleRef jarg1, string jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_NullLogger_OnInfo")] - public static extern void NullLogger_OnInfo(HandleRef jarg1, string jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_NullLogger_OnWarn")] - public static extern void NullLogger_OnWarn(HandleRef jarg1, string jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_NullLogger_OnError")] - public static extern void NullLogger_OnError(HandleRef jarg1, string jarg2); - - [DllImport("Assimp", EntryPoint="CSharp_NullLogger_attachStream")] - public static extern bool NullLogger_attachStream(HandleRef jarg1, HandleRef jarg2, uint jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_NullLogger_detatchStream")] - public static extern bool NullLogger_detatchStream(HandleRef jarg1, HandleRef jarg2, uint jarg3); - - [DllImport("Assimp", EntryPoint="CSharp_delete_NullLogger")] - public static extern void delete_NullLogger(HandleRef jarg1); - - [DllImport("Assimp", EntryPoint="CSharp_IOSystemUpcast")] - public static extern IntPtr IOSystemUpcast(IntPtr objectRef); - - [DllImport("Assimp", EntryPoint="CSharp_IOStreamUpcast")] - public static extern IntPtr IOStreamUpcast(IntPtr objectRef); - - [DllImport("Assimp", EntryPoint="CSharp_LoggerUpcast")] - public static extern IntPtr LoggerUpcast(IntPtr objectRef); - - [DllImport("Assimp", EntryPoint="CSharp_LogStreamUpcast")] - public static extern IntPtr LogStreamUpcast(IntPtr objectRef); - - [DllImport("Assimp", EntryPoint="CSharp_NullLoggerUpcast")] - public static extern IntPtr NullLoggerUpcast(IntPtr objectRef); -} diff --git a/port/Assimp.NET/Assimp.NET_CS/IOStream.cs b/port/Assimp.NET/Assimp.NET_CS/IOStream.cs deleted file mode 100644 index 6afe98a4a..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/IOStream.cs +++ /dev/null @@ -1,71 +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 IOStream : AllocateFromAssimpHeap { - private HandleRef swigCPtr; - - internal IOStream(IntPtr cPtr, bool cMemoryOwn) : base(AssimpPINVOKE.IOStreamUpcast(cPtr), cMemoryOwn) { - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(IOStream obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~IOStream() { - Dispose(); - } - - public override void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - AssimpPINVOKE.delete_IOStream(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - base.Dispose(); - } - } - - public virtual uint Read(SWIGTYPE_p_void pvBuffer, uint pSize, uint pCount) { - uint ret = AssimpPINVOKE.IOStream_Read(swigCPtr, SWIGTYPE_p_void.getCPtr(pvBuffer), pSize, pCount); - return ret; - } - - public virtual uint Write(SWIGTYPE_p_void pvBuffer, uint pSize, uint pCount) { - uint ret = AssimpPINVOKE.IOStream_Write(swigCPtr, SWIGTYPE_p_void.getCPtr(pvBuffer), pSize, pCount); - return ret; - } - - public virtual aiReturn Seek(uint pOffset, aiOrigin pOrigin) { - aiReturn ret = (aiReturn)AssimpPINVOKE.IOStream_Seek(swigCPtr, pOffset, (int)pOrigin); - return ret; - } - - public virtual uint Tell() { - uint ret = AssimpPINVOKE.IOStream_Tell(swigCPtr); - return ret; - } - - public virtual uint FileSize() { - uint ret = AssimpPINVOKE.IOStream_FileSize(swigCPtr); - return ret; - } - - public virtual void Flush() { - AssimpPINVOKE.IOStream_Flush(swigCPtr); - } - -} diff --git a/port/Assimp.NET/Assimp.NET_CS/IOSystem.cs b/port/Assimp.NET/Assimp.NET_CS/IOSystem.cs deleted file mode 100644 index 564423686..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/IOSystem.cs +++ /dev/null @@ -1,74 +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 IOSystem : AllocateFromAssimpHeap { - private HandleRef swigCPtr; - - internal IOSystem(IntPtr cPtr, bool cMemoryOwn) : base(AssimpPINVOKE.IOSystemUpcast(cPtr), cMemoryOwn) { - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(IOSystem obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~IOSystem() { - Dispose(); - } - - public override void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - AssimpPINVOKE.delete_IOSystem(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - base.Dispose(); - } - } - - public bool Exists(string pFile) { - bool ret = AssimpPINVOKE.IOSystem_Exists__SWIG_0(swigCPtr, pFile); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public virtual char getOsSeparator() { - char ret = AssimpPINVOKE.IOSystem_getOsSeparator(swigCPtr); - return ret; - } - - public virtual IOStream Open(string pFile, string pMode) { - IntPtr cPtr = AssimpPINVOKE.IOSystem_Open__SWIG_0(swigCPtr, pFile, pMode); - IOStream ret = (cPtr == IntPtr.Zero) ? null : new IOStream(cPtr, false); - return ret; - } - - public virtual IOStream Open(string pFile) { - IntPtr cPtr = AssimpPINVOKE.IOSystem_Open__SWIG_1(swigCPtr, pFile); - IOStream ret = (cPtr == IntPtr.Zero) ? null : new IOStream(cPtr, false); - return ret; - } - - public virtual void Close(IOStream pFile) { - AssimpPINVOKE.IOSystem_Close(swigCPtr, IOStream.getCPtr(pFile)); - } - - public virtual bool ComparePaths(string one, string second) { - bool ret = AssimpPINVOKE.IOSystem_ComparePaths__SWIG_0(swigCPtr, one, second); - 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 6f57975db..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/Importer.cs +++ /dev/null @@ -1,222 +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 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 aiReturn RegisterLoader(SWIGTYPE_p_Assimp__BaseImporter pImp) { - aiReturn ret = (aiReturn)AssimpPINVOKE.Importer_RegisterLoader(swigCPtr, SWIGTYPE_p_Assimp__BaseImporter.getCPtr(pImp)); - return ret; - } - - public aiReturn UnregisterLoader(SWIGTYPE_p_Assimp__BaseImporter pImp) { - aiReturn ret = (aiReturn)AssimpPINVOKE.Importer_UnregisterLoader(swigCPtr, SWIGTYPE_p_Assimp__BaseImporter.getCPtr(pImp)); - return ret; - } - - public aiReturn RegisterPPStep(SWIGTYPE_p_Assimp__BaseProcess pImp) { - aiReturn ret = (aiReturn)AssimpPINVOKE.Importer_RegisterPPStep(swigCPtr, SWIGTYPE_p_Assimp__BaseProcess.getCPtr(pImp)); - return ret; - } - - public aiReturn UnregisterPPStep(SWIGTYPE_p_Assimp__BaseProcess pImp) { - aiReturn ret = (aiReturn)AssimpPINVOKE.Importer_UnregisterPPStep(swigCPtr, SWIGTYPE_p_Assimp__BaseProcess.getCPtr(pImp)); - return ret; - } - - public void SetPropertyInteger(string szName, int iValue, SWIGTYPE_p_bool bWasExisting) { - AssimpPINVOKE.Importer_SetPropertyInteger__SWIG_0(swigCPtr, szName, iValue, SWIGTYPE_p_bool.getCPtr(bWasExisting)); - } - - public void SetPropertyInteger(string szName, int iValue) { - AssimpPINVOKE.Importer_SetPropertyInteger__SWIG_1(swigCPtr, szName, iValue); - } - - public void SetPropertyFloat(string szName, float fValue, SWIGTYPE_p_bool bWasExisting) { - AssimpPINVOKE.Importer_SetPropertyFloat__SWIG_0(swigCPtr, szName, fValue, SWIGTYPE_p_bool.getCPtr(bWasExisting)); - } - - public void SetPropertyFloat(string szName, float fValue) { - AssimpPINVOKE.Importer_SetPropertyFloat__SWIG_1(swigCPtr, szName, fValue); - } - - public void SetPropertyString(string szName, string sValue, SWIGTYPE_p_bool bWasExisting) { - AssimpPINVOKE.Importer_SetPropertyString__SWIG_0(swigCPtr, szName, sValue, SWIGTYPE_p_bool.getCPtr(bWasExisting)); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void SetPropertyString(string szName, string sValue) { - AssimpPINVOKE.Importer_SetPropertyString__SWIG_1(swigCPtr, szName, sValue); - 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 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 void SetIOHandler(IOSystem pIOHandler) { - AssimpPINVOKE.Importer_SetIOHandler(swigCPtr, IOSystem.getCPtr(pIOHandler)); - } - - public IOSystem GetIOHandler() { - IntPtr cPtr = AssimpPINVOKE.Importer_GetIOHandler(swigCPtr); - IOSystem ret = (cPtr == IntPtr.Zero) ? null : new IOSystem(cPtr, false); - return ret; - } - - public bool IsDefaultIOHandler() { - bool ret = AssimpPINVOKE.Importer_IsDefaultIOHandler(swigCPtr); - return ret; - } - - public bool ValidateFlags(uint pFlags) { - bool ret = AssimpPINVOKE.Importer_ValidateFlags(swigCPtr, pFlags); - return ret; - } - - public aiScene ReadFile(string pFile, uint pFlags) { - IntPtr cPtr = AssimpPINVOKE.Importer_ReadFile__SWIG_0(swigCPtr, pFile, pFlags); - aiScene ret = (cPtr == IntPtr.Zero) ? null : new aiScene(cPtr, false); - return ret; - } - - public aiScene ReadFileFromMemory(SWIGTYPE_p_void pBuffer, uint pLength, uint pFlags, string pHint) { - IntPtr cPtr = AssimpPINVOKE.Importer_ReadFileFromMemory__SWIG_0(swigCPtr, SWIGTYPE_p_void.getCPtr(pBuffer), pLength, pFlags, pHint); - aiScene ret = (cPtr == IntPtr.Zero) ? null : new aiScene(cPtr, false); - return ret; - } - - public aiScene ReadFileFromMemory(SWIGTYPE_p_void pBuffer, uint pLength, uint pFlags) { - IntPtr cPtr = AssimpPINVOKE.Importer_ReadFileFromMemory__SWIG_1(swigCPtr, SWIGTYPE_p_void.getCPtr(pBuffer), pLength, pFlags); - aiScene ret = (cPtr == IntPtr.Zero) ? null : new aiScene(cPtr, false); - return ret; - } - - public aiScene ApplyPostProcessing(uint pFlags) { - IntPtr cPtr = AssimpPINVOKE.Importer_ApplyPostProcessing(swigCPtr, 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 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 SWIGTYPE_p_Assimp__BaseImporter FindLoader(string szExtension) { - IntPtr cPtr = AssimpPINVOKE.Importer_FindLoader(swigCPtr, szExtension); - SWIGTYPE_p_Assimp__BaseImporter ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_Assimp__BaseImporter(cPtr, false); - 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 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); - } - -} diff --git a/port/Assimp.NET/Assimp.NET_CS/LogStream.cs b/port/Assimp.NET/Assimp.NET_CS/LogStream.cs deleted file mode 100644 index 0db962405..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/LogStream.cs +++ /dev/null @@ -1,64 +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 LogStream : AllocateFromAssimpHeap { - private HandleRef swigCPtr; - - internal LogStream(IntPtr cPtr, bool cMemoryOwn) : base(AssimpPINVOKE.LogStreamUpcast(cPtr), cMemoryOwn) { - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(LogStream obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~LogStream() { - Dispose(); - } - - public override void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - AssimpPINVOKE.delete_LogStream(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - base.Dispose(); - } - } - - public virtual void write(string message) { - AssimpPINVOKE.LogStream_write(swigCPtr, message); - } - - public static LogStream createDefaultStream(aiDefaultLogStream stream, string name, IOSystem io) { - IntPtr cPtr = AssimpPINVOKE.LogStream_createDefaultStream__SWIG_0((int)stream, name, IOSystem.getCPtr(io)); - LogStream ret = (cPtr == IntPtr.Zero) ? null : new LogStream(cPtr, false); - return ret; - } - - public static LogStream createDefaultStream(aiDefaultLogStream stream, string name) { - IntPtr cPtr = AssimpPINVOKE.LogStream_createDefaultStream__SWIG_1((int)stream, name); - LogStream ret = (cPtr == IntPtr.Zero) ? null : new LogStream(cPtr, false); - return ret; - } - - public static LogStream createDefaultStream(aiDefaultLogStream stream) { - IntPtr cPtr = AssimpPINVOKE.LogStream_createDefaultStream__SWIG_2((int)stream); - LogStream ret = (cPtr == IntPtr.Zero) ? null : new LogStream(cPtr, false); - return ret; - } - -} diff --git a/port/Assimp.NET/Assimp.NET_CS/Logger.cs b/port/Assimp.NET/Assimp.NET_CS/Logger.cs deleted file mode 100644 index 40debae0a..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/Logger.cs +++ /dev/null @@ -1,103 +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 Logger : AllocateFromAssimpHeap { - private HandleRef swigCPtr; - - internal Logger(IntPtr cPtr, bool cMemoryOwn) : base(AssimpPINVOKE.LoggerUpcast(cPtr), cMemoryOwn) { - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(Logger obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~Logger() { - Dispose(); - } - - public override void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - AssimpPINVOKE.delete_Logger(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - base.Dispose(); - } - } - - public void debug(string message) { - AssimpPINVOKE.Logger_debug(swigCPtr, message); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void info(string message) { - AssimpPINVOKE.Logger_info(swigCPtr, message); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void warn(string message) { - AssimpPINVOKE.Logger_warn(swigCPtr, message); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void error(string message) { - AssimpPINVOKE.Logger_error(swigCPtr, message); - if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); - } - - public void setLogSeverity(Logger.LogSeverity log_severity) { - AssimpPINVOKE.Logger_setLogSeverity(swigCPtr, (int)log_severity); - } - - public Logger.LogSeverity getLogSeverity() { - Logger.LogSeverity ret = (Logger.LogSeverity)AssimpPINVOKE.Logger_getLogSeverity(swigCPtr); - return ret; - } - - public virtual bool attachStream(LogStream pStream, uint severity) { - bool ret = AssimpPINVOKE.Logger_attachStream__SWIG_0(swigCPtr, LogStream.getCPtr(pStream), severity); - return ret; - } - - public virtual bool attachStream(LogStream pStream) { - bool ret = AssimpPINVOKE.Logger_attachStream__SWIG_1(swigCPtr, LogStream.getCPtr(pStream)); - return ret; - } - - public virtual bool detatchStream(LogStream pStream, uint severity) { - bool ret = AssimpPINVOKE.Logger_detatchStream__SWIG_0(swigCPtr, LogStream.getCPtr(pStream), severity); - return ret; - } - - public virtual bool detatchStream(LogStream pStream) { - bool ret = AssimpPINVOKE.Logger_detatchStream__SWIG_1(swigCPtr, LogStream.getCPtr(pStream)); - return ret; - } - - public enum LogSeverity { - NORMAL, - VERBOSE - } - - public enum ErrorSeverity { - DEBUGGING = 1, - INFO = 2, - WARN = 4, - ERR = 8 - } - -} diff --git a/port/Assimp.NET/Assimp.NET_CS/NullLogger.cs b/port/Assimp.NET/Assimp.NET_CS/NullLogger.cs deleted file mode 100644 index 6a55d70cd..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/NullLogger.cs +++ /dev/null @@ -1,68 +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 NullLogger : Logger { - private HandleRef swigCPtr; - - internal NullLogger(IntPtr cPtr, bool cMemoryOwn) : base(AssimpPINVOKE.NullLoggerUpcast(cPtr), cMemoryOwn) { - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(NullLogger obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~NullLogger() { - Dispose(); - } - - public override void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - AssimpPINVOKE.delete_NullLogger(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - base.Dispose(); - } - } - - public virtual void OnDebug(string message) { - AssimpPINVOKE.NullLogger_OnDebug(swigCPtr, message); - } - - public virtual void OnInfo(string message) { - AssimpPINVOKE.NullLogger_OnInfo(swigCPtr, message); - } - - public virtual void OnWarn(string message) { - AssimpPINVOKE.NullLogger_OnWarn(swigCPtr, message); - } - - public virtual void OnError(string message) { - AssimpPINVOKE.NullLogger_OnError(swigCPtr, message); - } - - public override bool attachStream(LogStream pStream, uint severity) { - bool ret = AssimpPINVOKE.NullLogger_attachStream(swigCPtr, LogStream.getCPtr(pStream), severity); - return ret; - } - - public override bool detatchStream(LogStream pStream, uint severity) { - bool ret = AssimpPINVOKE.NullLogger_detatchStream(swigCPtr, LogStream.getCPtr(pStream), severity); - 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 4fc342afe..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 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 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__BaseProcess.cs b/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_Assimp__BaseProcess.cs deleted file mode 100644 index 80748a35e..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_Assimp__BaseProcess.cs +++ /dev/null @@ -1,27 +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 SWIGTYPE_p_Assimp__BaseProcess { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_Assimp__BaseProcess(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_Assimp__BaseProcess() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_Assimp__BaseProcess obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} diff --git a/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_aiColor4D.cs b/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_aiColor4D.cs deleted file mode 100644 index 60df50037..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_aiColor4D.cs +++ /dev/null @@ -1,27 +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 SWIGTYPE_p_aiColor4D { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_aiColor4D(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_aiColor4D() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_aiColor4D obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} diff --git a/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_aiFileIO.cs b/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_aiFileIO.cs deleted file mode 100644 index ae9be43c3..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_aiFileIO.cs +++ /dev/null @@ -1,27 +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 SWIGTYPE_p_aiFileIO { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_aiFileIO(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_aiFileIO() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_aiFileIO obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} diff --git a/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_aiTextureMapMode.cs b/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_aiTextureMapMode.cs deleted file mode 100644 index cb99b2fdb..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_aiTextureMapMode.cs +++ /dev/null @@ -1,27 +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 SWIGTYPE_p_aiTextureMapMode { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_aiTextureMapMode(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_aiTextureMapMode() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_aiTextureMapMode obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} diff --git a/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_aiTextureMapping.cs b/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_aiTextureMapping.cs deleted file mode 100644 index 4b61047b8..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_aiTextureMapping.cs +++ /dev/null @@ -1,27 +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 SWIGTYPE_p_aiTextureMapping { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_aiTextureMapping(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_aiTextureMapping() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_aiTextureMapping obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} diff --git a/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_aiTextureOp.cs b/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_aiTextureOp.cs deleted file mode 100644 index 48fee09a5..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_aiTextureOp.cs +++ /dev/null @@ -1,27 +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 SWIGTYPE_p_aiTextureOp { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_aiTextureOp(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_aiTextureOp() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_aiTextureOp obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} diff --git a/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_bool.cs b/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_bool.cs deleted file mode 100644 index fe3744613..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_bool.cs +++ /dev/null @@ -1,27 +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 SWIGTYPE_p_bool { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_bool(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_bool() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_bool obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} diff --git a/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_f_p_aiFileIO_p_aiFile__void.cs b/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_f_p_aiFileIO_p_aiFile__void.cs deleted file mode 100644 index fc3a0b76f..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_f_p_aiFileIO_p_aiFile__void.cs +++ /dev/null @@ -1,27 +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 SWIGTYPE_p_f_p_aiFileIO_p_aiFile__void { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_aiFileIO_p_aiFile__void(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_aiFileIO_p_aiFile__void() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_aiFileIO_p_aiFile__void obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} diff --git a/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_f_p_aiFileIO_p_q_const__char_p_q_const__char__p_aiFile.cs b/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_f_p_aiFileIO_p_q_const__char_p_q_const__char__p_aiFile.cs deleted file mode 100644 index e2c71a354..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_f_p_aiFileIO_p_q_const__char_p_q_const__char__p_aiFile.cs +++ /dev/null @@ -1,27 +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 SWIGTYPE_p_f_p_aiFileIO_p_q_const__char_p_q_const__char__p_aiFile { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_aiFileIO_p_q_const__char_p_q_const__char__p_aiFile(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_aiFileIO_p_q_const__char_p_q_const__char__p_aiFile() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_aiFileIO_p_q_const__char_p_q_const__char__p_aiFile obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} diff --git a/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_f_p_aiFile__size_t.cs b/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_f_p_aiFile__size_t.cs deleted file mode 100644 index 048be6569..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_f_p_aiFile__size_t.cs +++ /dev/null @@ -1,27 +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 SWIGTYPE_p_f_p_aiFile__size_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_aiFile__size_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_aiFile__size_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_aiFile__size_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} diff --git a/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_f_p_aiFile__void.cs b/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_f_p_aiFile__void.cs deleted file mode 100644 index 78d333c1d..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_f_p_aiFile__void.cs +++ /dev/null @@ -1,27 +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 SWIGTYPE_p_f_p_aiFile__void { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_aiFile__void(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_aiFile__void() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_aiFile__void obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} diff --git a/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_f_p_aiFile_p_char_size_t_size_t__size_t.cs b/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_f_p_aiFile_p_char_size_t_size_t__size_t.cs deleted file mode 100644 index 7e9382204..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_f_p_aiFile_p_char_size_t_size_t__size_t.cs +++ /dev/null @@ -1,27 +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 SWIGTYPE_p_f_p_aiFile_p_char_size_t_size_t__size_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_aiFile_p_char_size_t_size_t__size_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_aiFile_p_char_size_t_size_t__size_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_aiFile_p_char_size_t_size_t__size_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} diff --git a/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_f_p_aiFile_p_q_const__char_size_t_size_t__size_t.cs b/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_f_p_aiFile_p_q_const__char_size_t_size_t__size_t.cs deleted file mode 100644 index 515d5fba9..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_f_p_aiFile_p_q_const__char_size_t_size_t__size_t.cs +++ /dev/null @@ -1,27 +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 SWIGTYPE_p_f_p_aiFile_p_q_const__char_size_t_size_t__size_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_aiFile_p_q_const__char_size_t_size_t__size_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_aiFile_p_q_const__char_size_t_size_t__size_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_aiFile_p_q_const__char_size_t_size_t__size_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} diff --git a/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_f_p_aiFile_size_t_enum_aiOrigin__aiReturn.cs b/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_f_p_aiFile_size_t_enum_aiOrigin__aiReturn.cs deleted file mode 100644 index fc793edd4..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_f_p_aiFile_size_t_enum_aiOrigin__aiReturn.cs +++ /dev/null @@ -1,27 +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 SWIGTYPE_p_f_p_aiFile_size_t_enum_aiOrigin__aiReturn { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_aiFile_size_t_enum_aiOrigin__aiReturn(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_aiFile_size_t_enum_aiOrigin__aiReturn() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_aiFile_size_t_enum_aiOrigin__aiReturn 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 426fb1f9f..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 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 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_int.cs b/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_int.cs deleted file mode 100644 index 5d8532b87..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_int.cs +++ /dev/null @@ -1,27 +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 SWIGTYPE_p_int { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_int(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_int() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_int obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} diff --git a/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_p_aiBone.cs b/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_p_aiBone.cs deleted file mode 100644 index 2ca0f9cf6..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_p_aiBone.cs +++ /dev/null @@ -1,27 +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 SWIGTYPE_p_p_aiBone { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_aiBone(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_aiBone() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_aiBone obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} diff --git a/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_p_aiCamera.cs b/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_p_aiCamera.cs deleted file mode 100644 index 3a4493759..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_p_aiCamera.cs +++ /dev/null @@ -1,27 +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 SWIGTYPE_p_p_aiCamera { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_aiCamera(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_aiCamera() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_aiCamera obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} diff --git a/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_p_aiColor4D.cs b/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_p_aiColor4D.cs deleted file mode 100644 index aed636bf9..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_p_aiColor4D.cs +++ /dev/null @@ -1,27 +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 SWIGTYPE_p_p_aiColor4D { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_aiColor4D(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_aiColor4D() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_aiColor4D obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} diff --git a/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_p_aiLight.cs b/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_p_aiLight.cs deleted file mode 100644 index a341a58d9..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_p_aiLight.cs +++ /dev/null @@ -1,27 +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 SWIGTYPE_p_p_aiLight { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_aiLight(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_aiLight() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_aiLight obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} diff --git a/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_p_aiMaterial.cs b/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_p_aiMaterial.cs deleted file mode 100644 index 1eb678574..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_p_aiMaterial.cs +++ /dev/null @@ -1,27 +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 SWIGTYPE_p_p_aiMaterial { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_aiMaterial(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_aiMaterial() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_aiMaterial obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} diff --git a/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_p_aiMaterialProperty.cs b/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_p_aiMaterialProperty.cs deleted file mode 100644 index 19f20a133..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_p_aiMaterialProperty.cs +++ /dev/null @@ -1,27 +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 SWIGTYPE_p_p_aiMaterialProperty { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_aiMaterialProperty(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_aiMaterialProperty() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_aiMaterialProperty obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} diff --git a/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_p_aiMesh.cs b/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_p_aiMesh.cs deleted file mode 100644 index 045945298..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_p_aiMesh.cs +++ /dev/null @@ -1,27 +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 SWIGTYPE_p_p_aiMesh { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_aiMesh(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_aiMesh() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_aiMesh obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} diff --git a/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_p_aiNode.cs b/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_p_aiNode.cs deleted file mode 100644 index 80af3acdc..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_p_aiNode.cs +++ /dev/null @@ -1,27 +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 SWIGTYPE_p_p_aiNode { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_aiNode(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_aiNode() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_aiNode obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} diff --git a/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_p_aiNodeAnim.cs b/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_p_aiNodeAnim.cs deleted file mode 100644 index 0c89596ba..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_p_aiNodeAnim.cs +++ /dev/null @@ -1,27 +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 SWIGTYPE_p_p_aiNodeAnim { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_aiNodeAnim(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_aiNodeAnim() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_aiNodeAnim obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} diff --git a/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_p_aiTexture.cs b/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_p_aiTexture.cs deleted file mode 100644 index 16e605462..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_p_aiTexture.cs +++ /dev/null @@ -1,27 +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 SWIGTYPE_p_p_aiTexture { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_aiTexture(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_aiTexture() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_aiTexture obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} diff --git a/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_p_aiVector3D.cs b/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_p_aiVector3D.cs deleted file mode 100644 index 802803ea6..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_p_aiVector3D.cs +++ /dev/null @@ -1,27 +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 SWIGTYPE_p_p_aiVector3D { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_aiVector3D(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_aiVector3D() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_aiVector3D obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} diff --git a/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_p_aiAnimation.cs b/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_std__nothrow_t.cs similarity index 72% rename from port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_p_aiAnimation.cs rename to port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_std__nothrow_t.cs index 038c0c621..6dea66145 100644 --- a/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_p_aiAnimation.cs +++ b/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_std__nothrow_t.cs @@ -10,18 +10,18 @@ using System; using System.Runtime.InteropServices; -public class SWIGTYPE_p_p_aiAnimation { +public class SWIGTYPE_p_std__nothrow_t { private HandleRef swigCPtr; - internal SWIGTYPE_p_p_aiAnimation(IntPtr cPtr, bool futureUse) { + internal SWIGTYPE_p_std__nothrow_t(IntPtr cPtr, bool futureUse) { swigCPtr = new HandleRef(this, cPtr); } - protected SWIGTYPE_p_p_aiAnimation() { + protected SWIGTYPE_p_std__nothrow_t() { swigCPtr = new HandleRef(null, IntPtr.Zero); } - internal static HandleRef getCPtr(SWIGTYPE_p_p_aiAnimation obj) { + internal static HandleRef getCPtr(SWIGTYPE_p_std__nothrow_t 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 52e1cc1e3..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 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 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_unsigned_int.cs b/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_unsigned_int.cs deleted file mode 100644 index 61c46cc70..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/SWIGTYPE_p_unsigned_int.cs +++ /dev/null @@ -1,27 +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 SWIGTYPE_p_unsigned_int { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_unsigned_int(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_unsigned_int() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_unsigned_int 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 1095622d5..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 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 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 new file mode 100644 index 000000000..0b4ce136b --- /dev/null +++ b/port/Assimp.NET/Assimp.NET_CS/UintVector.cs @@ -0,0 +1,346 @@ +/* ---------------------------------------------------------------------------- + * 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 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 b2b3824c8..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 1.3.40 - * - * 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/aiAnimation.cs b/port/Assimp.NET/Assimp.NET_CS/aiAnimation.cs deleted file mode 100644 index d9a2a9f23..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/aiAnimation.cs +++ /dev/null @@ -1,98 +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 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 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 SWIGTYPE_p_p_aiNodeAnim mChannels { - set { - AssimpPINVOKE.aiAnimation_mChannels_set(swigCPtr, SWIGTYPE_p_p_aiNodeAnim.getCPtr(value)); - } - get { - IntPtr cPtr = AssimpPINVOKE.aiAnimation_mChannels_get(swigCPtr); - SWIGTYPE_p_p_aiNodeAnim ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_p_aiNodeAnim(cPtr, false); - return ret; - } - } - - public aiAnimation() : this(AssimpPINVOKE.new_aiAnimation(), true) { - } - -} diff --git a/port/Assimp.NET/Assimp.NET_CS/aiAnimationVector.cs b/port/Assimp.NET/Assimp.NET_CS/aiAnimationVector.cs new file mode 100644 index 000000000..0bf5614e8 --- /dev/null +++ b/port/Assimp.NET/Assimp.NET_CS/aiAnimationVector.cs @@ -0,0 +1,348 @@ +/* ---------------------------------------------------------------------------- + * 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 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 b0cd6c61d..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 1.3.40 - * - * 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 8f9899cff..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/aiBone.cs +++ /dev/null @@ -1,93 +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 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 aiVertexWeight mWeights { - set { - AssimpPINVOKE.aiBone_mWeights_set(swigCPtr, aiVertexWeight.getCPtr(value)); - } - get { - IntPtr cPtr = AssimpPINVOKE.aiBone_mWeights_get(swigCPtr); - aiVertexWeight ret = (cPtr == IntPtr.Zero) ? null : new aiVertexWeight(cPtr, false); - 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(); - } - -} 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 23795ed77..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 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 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 new file mode 100644 index 000000000..db49d33cb --- /dev/null +++ b/port/Assimp.NET/Assimp.NET_CS/aiCameraVector.cs @@ -0,0 +1,348 @@ +/* ---------------------------------------------------------------------------- + * 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 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 9ab19a53b..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 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 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/aiColor4DVector.cs b/port/Assimp.NET/Assimp.NET_CS/aiColor4DVector.cs new file mode 100644 index 000000000..fbba3bffd --- /dev/null +++ b/port/Assimp.NET/Assimp.NET_CS/aiColor4DVector.cs @@ -0,0 +1,348 @@ +/* ---------------------------------------------------------------------------- + * 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 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 (SWIGTYPE_p_aiColor4D element in c) { + this.Add(element); + } + } + + public bool IsFixedSize { + get { + return false; + } + } + + public bool IsReadOnly { + get { + return false; + } + } + + public SWIGTYPE_p_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(SWIGTYPE_p_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(SWIGTYPE_p_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, SWIGTYPE_p_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 SWIGTYPE_p_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 (SWIGTYPE_p_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(SWIGTYPE_p_aiColor4D x) { + AssimpPINVOKE.aiColor4DVector_Add(swigCPtr, SWIGTYPE_p_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 SWIGTYPE_p_aiColor4D getitemcopy(int index) { + IntPtr cPtr = AssimpPINVOKE.aiColor4DVector_getitemcopy(swigCPtr, index); + SWIGTYPE_p_aiColor4D ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_aiColor4D(cPtr, false); + if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + private SWIGTYPE_p_aiColor4D getitem(int index) { + IntPtr cPtr = AssimpPINVOKE.aiColor4DVector_getitem(swigCPtr, index); + SWIGTYPE_p_aiColor4D ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_aiColor4D(cPtr, false); + if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + private void setitem(int index, SWIGTYPE_p_aiColor4D val) { + AssimpPINVOKE.aiColor4DVector_setitem(swigCPtr, index, SWIGTYPE_p_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, SWIGTYPE_p_aiColor4D x) { + AssimpPINVOKE.aiColor4DVector_Insert(swigCPtr, index, SWIGTYPE_p_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(SWIGTYPE_p_aiColor4D value, int count) { + IntPtr cPtr = AssimpPINVOKE.aiColor4DVector_Repeat(SWIGTYPE_p_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(SWIGTYPE_p_aiColor4D value) { + bool ret = AssimpPINVOKE.aiColor4DVector_Contains(swigCPtr, SWIGTYPE_p_aiColor4D.getCPtr(value)); + return ret; + } + + public int IndexOf(SWIGTYPE_p_aiColor4D value) { + int ret = AssimpPINVOKE.aiColor4DVector_IndexOf(swigCPtr, SWIGTYPE_p_aiColor4D.getCPtr(value)); + return ret; + } + + public int LastIndexOf(SWIGTYPE_p_aiColor4D value) { + int ret = AssimpPINVOKE.aiColor4DVector_LastIndexOf(swigCPtr, SWIGTYPE_p_aiColor4D.getCPtr(value)); + return ret; + } + + public bool Remove(SWIGTYPE_p_aiColor4D value) { + bool ret = AssimpPINVOKE.aiColor4DVector_Remove(swigCPtr, SWIGTYPE_p_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 new file mode 100644 index 000000000..9fcb92a39 --- /dev/null +++ b/port/Assimp.NET/Assimp.NET_CS/aiColor4DVectorVector.cs @@ -0,0 +1,327 @@ +/* ---------------------------------------------------------------------------- + * 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 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 d04a12e52..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 1.3.40 - * - * 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 b0c193584..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 1.3.40 - * - * 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 19428104a..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/aiFace.cs +++ /dev/null @@ -1,89 +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 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 uint mNumIndices { - set { - AssimpPINVOKE.aiFace_mNumIndices_set(swigCPtr, value); - } - get { - uint ret = AssimpPINVOKE.aiFace_mNumIndices_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_unsigned_int mIndices { - set { - AssimpPINVOKE.aiFace_mIndices_set(swigCPtr, SWIGTYPE_p_unsigned_int.getCPtr(value)); - } - get { - IntPtr cPtr = AssimpPINVOKE.aiFace_mIndices_get(swigCPtr); - SWIGTYPE_p_unsigned_int ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_unsigned_int(cPtr, false); - 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; - } - -} diff --git a/port/Assimp.NET/Assimp.NET_CS/aiFaceVector.cs b/port/Assimp.NET/Assimp.NET_CS/aiFaceVector.cs new file mode 100644 index 000000000..fede1b309 --- /dev/null +++ b/port/Assimp.NET/Assimp.NET_CS/aiFaceVector.cs @@ -0,0 +1,348 @@ +/* ---------------------------------------------------------------------------- + * 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 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 17d5f2848..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; - AssimpPINVOKE.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 { - AssimpPINVOKE.aiFile_ReadProc_set(swigCPtr, SWIGTYPE_p_f_p_aiFile_p_char_size_t_size_t__size_t.getCPtr(value)); - } - get { - IntPtr cPtr = AssimpPINVOKE.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 { - AssimpPINVOKE.aiFile_WriteProc_set(swigCPtr, SWIGTYPE_p_f_p_aiFile_p_q_const__char_size_t_size_t__size_t.getCPtr(value)); - } - get { - IntPtr cPtr = AssimpPINVOKE.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 { - AssimpPINVOKE.aiFile_TellProc_set(swigCPtr, SWIGTYPE_p_f_p_aiFile__size_t.getCPtr(value)); - } - get { - IntPtr cPtr = AssimpPINVOKE.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 { - AssimpPINVOKE.aiFile_FileSizeProc_set(swigCPtr, SWIGTYPE_p_f_p_aiFile__size_t.getCPtr(value)); - } - get { - IntPtr cPtr = AssimpPINVOKE.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 { - AssimpPINVOKE.aiFile_SeekProc_set(swigCPtr, SWIGTYPE_p_f_p_aiFile_size_t_enum_aiOrigin__aiReturn.getCPtr(value)); - } - get { - IntPtr cPtr = AssimpPINVOKE.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 { - AssimpPINVOKE.aiFile_FlushProc_set(swigCPtr, SWIGTYPE_p_f_p_aiFile__void.getCPtr(value)); - } - get { - IntPtr cPtr = AssimpPINVOKE.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 { - AssimpPINVOKE.aiFile_UserData_set(swigCPtr, value); - } - get { - string ret = AssimpPINVOKE.aiFile_UserData_get(swigCPtr); - return ret; - } - } - - public aiFile() : this(AssimpPINVOKE.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 293844876..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; - AssimpPINVOKE.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 { - AssimpPINVOKE.aiFileIO_OpenProc_set(swigCPtr, SWIGTYPE_p_f_p_aiFileIO_p_q_const__char_p_q_const__char__p_aiFile.getCPtr(value)); - } - get { - IntPtr cPtr = AssimpPINVOKE.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 { - AssimpPINVOKE.aiFileIO_CloseProc_set(swigCPtr, SWIGTYPE_p_f_p_aiFileIO_p_aiFile__void.getCPtr(value)); - } - get { - IntPtr cPtr = AssimpPINVOKE.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 { - AssimpPINVOKE.aiFileIO_UserData_set(swigCPtr, value); - } - get { - string ret = AssimpPINVOKE.aiFileIO_UserData_get(swigCPtr); - return ret; - } - } - - public aiFileIO() : this(AssimpPINVOKE.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 af8057c06..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 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 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 acaae2779..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 1.3.40 - * - * 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 new file mode 100644 index 000000000..1da72bc5b --- /dev/null +++ b/port/Assimp.NET/Assimp.NET_CS/aiLightVector.cs @@ -0,0 +1,348 @@ +/* ---------------------------------------------------------------------------- + * 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 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 d65c95866..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/aiMaterial.cs +++ /dev/null @@ -1,112 +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 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 aiMaterial() : this(AssimpPINVOKE.new_aiMaterial(), true) { - } - - public uint GetTextureCount(aiTextureType type) { - uint ret = AssimpPINVOKE.aiMaterial_GetTextureCount(swigCPtr, (int)type); - return ret; - } - - public aiReturn GetTexture(aiTextureType type, uint index, aiString path, SWIGTYPE_p_aiTextureMapping mapping, SWIGTYPE_p_unsigned_int uvindex, SWIGTYPE_p_float blend, SWIGTYPE_p_aiTextureOp op, SWIGTYPE_p_aiTextureMapMode mapmode) { - aiReturn ret = (aiReturn)AssimpPINVOKE.aiMaterial_GetTexture__SWIG_0(swigCPtr, (int)type, index, aiString.getCPtr(path), SWIGTYPE_p_aiTextureMapping.getCPtr(mapping), SWIGTYPE_p_unsigned_int.getCPtr(uvindex), SWIGTYPE_p_float.getCPtr(blend), SWIGTYPE_p_aiTextureOp.getCPtr(op), SWIGTYPE_p_aiTextureMapMode.getCPtr(mapmode)); - return ret; - } - - public aiReturn GetTexture(aiTextureType type, uint index, aiString path, SWIGTYPE_p_aiTextureMapping mapping, SWIGTYPE_p_unsigned_int uvindex, SWIGTYPE_p_float blend, SWIGTYPE_p_aiTextureOp op) { - aiReturn ret = (aiReturn)AssimpPINVOKE.aiMaterial_GetTexture__SWIG_1(swigCPtr, (int)type, index, aiString.getCPtr(path), SWIGTYPE_p_aiTextureMapping.getCPtr(mapping), SWIGTYPE_p_unsigned_int.getCPtr(uvindex), SWIGTYPE_p_float.getCPtr(blend), SWIGTYPE_p_aiTextureOp.getCPtr(op)); - return ret; - } - - public aiReturn GetTexture(aiTextureType type, uint index, aiString path, SWIGTYPE_p_aiTextureMapping mapping, SWIGTYPE_p_unsigned_int uvindex, SWIGTYPE_p_float blend) { - aiReturn ret = (aiReturn)AssimpPINVOKE.aiMaterial_GetTexture__SWIG_2(swigCPtr, (int)type, index, aiString.getCPtr(path), SWIGTYPE_p_aiTextureMapping.getCPtr(mapping), SWIGTYPE_p_unsigned_int.getCPtr(uvindex), SWIGTYPE_p_float.getCPtr(blend)); - return ret; - } - - public aiReturn GetTexture(aiTextureType type, uint index, aiString path, SWIGTYPE_p_aiTextureMapping mapping, SWIGTYPE_p_unsigned_int uvindex) { - aiReturn ret = (aiReturn)AssimpPINVOKE.aiMaterial_GetTexture__SWIG_3(swigCPtr, (int)type, index, aiString.getCPtr(path), SWIGTYPE_p_aiTextureMapping.getCPtr(mapping), SWIGTYPE_p_unsigned_int.getCPtr(uvindex)); - return ret; - } - - public aiReturn GetTexture(aiTextureType type, uint index, aiString path, SWIGTYPE_p_aiTextureMapping mapping) { - aiReturn ret = (aiReturn)AssimpPINVOKE.aiMaterial_GetTexture__SWIG_4(swigCPtr, (int)type, index, aiString.getCPtr(path), SWIGTYPE_p_aiTextureMapping.getCPtr(mapping)); - return ret; - } - - public aiReturn GetTexture(aiTextureType type, uint index, aiString path) { - aiReturn ret = (aiReturn)AssimpPINVOKE.aiMaterial_GetTexture__SWIG_5(swigCPtr, (int)type, index, aiString.getCPtr(path)); - return ret; - } - - public SWIGTYPE_p_p_aiMaterialProperty mProperties { - set { - AssimpPINVOKE.aiMaterial_mProperties_set(swigCPtr, SWIGTYPE_p_p_aiMaterialProperty.getCPtr(value)); - } - get { - IntPtr cPtr = AssimpPINVOKE.aiMaterial_mProperties_get(swigCPtr); - SWIGTYPE_p_p_aiMaterialProperty ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_p_aiMaterialProperty(cPtr, false); - return ret; - } - } - - public uint mNumProperties { - set { - AssimpPINVOKE.aiMaterial_mNumProperties_set(swigCPtr, value); - } - get { - uint ret = AssimpPINVOKE.aiMaterial_mNumProperties_get(swigCPtr); - return ret; - } - } - - public uint mNumAllocated { - set { - AssimpPINVOKE.aiMaterial_mNumAllocated_set(swigCPtr, value); - } - get { - uint ret = AssimpPINVOKE.aiMaterial_mNumAllocated_get(swigCPtr); - 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 01b412cf5..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 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 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 new file mode 100644 index 000000000..c2413c367 --- /dev/null +++ b/port/Assimp.NET/Assimp.NET_CS/aiMaterialVector.cs @@ -0,0 +1,348 @@ +/* ---------------------------------------------------------------------------- + * 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 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 a197975e4..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 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 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 d6b2b8b80..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 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 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 556ef9735..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 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 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 868981ec8..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/aiMesh.cs +++ /dev/null @@ -1,240 +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 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 uint mPrimitiveTypes { - set { - AssimpPINVOKE.aiMesh_mPrimitiveTypes_set(swigCPtr, value); - } - get { - uint ret = AssimpPINVOKE.aiMesh_mPrimitiveTypes_get(swigCPtr); - return ret; - } - } - - 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 aiVector3D mVertices { - set { - AssimpPINVOKE.aiMesh_mVertices_set(swigCPtr, aiVector3D.getCPtr(value)); - } - get { - IntPtr cPtr = AssimpPINVOKE.aiMesh_mVertices_get(swigCPtr); - aiVector3D ret = (cPtr == IntPtr.Zero) ? null : new aiVector3D(cPtr, false); - return ret; - } - } - - public aiVector3D mNormals { - set { - AssimpPINVOKE.aiMesh_mNormals_set(swigCPtr, aiVector3D.getCPtr(value)); - } - get { - IntPtr cPtr = AssimpPINVOKE.aiMesh_mNormals_get(swigCPtr); - aiVector3D ret = (cPtr == IntPtr.Zero) ? null : new aiVector3D(cPtr, false); - return ret; - } - } - - public aiVector3D mTangents { - set { - AssimpPINVOKE.aiMesh_mTangents_set(swigCPtr, aiVector3D.getCPtr(value)); - } - get { - IntPtr cPtr = AssimpPINVOKE.aiMesh_mTangents_get(swigCPtr); - aiVector3D ret = (cPtr == IntPtr.Zero) ? null : new aiVector3D(cPtr, false); - return ret; - } - } - - public aiVector3D mBitangents { - set { - AssimpPINVOKE.aiMesh_mBitangents_set(swigCPtr, aiVector3D.getCPtr(value)); - } - get { - IntPtr cPtr = AssimpPINVOKE.aiMesh_mBitangents_get(swigCPtr); - aiVector3D ret = (cPtr == IntPtr.Zero) ? null : new aiVector3D(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_p_aiColor4D mColors { - set { - AssimpPINVOKE.aiMesh_mColors_set(swigCPtr, SWIGTYPE_p_p_aiColor4D.getCPtr(value)); - } - get { - IntPtr cPtr = AssimpPINVOKE.aiMesh_mColors_get(swigCPtr); - SWIGTYPE_p_p_aiColor4D ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_p_aiColor4D(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_p_aiVector3D mTextureCoords { - set { - AssimpPINVOKE.aiMesh_mTextureCoords_set(swigCPtr, SWIGTYPE_p_p_aiVector3D.getCPtr(value)); - } - get { - IntPtr cPtr = AssimpPINVOKE.aiMesh_mTextureCoords_get(swigCPtr); - SWIGTYPE_p_p_aiVector3D ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_p_aiVector3D(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_unsigned_int mNumUVComponents { - set { - AssimpPINVOKE.aiMesh_mNumUVComponents_set(swigCPtr, SWIGTYPE_p_unsigned_int.getCPtr(value)); - } - get { - IntPtr cPtr = AssimpPINVOKE.aiMesh_mNumUVComponents_get(swigCPtr); - SWIGTYPE_p_unsigned_int ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_unsigned_int(cPtr, false); - return ret; - } - } - - public aiFace mFaces { - set { - AssimpPINVOKE.aiMesh_mFaces_set(swigCPtr, aiFace.getCPtr(value)); - } - get { - IntPtr cPtr = AssimpPINVOKE.aiMesh_mFaces_get(swigCPtr); - aiFace ret = (cPtr == IntPtr.Zero) ? null : new aiFace(cPtr, false); - return ret; - } - } - - public uint mNumBones { - set { - AssimpPINVOKE.aiMesh_mNumBones_set(swigCPtr, value); - } - get { - uint ret = AssimpPINVOKE.aiMesh_mNumBones_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_p_aiBone mBones { - set { - AssimpPINVOKE.aiMesh_mBones_set(swigCPtr, SWIGTYPE_p_p_aiBone.getCPtr(value)); - } - get { - IntPtr cPtr = AssimpPINVOKE.aiMesh_mBones_get(swigCPtr); - SWIGTYPE_p_p_aiBone ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_p_aiBone(cPtr, false); - return ret; - } - } - - public uint mMaterialIndex { - set { - AssimpPINVOKE.aiMesh_mMaterialIndex_set(swigCPtr, value); - } - get { - uint ret = AssimpPINVOKE.aiMesh_mMaterialIndex_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; - } - -} diff --git a/port/Assimp.NET/Assimp.NET_CS/aiMeshVector.cs b/port/Assimp.NET/Assimp.NET_CS/aiMeshVector.cs new file mode 100644 index 000000000..f05100a6c --- /dev/null +++ b/port/Assimp.NET/Assimp.NET_CS/aiMeshVector.cs @@ -0,0 +1,348 @@ +/* ---------------------------------------------------------------------------- + * 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 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 28ba02cbb..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/aiNode.cs +++ /dev/null @@ -1,138 +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 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 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 SWIGTYPE_p_p_aiNode mChildren { - set { - AssimpPINVOKE.aiNode_mChildren_set(swigCPtr, SWIGTYPE_p_p_aiNode.getCPtr(value)); - } - get { - IntPtr cPtr = AssimpPINVOKE.aiNode_mChildren_get(swigCPtr); - SWIGTYPE_p_p_aiNode ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_p_aiNode(cPtr, false); - return ret; - } - } - - public uint mNumMeshes { - set { - AssimpPINVOKE.aiNode_mNumMeshes_set(swigCPtr, value); - } - get { - uint ret = AssimpPINVOKE.aiNode_mNumMeshes_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_unsigned_int mMeshes { - set { - AssimpPINVOKE.aiNode_mMeshes_set(swigCPtr, SWIGTYPE_p_unsigned_int.getCPtr(value)); - } - get { - IntPtr cPtr = AssimpPINVOKE.aiNode_mMeshes_get(swigCPtr); - SWIGTYPE_p_unsigned_int ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_unsigned_int(cPtr, false); - 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; - } - -} 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 e46b34736..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/aiNodeAnim.cs +++ /dev/null @@ -1,140 +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 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 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 aiVectorKey mPositionKeys { - set { - AssimpPINVOKE.aiNodeAnim_mPositionKeys_set(swigCPtr, aiVectorKey.getCPtr(value)); - } - get { - IntPtr cPtr = AssimpPINVOKE.aiNodeAnim_mPositionKeys_get(swigCPtr); - aiVectorKey ret = (cPtr == IntPtr.Zero) ? null : new aiVectorKey(cPtr, false); - return ret; - } - } - - public uint mNumRotationKeys { - set { - AssimpPINVOKE.aiNodeAnim_mNumRotationKeys_set(swigCPtr, value); - } - get { - uint ret = AssimpPINVOKE.aiNodeAnim_mNumRotationKeys_get(swigCPtr); - return ret; - } - } - - public aiQuatKey mRotationKeys { - set { - AssimpPINVOKE.aiNodeAnim_mRotationKeys_set(swigCPtr, aiQuatKey.getCPtr(value)); - } - get { - IntPtr cPtr = AssimpPINVOKE.aiNodeAnim_mRotationKeys_get(swigCPtr); - aiQuatKey ret = (cPtr == IntPtr.Zero) ? null : new aiQuatKey(cPtr, false); - return ret; - } - } - - public uint mNumScalingKeys { - set { - AssimpPINVOKE.aiNodeAnim_mNumScalingKeys_set(swigCPtr, value); - } - get { - uint ret = AssimpPINVOKE.aiNodeAnim_mNumScalingKeys_get(swigCPtr); - return ret; - } - } - - public aiVectorKey mScalingKeys { - set { - AssimpPINVOKE.aiNodeAnim_mScalingKeys_set(swigCPtr, aiVectorKey.getCPtr(value)); - } - get { - IntPtr cPtr = AssimpPINVOKE.aiNodeAnim_mScalingKeys_get(swigCPtr); - aiVectorKey ret = (cPtr == IntPtr.Zero) ? null : new aiVectorKey(cPtr, false); - 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) { - } - -} diff --git a/port/Assimp.NET/Assimp.NET_CS/aiNodeAnimVector.cs b/port/Assimp.NET/Assimp.NET_CS/aiNodeAnimVector.cs new file mode 100644 index 000000000..a222b2c9e --- /dev/null +++ b/port/Assimp.NET/Assimp.NET_CS/aiNodeAnimVector.cs @@ -0,0 +1,348 @@ +/* ---------------------------------------------------------------------------- + * 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 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 new file mode 100644 index 000000000..db00a6d66 --- /dev/null +++ b/port/Assimp.NET/Assimp.NET_CS/aiNodeVector.cs @@ -0,0 +1,348 @@ +/* ---------------------------------------------------------------------------- + * 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 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 60f5900be..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 1.3.40 - * - * 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 260c17317..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 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 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 ea23f7b85..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/aiPostProcessSteps.cs +++ /dev/null @@ -1,35 +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. - * ----------------------------------------------------------------------------- */ - - -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 -} 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 24a4024ad..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 1.3.40 - * - * 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 9c795d04c..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 1.3.40 - * - * 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 8033681ba..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 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 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/aiQuaternion.cs b/port/Assimp.NET/Assimp.NET_CS/aiQuaternion.cs deleted file mode 100644 index dce53ac32..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 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 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 1a9521e7b..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 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 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 804c9cc37..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 1.3.40 - * - * 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 56d774da7..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/aiScene.cs +++ /dev/null @@ -1,223 +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 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 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 SWIGTYPE_p_p_aiMesh mMeshes { - set { - AssimpPINVOKE.aiScene_mMeshes_set(swigCPtr, SWIGTYPE_p_p_aiMesh.getCPtr(value)); - } - get { - IntPtr cPtr = AssimpPINVOKE.aiScene_mMeshes_get(swigCPtr); - SWIGTYPE_p_p_aiMesh ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_p_aiMesh(cPtr, false); - return ret; - } - } - - public uint mNumMaterials { - set { - AssimpPINVOKE.aiScene_mNumMaterials_set(swigCPtr, value); - } - get { - uint ret = AssimpPINVOKE.aiScene_mNumMaterials_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_p_aiMaterial mMaterials { - set { - AssimpPINVOKE.aiScene_mMaterials_set(swigCPtr, SWIGTYPE_p_p_aiMaterial.getCPtr(value)); - } - get { - IntPtr cPtr = AssimpPINVOKE.aiScene_mMaterials_get(swigCPtr); - SWIGTYPE_p_p_aiMaterial ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_p_aiMaterial(cPtr, false); - return ret; - } - } - - public uint mNumAnimations { - set { - AssimpPINVOKE.aiScene_mNumAnimations_set(swigCPtr, value); - } - get { - uint ret = AssimpPINVOKE.aiScene_mNumAnimations_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_p_aiAnimation mAnimations { - set { - AssimpPINVOKE.aiScene_mAnimations_set(swigCPtr, SWIGTYPE_p_p_aiAnimation.getCPtr(value)); - } - get { - IntPtr cPtr = AssimpPINVOKE.aiScene_mAnimations_get(swigCPtr); - SWIGTYPE_p_p_aiAnimation ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_p_aiAnimation(cPtr, false); - return ret; - } - } - - public uint mNumTextures { - set { - AssimpPINVOKE.aiScene_mNumTextures_set(swigCPtr, value); - } - get { - uint ret = AssimpPINVOKE.aiScene_mNumTextures_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_p_aiTexture mTextures { - set { - AssimpPINVOKE.aiScene_mTextures_set(swigCPtr, SWIGTYPE_p_p_aiTexture.getCPtr(value)); - } - get { - IntPtr cPtr = AssimpPINVOKE.aiScene_mTextures_get(swigCPtr); - SWIGTYPE_p_p_aiTexture ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_p_aiTexture(cPtr, false); - return ret; - } - } - - public uint mNumLights { - set { - AssimpPINVOKE.aiScene_mNumLights_set(swigCPtr, value); - } - get { - uint ret = AssimpPINVOKE.aiScene_mNumLights_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_p_aiLight mLights { - set { - AssimpPINVOKE.aiScene_mLights_set(swigCPtr, SWIGTYPE_p_p_aiLight.getCPtr(value)); - } - get { - IntPtr cPtr = AssimpPINVOKE.aiScene_mLights_get(swigCPtr); - SWIGTYPE_p_p_aiLight ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_p_aiLight(cPtr, false); - return ret; - } - } - - public uint mNumCameras { - set { - AssimpPINVOKE.aiScene_mNumCameras_set(swigCPtr, value); - } - get { - uint ret = AssimpPINVOKE.aiScene_mNumCameras_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_p_aiCamera mCameras { - set { - AssimpPINVOKE.aiScene_mCameras_set(swigCPtr, SWIGTYPE_p_p_aiCamera.getCPtr(value)); - } - get { - IntPtr cPtr = AssimpPINVOKE.aiScene_mCameras_get(swigCPtr); - SWIGTYPE_p_p_aiCamera ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_p_aiCamera(cPtr, false); - 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; - } - -} 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 38227ffbc..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 1.3.40 - * - * 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 b985df769..000000000 --- a/port/Assimp.NET/Assimp.NET_CS/aiString.cs +++ /dev/null @@ -1,104 +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 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 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 void Set(string pString) { - AssimpPINVOKE.aiString_Set__SWIG_0(swigCPtr, pString); - 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 void Append(string app) { - AssimpPINVOKE.aiString_Append(swigCPtr, app); - } - - public void Clear() { - AssimpPINVOKE.aiString_Clear(swigCPtr); - } - - 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 5bb58bf38..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 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 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 3d9df28f2..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 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 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 322bd5a94..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 1.3.40 - * - * 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 7ddda10b0..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 1.3.40 - * - * 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 92cf56fb2..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 1.3.40 - * - * 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 b1e628d39..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 1.3.40 - * - * 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 503cf800f..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 1.3.40 - * - * 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 new file mode 100644 index 000000000..dc9076bfe --- /dev/null +++ b/port/Assimp.NET/Assimp.NET_CS/aiTextureVector.cs @@ -0,0 +1,348 @@ +/* ---------------------------------------------------------------------------- + * 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 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 fc879f02c..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 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 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 42ce1cf92..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 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 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 886432bb7..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 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 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 new file mode 100644 index 000000000..2b3d1c8ee --- /dev/null +++ b/port/Assimp.NET/Assimp.NET_CS/aiVector3DVector.cs @@ -0,0 +1,348 @@ +/* ---------------------------------------------------------------------------- + * 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 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 new file mode 100644 index 000000000..35d82e290 --- /dev/null +++ b/port/Assimp.NET/Assimp.NET_CS/aiVector3DVectorVector.cs @@ -0,0 +1,327 @@ +/* ---------------------------------------------------------------------------- + * 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 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 01160ce17..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 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 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/aiVertexWeight.cs b/port/Assimp.NET/Assimp.NET_CS/aiVertexWeight.cs deleted file mode 100644 index 220a93e69..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 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 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/obj/Debug/Assimp.NET_CS.dll b/port/Assimp.NET/Assimp.NET_CS/obj/Debug/Assimp.NET_CS.dll index 0cf285aad..966430bfc 100644 Binary files a/port/Assimp.NET/Assimp.NET_CS/obj/Debug/Assimp.NET_CS.dll and b/port/Assimp.NET/Assimp.NET_CS/obj/Debug/Assimp.NET_CS.dll differ diff --git a/port/Assimp.NET/Assimp.NET_CS/obj/Debug/Assimp.NET_CS.pdb b/port/Assimp.NET/Assimp.NET_CS/obj/Debug/Assimp.NET_CS.pdb index dd39b5716..aa096459c 100644 Binary files a/port/Assimp.NET/Assimp.NET_CS/obj/Debug/Assimp.NET_CS.pdb and b/port/Assimp.NET/Assimp.NET_CS/obj/Debug/Assimp.NET_CS.pdb differ diff --git a/port/Assimp.NET/Assimp.NET_CS/obj/Debug/ResolveAssemblyReference.cache b/port/Assimp.NET/Assimp.NET_CS/obj/Debug/ResolveAssemblyReference.cache index 85e4bb9af..485b79a28 100644 Binary files a/port/Assimp.NET/Assimp.NET_CS/obj/Debug/ResolveAssemblyReference.cache and b/port/Assimp.NET/Assimp.NET_CS/obj/Debug/ResolveAssemblyReference.cache differ diff --git a/workspaces/vc9/assimp.sln b/workspaces/vc9/assimp.sln index 99ef7abfb..6b59b36f8 100644 --- a/workspaces/vc9/assimp.sln +++ b/workspaces/vc9/assimp.sln @@ -1,6 +1,6 @@  Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual C++ Express 2008 +# Visual Studio 2008 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "assimpview", "assimp_view.vcproj", "{B17B959B-BB8A-4596-AF0F-A8C8DBBC3C5E}" ProjectSection(ProjectDependencies) = postProject {5691E159-2D9B-407F-971F-EA5C592DC524} = {5691E159-2D9B-407F-971F-EA5C592DC524} @@ -107,7 +107,6 @@ Global {9B9D1C90-8A03-409A-B547-AE7B48B90F1A}.debug|x64.Build.0 = debug|x64 {9B9D1C90-8A03-409A-B547-AE7B48B90F1A}.debug-dll|Win32.ActiveCfg = debug-dll|Win32 {9B9D1C90-8A03-409A-B547-AE7B48B90F1A}.debug-dll|x64.ActiveCfg = debug-dll|x64 - {9B9D1C90-8A03-409A-B547-AE7B48B90F1A}.debug-dll|x64.Build.0 = debug-dll|x64 {9B9D1C90-8A03-409A-B547-AE7B48B90F1A}.debug-noboost-st|Win32.ActiveCfg = debug-noboost-st|Win32 {9B9D1C90-8A03-409A-B547-AE7B48B90F1A}.debug-noboost-st|Win32.Build.0 = debug-noboost-st|Win32 {9B9D1C90-8A03-409A-B547-AE7B48B90F1A}.debug-noboost-st|x64.ActiveCfg = debug-noboost-st|x64