From 2a540119c5c67763f1a0e1efe41c4827fc1318ef Mon Sep 17 00:00:00 2001 From: rave3d Date: Mon, 1 Mar 2010 20:53:37 +0000 Subject: [PATCH] Removing Old Assimp.NET folder in order to relace by a SWIG generated version git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@560 67173fc5-114c-0410-ac8e-9d2fd5bffc1f --- port/Assimp.NET/Assimp.NET.sln | 69 --- port/Assimp.NET/Assimp.NET/Animation.cpp | 28 -- port/Assimp.NET/Assimp.NET/Animation.h | 128 ------ port/Assimp.NET/Assimp.NET/Assimp.NET.vcproj | 434 ------------------ port/Assimp.NET/Assimp.NET/Bone.cpp | 34 -- port/Assimp.NET/Assimp.NET/Bone.h | 108 ----- port/Assimp.NET/Assimp.NET/Camera.cpp | 33 -- port/Assimp.NET/Assimp.NET/Camera.h | 160 ------- port/Assimp.NET/Assimp.NET/Color3D.cpp | 72 --- port/Assimp.NET/Assimp.NET/Color3D.h | 70 --- port/Assimp.NET/Assimp.NET/Color4D.cpp | 52 --- port/Assimp.NET/Assimp.NET/Color4D.h | 79 ---- .../Assimp.NET/Assimp.NET/CompressedTexture.h | 52 --- port/Assimp.NET/Assimp.NET/ConfigProperty.h | 52 --- port/Assimp.NET/Assimp.NET/DefaultLogger.cpp | 62 --- port/Assimp.NET/Assimp.NET/Enums.h | 63 --- port/Assimp.NET/Assimp.NET/Face.cpp | 49 -- port/Assimp.NET/Assimp.NET/Face.h | 92 ---- port/Assimp.NET/Assimp.NET/IOStream.cpp | 15 - port/Assimp.NET/Assimp.NET/IOSystem.cpp | 48 -- port/Assimp.NET/Assimp.NET/Importer.cpp | 133 ------ port/Assimp.NET/Assimp.NET/Importer.h | 139 ------ port/Assimp.NET/Assimp.NET/Light.cpp | 28 -- port/Assimp.NET/Assimp.NET/Light.h | 213 --------- port/Assimp.NET/Assimp.NET/LogStream.cpp | 33 -- port/Assimp.NET/Assimp.NET/Logger.cpp | 63 --- port/Assimp.NET/Assimp.NET/MatKey.h | 52 --- port/Assimp.NET/Assimp.NET/Material.cpp | 46 -- port/Assimp.NET/Assimp.NET/Material.h | 107 ----- .../Assimp.NET/MaterialProperty.cpp | 28 -- port/Assimp.NET/Assimp.NET/MaterialProperty.h | 139 ------ port/Assimp.NET/Assimp.NET/Matrix3x3.cpp | 101 ---- port/Assimp.NET/Assimp.NET/Matrix3x3.h | 193 -------- port/Assimp.NET/Assimp.NET/Matrix4x4.cpp | 144 ------ port/Assimp.NET/Assimp.NET/Matrix4x4.h | 287 ------------ port/Assimp.NET/Assimp.NET/Mesh.cpp | 73 --- port/Assimp.NET/Assimp.NET/Mesh.h | 201 -------- port/Assimp.NET/Assimp.NET/Node.cpp | 38 -- port/Assimp.NET/Assimp.NET/Node.h | 149 ------ port/Assimp.NET/Assimp.NET/NodeAnim.cpp | 28 -- port/Assimp.NET/Assimp.NET/NodeAnim.h | 154 ------- port/Assimp.NET/Assimp.NET/PostProcessing.cpp | 15 - port/Assimp.NET/Assimp.NET/PostProcessing.h | 52 --- port/Assimp.NET/Assimp.NET/QuatKey.cpp | 52 --- port/Assimp.NET/Assimp.NET/QuatKey.h | 95 ---- port/Assimp.NET/Assimp.NET/Quaternion.cpp | 94 ---- port/Assimp.NET/Assimp.NET/Quaternion.h | 133 ------ port/Assimp.NET/Assimp.NET/Scene.cpp | 58 --- port/Assimp.NET/Assimp.NET/Scene.h | 200 -------- port/Assimp.NET/Assimp.NET/Texel.cpp | 43 -- port/Assimp.NET/Assimp.NET/Texel.h | 78 ---- port/Assimp.NET/Assimp.NET/Texture.cpp | 33 -- port/Assimp.NET/Assimp.NET/Texture.h | 163 ------- port/Assimp.NET/Assimp.NET/Vector2D.cpp | 109 ----- port/Assimp.NET/Assimp.NET/Vector2D.h | 102 ---- port/Assimp.NET/Assimp.NET/Vector3D.cpp | 113 ----- port/Assimp.NET/Assimp.NET/Vector3D.h | 118 ----- port/Assimp.NET/Assimp.NET/VectorKey.cpp | 53 --- port/Assimp.NET/Assimp.NET/VectorKey.h | 96 ---- port/Assimp.NET/Assimp.NET/VertexWeight.cpp | 33 -- port/Assimp.NET/Assimp.NET/VertexWeight.h | 89 ---- port/Assimp.NET/Assimp.NET/mDefaultLogger.h | 76 --- port/Assimp.NET/Assimp.NET/mIOStream.h | 66 --- port/Assimp.NET/Assimp.NET/mIOSystem.h | 78 ---- port/Assimp.NET/Assimp.NET/mLogStream.h | 80 ---- port/Assimp.NET/Assimp.NET/mLogger.h | 94 ---- .../AssimpNetDemo/AssimpNetDemo.csproj | 91 ---- .../AssimpNetDemo/Form1.Designer.cs | 47 -- port/Assimp.NET/AssimpNetDemo/Form1.cs | 19 - port/Assimp.NET/AssimpNetDemo/Form1.resx | 120 ----- port/Assimp.NET/AssimpNetDemo/Program.cs | 21 - .../AssimpNetDemo/Properties/AssemblyInfo.cs | 36 -- .../Properties/Resources.Designer.cs | 63 --- .../AssimpNetDemo/Properties/Resources.resx | 117 ----- .../Properties/Settings.Designer.cs | 26 -- .../Properties/Settings.settings | 7 - 76 files changed, 6719 deletions(-) delete mode 100644 port/Assimp.NET/Assimp.NET.sln delete mode 100644 port/Assimp.NET/Assimp.NET/Animation.cpp delete mode 100644 port/Assimp.NET/Assimp.NET/Animation.h delete mode 100644 port/Assimp.NET/Assimp.NET/Assimp.NET.vcproj delete mode 100644 port/Assimp.NET/Assimp.NET/Bone.cpp delete mode 100644 port/Assimp.NET/Assimp.NET/Bone.h delete mode 100644 port/Assimp.NET/Assimp.NET/Camera.cpp delete mode 100644 port/Assimp.NET/Assimp.NET/Camera.h delete mode 100644 port/Assimp.NET/Assimp.NET/Color3D.cpp delete mode 100644 port/Assimp.NET/Assimp.NET/Color3D.h delete mode 100644 port/Assimp.NET/Assimp.NET/Color4D.cpp delete mode 100644 port/Assimp.NET/Assimp.NET/Color4D.h delete mode 100644 port/Assimp.NET/Assimp.NET/CompressedTexture.h delete mode 100644 port/Assimp.NET/Assimp.NET/ConfigProperty.h delete mode 100644 port/Assimp.NET/Assimp.NET/DefaultLogger.cpp delete mode 100644 port/Assimp.NET/Assimp.NET/Enums.h delete mode 100644 port/Assimp.NET/Assimp.NET/Face.cpp delete mode 100644 port/Assimp.NET/Assimp.NET/Face.h delete mode 100644 port/Assimp.NET/Assimp.NET/IOStream.cpp delete mode 100644 port/Assimp.NET/Assimp.NET/IOSystem.cpp delete mode 100644 port/Assimp.NET/Assimp.NET/Importer.cpp delete mode 100644 port/Assimp.NET/Assimp.NET/Importer.h delete mode 100644 port/Assimp.NET/Assimp.NET/Light.cpp delete mode 100644 port/Assimp.NET/Assimp.NET/Light.h delete mode 100644 port/Assimp.NET/Assimp.NET/LogStream.cpp delete mode 100644 port/Assimp.NET/Assimp.NET/Logger.cpp delete mode 100644 port/Assimp.NET/Assimp.NET/MatKey.h delete mode 100644 port/Assimp.NET/Assimp.NET/Material.cpp delete mode 100644 port/Assimp.NET/Assimp.NET/Material.h delete mode 100644 port/Assimp.NET/Assimp.NET/MaterialProperty.cpp delete mode 100644 port/Assimp.NET/Assimp.NET/MaterialProperty.h delete mode 100644 port/Assimp.NET/Assimp.NET/Matrix3x3.cpp delete mode 100644 port/Assimp.NET/Assimp.NET/Matrix3x3.h delete mode 100644 port/Assimp.NET/Assimp.NET/Matrix4x4.cpp delete mode 100644 port/Assimp.NET/Assimp.NET/Matrix4x4.h delete mode 100644 port/Assimp.NET/Assimp.NET/Mesh.cpp delete mode 100644 port/Assimp.NET/Assimp.NET/Mesh.h delete mode 100644 port/Assimp.NET/Assimp.NET/Node.cpp delete mode 100644 port/Assimp.NET/Assimp.NET/Node.h delete mode 100644 port/Assimp.NET/Assimp.NET/NodeAnim.cpp delete mode 100644 port/Assimp.NET/Assimp.NET/NodeAnim.h delete mode 100644 port/Assimp.NET/Assimp.NET/PostProcessing.cpp delete mode 100644 port/Assimp.NET/Assimp.NET/PostProcessing.h delete mode 100644 port/Assimp.NET/Assimp.NET/QuatKey.cpp delete mode 100644 port/Assimp.NET/Assimp.NET/QuatKey.h delete mode 100644 port/Assimp.NET/Assimp.NET/Quaternion.cpp delete mode 100644 port/Assimp.NET/Assimp.NET/Quaternion.h delete mode 100644 port/Assimp.NET/Assimp.NET/Scene.cpp delete mode 100644 port/Assimp.NET/Assimp.NET/Scene.h delete mode 100644 port/Assimp.NET/Assimp.NET/Texel.cpp delete mode 100644 port/Assimp.NET/Assimp.NET/Texel.h delete mode 100644 port/Assimp.NET/Assimp.NET/Texture.cpp delete mode 100644 port/Assimp.NET/Assimp.NET/Texture.h delete mode 100644 port/Assimp.NET/Assimp.NET/Vector2D.cpp delete mode 100644 port/Assimp.NET/Assimp.NET/Vector2D.h delete mode 100644 port/Assimp.NET/Assimp.NET/Vector3D.cpp delete mode 100644 port/Assimp.NET/Assimp.NET/Vector3D.h delete mode 100644 port/Assimp.NET/Assimp.NET/VectorKey.cpp delete mode 100644 port/Assimp.NET/Assimp.NET/VectorKey.h delete mode 100644 port/Assimp.NET/Assimp.NET/VertexWeight.cpp delete mode 100644 port/Assimp.NET/Assimp.NET/VertexWeight.h delete mode 100644 port/Assimp.NET/Assimp.NET/mDefaultLogger.h delete mode 100644 port/Assimp.NET/Assimp.NET/mIOStream.h delete mode 100644 port/Assimp.NET/Assimp.NET/mIOSystem.h delete mode 100644 port/Assimp.NET/Assimp.NET/mLogStream.h delete mode 100644 port/Assimp.NET/Assimp.NET/mLogger.h delete mode 100644 port/Assimp.NET/AssimpNetDemo/AssimpNetDemo.csproj delete mode 100644 port/Assimp.NET/AssimpNetDemo/Form1.Designer.cs delete mode 100644 port/Assimp.NET/AssimpNetDemo/Form1.cs delete mode 100644 port/Assimp.NET/AssimpNetDemo/Form1.resx delete mode 100644 port/Assimp.NET/AssimpNetDemo/Program.cs delete mode 100644 port/Assimp.NET/AssimpNetDemo/Properties/AssemblyInfo.cs delete mode 100644 port/Assimp.NET/AssimpNetDemo/Properties/Resources.Designer.cs delete mode 100644 port/Assimp.NET/AssimpNetDemo/Properties/Resources.resx delete mode 100644 port/Assimp.NET/AssimpNetDemo/Properties/Settings.Designer.cs delete mode 100644 port/Assimp.NET/AssimpNetDemo/Properties/Settings.settings diff --git a/port/Assimp.NET/Assimp.NET.sln b/port/Assimp.NET/Assimp.NET.sln deleted file mode 100644 index 02ee33d15..000000000 --- a/port/Assimp.NET/Assimp.NET.sln +++ /dev/null @@ -1,69 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Assimp.NET", "Assimp.NET\Assimp.NET.vcproj", "{4922D7BD-5E7A-44DD-BC1D-7F6F0BD82894}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AssimpNetDemo", "AssimpNetDemo\AssimpNetDemo.csproj", "{76085EBB-B11E-4C2B-82C7-47A781D2B4BE}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Assimp.NET_SWIG", "Assimp.NET_SWIG\Assimp.NET_SWIG.vcproj", "{521DD721-C184-412B-AA80-0E741F2FDD4F}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Assimp.NET_SWIG_CS", "Assimp.NET_SWIG_CS\Assimp.NET_SWIG_CS.csproj", "{D88CA6D2-F511-4BAA-99FF-38E12380E58D}" - ProjectSection(ProjectDependencies) = postProject - {521DD721-C184-412B-AA80-0E741F2FDD4F} = {521DD721-C184-412B-AA80-0E741F2FDD4F} - EndProjectSection -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Debug|Mixed Platforms = Debug|Mixed Platforms - Debug|Win32 = Debug|Win32 - Release|Any CPU = Release|Any CPU - Release|Mixed Platforms = Release|Mixed Platforms - Release|Win32 = Release|Win32 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {4922D7BD-5E7A-44DD-BC1D-7F6F0BD82894}.Debug|Any CPU.ActiveCfg = Debug|Win32 - {4922D7BD-5E7A-44DD-BC1D-7F6F0BD82894}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32 - {4922D7BD-5E7A-44DD-BC1D-7F6F0BD82894}.Debug|Mixed Platforms.Build.0 = Debug|Win32 - {4922D7BD-5E7A-44DD-BC1D-7F6F0BD82894}.Debug|Win32.ActiveCfg = Debug|Win32 - {4922D7BD-5E7A-44DD-BC1D-7F6F0BD82894}.Debug|Win32.Build.0 = Debug|Win32 - {4922D7BD-5E7A-44DD-BC1D-7F6F0BD82894}.Release|Any CPU.ActiveCfg = Release|Win32 - {4922D7BD-5E7A-44DD-BC1D-7F6F0BD82894}.Release|Mixed Platforms.ActiveCfg = Release|Win32 - {4922D7BD-5E7A-44DD-BC1D-7F6F0BD82894}.Release|Mixed Platforms.Build.0 = Release|Win32 - {4922D7BD-5E7A-44DD-BC1D-7F6F0BD82894}.Release|Win32.ActiveCfg = Release|Win32 - {4922D7BD-5E7A-44DD-BC1D-7F6F0BD82894}.Release|Win32.Build.0 = Release|Win32 - {76085EBB-B11E-4C2B-82C7-47A781D2B4BE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {76085EBB-B11E-4C2B-82C7-47A781D2B4BE}.Debug|Any CPU.Build.0 = Debug|Any CPU - {76085EBB-B11E-4C2B-82C7-47A781D2B4BE}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU - {76085EBB-B11E-4C2B-82C7-47A781D2B4BE}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU - {76085EBB-B11E-4C2B-82C7-47A781D2B4BE}.Debug|Win32.ActiveCfg = Debug|Any CPU - {76085EBB-B11E-4C2B-82C7-47A781D2B4BE}.Release|Any CPU.ActiveCfg = Release|Any CPU - {76085EBB-B11E-4C2B-82C7-47A781D2B4BE}.Release|Any CPU.Build.0 = Release|Any CPU - {76085EBB-B11E-4C2B-82C7-47A781D2B4BE}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU - {76085EBB-B11E-4C2B-82C7-47A781D2B4BE}.Release|Mixed Platforms.Build.0 = Release|Any CPU - {76085EBB-B11E-4C2B-82C7-47A781D2B4BE}.Release|Win32.ActiveCfg = Release|Any CPU - {521DD721-C184-412B-AA80-0E741F2FDD4F}.Debug|Any CPU.ActiveCfg = Debug|Win32 - {521DD721-C184-412B-AA80-0E741F2FDD4F}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32 - {521DD721-C184-412B-AA80-0E741F2FDD4F}.Debug|Mixed Platforms.Build.0 = Debug|Win32 - {521DD721-C184-412B-AA80-0E741F2FDD4F}.Debug|Win32.ActiveCfg = Debug|Win32 - {521DD721-C184-412B-AA80-0E741F2FDD4F}.Debug|Win32.Build.0 = Debug|Win32 - {521DD721-C184-412B-AA80-0E741F2FDD4F}.Release|Any CPU.ActiveCfg = Release|Win32 - {521DD721-C184-412B-AA80-0E741F2FDD4F}.Release|Mixed Platforms.ActiveCfg = Release|Win32 - {521DD721-C184-412B-AA80-0E741F2FDD4F}.Release|Mixed Platforms.Build.0 = Release|Win32 - {521DD721-C184-412B-AA80-0E741F2FDD4F}.Release|Win32.ActiveCfg = Release|Win32 - {521DD721-C184-412B-AA80-0E741F2FDD4F}.Release|Win32.Build.0 = Release|Win32 - {D88CA6D2-F511-4BAA-99FF-38E12380E58D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {D88CA6D2-F511-4BAA-99FF-38E12380E58D}.Debug|Any CPU.Build.0 = Debug|Any CPU - {D88CA6D2-F511-4BAA-99FF-38E12380E58D}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU - {D88CA6D2-F511-4BAA-99FF-38E12380E58D}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU - {D88CA6D2-F511-4BAA-99FF-38E12380E58D}.Debug|Win32.ActiveCfg = Debug|Any CPU - {D88CA6D2-F511-4BAA-99FF-38E12380E58D}.Release|Any CPU.ActiveCfg = Release|Any CPU - {D88CA6D2-F511-4BAA-99FF-38E12380E58D}.Release|Any CPU.Build.0 = Release|Any CPU - {D88CA6D2-F511-4BAA-99FF-38E12380E58D}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU - {D88CA6D2-F511-4BAA-99FF-38E12380E58D}.Release|Mixed Platforms.Build.0 = Release|Any CPU - {D88CA6D2-F511-4BAA-99FF-38E12380E58D}.Release|Win32.ActiveCfg = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/port/Assimp.NET/Assimp.NET/Animation.cpp b/port/Assimp.NET/Assimp.NET/Animation.cpp deleted file mode 100644 index cf0a10213..000000000 --- a/port/Assimp.NET/Assimp.NET/Animation.cpp +++ /dev/null @@ -1,28 +0,0 @@ - -#include "Animation.h" - -namespace AssimpNET -{ - -Animation::Animation(void) -{ - this->p_native = new aiAnimation(); -} - -Animation::Animation(aiAnimation* native) -{ - this->p_native = native; -} - -Animation::~Animation(void) -{ - if(this->p_native) - delete this->p_native; -} - -aiAnimation* Animation::getNative() -{ - return this->p_native; -} - -}//namespace \ No newline at end of file diff --git a/port/Assimp.NET/Assimp.NET/Animation.h b/port/Assimp.NET/Assimp.NET/Animation.h deleted file mode 100644 index b00d7b0d3..000000000 --- a/port/Assimp.NET/Assimp.NET/Animation.h +++ /dev/null @@ -1,128 +0,0 @@ -/* ---------------------------------------------------------------------------- -Open Asset Import Library (ASSIMP) ---------------------------------------------------------------------------- - -Copyright (c) 2006-2008, ASSIMP Development Team - -All rights reserved. - -Redistribution and use of this software in source and binary forms, -with or without modification, are permitted provided that the following -conditions are met: - - * Redistributions of source code must retain the above - copyright notice, this list of conditions and the - following disclaimer. - - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the - following disclaimer in the documentation and/or other - materials provided with the distribution. - - * Neither the name of the ASSIMP team, nor the names of its - contributors may be used to endorse or promote products - derived from this software without specific prior - written permission of the ASSIMP Development Team. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ---------------------------------------------------------------------------- - */ - -#pragma once - -//managed includes -#include "NodeAnim.h" - -//native includes -#include "aiAnim.h" - -using namespace System; - -#pragma managed - -namespace AssimpNET -{ - public ref class Animation - { - public: - Animation(void); - Animation(aiAnimation* native); - ~Animation(void); - - property array^ mAnimChannels - { - array^ get() - { - throw gcnew System::NotImplementedException(); - } - void set(array^ value) - { - throw gcnew System::NotImplementedException(); - } - } - property unsigned int mNumAnimChannels - { - unsigned int get() - { - return this->p_native->mNumChannels; - } - void set(unsigned int value) - { - this->p_native->mNumChannels = value; - } - } - property double mDuration - { - double get() - { - return this->p_native->mDuration; - } - void set(double value) - { - this->p_native->mDuration = value; - } - } - property double mTicksPerSecond - { - double get() - { - return this->p_native->mTicksPerSecond; - } - void set(double value) - { - this->p_native->mTicksPerSecond = value; - } - } - property String^ mName - { - String^ get() - { - return gcnew String(this->p_native->mName.data); - } - void set(String^ value) - { - this->p_native->mName.Set((char *) System::Runtime::InteropServices::Marshal::StringToHGlobalAnsi(value).ToPointer()); - } - } - - aiAnimation* getNative(); - private: - aiAnimation *p_native; - - }; -}//namespace - - - - diff --git a/port/Assimp.NET/Assimp.NET/Assimp.NET.vcproj b/port/Assimp.NET/Assimp.NET/Assimp.NET.vcproj deleted file mode 100644 index 058c26f0f..000000000 --- a/port/Assimp.NET/Assimp.NET/Assimp.NET.vcproj +++ /dev/null @@ -1,434 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/port/Assimp.NET/Assimp.NET/Bone.cpp b/port/Assimp.NET/Assimp.NET/Bone.cpp deleted file mode 100644 index c4d809dd2..000000000 --- a/port/Assimp.NET/Assimp.NET/Bone.cpp +++ /dev/null @@ -1,34 +0,0 @@ - -#include "Bone.h" - - -namespace AssimpNET -{ - -Bone::Bone(void) -{ - this->p_native = new aiBone(); -} - -Bone::Bone(Bone% other) -{ - this->p_native = other.getNative(); -} - -Bone::Bone(aiBone* native) -{ - this->p_native = native; -} - -Bone::~Bone(void) -{ - if(this->p_native) - delete this->p_native; -} - -aiBone* Bone::getNative() -{ - return this->p_native; -} - -}//namespace \ No newline at end of file diff --git a/port/Assimp.NET/Assimp.NET/Bone.h b/port/Assimp.NET/Assimp.NET/Bone.h deleted file mode 100644 index 125e945ec..000000000 --- a/port/Assimp.NET/Assimp.NET/Bone.h +++ /dev/null @@ -1,108 +0,0 @@ -/* ---------------------------------------------------------------------------- -Open Asset Import Library (ASSIMP) ---------------------------------------------------------------------------- - -Copyright (c) 2006-2008, ASSIMP Development Team - -All rights reserved. - -Redistribution and use of this software in source and binary forms, -with or without modification, are permitted provided that the following -conditions are met: - - * Redistributions of source code must retain the above - copyright notice, this list of conditions and the - following disclaimer. - - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the - following disclaimer in the documentation and/or other - materials provided with the distribution. - - * Neither the name of the ASSIMP team, nor the names of its - contributors may be used to endorse or promote products - derived from this software without specific prior - written permission of the ASSIMP Development Team. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ---------------------------------------------------------------------------- - */ - -#pragma once - -//managed includes -#include "Matrix4x4.h" -#include "VertexWeight.h" - - -//native includes -#include "aiMesh.h" - -using namespace System; - -namespace AssimpNET -{ - public ref class Bone - { - public: - Bone(void); - Bone(Bone% other); - Bone(aiBone* native); - ~Bone(void); - - property String^ mName - { - String^ get() - { - return gcnew String(this->p_native->mName.data); - } - void set(String^ value) - { - throw gcnew System::NotImplementedException(); - this->p_native->mName.Set((char*)System::Runtime::InteropServices::Marshal::StringToHGlobalAnsi(value).ToPointer()); - } - } - property unsigned int mNumWeights - { - unsigned int get() - { - return this->p_native->mNumWeights; - } - void set(unsigned int value) - { - this->p_native->mNumWeights = value; - } - } - property Matrix4x4^ mOffsetMatrix - { - Matrix4x4^ get() - { - return gcnew Matrix4x4(&this->p_native->mOffsetMatrix); - } - void set(Matrix4x4^ value) - { - this->p_native->mOffsetMatrix = aiMatrix4x4(*value->getNative()); - } - } - property array^ mWeights - { - array^ get(){throw gcnew System::NotImplementedException();} - void set(array^ value){throw gcnew System::NotImplementedException();} - } - - aiBone* getNative(); - private: - aiBone *p_native; - }; -}//namespace \ No newline at end of file diff --git a/port/Assimp.NET/Assimp.NET/Camera.cpp b/port/Assimp.NET/Assimp.NET/Camera.cpp deleted file mode 100644 index b0c4428ba..000000000 --- a/port/Assimp.NET/Assimp.NET/Camera.cpp +++ /dev/null @@ -1,33 +0,0 @@ - -#include "Camera.h" - -namespace AssimpNET -{ - -Camera::Camera(void) -{ - this->p_native = new aiCamera(); -} - -Camera::Camera(aiCamera* native) -{ - this->p_native = native; -} - -Camera::~Camera(void) -{ - if(this->p_native) - delete this->p_native; -} - -void Camera::GetCameraMatrix(Matrix4x4^ out) -{ - throw gcnew System::NotImplementedException(); -} - -aiCamera* Camera::getNative() -{ - return this->p_native; -} - -}//namespace \ No newline at end of file diff --git a/port/Assimp.NET/Assimp.NET/Camera.h b/port/Assimp.NET/Assimp.NET/Camera.h deleted file mode 100644 index 4b6b14a23..000000000 --- a/port/Assimp.NET/Assimp.NET/Camera.h +++ /dev/null @@ -1,160 +0,0 @@ -/* ---------------------------------------------------------------------------- -Open Asset Import Library (ASSIMP) ---------------------------------------------------------------------------- - -Copyright (c) 2006-2008, ASSIMP Development Team - -All rights reserved. - -Redistribution and use of this software in source and binary forms, -with or without modification, are permitted provided that the following -conditions are met: - - * Redistributions of source code must retain the above - copyright notice, this list of conditions and the - following disclaimer. - - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the - following disclaimer in the documentation and/or other - materials provided with the distribution. - - * Neither the name of the ASSIMP team, nor the names of its - contributors may be used to endorse or promote products - derived from this software without specific prior - written permission of the ASSIMP Development Team. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ---------------------------------------------------------------------------- - */ - -#pragma once - -//managed includes -#include "Matrix4x4.h" -#include "Vector3D.h" - -//native includes -#include "aiCamera.h" - -using namespace System; - -namespace AssimpNET -{ - public ref class Camera - { - public: - Camera(void); - Camera(aiCamera* native); - ~Camera(void); - - void GetCameraMatrix(Matrix4x4^ out); - - property float mAspect - { - float get() - { - return this->p_native->mAspect; - } - void set(float value) - { - this->p_native->mAspect = value; - } - } - property float mNearClipPlane - { - float get() - { - return this->p_native->mClipPlaneNear; - } - void set(float value) - { - this->p_native->mClipPlaneNear; - } - } - property float mFarClipPlane - { - float get() - { - return this->p_native->mClipPlaneFar; - } - void set(float value) - { - this->p_native->mClipPlaneFar = value; - } - } - property float mHorizontalFOV - { - float get() - { - return this->p_native->mHorizontalFOV; - } - void set(float value) - { - this->p_native->mHorizontalFOV = value; - } - } - - property Vector3D^ mLookAt - { - Vector3D^ get() - { - return gcnew Vector3D(&this->p_native->mLookAt); - } - void set(Vector3D^ value) - { - this->p_native->mLookAt = aiVector3D(*value->getNative()); - } - } - property Vector3D^ mPosition - { - Vector3D^ get() - { - return gcnew Vector3D(&this->p_native->mPosition); - } - void set(Vector3D^ value) - { - this->p_native->mPosition = aiVector3D(*value->getNative()); - } - } - property Vector3D^ mUp - { - Vector3D^ get() - { - return gcnew Vector3D(&this->p_native->mUp); - } - void set(Vector3D^ value) - { - this->p_native->mUp = aiVector3D(*value->getNative()); - } - } - - property String^ mName - { - String^ get() - { - return gcnew String(this->p_native->mName.data); - } - void set(String^ value) - { - this->p_native->mName.Set((char*)System::Runtime::InteropServices::Marshal::StringToHGlobalAnsi(value).ToPointer()); - } - } - - aiCamera* getNative(); - private: - aiCamera *p_native; - - }; -}//namespace \ No newline at end of file diff --git a/port/Assimp.NET/Assimp.NET/Color3D.cpp b/port/Assimp.NET/Assimp.NET/Color3D.cpp deleted file mode 100644 index 2715a2096..000000000 --- a/port/Assimp.NET/Assimp.NET/Color3D.cpp +++ /dev/null @@ -1,72 +0,0 @@ - -#include "Color3D.h" - -namespace AssimpNET -{ - -Color3D::Color3D(void) -{ - this->p_native = new aiColor3D(); -} - -Color3D::Color3D(Color3D% other) -{ - this->p_native = other.getNative(); -} - -Color3D::Color3D(float _r, float _g, float _b) -{ - this->p_native = new aiColor3D(_r, _g, _b); -} - -Color3D::Color3D(aiColor3D* native) -{ - this->p_native = native; -} - -bool Color3D::IsBlack() -{ - throw gcnew System::NotImplementedException(); -} - -bool Color3D::operator != (const Color3D^ other) -{ - throw gcnew System::NotImplementedException(); -} - -Color3D^ Color3D::operator*(float f) -{ - throw gcnew System::NotImplementedException(); -} - -Color3D^ Color3D::operator*(const Color3D^ c) -{ - throw gcnew System::NotImplementedException(); -} - -Color3D^ Color3D::operator+ (const Color3D^ c) -{ - throw gcnew System::NotImplementedException(); -} - -Color3D^ Color3D::operator- (const Color3D^ c) -{ - throw gcnew System::NotImplementedException(); -} - -bool Color3D::operator== (const Color3D^ other) -{ - throw gcnew System::NotImplementedException(); -} - -float^ Color3D::operator[] (unsigned int i) -{ - throw gcnew System::NotImplementedException(); -} - -aiColor3D* Color3D::getNative() -{ - return this->p_native; -} - -} diff --git a/port/Assimp.NET/Assimp.NET/Color3D.h b/port/Assimp.NET/Assimp.NET/Color3D.h deleted file mode 100644 index 4eb2b1827..000000000 --- a/port/Assimp.NET/Assimp.NET/Color3D.h +++ /dev/null @@ -1,70 +0,0 @@ -#pragma once - -//native includes -#include "aiTypes.h" - -using namespace System; - -namespace AssimpNET -{ - public ref class Color3D - { - public: - Color3D(void); - Color3D(Color3D% other); - Color3D(float _r, float _g, float _b); - Color3D(aiColor3D* native); - - bool IsBlack(); - bool operator != (const Color3D^ other); - Color3D^ operator*(float f); - Color3D^ operator*(const Color3D^ c); - Color3D^ operator+ (const Color3D^ c); - Color3D^ operator- (const Color3D^ c); - bool operator== (const Color3D^ other); - float^ operator[] (unsigned int i); - - - property float Red - { - float get() - { - return this->p_native->r; - } - void set(float value) - { - this->p_native->r = value; - } - } - - property float Green - { - float get() - { - return this->p_native->g; - } - void set(float value) - { - this->p_native->g = value; - } - } - - property float Blue - { - float get() - { - return this->p_native->b; - } - void set(float value) - { - this->p_native->b = value; - } - } - - aiColor3D* getNative(); - private: - aiColor3D *p_native; - - }; - -} diff --git a/port/Assimp.NET/Assimp.NET/Color4D.cpp b/port/Assimp.NET/Assimp.NET/Color4D.cpp deleted file mode 100644 index 520cfc30f..000000000 --- a/port/Assimp.NET/Assimp.NET/Color4D.cpp +++ /dev/null @@ -1,52 +0,0 @@ - -#include "Color4D.h" - -namespace AssimpNET -{ - -Color4D::Color4D(void) -{ - this->p_native = new aiColor4D(); -} - -Color4D::Color4D(Color4D% other) -{ - this->p_native = other.getNative(); -} - -Color4D::Color4D(float _r, float _g, float _b, float _a) -{ - this->p_native = new aiColor4D(_r, _g, _b, _a); -} - -Color4D::Color4D(aiColor4D *native) -{ - this->p_native = native; -} - -bool Color4D::IsBlack() -{ - throw gcnew System::NotImplementedException(); -} - -bool Color4D::operator!= (const Color4D^ other) -{ - throw gcnew System::NotImplementedException(); -} - -bool Color4D::operator== (const Color4D^ other) -{ - throw gcnew System::NotImplementedException(); -} - -float Color4D::operator[] (unsigned int i) -{ - throw gcnew System::NotImplementedException(); -} - -aiColor4D* Color4D::getNative() -{ - return this->p_native; -} - -}//namespace \ No newline at end of file diff --git a/port/Assimp.NET/Assimp.NET/Color4D.h b/port/Assimp.NET/Assimp.NET/Color4D.h deleted file mode 100644 index 7250876fb..000000000 --- a/port/Assimp.NET/Assimp.NET/Color4D.h +++ /dev/null @@ -1,79 +0,0 @@ -#pragma once - -//native includes -#include "aiTypes.h" - -using namespace System; - -namespace AssimpNET -{ - - public ref class Color4D - { - public: - Color4D(void); - Color4D (Color4D% other); - Color4D (float _r, float _g, float _b, float _a); - Color4D (aiColor4D* native); - - bool IsBlack (); - bool operator!= (const Color4D^ other); - bool operator== (const Color4D^ other); - float operator[] (unsigned int i); - - - property float Red - { - float get() - { - return this->p_native->r; - } - void set(float value) - { - this->p_native->r = value; - } - } - - property float Green - { - float get() - { - return this->p_native->g; - } - void set(float value) - { - this->p_native->g = value; - } - } - - property float Blue - { - float get() - { - return this->p_native->b; - } - void set(float value) - { - this->p_native->b = value; - } - } - - property float Alpha - { - float get() - { - return this->p_native->a; - } - void set(float value) - { - this->p_native->a = value; - } - } - - aiColor4D* getNative(); - private: - aiColor4D *p_native; - - }; - -}//namespace \ No newline at end of file diff --git a/port/Assimp.NET/Assimp.NET/CompressedTexture.h b/port/Assimp.NET/Assimp.NET/CompressedTexture.h deleted file mode 100644 index 9b9f44c4b..000000000 --- a/port/Assimp.NET/Assimp.NET/CompressedTexture.h +++ /dev/null @@ -1,52 +0,0 @@ -/* ---------------------------------------------------------------------------- -Open Asset Import Library (ASSIMP) ---------------------------------------------------------------------------- - -Copyright (c) 2006-2008, ASSIMP Development Team - -All rights reserved. - -Redistribution and use of this software in source and binary forms, -with or without modification, are permitted provided that the following -conditions are met: - - * Redistributions of source code must retain the above - copyright notice, this list of conditions and the - following disclaimer. - - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the - following disclaimer in the documentation and/or other - materials provided with the distribution. - - * Neither the name of the ASSIMP team, nor the names of its - contributors may be used to endorse or promote products - derived from this software without specific prior - written permission of the ASSIMP Development Team. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ---------------------------------------------------------------------------- - */ - -#pragma once - -namespace AssimpNET -{ - ref class CompressedTexture - { - public: - CompressedTexture(void); - ~CompressedTexture(void); - }; -}//namespace \ No newline at end of file diff --git a/port/Assimp.NET/Assimp.NET/ConfigProperty.h b/port/Assimp.NET/Assimp.NET/ConfigProperty.h deleted file mode 100644 index dc18e7587..000000000 --- a/port/Assimp.NET/Assimp.NET/ConfigProperty.h +++ /dev/null @@ -1,52 +0,0 @@ -/* ---------------------------------------------------------------------------- -Open Asset Import Library (ASSIMP) ---------------------------------------------------------------------------- - -Copyright (c) 2006-2008, ASSIMP Development Team - -All rights reserved. - -Redistribution and use of this software in source and binary forms, -with or without modification, are permitted provided that the following -conditions are met: - - * Redistributions of source code must retain the above - copyright notice, this list of conditions and the - following disclaimer. - - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the - following disclaimer in the documentation and/or other - materials provided with the distribution. - - * Neither the name of the ASSIMP team, nor the names of its - contributors may be used to endorse or promote products - derived from this software without specific prior - written permission of the ASSIMP Development Team. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ---------------------------------------------------------------------------- - */ - -#pragma once - -namespace AssimpNET -{ - ref class ConfigProperty - { - public: - ConfigProperty(void); - ~ConfigProperty(void); - }; -}//namespace \ No newline at end of file diff --git a/port/Assimp.NET/Assimp.NET/DefaultLogger.cpp b/port/Assimp.NET/Assimp.NET/DefaultLogger.cpp deleted file mode 100644 index 83501fe5a..000000000 --- a/port/Assimp.NET/Assimp.NET/DefaultLogger.cpp +++ /dev/null @@ -1,62 +0,0 @@ - -#include "mDefaultLogger.h" - -namespace AssimpNET -{ - -AssimpNET::DefaultLogger::DefaultLogger(void) -{ - throw gcnew System::NotImplementedException(); -} - -AssimpNET::DefaultLogger::DefaultLogger(Assimp::DefaultLogger* native) -{ - this->p_native = native; -} - -AssimpNET::DefaultLogger::~DefaultLogger(void) -{ - throw gcnew System::NotImplementedException(); -} - -bool AssimpNET::DefaultLogger::attachStream(LogStream^ stream, unsigned int severity) -{ - throw gcnew System::NotImplementedException(); -} - -bool AssimpNET::DefaultLogger::detachStream(LogStream^ stream, unsigned int severity) -{ - throw gcnew System::NotImplementedException(); -} - -Logger^ AssimpNET::DefaultLogger::create(const String^ name, LogSeverity severity, unsigned int defStream, IOSystem^ io) -{ - throw gcnew System::NotImplementedException(); -} - -Logger^ AssimpNET::DefaultLogger::get() -{ - throw gcnew System::NotImplementedException(); -} - -bool AssimpNET::DefaultLogger::isNullLogger() -{ - throw gcnew System::NotImplementedException(); -} - -void AssimpNET::DefaultLogger::kill() -{ - throw gcnew System::NotImplementedException(); -} - -void AssimpNET::DefaultLogger::set(Logger^ logger) -{ - throw gcnew System::NotImplementedException(); -} - -Assimp::DefaultLogger* AssimpNET::DefaultLogger::getNative() -{ - return this->p_native; -} - -}//namespace \ No newline at end of file diff --git a/port/Assimp.NET/Assimp.NET/Enums.h b/port/Assimp.NET/Assimp.NET/Enums.h deleted file mode 100644 index fd324c284..000000000 --- a/port/Assimp.NET/Assimp.NET/Enums.h +++ /dev/null @@ -1,63 +0,0 @@ -/* ---------------------------------------------------------------------------- -Open Asset Import Library (ASSIMP) ---------------------------------------------------------------------------- - -Copyright (c) 2006-2008, ASSIMP Development Team - -All rights reserved. - -Redistribution and use of this software in source and binary forms, -with or without modification, are permitted provided that the following -conditions are met: - - * Redistributions of source code must retain the above - copyright notice, this list of conditions and the - following disclaimer. - - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the - following disclaimer in the documentation and/or other - materials provided with the distribution. - - * Neither the name of the ASSIMP team, nor the names of its - contributors may be used to endorse or promote products - derived from this software without specific prior - written permission of the ASSIMP Development Team. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ---------------------------------------------------------------------------- - */ - -#pragma once - -namespace AssimpNET -{ - public enum aiOrigin - { - SET, - CUR, - END, - _AI_ORIGIN_ENFORCE_ENUM_SIZE - }; - - public enum aiReturn - { - SUCCESS, - FAILURE, - INVALIDFILE, - OUTOFMEMORY, - INVALIDARG, - _AI_ENFORCE_ENUM_SIZE - }; -} \ No newline at end of file diff --git a/port/Assimp.NET/Assimp.NET/Face.cpp b/port/Assimp.NET/Assimp.NET/Face.cpp deleted file mode 100644 index 5fe988d74..000000000 --- a/port/Assimp.NET/Assimp.NET/Face.cpp +++ /dev/null @@ -1,49 +0,0 @@ - -#include "Face.h" - -namespace AssimpNET -{ - -Face::Face(void) -{ - this->p_native = new aiFace(); -} - -Face::Face(Face% other) -{ - this->p_native = other.getNative(); -} - -Face::Face(aiFace* native) -{ - this->p_native = native; -} - -Face::~Face(void) -{ - if(this->p_native) - delete this->p_native; -} - -bool Face::operator != (const Face^ other) -{ - throw gcnew System::NotImplementedException(); -} - -Face^ Face::operator = (const Face^ other) -{ - throw gcnew System::NotImplementedException(); -} - -bool Face::operator == (const Face^ other) -{ - throw gcnew System::NotImplementedException(); -} - -aiFace* Face::getNative() -{ - return this->p_native; -} - - -}//namespace \ No newline at end of file diff --git a/port/Assimp.NET/Assimp.NET/Face.h b/port/Assimp.NET/Assimp.NET/Face.h deleted file mode 100644 index c219819b9..000000000 --- a/port/Assimp.NET/Assimp.NET/Face.h +++ /dev/null @@ -1,92 +0,0 @@ -/* ---------------------------------------------------------------------------- -Open Asset Import Library (ASSIMP) ---------------------------------------------------------------------------- - -Copyright (c) 2006-2008, ASSIMP Development Team - -All rights reserved. - -Redistribution and use of this software in source and binary forms, -with or without modification, are permitted provided that the following -conditions are met: - - * Redistributions of source code must retain the above - copyright notice, this list of conditions and the - following disclaimer. - - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the - following disclaimer in the documentation and/or other - materials provided with the distribution. - - * Neither the name of the ASSIMP team, nor the names of its - contributors may be used to endorse or promote products - derived from this software without specific prior - written permission of the ASSIMP Development Team. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ---------------------------------------------------------------------------- - */ - -#pragma once - -//native includes -#include "aiMesh.h" - -namespace AssimpNET -{ - public ref class Face - { - public: - Face(void); - Face(Face% other); - Face(aiFace* native); - ~Face(void); - - bool operator != (const Face^ other); - Face^ operator = (const Face^ other); - bool operator == (const Face^ other); - - property array^ mIndices - { - array^ get() - { - array^ tmp = gcnew array(this->p_native->mNumIndices); - System::Runtime::InteropServices::Marshal::Copy((System::IntPtr)this->p_native->mIndices, (array^)tmp, 0, tmp->Length); - return tmp; - } - void set(array^ value) - { - System::Runtime::InteropServices::Marshal::Copy((array^)value, 0, (System::IntPtr)this->p_native->mIndices, value->Length); - } - } - - property unsigned int mNumIndices - { - unsigned int get() - { - return this->p_native->mNumIndices; - - } - void set(unsigned int value) - { - this->p_native->mNumIndices = value; - } - } - - aiFace* getNative(); - private: - aiFace *p_native; - }; -}//namespace \ No newline at end of file diff --git a/port/Assimp.NET/Assimp.NET/IOStream.cpp b/port/Assimp.NET/Assimp.NET/IOStream.cpp deleted file mode 100644 index 66dad4a08..000000000 --- a/port/Assimp.NET/Assimp.NET/IOStream.cpp +++ /dev/null @@ -1,15 +0,0 @@ - -#include "mIOStream.h" - -namespace AssimpNET -{ - -IOStream::IOStream(void) -{ -} - -IOStream::~IOStream(void) -{ -} - -}//namespace \ No newline at end of file diff --git a/port/Assimp.NET/Assimp.NET/IOSystem.cpp b/port/Assimp.NET/Assimp.NET/IOSystem.cpp deleted file mode 100644 index 69a148d17..000000000 --- a/port/Assimp.NET/Assimp.NET/IOSystem.cpp +++ /dev/null @@ -1,48 +0,0 @@ - -#include "mIOSystem.h" - -namespace AssimpNET -{ - -IOSystem::IOSystem(void) -{ - throw gcnew System::NotImplementedException(); -} - -IOSystem::IOSystem(Assimp::IOSystem* native) -{ - this->p_native = native; -} - -IOSystem::~IOSystem(void) -{ - if(this->p_native) - delete this->p_native; -} - -bool IOSystem::ComparePaths (const String^ one, const String^ second) -{ - throw gcnew System::NotImplementedException(); -} - -bool IOSystem::ComparePaths (array^ one, array^ second) -{ - throw gcnew System::NotImplementedException(); -} - -bool IOSystem::Exists(const String^ pFile) -{ - throw gcnew System::NotImplementedException(); -} - -IOStream^ IOSystem::Open(const String^ pFile, const String^ pMode) -{ - throw gcnew System::NotImplementedException(); -} - -Assimp::IOSystem* IOSystem::getNative() -{ - return this->p_native; -} - -}//namespace \ No newline at end of file diff --git a/port/Assimp.NET/Assimp.NET/Importer.cpp b/port/Assimp.NET/Assimp.NET/Importer.cpp deleted file mode 100644 index 9d48048cc..000000000 --- a/port/Assimp.NET/Assimp.NET/Importer.cpp +++ /dev/null @@ -1,133 +0,0 @@ - -#include "Importer.h" - -namespace AssimpNET -{ - -Importer::Importer(void) -{ - p_native = new Assimp::Importer(); -} - -Importer::Importer(Importer% other) -{ - p_native = other.getNative(); -} - -Importer::Importer(Assimp::Importer* native) -{ - this->p_native = native; -} - -Importer::~Importer(void) -{ - if(this->p_native) - delete this->p_native; -} - -void Importer::FreeScene() -{ - p_native->FreeScene(); -} - -System::String^ Importer::GetErrorString() -{ - return gcnew System::String(p_native->GetErrorString()); -} - -void Importer::GetExtensionsList(String^ extensions) -{ - throw gcnew System::NotImplementedException(); -} - -IOSystem^ Importer::GetIOHandler() -{ - throw gcnew System::NotImplementedException(); -} - -void Importer::GetMemoryRequrements(aiMemoryInfo^ in) -{ - throw gcnew System::NotImplementedException(); -} - -Scene^ Importer::getOrphanedScene( ) -{ - throw gcnew System::NotImplementedException(); -} - -float Importer::GetPropertyFloat(String^ propName) -{ - throw gcnew System::NotImplementedException(); - //return p_native->GetPropertyFloat(propName->ToCharArray()); -} - -int Importer::GetPropertyInt(String^ propName) -{ - throw gcnew System::NotImplementedException(); - //return p_native->GetPropertyInteger((IntPtr)propName->ToCharArray()); -} - -String^ Importer::GetPrpertyString(String^ propName) -{ - throw gcnew System::NotImplementedException(); - //return System::String(p_native->GetPropertyString(propName->ToCharArray())); -} - -Scene^ Importer::getScene() -{ - throw gcnew System::NotImplementedException(); -} - -bool Importer::IsDefaultIOHandler() -{ - return p_native->IsDefaultIOHandler(); -} - -bool Importer::IsExtensionSupported(String^ extension) -{ - throw gcnew System::NotImplementedException(); -} - -Scene^ Importer::ReadFile(String^ fileName, unsigned int flags) -{ - throw gcnew System::NotImplementedException(); -} - -void Importer::SetExtraVerbose(bool verbose) -{ - p_native->SetExtraVerbose(verbose); -} - -void Importer::SetIOHanlder(IOSystem^ ioHandler) -{ - throw gcnew System::NotImplementedException(); -} - -void Importer::SetPropertyFloat(String^ propName, float value) -{ - throw gcnew System::NotImplementedException(); -} - -void Importer::SetPropertyInt(String^ propName, int value) -{ - throw gcnew System::NotImplementedException(); -} - -void Importer::SetPrpertyString(String^ propName, String^ value) -{ - throw gcnew System::NotImplementedException(); -} - -bool Importer::ValidateFlags(unsigned int flags) -{ - return p_native->ValidateFlags(flags); -} - -Assimp::Importer* Importer::getNative() -{ - return this->p_native; -} - - - -}//namespace \ No newline at end of file diff --git a/port/Assimp.NET/Assimp.NET/Importer.h b/port/Assimp.NET/Assimp.NET/Importer.h deleted file mode 100644 index 1500b68f3..000000000 --- a/port/Assimp.NET/Assimp.NET/Importer.h +++ /dev/null @@ -1,139 +0,0 @@ -/* ---------------------------------------------------------------------------- -Open Asset Import Library (ASSIMP) ---------------------------------------------------------------------------- - -Copyright (c) 2006-2008, ASSIMP Development Team - -All rights reserved. - -Redistribution and use of this software in source and binary forms, -with or without modification, are permitted provided that the following -conditions are met: - - * Redistributions of source code must retain the above - copyright notice, this list of conditions and the - following disclaimer. - - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the - following disclaimer in the documentation and/or other - materials provided with the distribution. - - * Neither the name of the ASSIMP team, nor the names of its - contributors may be used to endorse or promote products - derived from this software without specific prior - written permission of the ASSIMP Development Team. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ---------------------------------------------------------------------------- - */ - -#pragma once - -//managed includes -#include "mIOSystem.h" -#include "Scene.h" - -//native includes -#include "assimp.hpp" - -using namespace System; - -namespace AssimpNET -{ - public ref struct aiMemoryInfo - { - property unsigned int animations - { - unsigned int get(){throw gcnew System::NotImplementedException();} - void set(unsigned int value) { throw gcnew System::NotImplementedException();} - } - - property unsigned int cameras - { - unsigned int get() { throw gcnew System::NotImplementedException();} - void set(unsigned int value) { throw gcnew System::NotImplementedException();} - } - - property unsigned int lights - { - unsigned int get() { throw gcnew System::NotImplementedException();} - void set(unsigned int value) { throw gcnew System::NotImplementedException();} - } - - property unsigned int materials - { - unsigned int get() { throw gcnew System::NotImplementedException();} - void set(unsigned int value) { throw gcnew System::NotImplementedException();} - } - - property unsigned int meshes - { - unsigned int get() { throw gcnew System::NotImplementedException();} - void set(unsigned int value) { throw gcnew System::NotImplementedException();} - } - - property unsigned int nodes - { - unsigned int get() { throw gcnew System::NotImplementedException();} - void set(unsigned int value) { throw gcnew System::NotImplementedException();} - } - - property unsigned int textures - { - unsigned int get() { throw gcnew System::NotImplementedException();} - void set(unsigned int value) { throw gcnew System::NotImplementedException();} - } - - property unsigned int total - { - unsigned int get() { throw gcnew System::NotImplementedException();} - void set(unsigned int value) { throw gcnew System::NotImplementedException();} - } - }; - - public ref class Importer - { - public: - Importer(void); - Importer(Importer% other); - Importer(Assimp::Importer* native); - ~Importer(void); - - void FreeScene(); - System::String^ GetErrorString(); - void GetExtensionsList(String^ extensions); - IOSystem^ GetIOHandler(); - void GetMemoryRequrements(aiMemoryInfo^ in); - Scene^ getOrphanedScene( ); - float GetPropertyFloat(String^ propName); - int GetPropertyInt(String^ propName); - String^ GetPrpertyString(String^ propName); - Scene^ getScene(); - bool IsDefaultIOHandler(); - bool IsExtensionSupported(String^ extension); - Scene^ ReadFile(String^ fileName, unsigned int flags); - void SetExtraVerbose(bool verbose); - void SetIOHanlder(IOSystem^ ioHandler); - void SetPropertyFloat(String^ propName, float value); - void SetPropertyInt(String^ propName, int value); - void SetPrpertyString(String^ propName, String^ value); - bool ValidateFlags(unsigned int flags); - - Assimp::Importer* getNative(); - - private: - Assimp::Importer *p_native; - }; -}//namespace \ No newline at end of file diff --git a/port/Assimp.NET/Assimp.NET/Light.cpp b/port/Assimp.NET/Assimp.NET/Light.cpp deleted file mode 100644 index a54f8d30a..000000000 --- a/port/Assimp.NET/Assimp.NET/Light.cpp +++ /dev/null @@ -1,28 +0,0 @@ - -#include "Light.h" - -namespace AssimpNET -{ - -Light::Light(void) -{ - this->p_native = new aiLight(); -} - -Light::Light(aiLight* native) -{ - this->p_native = native; -} - -Light::~Light(void) -{ - if(this->p_native) - delete this->p_native; -} - -aiLight* Light::getNative() -{ - return this->p_native; -} - -}//namespace \ No newline at end of file diff --git a/port/Assimp.NET/Assimp.NET/Light.h b/port/Assimp.NET/Assimp.NET/Light.h deleted file mode 100644 index ae116fdf5..000000000 --- a/port/Assimp.NET/Assimp.NET/Light.h +++ /dev/null @@ -1,213 +0,0 @@ -/* ---------------------------------------------------------------------------- -Open Asset Import Library (ASSIMP) ---------------------------------------------------------------------------- - -Copyright (c) 2006-2008, ASSIMP Development Team - -All rights reserved. - -Redistribution and use of this software in source and binary forms, -with or without modification, are permitted provided that the following -conditions are met: - - * Redistributions of source code must retain the above - copyright notice, this list of conditions and the - following disclaimer. - - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the - following disclaimer in the documentation and/or other - materials provided with the distribution. - - * Neither the name of the ASSIMP team, nor the names of its - contributors may be used to endorse or promote products - derived from this software without specific prior - written permission of the ASSIMP Development Team. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ---------------------------------------------------------------------------- - */ - -#pragma once - -//managed includes -#include "Vector3D.h" -#include "Color3D.h" - -//natvie includes -#include "aiLight.h" - -using namespace System; - -namespace AssimpNET -{ - public enum LightSourceType - { - aiLightSource_UNDEFINED = 0x0, - aiLightSource_DIRECTIONAL = 0x1, - aiLightSource_POINT = 0x2, - aiLightSource_SPOT = 0x3, - _aiLightSource_Force32Bit = 0x9fffffff - }; - - public ref class Light - { - public: - Light(void); - Light(aiLight* native); - ~Light(void); - - property float AngleInnerCone - { - float get() - { - return this->p_native->mAngleInnerCone; - } - void set(float value) - { - this->p_native->mAngleInnerCone = value; - } - } - - property float AngleOuterCone - { - float get() - { - return this->p_native->mAngleOuterCone; - } - void set(float value) - { - this->p_native->mAngleOuterCone = value; - } - } - - property float AttenuationConstant - { - float get() - { - return this->p_native->mAttenuationConstant; - } - void set(float value) - { - this->p_native->mAttenuationConstant = value; - } - } - - property float AttenuationLinear - { - float get() - { - return this->p_native->mAttenuationLinear; - } - void set(float value) - { - this->p_native->mAttenuationLinear = value; - } - } - - property float AttenuationQuadratic - { - float get() - { - return this->p_native->mAttenuationQuadratic; - } - void set(float value) - { - this->p_native->mAttenuationQuadratic = value; - } - } - - property Color3D^ ColorAmbient - { - Color3D^ get() - { - return gcnew Color3D(&this->p_native->mColorAmbient); - } - void set(Color3D^ value) - { - this->p_native->mColorAmbient = aiColor3D(*value->getNative()); - } - } - - property Color3D^ ColorDiffuse - { - Color3D^ get() - { - return gcnew Color3D(&this->p_native->mColorDiffuse); - } - void set(Color3D^ value) - { - this->p_native->mColorDiffuse = aiColor3D(*value->getNative()); - } - } - - property Color3D^ ColorSpecular - { - Color3D^ get() - { - return gcnew Color3D(&this->p_native->mColorSpecular); - } - void set(Color3D^ value) - { - this->p_native->mColorSpecular = aiColor3D(*value->getNative()); - } - } - - property Vector3D^ Direction - { - Vector3D^ get() - { - return gcnew Vector3D(&this->p_native->mDirection); - } - void set(Vector3D^ value) - { - this->p_native->mDirection = aiVector3D(*value->getNative()); - } - } - - property Vector3D^ Position - { - Vector3D^ get() - { - return gcnew Vector3D(&this->p_native->mPosition); - } - void set(Vector3D^ value) - { - this->p_native->mPosition = aiVector3D(*value->getNative()); - } - } - - property String^ Name - { - String^ get() - { - return gcnew String(this->p_native->mName.data); - } - void set(String^ value) - { - this->p_native->mName.Set((char*)System::Runtime::InteropServices::Marshal::StringToHGlobalAnsi(value).ToPointer()); - } - } - - property LightSourceType Type - { - LightSourceType get(){throw gcnew System::NotImplementedException();} - void set(LightSourceType value){throw gcnew System::NotImplementedException();} - } - - aiLight* getNative(); - private: - aiLight *p_native; - }; -}//namespace \ No newline at end of file diff --git a/port/Assimp.NET/Assimp.NET/LogStream.cpp b/port/Assimp.NET/Assimp.NET/LogStream.cpp deleted file mode 100644 index feb851ec5..000000000 --- a/port/Assimp.NET/Assimp.NET/LogStream.cpp +++ /dev/null @@ -1,33 +0,0 @@ - -#include "mLogStream.h" - -namespace AssimpNET -{ - -LogStream::LogStream(void) -{ - throw gcnew System::NotImplementedException(); -} - -LogStream::LogStream(Assimp::LogStream* native) -{ - this->p_native = native; -} - -LogStream::~LogStream(void) -{ - if(this->p_native) - delete this->p_native; -} - -LogStream^ LogStream::createDefaultStream(DefaulLogStreams streams, array^ name, IOSystem^ io) -{ - throw gcnew System::NotImplementedException(); -} - -Assimp::LogStream* LogStream::getNative() -{ - return this->p_native; -} - -}//namespace \ No newline at end of file diff --git a/port/Assimp.NET/Assimp.NET/Logger.cpp b/port/Assimp.NET/Assimp.NET/Logger.cpp deleted file mode 100644 index f10c74428..000000000 --- a/port/Assimp.NET/Assimp.NET/Logger.cpp +++ /dev/null @@ -1,63 +0,0 @@ - -#include "mLogger.h" - -namespace AssimpNET -{ - -Logger::Logger(void) -{ - throw gcnew System::NotImplementedException(); -} - -Logger::Logger(LogSeverity severity) -{ - throw gcnew System::NotImplementedException(); -} - -Logger::Logger(Assimp::Logger* native) -{ - this->p_native = native; -} - -Logger::~Logger(void) -{ - if(this->p_native) - delete this->p_native; -} - -void Logger::debug (const String^ message) -{ - throw gcnew System::NotImplementedException(); -} - -void Logger::error(const String^ message) -{ - throw gcnew System::NotImplementedException(); -} - -LogSeverity Logger::getLogSeverity() -{ - throw gcnew System::NotImplementedException(); -} - -void Logger::info(const String^ message) -{ - throw gcnew System::NotImplementedException(); -} - -void Logger::setLogSverity(LogSeverity log_severity) -{ - throw gcnew System::NotImplementedException(); -} - -void Logger::warn(const String^ message) -{ - throw gcnew System::NotImplementedException(); -} - -Assimp::Logger* Logger::getNative() -{ - return this->p_native; -} - -}//namespace \ No newline at end of file diff --git a/port/Assimp.NET/Assimp.NET/MatKey.h b/port/Assimp.NET/Assimp.NET/MatKey.h deleted file mode 100644 index 58fbdf678..000000000 --- a/port/Assimp.NET/Assimp.NET/MatKey.h +++ /dev/null @@ -1,52 +0,0 @@ -/* ---------------------------------------------------------------------------- -Open Asset Import Library (ASSIMP) ---------------------------------------------------------------------------- - -Copyright (c) 2006-2008, ASSIMP Development Team - -All rights reserved. - -Redistribution and use of this software in source and binary forms, -with or without modification, are permitted provided that the following -conditions are met: - - * Redistributions of source code must retain the above - copyright notice, this list of conditions and the - following disclaimer. - - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the - following disclaimer in the documentation and/or other - materials provided with the distribution. - - * Neither the name of the ASSIMP team, nor the names of its - contributors may be used to endorse or promote products - derived from this software without specific prior - written permission of the ASSIMP Development Team. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ---------------------------------------------------------------------------- - */ - -#pragma once - -namespace AssimpNET -{ - ref class MatKey - { - public: - MatKey(void); - ~MatKey(void); - }; -}//namespace \ No newline at end of file diff --git a/port/Assimp.NET/Assimp.NET/Material.cpp b/port/Assimp.NET/Assimp.NET/Material.cpp deleted file mode 100644 index 95e565a46..000000000 --- a/port/Assimp.NET/Assimp.NET/Material.cpp +++ /dev/null @@ -1,46 +0,0 @@ - -#include "Material.h" - -namespace AssimpNET -{ - -Material::Material(void) -{ - this->p_native = new aiMaterial(); -} - -Material::Material(aiMaterial* native) -{ - this->p_native = native; -} - -Material::~Material(void) -{ - if(this->p_native) - delete this->p_native; -} - -generic -aiReturn Material::Get(array^ pKey, unsigned int type, unsigned int idx, T pOut) -{ - throw gcnew System::NotImplementedException(); -} - -generic -aiReturn Material::Get(array^ pKey, unsigned int type, unsigned int idx, T pOut, unsigned int^ pMax) -{ - throw gcnew System::NotImplementedException(); -} - -aiReturn Material::GetTexture(TextureType type, unsigned int index, String^ path, TextureMapping& mapping, unsigned int^ uvindex, float^ blend, - TextureOP& op, TextureMapMode& mapMode) -{ - throw gcnew System::NotImplementedException(); -} - -aiMaterial* Material::getNative() -{ - return this->p_native; -} - -}//namespace \ No newline at end of file diff --git a/port/Assimp.NET/Assimp.NET/Material.h b/port/Assimp.NET/Assimp.NET/Material.h deleted file mode 100644 index 675caaf43..000000000 --- a/port/Assimp.NET/Assimp.NET/Material.h +++ /dev/null @@ -1,107 +0,0 @@ -/* ---------------------------------------------------------------------------- -Open Asset Import Library (ASSIMP) ---------------------------------------------------------------------------- - -Copyright (c) 2006-2008, ASSIMP Development Team - -All rights reserved. - -Redistribution and use of this software in source and binary forms, -with or without modification, are permitted provided that the following -conditions are met: - - * Redistributions of source code must retain the above - copyright notice, this list of conditions and the - following disclaimer. - - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the - following disclaimer in the documentation and/or other - materials provided with the distribution. - - * Neither the name of the ASSIMP team, nor the names of its - contributors may be used to endorse or promote products - derived from this software without specific prior - written permission of the ASSIMP Development Team. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ---------------------------------------------------------------------------- - */ - -#pragma once - -//managed includes -#include "Enums.h" -#include "MaterialProperty.h" -#include "Texture.h" - -//native includes -#include "aiMaterial.h" - -using namespace System; - -namespace AssimpNET -{ - public ref class Material - { - public: - Material(void); - Material(aiMaterial* native); - ~Material(void); - - generic - aiReturn Get(array^ pKey, unsigned int type, unsigned int idx, T pOut); - - generic - aiReturn Get(array^ pKey, unsigned int type, unsigned int idx, T pOut, unsigned int^ pMax); - - aiReturn GetTexture(TextureType type, unsigned int index, String^ path, TextureMapping& mapping, unsigned int^ uvindex, float^ blend, - TextureOP& op, TextureMapMode& mapMode); - - property unsigned int mNumAllocated - { - unsigned int get() - { - return this->p_native->mNumAllocated; - } - void set(unsigned int value) - { - this->p_native->mNumAllocated = value; - } - } - - property unsigned int mNumProperties - { - unsigned int get() - { - return this->p_native->mNumProperties; - } - void set(unsigned int value) - { - this->p_native->mNumProperties = value; - } - } - - property array^ mProperties - { - array^ get(){throw gcnew System::NotImplementedException();} - void set(array^ value){throw gcnew System::NotImplementedException();} - } - - aiMaterial* getNative(); - private: - aiMaterial *p_native; - - }; -}//namespace \ No newline at end of file diff --git a/port/Assimp.NET/Assimp.NET/MaterialProperty.cpp b/port/Assimp.NET/Assimp.NET/MaterialProperty.cpp deleted file mode 100644 index 2503b09ae..000000000 --- a/port/Assimp.NET/Assimp.NET/MaterialProperty.cpp +++ /dev/null @@ -1,28 +0,0 @@ - -#include "MaterialProperty.h" - -namespace AssimpNET -{ - -MaterialProperty::MaterialProperty(void) -{ - this->p_native = new aiMaterialProperty(); -} - -MaterialProperty::MaterialProperty(aiMaterialProperty* native) -{ - this->p_native = native; -} - -MaterialProperty::~MaterialProperty(void) -{ - if(this->p_native) - delete this->p_native; -} - -aiMaterialProperty* MaterialProperty::getNative() -{ - return this->p_native; -} - -}//namespace \ No newline at end of file diff --git a/port/Assimp.NET/Assimp.NET/MaterialProperty.h b/port/Assimp.NET/Assimp.NET/MaterialProperty.h deleted file mode 100644 index 46334d143..000000000 --- a/port/Assimp.NET/Assimp.NET/MaterialProperty.h +++ /dev/null @@ -1,139 +0,0 @@ -/* ---------------------------------------------------------------------------- -Open Asset Import Library (ASSIMP) ---------------------------------------------------------------------------- - -Copyright (c) 2006-2008, ASSIMP Development Team - -All rights reserved. - -Redistribution and use of this software in source and binary forms, -with or without modification, are permitted provided that the following -conditions are met: - - * Redistributions of source code must retain the above - copyright notice, this list of conditions and the - following disclaimer. - - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the - following disclaimer in the documentation and/or other - materials provided with the distribution. - - * Neither the name of the ASSIMP team, nor the names of its - contributors may be used to endorse or promote products - derived from this software without specific prior - written permission of the ASSIMP Development Team. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ---------------------------------------------------------------------------- - */ - -#pragma once - -//native includes -#include "aiMaterial.h" - -using namespace System; - -namespace AssimpNET -{ - public enum PropertyTypeInfo - { - PTI_Float, - PTI_String, - PTI_Integer, - PTI_Buffer, - _PTI_Force32Bit - }; - - public ref class MaterialProperty - { - public: - MaterialProperty(void); - MaterialProperty(aiMaterialProperty* native); - ~MaterialProperty(void); - - property array^ mData - { - array^ get() - { - array^ tmp = gcnew array(this->p_native->mDataLength); - System::Runtime::InteropServices::Marshal::Copy((System::IntPtr)this->p_native->mData, (array^)tmp, 0, this->p_native->mDataLength); - return tmp; - } - void set(array^ value) - { - System::Runtime::InteropServices::Marshal::Copy((array^)value, 0, (System::IntPtr)this->p_native->mData, value->Length); - } - } - - property unsigned int mDataLength - { - unsigned int get() - { - return this->p_native->mDataLength; - } - void set(unsigned int value) - { - this->p_native->mDataLength = value; - } - } - - property unsigned int mIndex - { - unsigned int get() - { - return this->p_native->mIndex; - } - void set(unsigned int value) - { - this->p_native->mIndex = value; - } - } - - property String^ mKey - { - String^ get() - { - return gcnew String(this->p_native->mKey.data); - } - void set(String^ value) - { - this->p_native->mKey.Set((char*)System::Runtime::InteropServices::Marshal::StringToHGlobalAnsi(value).ToPointer()); - } - } - - property unsigned int mSemantic - { - unsigned int get() - { - return this->p_native->mSemantic; - } - void set(unsigned int value) - { - this->p_native->mSemantic = value; - } - } - - property PropertyTypeInfo mType - { - PropertyTypeInfo get(){throw gcnew System::NotImplementedException();} - void set(PropertyTypeInfo value){throw gcnew System::NotImplementedException();} - } - - aiMaterialProperty* getNative(); - private: - aiMaterialProperty *p_native; - }; -}//namespace \ No newline at end of file diff --git a/port/Assimp.NET/Assimp.NET/Matrix3x3.cpp b/port/Assimp.NET/Assimp.NET/Matrix3x3.cpp deleted file mode 100644 index bb8b9ea6e..000000000 --- a/port/Assimp.NET/Assimp.NET/Matrix3x3.cpp +++ /dev/null @@ -1,101 +0,0 @@ - -#include "Matrix3x3.h" - -namespace AssimpNET -{ - -Matrix3x3::Matrix3x3(void) -{ - this->p_native = new aiMatrix3x3; -} - -Matrix3x3::Matrix3x3(Matrix4x4^ matrix) -{ - this->p_native = new aiMatrix3x3(*(matrix->getNative())); -} - -Matrix3x3::Matrix3x3( float _a1, float _a2, float _a3, - float _b1, float _b2, float _b3, - float _c1, float _c2, float _c3) -{ - this->p_native = new aiMatrix3x3(_a1, _a2, _a3, _b1, _b2, _b3, _c1, _c2, _c3); -} - -Matrix3x3::Matrix3x3(aiMatrix3x3* native) -{ - this->p_native = native; -} - -Matrix3x3::~Matrix3x3(void) -{ - if(this->p_native) - delete this->p_native; -} - -float Matrix3x3::Determinant() -{ - throw gcnew System::NotImplementedException(); -} - -Matrix3x3^ Matrix3x3::Inverse() -{ - throw gcnew System::NotImplementedException(); -} - -Matrix3x3^ Matrix3x3::Transpose() -{ - throw gcnew System::NotImplementedException(); -} - -bool Matrix3x3::operator != (const Matrix3x3^ m) -{ - throw gcnew System::NotImplementedException(); -} - -bool Matrix3x3::operator == (const Matrix3x3^ m) -{ - throw gcnew System::NotImplementedException(); -} - -Matrix3x3^ Matrix3x3::operator* (const Matrix3x3^ m) -{ - throw gcnew System::NotImplementedException(); -} - -Matrix3x3^ Matrix3x3::operator*= (const Matrix3x3^ m) -{ - throw gcnew System::NotImplementedException(); -} - -float Matrix3x3::operator[](unsigned int i) -{ - throw gcnew System::NotImplementedException(); -} - -Matrix3x3^ Matrix3x3::FromToMatrix(Vector3D^ from, Vector3D^ to, Matrix3x3^ out) -{ - throw gcnew System::NotImplementedException(); -} - -Matrix3x3^ Matrix3x3::Rotation(float a, const Vector3D^ axis, Matrix3x3^ out) -{ - throw gcnew System::NotImplementedException(); -} - -Matrix3x3^ Matrix3x3::RotationZ(float a, Matrix3x3^ out) -{ - throw gcnew System::NotImplementedException(); -} - -Matrix3x3^ Matrix3x3::Translation(const Vector2D^ v, Matrix3x3^ out) -{ - throw gcnew System::NotImplementedException(); -} - -aiMatrix3x3* Matrix3x3::getNative() -{ - return this->p_native; -} - - -}//namespace \ No newline at end of file diff --git a/port/Assimp.NET/Assimp.NET/Matrix3x3.h b/port/Assimp.NET/Assimp.NET/Matrix3x3.h deleted file mode 100644 index 96990308d..000000000 --- a/port/Assimp.NET/Assimp.NET/Matrix3x3.h +++ /dev/null @@ -1,193 +0,0 @@ -/* ---------------------------------------------------------------------------- -Open Asset Import Library (ASSIMP) ---------------------------------------------------------------------------- - -Copyright (c) 2006-2008, ASSIMP Development Team - -All rights reserved. - -Redistribution and use of this software in source and binary forms, -with or without modification, are permitted provided that the following -conditions are met: - - * Redistributions of source code must retain the above - copyright notice, this list of conditions and the - following disclaimer. - - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the - following disclaimer in the documentation and/or other - materials provided with the distribution. - - * Neither the name of the ASSIMP team, nor the names of its - contributors may be used to endorse or promote products - derived from this software without specific prior - written permission of the ASSIMP Development Team. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ---------------------------------------------------------------------------- - */ - -#pragma once - -//managed includes -#include "Vector3D.h" -#include "Vector2D.h" -#include "Matrix4x4.h" - -//native includes -#include "aiVector3D.h" -#include "aiMatrix3x3.h" - -namespace AssimpNET -{ - public ref class Matrix3x3 - { - public: - Matrix3x3(void); - Matrix3x3(Matrix4x4^ matrix); - Matrix3x3( float _a1, float _a2, float _a3, - float _b1, float _b2, float _b3, - float _c1, float _c2, float _c3); - Matrix3x3(aiMatrix3x3* native); - ~Matrix3x3(void); - - float Determinant(); - - Matrix3x3^ Inverse(); - Matrix3x3^ Transpose(); - bool operator != (const Matrix3x3^ m); - bool operator == (const Matrix3x3^ m); - Matrix3x3^ operator* (const Matrix3x3^ m); - Matrix3x3^ operator*= (const Matrix3x3^ m); - float operator[](unsigned int i); - - static Matrix3x3^ FromToMatrix(Vector3D^ from, Vector3D^ to, Matrix3x3^ out); - static Matrix3x3^ Rotation(float a, const Vector3D^ axis, Matrix3x3^ out); - static Matrix3x3^ RotationZ(float a, Matrix3x3^ out); - static Matrix3x3^ Translation(const Vector2D^ v, Matrix3x3^ out); - - property float a1 - { - float get() - { - return this->p_native->a1; - } - void set(float value) - { - this->p_native->a1 = value; - } - } - - property float a2 - { - float get() - { - return this->p_native->a2; - } - void set(float value) - { - this->p_native->a2 = value; - } - } - - property float a3 - { - float get() - { - return this->p_native->a3; - } - void set(float value) - { - this->p_native->a3 = value; - } - } - - property float b1 - { - float get() - { - return this->p_native->b1; - } - void set(float value) - { - this->p_native->b1 = value; - } - } - - property float b2 - { - float get() - { - return this->p_native->b2; - } - void set(float value) - { - this->p_native->b2 = value; - } - } - - property float b3 - { - float get() - { - return this->p_native->b3; - } - void set(float value) - { - this->p_native->b3 = value; - } - } - - property float c1 - { - float get() - { - return this->p_native->c1; - } - void set(float value) - { - this->p_native->c1 = value; - } - } - - property float c2 - { - float get() - { - return this->p_native->c2; - } - void set(float value) - { - this->p_native->c2 = value; - } - } - property float c3 - { - float get() - { - return this->p_native->c3; - } - void set(float value) - { - this->p_native->c3 = value; - } - } - - aiMatrix3x3* getNative(); - private: - aiMatrix3x3 *p_native; - - }; -}//namespace \ No newline at end of file diff --git a/port/Assimp.NET/Assimp.NET/Matrix4x4.cpp b/port/Assimp.NET/Assimp.NET/Matrix4x4.cpp deleted file mode 100644 index 429d23057..000000000 --- a/port/Assimp.NET/Assimp.NET/Matrix4x4.cpp +++ /dev/null @@ -1,144 +0,0 @@ - -#include "Matrix4x4.h" - -namespace AssimpNET -{ - -Matrix4x4::Matrix4x4(void) -{ - this->p_native = new aiMatrix4x4(); -} - -Matrix4x4::Matrix4x4(Matrix3x3^ other) -{ - this->p_native = new aiMatrix4x4(*(other->getNative())); -} - -Matrix4x4::Matrix4x4( 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->p_native = new aiMatrix4x4( _a1, _a2, _a3, _a4, - _b1, _b2, _b3, _b4, - _c1, _c2, _c3, _c4, - _d1, _c2, _d3, _d4); -} - -Matrix4x4::Matrix4x4(aiMatrix4x4* native) -{ - this->p_native = native; -} - -Matrix4x4::~Matrix4x4(void) -{ - if(this->p_native) - delete this->p_native; -} - -void Matrix4x4::Decompose(Vector3D^ scaling, Quaternion^ rotation, Vector3D^ position) -{ - throw gcnew System::NotImplementedException(); -} - -void Matrix4x4::DecomposeNoScaling(Quaternion^ rotation, Vector3D^ position) -{ - throw gcnew System::NotImplementedException(); -} - -float Matrix4x4::Determinant() -{ - throw gcnew System::NotImplementedException(); -} - -void Matrix4x4::FromEulerAnglesXYZ(const Vector3D^ euler) -{ - throw gcnew System::NotImplementedException(); -} - -void Matrix4x4::FromEulerAnglesXYZ(float x, float y, float z) -{ - throw gcnew System::NotImplementedException(); -} - -Matrix4x4^ Matrix4x4::Inverse() -{ - throw gcnew System::NotImplementedException(); -} - -Matrix4x4^ Matrix4x4::Transpose() -{ - throw gcnew System::NotImplementedException(); -} - -bool Matrix4x4::IsIdentity() -{ - throw gcnew System::NotImplementedException(); -} - -bool Matrix4x4::operator != (const Matrix4x4^ m) -{ - throw gcnew System::NotImplementedException(); -} - -bool Matrix4x4::operator == (const Matrix4x4^ m) -{ - throw gcnew System::NotImplementedException(); -} - -Matrix4x4^ Matrix4x4::operator* (const Matrix4x4^ m) -{ - throw gcnew System::NotImplementedException(); -} - -Matrix4x4^ Matrix4x4::operator*= (const Matrix4x4^ m) -{ - throw gcnew System::NotImplementedException(); -} - -float Matrix4x4::operator[](unsigned int i) -{ - throw gcnew System::NotImplementedException(); -} - -Matrix4x4^ Matrix4x4::FromToMatrix (const Vector3D^ from, const Vector3D^ to, Matrix4x4^ out) -{ - throw gcnew System::NotImplementedException(); -} - -Matrix4x4^ Matrix4x4::Rotation (float a, const Vector3D^ axis, Matrix4x4^ out) -{ - throw gcnew System::NotImplementedException(); -} - -Matrix4x4^ Matrix4x4::RotationX (float a, Matrix4x4^ out) -{ - throw gcnew System::NotImplementedException(); -} - -Matrix4x4^ Matrix4x4::RotationY (float a, Matrix4x4^ out) -{ - throw gcnew System::NotImplementedException(); -} - -Matrix4x4^ Matrix4x4::RotationZ (float a, Matrix4x4^ out) -{ - throw gcnew System::NotImplementedException(); -} - -Matrix4x4^ Matrix4x4::Scaling (const Vector3D^ v, Matrix4x4^ out) -{ - throw gcnew System::NotImplementedException(); -} - -Matrix4x4^ Matrix4x4::Translation (const Vector3D^ v, Matrix4x4^ out) -{ - throw gcnew System::NotImplementedException(); -} - -aiMatrix4x4* Matrix4x4::getNative() -{ - return this->p_native; -} - -}//namespace \ No newline at end of file diff --git a/port/Assimp.NET/Assimp.NET/Matrix4x4.h b/port/Assimp.NET/Assimp.NET/Matrix4x4.h deleted file mode 100644 index 6a5400ff1..000000000 --- a/port/Assimp.NET/Assimp.NET/Matrix4x4.h +++ /dev/null @@ -1,287 +0,0 @@ -/* ---------------------------------------------------------------------------- -Open Asset Import Library (ASSIMP) ---------------------------------------------------------------------------- - -Copyright (c) 2006-2008, ASSIMP Development Team - -All rights reserved. - -Redistribution and use of this software in source and binary forms, -with or without modification, are permitted provided that the following -conditions are met: - - * Redistributions of source code must retain the above - copyright notice, this list of conditions and the - following disclaimer. - - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the - following disclaimer in the documentation and/or other - materials provided with the distribution. - - * Neither the name of the ASSIMP team, nor the names of its - contributors may be used to endorse or promote products - derived from this software without specific prior - written permission of the ASSIMP Development Team. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ---------------------------------------------------------------------------- - */ - -#pragma once - -#include "Matrix3x3.h" -#include "Vector3D.h" -#include "Quaternion.h" - -//native includes -#include "aiVector3D.h" -#include "aiMatrix4x4.h" - -namespace AssimpNET -{ - public ref class Matrix4x4 - { - public: - Matrix4x4(void); - Matrix4x4(Matrix3x3^ other); - Matrix4x4( 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); - Matrix4x4(aiMatrix4x4* native); - ~Matrix4x4(void); - - void Decompose(Vector3D^ scaling, Quaternion^ rotation, Vector3D^ position); - void DecomposeNoScaling(Quaternion^ rotation, Vector3D^ position); - float Determinant(); - void FromEulerAnglesXYZ(const Vector3D^ euler); - void FromEulerAnglesXYZ(float x, float y, float z); - Matrix4x4^ Inverse(); - Matrix4x4^ Transpose(); - bool IsIdentity(); - bool operator != (const Matrix4x4^ m); - bool operator == (const Matrix4x4^ m); - Matrix4x4^ operator* (const Matrix4x4^ m); - Matrix4x4^ operator*= (const Matrix4x4^ m); - float operator[](unsigned int i); - - static Matrix4x4^ FromToMatrix (const Vector3D^ from, const Vector3D^ to, Matrix4x4^ out); - static Matrix4x4^ Rotation (float a, const Vector3D^ axis, Matrix4x4^ out); - static Matrix4x4^ RotationX (float a, Matrix4x4^ out); - static Matrix4x4^ RotationY (float a, Matrix4x4^ out); - static Matrix4x4^ RotationZ (float a, Matrix4x4^ out); - static Matrix4x4^ Scaling (const Vector3D^ v, Matrix4x4^ out); - static Matrix4x4^ Translation (const Vector3D^ v, Matrix4x4^ out); - - - - property float a1 - { - float get() - { - return this->p_native->a1; - } - void set(float value) - { - this->p_native->a1 = value; - } - } - - property float a2 - { - float get() - { - return this->p_native->a2; - } - void set(float value) - { - this->p_native->a2 = value; - } - } - - property float a3 - { - float get() - { - return this->p_native->a3; - } - void set(float value) - { - this->p_native->a3 = value; - } - } - - property float a4 - { - float get() - { - return this->p_native->a4; - } - void set(float value) - { - this->p_native->a4 = value; - } - } - - property float b1 - { - float get() - { - return this->p_native->b1; - } - void set(float value) - { - this->p_native->b1 = value; - } - } - - property float b2 - { - float get() - { - return this->p_native->b2; - } - void set(float value) - { - this->p_native->b2 = value; - } - } - - property float b3 - { - float get() - { - return this->p_native->b3; - } - void set(float value) - { - this->p_native->b3 = value; - } - } - - property float b4 - { - float get() - { - return this->p_native->b4; - } - void set(float value) - { - this->p_native->b4 = value; - } - } - - property float c1 - { - float get() - { - return this->p_native->c1; - } - void set(float value) - { - this->p_native->c1 = value; - } - } - - property float c2 - { - float get() - { - return this->p_native->c2; - } - void set(float value) - { - this->p_native->c2 = value; - } - } - - property float c3 - { - float get() - { - return this->p_native->c3; - } - void set(float value) - { - this->p_native->c3 = value; - } - } - - property float c4 - { - float get() - { - return this->p_native->c4; - } - void set(float value) - { - this->p_native->c4 = value; - } - } - - property float d1 - { - float get() - { - return this->p_native->d1; - } - void set(float value) - { - this->p_native->d1 = value; - } - } - - property float d2 - { - float get() - { - return this->p_native->d2; - } - void set(float value) - { - this->p_native->d2 = value; - } - } - - property float d3 - { - float get() - { - return this->p_native->d3; - } - void set(float value) - { - this->p_native->d3 = value; - } - } - - property float d4 - { - float get() - { - return this->p_native->d4; - } - void set(float value) - { - this->p_native->d4 = value; - } - } - - aiMatrix4x4* getNative(); - private: - aiMatrix4x4 *p_native; - - }; -}//namespace \ No newline at end of file diff --git a/port/Assimp.NET/Assimp.NET/Mesh.cpp b/port/Assimp.NET/Assimp.NET/Mesh.cpp deleted file mode 100644 index 3a609bf3c..000000000 --- a/port/Assimp.NET/Assimp.NET/Mesh.cpp +++ /dev/null @@ -1,73 +0,0 @@ - -#include "Mesh.h" - -namespace AssimpNET -{ - -Mesh::Mesh(void) -{ - this->p_native = new aiMesh(); -} - -Mesh::Mesh(aiMesh* native) -{ - this->p_native = native; -} - -Mesh::~Mesh(void) -{ - if(this->p_native) - delete this->p_native; -} - -unsigned int Mesh::GetNumColorChannels() -{ - throw gcnew System::NotImplementedException(); -} - -unsigned int Mesh::GetNumUVChannels() -{ - throw gcnew System::NotImplementedException(); -} - -bool Mesh::HasBones() -{ - throw gcnew System::NotImplementedException(); -} - -bool Mesh::HasFaces() -{ - throw gcnew System::NotImplementedException(); -} - -bool Mesh::HasNormals() -{ - throw gcnew System::NotImplementedException(); -} - -bool Mesh::HasPositions() -{ - throw gcnew System::NotImplementedException(); -} - -bool Mesh::HasTangentsAndBitangents() -{ - throw gcnew System::NotImplementedException(); -} - -bool Mesh::HasTextureCoords() -{ - throw gcnew System::NotImplementedException(); -} - -bool Mesh::HasVertexColors() -{ - throw gcnew System::NotImplementedException(); -} - -aiMesh* Mesh::getNative() -{ - return this->p_native; -} - -}//namespace \ No newline at end of file diff --git a/port/Assimp.NET/Assimp.NET/Mesh.h b/port/Assimp.NET/Assimp.NET/Mesh.h deleted file mode 100644 index a9b0500fb..000000000 --- a/port/Assimp.NET/Assimp.NET/Mesh.h +++ /dev/null @@ -1,201 +0,0 @@ -/* ---------------------------------------------------------------------------- -Open Asset Import Library (ASSIMP) ---------------------------------------------------------------------------- - -Copyright (c) 2006-2008, ASSIMP Development Team - -All rights reserved. - -Redistribution and use of this software in source and binary forms, -with or without modification, are permitted provided that the following -conditions are met: - - * Redistributions of source code must retain the above - copyright notice, this list of conditions and the - following disclaimer. - - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the - following disclaimer in the documentation and/or other - materials provided with the distribution. - - * Neither the name of the ASSIMP team, nor the names of its - contributors may be used to endorse or promote products - derived from this software without specific prior - written permission of the ASSIMP Development Team. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ---------------------------------------------------------------------------- - */ - -#pragma once - -//managed includes -#include "Vector3D.h" -#include "Bone.h" -#include "Color4D.h" -#include "Face.h" - -//native includes -#include "aiMesh.h" - -using namespace System; - -namespace AssimpNET -{ - public ref class Mesh - { - public: - Mesh(void); - Mesh(aiMesh* native); - ~Mesh(void); - - unsigned int GetNumColorChannels(); - unsigned int GetNumUVChannels(); - bool HasBones(); - bool HasFaces(); - bool HasNormals(); - bool HasPositions(); - bool HasTangentsAndBitangents(); - bool HasTextureCoords(); - bool HasVertexColors(); - - property array^ mBitangents - { - array^ get(){throw gcnew System::NotImplementedException();} - void set(array^ value){throw gcnew System::NotImplementedException();} - } - - property array^ mBones - { - array^ get(){throw gcnew System::NotImplementedException();} - void set(array^ value){throw gcnew System::NotImplementedException();} - } - - property array^ mColors - { - array^ get(){throw gcnew System::NotImplementedException();} - void set(array^ value){throw gcnew System::NotImplementedException();} - } - - property array^ mFaces - { - array^ get(){throw gcnew System::NotImplementedException();} - void set(array^ value){throw gcnew System::NotImplementedException();} - } - - property unsigned int mMaterialIndex - { - unsigned int get() - { - return this->p_native->mMaterialIndex; - } - void set(unsigned int value) - { - this->p_native->mMaterialIndex = value; - } - } - - property array^ mNormals - { - array^ get(){throw gcnew System::NotImplementedException();} - void set(array^ value){throw gcnew System::NotImplementedException();} - } - - property unsigned int mNumBones - { - unsigned int get() - { - return this->p_native->mNumBones; - } - void set(unsigned int value) - { - this->p_native->mNumBones = value; - } - } - - property unsigned int mNumFaces - { - unsigned int get() - { - return this->p_native->mNumFaces; - } - void set(unsigned int value) - { - this->p_native->mNumFaces = value; - } - } - - property array^ mNumUVComponents - { - array^get() - { - array^ tmp = gcnew array(AI_MAX_NUMBER_OF_TEXTURECOORDS); - System::Runtime::InteropServices::Marshal::Copy((System::IntPtr)this->p_native->mNumUVComponents,(array^)tmp,0,AI_MAX_NUMBER_OF_TEXTURECOORDS); - return tmp; - } - void set(array^ value) - { - System::Runtime::InteropServices::Marshal::Copy((array^)value,0,(System::IntPtr)this->p_native->mNumUVComponents, AI_MAX_NUMBER_OF_TEXTURECOORDS); - } - } - - property unsigned int mNumVertices - { - unsigned int get() - { - return this->p_native->mNumVertices; - } - void set(unsigned int value) - { - this->p_native->mNumVertices = value; - } - } - - property unsigned int mPrimitveTypes - { - unsigned int get() - { - return this->p_native->mPrimitiveTypes; - } - void set(unsigned int value) - { - this->p_native->mPrimitiveTypes = value; - } - } - - property array^ mTangents - { - array^ get(){throw gcnew System::NotImplementedException();} - void set(array^ value){throw gcnew System::NotImplementedException();} - } - - property array^ mTextureCoords - { - array^ get(){throw gcnew System::NotImplementedException();} - void set(array^ value){throw gcnew System::NotImplementedException();} - } - - property array^ mVertices - { - array^ get(){throw gcnew System::NotImplementedException();} - void set(array^ value){throw gcnew System::NotImplementedException();} - } - - aiMesh* getNative(); - private: - aiMesh *p_native; - - }; -}//namespace \ No newline at end of file diff --git a/port/Assimp.NET/Assimp.NET/Node.cpp b/port/Assimp.NET/Assimp.NET/Node.cpp deleted file mode 100644 index b2dcaa9ab..000000000 --- a/port/Assimp.NET/Assimp.NET/Node.cpp +++ /dev/null @@ -1,38 +0,0 @@ - -#include "Node.h" - -namespace AssimpNET -{ - -Node::Node(void) -{ - this->p_native = new aiNode(); -} - -Node::Node(aiNode* native) -{ - this->p_native = native; -} - -Node::~Node(void) -{ - if(this->p_native) - delete this->p_native; -} - -Node^ Node::findNode(array^ name) -{ - throw gcnew System::NotImplementedException(); -} - -Node^ Node::findNode(const String^ name) -{ - throw gcnew System::NotImplementedException(); -} - -aiNode* Node::getNative() -{ - return this->p_native; -} - -}//namespace \ No newline at end of file diff --git a/port/Assimp.NET/Assimp.NET/Node.h b/port/Assimp.NET/Assimp.NET/Node.h deleted file mode 100644 index fbbfbc6a3..000000000 --- a/port/Assimp.NET/Assimp.NET/Node.h +++ /dev/null @@ -1,149 +0,0 @@ -/* ---------------------------------------------------------------------------- -Open Asset Import Library (ASSIMP) ---------------------------------------------------------------------------- - -Copyright (c) 2006-2008, ASSIMP Development Team - -All rights reserved. - -Redistribution and use of this software in source and binary forms, -with or without modification, are permitted provided that the following -conditions are met: - - * Redistributions of source code must retain the above - copyright notice, this list of conditions and the - following disclaimer. - - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the - following disclaimer in the documentation and/or other - materials provided with the distribution. - - * Neither the name of the ASSIMP team, nor the names of its - contributors may be used to endorse or promote products - derived from this software without specific prior - written permission of the ASSIMP Development Team. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ---------------------------------------------------------------------------- - */ - -#pragma once - -//managed includes -#include "Matrix4x4.h" - -//native inclueds -#include "aiScene.h" - -using namespace System; - -namespace AssimpNET -{ - public ref class Node - { - public: - Node(void); - Node(aiNode* native); - ~Node(void); - - Node^ findNode(array^ name); - Node^ findNode(const String^ name); - - property array^ mChildren - { - array^ get(){throw gcnew System::NotImplementedException();} - void set(array^ value){throw gcnew System::NotImplementedException();} - } - - property array^ mMeshes - { - array^ get() - { - array^ tmp = gcnew array(this->p_native->mNumMeshes); - System::Runtime::InteropServices::Marshal::Copy((System::IntPtr)this->p_native->mMeshes,(array^)tmp,0,this->p_native->mNumMeshes); - return tmp; - } - void set(array^ value) - { - System::Runtime::InteropServices::Marshal::Copy((array^)value,0,(System::IntPtr)this->p_native->mMeshes,this->p_native->mNumMeshes); - } - } - - property String^ mName - { - String^ get() - { - return gcnew String(this->p_native->mName.data); - } - void set(String^ value) - { - this->p_native->mName.Set((char*)System::Runtime::InteropServices::Marshal::StringToHGlobalAnsi(value).ToPointer()); - } - } - - property unsigned int mNumChildren - { - unsigned int get() - { - return this->p_native->mNumChildren; - } - void set(unsigned int value) - { - this->p_native->mNumChildren = value; - } - } - - property unsigned int mNumMeshes - { - unsigned int get() - { - return this->p_native->mNumMeshes; - } - void set(unsigned int value) - { - this->p_native->mNumMeshes = value; - } - } - - property Matrix4x4^ mTransformation - { - Matrix4x4^ get() - { - return gcnew Matrix4x4(&this->p_native->mTransformation); - } - void set(Matrix4x4^ value) - { - this->p_native->mTransformation = aiMatrix4x4(*value->getNative()); - } - } - - property Node^ mParent - { - Node^ get() - { - return gcnew Node(this->p_native->mParent); - } - void set(Node^ value) - { - this->p_native->mParent = new aiNode(*value->getNative()); - } - } - - aiNode* getNative(); - private: - aiNode *p_native; - - }; -}//namespace \ No newline at end of file diff --git a/port/Assimp.NET/Assimp.NET/NodeAnim.cpp b/port/Assimp.NET/Assimp.NET/NodeAnim.cpp deleted file mode 100644 index e0cfd8f11..000000000 --- a/port/Assimp.NET/Assimp.NET/NodeAnim.cpp +++ /dev/null @@ -1,28 +0,0 @@ - -#include "NodeAnim.h" - -namespace AssimpNET -{ - -NodeAnim::NodeAnim(void) -{ - this->p_native = new aiNodeAnim(); -} - -NodeAnim::NodeAnim(aiNodeAnim* native) -{ - this->p_native = native; -} - -NodeAnim::~NodeAnim(void) -{ - if(this->p_native) - delete this->p_native; -} - -aiNodeAnim* NodeAnim::getNative() -{ - return this->p_native; -} - -}//namespace \ No newline at end of file diff --git a/port/Assimp.NET/Assimp.NET/NodeAnim.h b/port/Assimp.NET/Assimp.NET/NodeAnim.h deleted file mode 100644 index b6abd7506..000000000 --- a/port/Assimp.NET/Assimp.NET/NodeAnim.h +++ /dev/null @@ -1,154 +0,0 @@ -/* ---------------------------------------------------------------------------- -Open Asset Import Library (ASSIMP) ---------------------------------------------------------------------------- - -Copyright (c) 2006-2008, ASSIMP Development Team - -All rights reserved. - -Redistribution and use of this software in source and binary forms, -with or without modification, are permitted provided that the following -conditions are met: - - * Redistributions of source code must retain the above - copyright notice, this list of conditions and the - following disclaimer. - - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the - following disclaimer in the documentation and/or other - materials provided with the distribution. - - * Neither the name of the ASSIMP team, nor the names of its - contributors may be used to endorse or promote products - derived from this software without specific prior - written permission of the ASSIMP Development Team. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ---------------------------------------------------------------------------- - */ - -#pragma once - -//managend includes -#include "VectorKey.h" -#include "QuatKey.h" - -//native includes -#include "aiAnim.h" - -using namespace System; - -namespace AssimpNET -{ - public enum AnimBehaviour - { - aiAnimBehaviour_DEFAULT = 0x0, - aiAnimBehaviour_CONSTANT = 0x1, - aiAnimBehaviour_LINEAR = 0x2, - aiAnimBehaviour_REPEAT = 0x3, - _aiAnimBehaviour_Force32Bit = 0x8fffffff - }; - - public ref class NodeAnim - { - public: - NodeAnim(void); - NodeAnim(aiNodeAnim* native); - ~NodeAnim(void); - - property String^ mNodeName - { - String^ get() - { - return gcnew String(this->p_native->mNodeName.data); - } - void set(String^ value) - { - this->p_native->mNodeName.Set((char*)System::Runtime::InteropServices::Marshal::StringToHGlobalAnsi(value).ToPointer()); - } - } - - property unsigned int mNumPositionKeys - { - unsigned int get() - { - return this->p_native->mNumPositionKeys; - } - void set(unsigned int value) - { - this->p_native->mNumPositionKeys = value; - } - } - - property unsigned int mNumRotationKeys - { - unsigned int get() - { - return this->p_native->mNumRotationKeys; - } - void set(unsigned int value) - { - this->p_native->mNumRotationKeys = value; - } - } - - property unsigned int mNumScalingKeys - { - unsigned int get() - { - return this->p_native->mNumScalingKeys; - } - void set(unsigned int value) - { - this->p_native->mNumScalingKeys = value; - } - } - - property array^ mPositionKeys - { - array^ get(){throw gcnew System::NotImplementedException();} - void set(array^ value){throw gcnew System::NotImplementedException();} - } - - property AnimBehaviour mPosState - { - AnimBehaviour get(){throw gcnew System::NotImplementedException();} - void set(AnimBehaviour value){throw gcnew System::NotImplementedException();} - } - - property AnimBehaviour mPreState - { - AnimBehaviour get(){throw gcnew System::NotImplementedException();} - void set(AnimBehaviour value){throw gcnew System::NotImplementedException();} - } - - property array^ mRotationKeys - { - array^ get(){throw gcnew System::NotImplementedException();} - void set(array^ value){throw gcnew System::NotImplementedException();} - } - - property array^ mScalingKeys - { - array^ get(){throw gcnew System::NotImplementedException();} - void set(array^ value){throw gcnew System::NotImplementedException();} - } - - aiNodeAnim* getNative(); - private: - aiNodeAnim *p_native; - - }; -}//namespace \ No newline at end of file diff --git a/port/Assimp.NET/Assimp.NET/PostProcessing.cpp b/port/Assimp.NET/Assimp.NET/PostProcessing.cpp deleted file mode 100644 index 1052fa69a..000000000 --- a/port/Assimp.NET/Assimp.NET/PostProcessing.cpp +++ /dev/null @@ -1,15 +0,0 @@ - -#include "PostProcessing.h" - -namespace AssimpNET -{ - -PostProcessing::PostProcessing(void) -{ -} - -PostProcessing::~PostProcessing(void) -{ -} - -}//namespace \ No newline at end of file diff --git a/port/Assimp.NET/Assimp.NET/PostProcessing.h b/port/Assimp.NET/Assimp.NET/PostProcessing.h deleted file mode 100644 index 7f4c89d18..000000000 --- a/port/Assimp.NET/Assimp.NET/PostProcessing.h +++ /dev/null @@ -1,52 +0,0 @@ -/* ---------------------------------------------------------------------------- -Open Asset Import Library (ASSIMP) ---------------------------------------------------------------------------- - -Copyright (c) 2006-2008, ASSIMP Development Team - -All rights reserved. - -Redistribution and use of this software in source and binary forms, -with or without modification, are permitted provided that the following -conditions are met: - - * Redistributions of source code must retain the above - copyright notice, this list of conditions and the - following disclaimer. - - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the - following disclaimer in the documentation and/or other - materials provided with the distribution. - - * Neither the name of the ASSIMP team, nor the names of its - contributors may be used to endorse or promote products - derived from this software without specific prior - written permission of the ASSIMP Development Team. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ---------------------------------------------------------------------------- - */ - -#pragma once - -namespace AssimpNET -{ - ref class PostProcessing - { - public: - PostProcessing(void); - ~PostProcessing(void); - }; -}//namespace \ No newline at end of file diff --git a/port/Assimp.NET/Assimp.NET/QuatKey.cpp b/port/Assimp.NET/Assimp.NET/QuatKey.cpp deleted file mode 100644 index 6db361068..000000000 --- a/port/Assimp.NET/Assimp.NET/QuatKey.cpp +++ /dev/null @@ -1,52 +0,0 @@ -#include "QuatKey.h" - -namespace AssimpNET -{ - -QuatKey::QuatKey(void) -{ - this->p_native = new aiQuatKey(); -} - -QuatKey::QuatKey(double time, Quaternion% value) -{ - this->p_native = new aiQuatKey(time, *(value.getNative())); -} - -QuatKey::QuatKey(aiQuatKey* native) -{ - this->p_native = native; -} - -QuatKey::~QuatKey() -{ - if(this->p_native) - delete this->p_native; -} - -bool QuatKey::operator != (const QuatKey^ o) -{ - throw gcnew System::NotImplementedException(); -} - -bool QuatKey::operator < (const QuatKey^ o) -{ - throw gcnew System::NotImplementedException(); -} - -bool QuatKey::operator == (const QuatKey^ o) -{ - throw gcnew System::NotImplementedException(); -} - -bool QuatKey::operator > (const QuatKey^ o) -{ - throw gcnew System::NotImplementedException(); -} - -aiQuatKey* QuatKey::getNative() -{ - return this->p_native; -} - -} \ No newline at end of file diff --git a/port/Assimp.NET/Assimp.NET/QuatKey.h b/port/Assimp.NET/Assimp.NET/QuatKey.h deleted file mode 100644 index 421b53e01..000000000 --- a/port/Assimp.NET/Assimp.NET/QuatKey.h +++ /dev/null @@ -1,95 +0,0 @@ -/* ---------------------------------------------------------------------------- -Open Asset Import Library (ASSIMP) ---------------------------------------------------------------------------- - -Copyright (c) 2006-2008, ASSIMP Development Team - -All rights reserved. - -Redistribution and use of this software in source and binary forms, -with or without modification, are permitted provided that the following -conditions are met: - - * Redistributions of source code must retain the above - copyright notice, this list of conditions and the - following disclaimer. - - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the - following disclaimer in the documentation and/or other - materials provided with the distribution. - - * Neither the name of the ASSIMP team, nor the names of its - contributors may be used to endorse or promote products - derived from this software without specific prior - written permission of the ASSIMP Development Team. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ---------------------------------------------------------------------------- - */ - -#pragma once - -//managend includes -#include "Quaternion.h" - -//native includes -#include "aiAnim.h" - -using namespace System; - -namespace AssimpNET -{ - public ref struct QuatKey - { - public: - QuatKey(); - QuatKey(double time, Quaternion% value); - QuatKey(aiQuatKey* native); - ~QuatKey(); - - bool operator != (const QuatKey^ o); - bool operator < (const QuatKey^ o); - bool operator == (const QuatKey^ o); - bool operator > (const QuatKey^ o); - - property double mTime - { - double get() - { - return this->p_native->mTime; - } - void set(double value) - { - this->p_native->mTime = value; - } - } - - property Quaternion^ mValue - { - Quaternion^ get() - { - return gcnew Quaternion(&this->p_native->mValue); - } - void set(Quaternion^ value) - { - this->p_native->mValue = aiQuaternion(*value->getNative()); - } - } - - aiQuatKey* getNative(); - private: - aiQuatKey *p_native; - }; -} \ No newline at end of file diff --git a/port/Assimp.NET/Assimp.NET/Quaternion.cpp b/port/Assimp.NET/Assimp.NET/Quaternion.cpp deleted file mode 100644 index 7a008226d..000000000 --- a/port/Assimp.NET/Assimp.NET/Quaternion.cpp +++ /dev/null @@ -1,94 +0,0 @@ - -#include "Quaternion.h" -#include "Matrix3x3.h" - -namespace AssimpNET -{ - -Quaternion::Quaternion(void) -{ - this->p_native = new aiQuaternion(); -} - -Quaternion::Quaternion(Vector3D^ normalized) -{ - this->p_native = new aiQuaternion(*(normalized->getNative())); -} - -Quaternion::Quaternion(Vector3D^ axis, float angle) -{ - this->p_native = new aiQuaternion(*(axis->getNative()), angle); -} - -Quaternion::Quaternion(float rotx, float roty, float rotz) -{ - this->p_native = new aiQuaternion(rotx, roty, rotz); -} - -Quaternion::Quaternion(Matrix3x3^ rotMatrix) -{ - this->p_native = new aiQuaternion((*rotMatrix->getNative())); -} - -Quaternion::Quaternion(float _w, float _x, float _y, float _z) -{ - this->p_native = new aiQuaternion(_w, _x, _y, _z); -} - -Quaternion::Quaternion(aiQuaternion* native) -{ - this->p_native = native; -} - -Quaternion::~Quaternion(void) -{ - if(this->p_native) - delete this->p_native; -} - -Quaternion^ Quaternion::Conjugate() -{ - throw gcnew System::NotImplementedException(); -} - -Matrix3x3^ Quaternion::GetMatrix() -{ - throw gcnew System::NotImplementedException(); -} - -Quaternion^ Quaternion::Nomalize() -{ - throw gcnew System::NotImplementedException(); -} - -bool Quaternion::operator != (const Quaternion^ q) -{ - throw gcnew System::NotImplementedException(); -} - -bool Quaternion::operator == (const Quaternion^ q) -{ - throw gcnew System::NotImplementedException(); -} - -Quaternion^ Quaternion::operator* (const Quaternion^ q) -{ - throw gcnew System::NotImplementedException(); -} - -Vector3D^ Quaternion::Rotate(const Vector3D^ in) -{ - throw gcnew System::NotImplementedException(); -} - -void Quaternion::Interpolate(Quaternion^ pOut, const Quaternion^ pStart, const Quaternion^ pEnd, float factor) -{ - throw gcnew System::NotImplementedException(); -} - -aiQuaternion* Quaternion::getNative() -{ - return this->p_native; -} - -}//namespace \ No newline at end of file diff --git a/port/Assimp.NET/Assimp.NET/Quaternion.h b/port/Assimp.NET/Assimp.NET/Quaternion.h deleted file mode 100644 index a86ccc577..000000000 --- a/port/Assimp.NET/Assimp.NET/Quaternion.h +++ /dev/null @@ -1,133 +0,0 @@ -/* ---------------------------------------------------------------------------- -Open Asset Import Library (ASSIMP) ---------------------------------------------------------------------------- - -Copyright (c) 2006-2008, ASSIMP Development Team - -All rights reserved. - -Redistribution and use of this software in source and binary forms, -with or without modification, are permitted provided that the following -conditions are met: - - * Redistributions of source code must retain the above - copyright notice, this list of conditions and the - following disclaimer. - - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the - following disclaimer in the documentation and/or other - materials provided with the distribution. - - * Neither the name of the ASSIMP team, nor the names of its - contributors may be used to endorse or promote products - derived from this software without specific prior - written permission of the ASSIMP Development Team. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ---------------------------------------------------------------------------- - */ - -#pragma once - -//managed includes -#include "Vector3D.h" - -//native includes -#include "aiTypes.h" -#include "aiQuaternion.h" - - -using namespace System; - -namespace AssimpNET -{ - ref class Matrix3x3; - - public ref class Quaternion - { - public: - Quaternion(void); - Quaternion(Vector3D^ normalized); - Quaternion(Vector3D^ axis, float angle); - Quaternion(float rotx, float roty, float rotz); - Quaternion(Matrix3x3^ rotMatrix); - Quaternion(float _w, float _x, float _y, float _z); - Quaternion(aiQuaternion* native); - ~Quaternion(void); - - Quaternion^ Conjugate(); - Matrix3x3^ GetMatrix(); - Quaternion^ Nomalize(); - bool operator != (const Quaternion^ q); - bool operator == (const Quaternion^ q); - Quaternion^ operator* (const Quaternion^ q); - Vector3D^ Rotate(const Vector3D^ in); - - static void Interpolate(Quaternion^ pOut, const Quaternion^ pStart, const Quaternion^ pEnd, float factor); - - property float x - { - float get() - { - return this->p_native->x; - } - void set(float value) - { - this->p_native->x = value; - } - } - - property float y - { - float get() - { - return this->p_native->y; - } - void set(float value) - { - this->p_native->y = value; - } - } - - property float z - { - float get() - { - return this->p_native->z; - } - void set(float value) - { - this->p_native->z = value; - } - } - - property float w - { - float get() - { - return this->p_native->w; - } - void set(float value) - { - this->p_native->w = value; - } - } - - aiQuaternion* getNative(); - private: - aiQuaternion *p_native; - - }; -}//namespace \ No newline at end of file diff --git a/port/Assimp.NET/Assimp.NET/Scene.cpp b/port/Assimp.NET/Assimp.NET/Scene.cpp deleted file mode 100644 index 83fb79ae4..000000000 --- a/port/Assimp.NET/Assimp.NET/Scene.cpp +++ /dev/null @@ -1,58 +0,0 @@ - -#include "Scene.h" - -namespace AssimpNET -{ - -Scene::Scene(void) -{ - this->p_native = new aiScene(); -} - -Scene::Scene(aiScene* native) -{ - this->p_native = native; -} - -Scene::~Scene(void) -{ - if(this->p_native) - delete this->p_native; -} - -bool Scene::HasAnimations() -{ - throw gcnew System::NotImplementedException(); -} - -bool Scene::HasCameras() -{ - throw gcnew System::NotImplementedException(); -} - -bool Scene::HasLights() -{ - throw gcnew System::NotImplementedException(); -} - -bool Scene::HasMaterials() -{ - throw gcnew System::NotImplementedException(); -} - -bool Scene::HasMeshes() -{ - throw gcnew System::NotImplementedException(); -} - -bool Scene::HasTextures() -{ - throw gcnew System::NotImplementedException(); -} - -aiScene* Scene::getNative() -{ - return this->p_native; -} - -}//namespace \ No newline at end of file diff --git a/port/Assimp.NET/Assimp.NET/Scene.h b/port/Assimp.NET/Assimp.NET/Scene.h deleted file mode 100644 index 6a2ec7e20..000000000 --- a/port/Assimp.NET/Assimp.NET/Scene.h +++ /dev/null @@ -1,200 +0,0 @@ -/* ---------------------------------------------------------------------------- -Open Asset Import Library (ASSIMP) ---------------------------------------------------------------------------- - -Copyright (c) 2006-2008, ASSIMP Development Team - -All rights reserved. - -Redistribution and use of this software in source and binary forms, -with or without modification, are permitted provided that the following -conditions are met: - - * Redistributions of source code must retain the above - copyright notice, this list of conditions and the - following disclaimer. - - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the - following disclaimer in the documentation and/or other - materials provided with the distribution. - - * Neither the name of the ASSIMP team, nor the names of its - contributors may be used to endorse or promote products - derived from this software without specific prior - written permission of the ASSIMP Development Team. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ---------------------------------------------------------------------------- - */ - -#pragma once - -//managend includes -#include "Animation.h" -#include "Camera.h" -#include "Light.h" -#include "Material.h" -#include "Mesh.h" -#include "Node.h" -#include "Texture.h" - -//native includes -#include "aiScene.h" - - -using namespace System; - -namespace AssimpNET -{ - public ref class Scene - { - public: - Scene(void); - Scene(aiScene* native); - ~Scene(void); - - bool HasAnimations(); - bool HasCameras(); - bool HasLights(); - bool HasMaterials(); - bool HasMeshes(); - bool HasTextures(); - - property array^ mAnimations - { - array^ get(){throw gcnew System::NotImplementedException();} - void set(array^ value){throw gcnew System::NotImplementedException();} - } - property array^ mCameras - { - array^ get(){throw gcnew System::NotImplementedException();} - void set(array^ value){throw gcnew System::NotImplementedException();} - } - property unsigned int mFlags - { - unsigned int get() - { - return this->p_native->mFlags; - } - void set(unsigned int value) - { - this->p_native->mFlags = value; - } - } - property array^ mLights - { - array^ get(){throw gcnew System::NotImplementedException();} - void set(array^ value){throw gcnew System::NotImplementedException();} - } - property array^ mMaterials - { - array^ get(){throw gcnew System::NotImplementedException();} - void set(array^ value){throw gcnew System::NotImplementedException();} - } - property array^ mMeshes - { - array^ get(){throw gcnew System::NotImplementedException();} - void set(array^ value){throw gcnew System::NotImplementedException();} - } - property unsigned int mNumAnimations - { - unsigned int get() - { - return this->p_native->mNumAnimations; - } - void set(unsigned int value) - { - this->p_native->mNumAnimations = value; - } - } - property unsigned int mNumCameras - { - unsigned int get() - { - return this->p_native->mNumCameras; - } - void set(unsigned int value) - { - this->p_native->mNumCameras = value; - } - } - property unsigned int mNumLights - { - unsigned int get() - { - return this->p_native->mNumLights; - } - void set(unsigned int value) - { - this->p_native->mNumLights = value; - } - } - property unsigned int mNumMaterials - { - unsigned int get() - { - return this->p_native->mNumMaterials; - } - void set(unsigned int value) - { - this->p_native->mNumMaterials = value; - } - } - property unsigned int mNumMeshes - { - unsigned int get() - { - return this->p_native->mNumMeshes; - } - void set(unsigned int value) - { - this->p_native->mNumMeshes = value; - } - } - property unsigned int mNumTextures - { - unsigned int get() - { - return this->p_native->mNumTextures; - } - void set(unsigned int value) - { - this->p_native->mNumTextures = value; - } - } - property Node^ mRootNode - { - Node^ get() - { - return gcnew Node(this->p_native->mRootNode); - } - void set(Node^ value) - { - //this->p_native->mRootNode = new aiNode(value->getNative()); - this->p_native->mRootNode = value->getNative(); - } - } - property array^ mTextures - { - array^ get(){throw gcnew System::NotImplementedException();} - void set(array^ value){throw gcnew System::NotImplementedException();} - } - - aiScene* getNative(); - private: - aiScene *p_native; - - }; -}//namespace \ No newline at end of file diff --git a/port/Assimp.NET/Assimp.NET/Texel.cpp b/port/Assimp.NET/Assimp.NET/Texel.cpp deleted file mode 100644 index b0a48ee23..000000000 --- a/port/Assimp.NET/Assimp.NET/Texel.cpp +++ /dev/null @@ -1,43 +0,0 @@ - -#include "Texel.h" - -namespace AssimpNET -{ - -Texel::Texel(void) -{ - this->p_native = new aiTexel(); -} - -Texel::Texel(aiTexel* native) -{ - this->p_native = native; -} - -Texel::~Texel(void) -{ - if(this->p_native) - delete this->p_native; -} - -Texel::operator Color4D() -{ - throw gcnew System::NotImplementedException(); -} - -bool Texel::operator != (const Texel^ t) -{ - throw gcnew System::NotImplementedException(); -} - -bool Texel::operator == (const Texel^ t) -{ - throw gcnew System::NotImplementedException(); -} - -aiTexel* Texel::getNative() -{ - return this->p_native; -} - -} diff --git a/port/Assimp.NET/Assimp.NET/Texel.h b/port/Assimp.NET/Assimp.NET/Texel.h deleted file mode 100644 index 4c3246806..000000000 --- a/port/Assimp.NET/Assimp.NET/Texel.h +++ /dev/null @@ -1,78 +0,0 @@ -#pragma once - -//managend includes -#include "Color4D.h" - -//native includes -#include "aiTexture.h" - -using namespace System; - -namespace AssimpNET -{ - -public ref class Texel -{ - public: - Texel(void); - Texel(aiTexel* native); - ~Texel(void); - - operator Color4D(); - bool operator != (const Texel^ t); - bool operator == (const Texel^ t); - - property unsigned char a - { - unsigned char get() - { - return this->p_native->a; - } - void set(unsigned char value) - { - this->p_native->a = value; - } - } - - property unsigned char r - { - unsigned char get() - { - return this->p_native->r; - } - void set(unsigned char value) - { - this->p_native->r = value; - } - } - - property unsigned char g - { - unsigned char get() - { - return this->p_native->g; - } - void set(unsigned char value) - { - this->p_native->g = value; - } - } - - property unsigned char b - { - unsigned char get() - { - return this->p_native->b; - } - void set(unsigned char value) - { - this->p_native->b = value; - } - } - - aiTexel* getNative(); - private: - aiTexel *p_native; -}; - -}//namespace diff --git a/port/Assimp.NET/Assimp.NET/Texture.cpp b/port/Assimp.NET/Assimp.NET/Texture.cpp deleted file mode 100644 index 02ab00f77..000000000 --- a/port/Assimp.NET/Assimp.NET/Texture.cpp +++ /dev/null @@ -1,33 +0,0 @@ - -#include "Texture.h" - -namespace AssimpNET -{ - -Texture::Texture(void) -{ - this->p_native = new aiTexture(); -} - -Texture::Texture(aiTexture* native) -{ - this->p_native = native; -} - -Texture::~Texture(void) -{ - if(this->p_native) - delete this->p_native; -} - -bool Texture::CheckFormat(array^ s) -{ - throw gcnew System::NotImplementedException(); -} - -aiTexture* Texture::getNative() -{ - return this->p_native; -} - -}//namespace \ No newline at end of file diff --git a/port/Assimp.NET/Assimp.NET/Texture.h b/port/Assimp.NET/Assimp.NET/Texture.h deleted file mode 100644 index 37a311b2e..000000000 --- a/port/Assimp.NET/Assimp.NET/Texture.h +++ /dev/null @@ -1,163 +0,0 @@ -/* ---------------------------------------------------------------------------- -Open Asset Import Library (ASSIMP) ---------------------------------------------------------------------------- - -Copyright (c) 2006-2008, ASSIMP Development Team - -All rights reserved. - -Redistribution and use of this software in source and binary forms, -with or without modification, are permitted provided that the following -conditions are met: - - * Redistributions of source code must retain the above - copyright notice, this list of conditions and the - following disclaimer. - - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the - following disclaimer in the documentation and/or other - materials provided with the distribution. - - * Neither the name of the ASSIMP team, nor the names of its - contributors may be used to endorse or promote products - derived from this software without specific prior - written permission of the ASSIMP Development Team. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ---------------------------------------------------------------------------- - */ - -#pragma once - -//managend includes -#include "Texel.h" - -//native includs -#include "aiTexture.h" - -using namespace System; - -namespace AssimpNET -{ - - public enum TextureType - { - aiTextureType_NONE, - aiTextureType_DIFFUSE, - aiTextureType_SPECULAR, - aiTextureType_AMBIENT, - aiTextureType_EMISSIVE, - aiTextureType_HEIGHT, - aiTextureType_NORMALS, - aiTextureType_SHININESS, - aiTextureType_OPACITY, - aiTextureType_DISPLACEMENT, - aiTextureType_LIGHTMAP, - aiTextureType_REFLECTION, - aiTextureType_UNKNOWN - }; - - public enum TextureMapping - { - aiTextureMapping_UV, - aiTextureMapping_SPHERE, - aiTextureMapping_CYLINDER, - aiTextureMapping_BOX, - aiTextureMapping_PLANE, - aiTextureMapping_OTHER - }; - - public enum TextureOP - { - aiTextureOp_Multiply, - aiTextureOp_Add, - aiTextureOp_Subtract, - aiTextureOp_Divide, - aiTextureOp_SmoothAdd, - aiTextureOp_SignedAdd - }; - - public enum TextureMapMode - { - TextureMapMode_Wrap, - TextureMapMode_Clamp, - TextureMapMode_Decal, - TextureMapMode_Mirror - }; - - public ref class Texture - { - public: - Texture(void); - Texture(aiTexture* native); - ~Texture(void); - - bool CheckFormat(array^ s); - - property array^ achFormatHint - { - array^ get() - { - array^ tmp = array(); - System::Runtime::InteropServices::Marshal::Copy((System::IntPtr)this->p_native->achFormatHint,(array^)tmp,0,4); - return tmp; - } - void set(array^ value) - { - System::Runtime::InteropServices::Marshal::Copy((array^)value,0,(System::IntPtr)this->p_native->achFormatHint,4); - } - } - - property unsigned int mHeight - { - unsigned int get() - { - return this->p_native->mHeight; - } - void set(unsigned int value) - { - this->p_native->mHeight = value; - } - } - - property unsigned int mWidth - { - unsigned int get() - { - return this->p_native->mWidth; - } - void set(unsigned int value) - { - this->p_native->mWidth = value; - } - } - - property Texel^ pcData - { - Texel^ get() - { - return gcnew Texel(this->p_native->pcData); - } - void set(Texel^ value) - { - this->p_native->pcData = new aiTexel(*value->getNative()); - } - } - - aiTexture* getNative(); - private: - aiTexture *p_native; - }; -}//namespace \ No newline at end of file diff --git a/port/Assimp.NET/Assimp.NET/Vector2D.cpp b/port/Assimp.NET/Assimp.NET/Vector2D.cpp deleted file mode 100644 index 30c9fa189..000000000 --- a/port/Assimp.NET/Assimp.NET/Vector2D.cpp +++ /dev/null @@ -1,109 +0,0 @@ - -#include "Vector2D.h" - -namespace AssimpNET -{ - -Vector2D::Vector2D(void) -{ - this->p_native = new aiVector2D(); -} - -Vector2D::Vector2D(Vector2D% o) -{ - this->p_native = new aiVector2D(*(o.getNative())); -} - -Vector2D::Vector2D(float _xy) -{ - this->p_native = new aiVector2D(_xy); -} - -Vector2D::Vector2D(float _x, float _y) -{ - this->p_native = new aiVector2D(_x, _y); -} - -Vector2D::Vector2D(aiVector2D* native) -{ - this->p_native = native; -} - -Vector2D::~Vector2D(void) -{ - if(this->p_native) - delete this->p_native; -} - -float Vector2D::Length() -{ - throw gcnew System::NotImplementedException(); -} - -Vector2D^ Vector2D::Normalize() -{ - throw gcnew System::NotImplementedException(); -} - -bool Vector2D::operator!= (const Vector2D^ other) -{ - throw gcnew System::NotImplementedException(); -} - -Vector2D^ Vector2D::operator*= (float f) -{ - throw gcnew System::NotImplementedException(); -} - -Vector2D^ Vector2D::operator+= (const Vector2D^ o) -{ - throw gcnew System::NotImplementedException(); -} - -Vector2D^ Vector2D::operator-= (const Vector2D^ o) -{ - throw gcnew System::NotImplementedException(); -} - -Vector2D^ Vector2D::operator/= (float f) -{ - throw gcnew System::NotImplementedException(); -} - -Vector2D^ Vector2D::operator= (float f) -{ - throw gcnew System::NotImplementedException(); -} - -bool Vector2D::operator== (const Vector2D^ other) -{ - throw gcnew System::NotImplementedException(); -} - -float Vector2D::operator[] (unsigned int i) -{ - throw gcnew System::NotImplementedException(); -} - -void Vector2D::Set(float pX, float pY) -{ - throw gcnew System::NotImplementedException(); -} - -float Vector2D::SquareLength() -{ - throw gcnew System::NotImplementedException(); -} - -Vector2D^ Vector2D::SymMul(const Vector2D^ o) -{ - throw gcnew System::NotImplementedException(); -} - -aiVector2D* Vector2D::getNative() -{ - return this->p_native; -} - - -} \ No newline at end of file diff --git a/port/Assimp.NET/Assimp.NET/Vector2D.h b/port/Assimp.NET/Assimp.NET/Vector2D.h deleted file mode 100644 index f8a0bf6ba..000000000 --- a/port/Assimp.NET/Assimp.NET/Vector2D.h +++ /dev/null @@ -1,102 +0,0 @@ -/* ---------------------------------------------------------------------------- -Open Asset Import Library (ASSIMP) ---------------------------------------------------------------------------- - -Copyright (c) 2006-2008, ASSIMP Development Team - -All rights reserved. - -Redistribution and use of this software in source and binary forms, -with or without modification, are permitted provided that the following -conditions are met: - - * Redistributions of source code must retain the above - copyright notice, this list of conditions and the - following disclaimer. - - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the - following disclaimer in the documentation and/or other - materials provided with the distribution. - - * Neither the name of the ASSIMP team, nor the names of its - contributors may be used to endorse or promote products - derived from this software without specific prior - written permission of the ASSIMP Development Team. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ---------------------------------------------------------------------------- - */ - -#pragma once - -//native includes -#include "aiTypes.h" - -namespace AssimpNET -{ - - public ref class Vector2D - { - public: - Vector2D(void); - Vector2D(Vector2D% o); - Vector2D(float _xy); - Vector2D(float _x, float _y); - Vector2D(aiVector2D* native); - ~Vector2D(void); - float Length(); - Vector2D^ Normalize(); - bool operator!= (const Vector2D^ other); - Vector2D^ operator*= (float f); - Vector2D^ operator+= (const Vector2D^ o); - Vector2D^ operator-= (const Vector2D^ o); - Vector2D^ operator/= (float f); - Vector2D^ operator= (float f); - bool operator== (const Vector2D^ other); - float operator[] (unsigned int i); - void Set(float pX, float pY); - float SquareLength(); - Vector2D^ SymMul(const Vector2D^ o); - - property float x - { - float get() - { - return this->p_native->x; - } - void set(float value) - { - this->p_native->x = value; - } - } - - property float y - { - float get() - { - return this->p_native->y; - } - void set(float value) - { - this->p_native->x = value; - } - } - - aiVector2D* getNative(); - private: - aiVector2D *p_native; - }; - -}//namespace diff --git a/port/Assimp.NET/Assimp.NET/Vector3D.cpp b/port/Assimp.NET/Assimp.NET/Vector3D.cpp deleted file mode 100644 index ad0be509f..000000000 --- a/port/Assimp.NET/Assimp.NET/Vector3D.cpp +++ /dev/null @@ -1,113 +0,0 @@ - -#include "Vector3D.h" - -namespace AssimpNET -{ - -Vector3D::Vector3D(void) -{ - this->p_native = new aiVector3D(); -} - -Vector3D::Vector3D(Vector3D% o) -{ - this->p_native = new aiVector3D(*(o.getNative())); -} - -Vector3D::Vector3D(float _xyz) -{ - this->p_native = new aiVector3D(_xyz); -} - -Vector3D::Vector3D(float _x, float _y, float _z) -{ - this->p_native = new aiVector3D(_x, _y, _z); -} - -Vector3D::Vector3D(aiVector3D* native) -{ - this->p_native = native; -} - -Vector3D::~Vector3D(void) -{ - if(this->p_native) - delete this->p_native; -} - -float Vector3D::Length() -{ - throw gcnew System::NotImplementedException(); -} - -Vector3D^ Vector3D::Normalize() -{ - throw gcnew System::NotImplementedException(); -} - -bool Vector3D::operator!= (const Vector3D^ other) -{ - throw gcnew System::NotImplementedException(); -} - -Vector3D^ Vector3D::operator*= (const Matrix4x4^ mat) -{ - throw gcnew System::NotImplementedException(); -} - -Vector3D^ Vector3D::operator*= (const Matrix3x3^ mat) -{ - throw gcnew System::NotImplementedException(); -} - -Vector3D^ Vector3D::operator*= (float f) -{ - throw gcnew System::NotImplementedException(); -} - -Vector3D^ Vector3D::operator+= (const Vector3D^ o) -{ - throw gcnew System::NotImplementedException(); -} - -Vector3D^ Vector3D::operator-= (const Vector3D^ o) -{ - throw gcnew System::NotImplementedException(); -} - -Vector3D^ Vector3D::operator/= (float f) -{ - throw gcnew System::NotImplementedException(); -} - -bool Vector3D::operator== (const Vector3D^ other) -{ - throw gcnew System::NotImplementedException(); -} - -float Vector3D::operator[] (unsigned int i) -{ - throw gcnew System::NotImplementedException(); -} - -void Vector3D::Set (float pX, float pY, float pZ) -{ - throw gcnew System::NotImplementedException(); -} - -float Vector3D::SquareLength() -{ - throw gcnew System::NotImplementedException(); -} - -Vector3D^ Vector3D::SymMul(const Vector3D^ o) -{ - throw gcnew System::NotImplementedException(); -} - -aiVector3D* Vector3D::getNative() -{ - return this->p_native; -} - -} \ No newline at end of file diff --git a/port/Assimp.NET/Assimp.NET/Vector3D.h b/port/Assimp.NET/Assimp.NET/Vector3D.h deleted file mode 100644 index 0780a108c..000000000 --- a/port/Assimp.NET/Assimp.NET/Vector3D.h +++ /dev/null @@ -1,118 +0,0 @@ -/* ---------------------------------------------------------------------------- -Open Asset Import Library (ASSIMP) ---------------------------------------------------------------------------- - -Copyright (c) 2006-2008, ASSIMP Development Team - -All rights reserved. - -Redistribution and use of this software in source and binary forms, -with or without modification, are permitted provided that the following -conditions are met: - - * Redistributions of source code must retain the above - copyright notice, this list of conditions and the - following disclaimer. - - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the - following disclaimer in the documentation and/or other - materials provided with the distribution. - - * Neither the name of the ASSIMP team, nor the names of its - contributors may be used to endorse or promote products - derived from this software without specific prior - written permission of the ASSIMP Development Team. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ---------------------------------------------------------------------------- - */ - -#pragma once - -//native includes -#include "aiTypes.h" - -using namespace System; - -namespace AssimpNET -{ - ref class Matrix3x3; - ref class Matrix4x4; - public ref class Vector3D - { - public: - Vector3D(void); - Vector3D(Vector3D% o); - Vector3D(float _xyz); - Vector3D(float _x, float _y, float _z); - Vector3D(aiVector3D* native); - ~Vector3D(void); - float Length(); - Vector3D^ Normalize(); - bool operator!= (const Vector3D^ other); - Vector3D^ operator*= (const Matrix4x4^ mat); - Vector3D^ operator*= (const Matrix3x3^ mat); - Vector3D^ operator*= (float f); - Vector3D^ operator+= (const Vector3D^ o); - Vector3D^ operator-= (const Vector3D^ o); - Vector3D^ operator/= (float f); - bool operator== (const Vector3D^ other); - float operator[] (unsigned int i); - void Set (float pX, float pY, float pZ); - float SquareLength(); - Vector3D^ SymMul(const Vector3D^ o); - - property float x - { - float get() - { - return this->p_native->x; - } - void set(float value) - { - this->p_native->x = value; - } - } - - property float y - { - float get() - { - return this->p_native->y; - } - void set(float value) - { - this->p_native->y = value; - } - } - - property float z - { - float get() - { - return this->p_native->z; - } - void set(float value) - { - this->p_native->z = value; - } - } - - aiVector3D* getNative(); - private: - aiVector3D *p_native; - - }; -}//namespace diff --git a/port/Assimp.NET/Assimp.NET/VectorKey.cpp b/port/Assimp.NET/Assimp.NET/VectorKey.cpp deleted file mode 100644 index 3d17608c3..000000000 --- a/port/Assimp.NET/Assimp.NET/VectorKey.cpp +++ /dev/null @@ -1,53 +0,0 @@ - -#include "VectorKey.h" - -namespace AssimpNET -{ - -VectorKey::VectorKey(void) -{ - this->p_native = new aiVectorKey(); -} - -VectorKey::VectorKey(double time, Vector3D^ value) -{ - this->p_native = new aiVectorKey(time, *(value->getNative())); -} - -VectorKey::VectorKey(aiVectorKey* native) -{ - this->p_native = native; -} - -VectorKey::~VectorKey(void) -{ - if(this->p_native) - delete this->p_native; -} - -bool VectorKey::operator != (const VectorKey^ o) -{ - throw gcnew System::NotImplementedException(); -} - -bool VectorKey::operator < (const VectorKey^ o) -{ - throw gcnew System::NotImplementedException(); -} - -bool VectorKey::operator == (const VectorKey^ o) -{ - throw gcnew System::NotImplementedException(); -} - -bool VectorKey::operator > (const VectorKey^ o) -{ - throw gcnew System::NotImplementedException(); -} - -aiVectorKey* VectorKey::getNative() -{ - return this->p_native; -} - -} diff --git a/port/Assimp.NET/Assimp.NET/VectorKey.h b/port/Assimp.NET/Assimp.NET/VectorKey.h deleted file mode 100644 index 4e76e1a7b..000000000 --- a/port/Assimp.NET/Assimp.NET/VectorKey.h +++ /dev/null @@ -1,96 +0,0 @@ -/* ---------------------------------------------------------------------------- -Open Asset Import Library (ASSIMP) ---------------------------------------------------------------------------- - -Copyright (c) 2006-2008, ASSIMP Development Team - -All rights reserved. - -Redistribution and use of this software in source and binary forms, -with or without modification, are permitted provided that the following -conditions are met: - - * Redistributions of source code must retain the above - copyright notice, this list of conditions and the - following disclaimer. - - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the - following disclaimer in the documentation and/or other - materials provided with the distribution. - - * Neither the name of the ASSIMP team, nor the names of its - contributors may be used to endorse or promote products - derived from this software without specific prior - written permission of the ASSIMP Development Team. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ---------------------------------------------------------------------------- - */ - -#pragma once - -//managend includes -#include "Vector3D.h" - -//native includes -#include "aiAnim.h" - -using namespace System; - -namespace AssimpNET -{ - - public ref struct VectorKey - { - public: - VectorKey(); - VectorKey(double time, Vector3D^ value); - VectorKey(aiVectorKey* native); - ~VectorKey(void); - - bool operator != (const VectorKey^ o); - bool operator < (const VectorKey^ o); - bool operator == (const VectorKey^ o); - bool operator > (const VectorKey^ o); - - property double mTime - { - double get() - { - return this->p_native->mTime; - } - void set(double value) - { - this->p_native->mTime = value; - } - } - - property Vector3D^ mValue - { - Vector3D^ get() - { - return gcnew Vector3D(&this->p_native->mValue); - } - void set(Vector3D^ value) - { - this->p_native->mValue = aiVector3D(*value->getNative()); - } - } - - aiVectorKey* getNative(); - private: - aiVectorKey *p_native; - }; -} \ No newline at end of file diff --git a/port/Assimp.NET/Assimp.NET/VertexWeight.cpp b/port/Assimp.NET/Assimp.NET/VertexWeight.cpp deleted file mode 100644 index 588590179..000000000 --- a/port/Assimp.NET/Assimp.NET/VertexWeight.cpp +++ /dev/null @@ -1,33 +0,0 @@ - -#include "VertexWeight.h" - -namespace AssimpNET -{ - -VertexWeight::VertexWeight(void) -{ - this->p_native = new aiVertexWeight(); -} - -VertexWeight::VertexWeight(unsigned int pID, float pWeight) -{ - this->p_native = new aiVertexWeight(pID, pWeight); -} - -VertexWeight::VertexWeight(aiVertexWeight *native) -{ - this->p_native = native; -} - -VertexWeight::~VertexWeight(void) -{ - if(this->p_native) - delete this->p_native; -} - -aiVertexWeight* VertexWeight::getNative() -{ - return this->p_native; -} - -}//namespace diff --git a/port/Assimp.NET/Assimp.NET/VertexWeight.h b/port/Assimp.NET/Assimp.NET/VertexWeight.h deleted file mode 100644 index 94fa6fffc..000000000 --- a/port/Assimp.NET/Assimp.NET/VertexWeight.h +++ /dev/null @@ -1,89 +0,0 @@ -/* ---------------------------------------------------------------------------- -Open Asset Import Library (ASSIMP) ---------------------------------------------------------------------------- - -Copyright (c) 2006-2008, ASSIMP Development Team - -All rights reserved. - -Redistribution and use of this software in source and binary forms, -with or without modification, are permitted provided that the following -conditions are met: - - * Redistributions of source code must retain the above - copyright notice, this list of conditions and the - following disclaimer. - - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the - following disclaimer in the documentation and/or other - materials provided with the distribution. - - * Neither the name of the ASSIMP team, nor the names of its - contributors may be used to endorse or promote products - derived from this software without specific prior - written permission of the ASSIMP Development Team. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ---------------------------------------------------------------------------- - */ - -#pragma once - - -//native includes -#include "aiMesh.h" - -using namespace System; - -namespace AssimpNET -{ - public ref class VertexWeight - { - public: - VertexWeight(void); - VertexWeight(unsigned int pID, float pWeight); - VertexWeight(aiVertexWeight* native); - ~VertexWeight(void); - - property unsigned int mVertexId - { - unsigned int get() - { - return this->p_native->mVertexId; - } - void set(unsigned int value) - { - this->p_native->mVertexId = value; - } - } - - property float mWeight - { - float get() - { - return this->p_native->mWeight; - } - void set(float value) - { - this->p_native->mWeight = value; - } - } - - aiVertexWeight* getNative(); - private: - aiVertexWeight *p_native; - }; - -}//namespace diff --git a/port/Assimp.NET/Assimp.NET/mDefaultLogger.h b/port/Assimp.NET/Assimp.NET/mDefaultLogger.h deleted file mode 100644 index 4d9d61dcb..000000000 --- a/port/Assimp.NET/Assimp.NET/mDefaultLogger.h +++ /dev/null @@ -1,76 +0,0 @@ -/* ---------------------------------------------------------------------------- -Open Asset Import Library (ASSIMP) ---------------------------------------------------------------------------- - -Copyright (c) 2006-2008, ASSIMP Development Team - -All rights reserved. - -Redistribution and use of this software in source and binary forms, -with or without modification, are permitted provided that the following -conditions are met: - - * Redistributions of source code must retain the above - copyright notice, this list of conditions and the - following disclaimer. - - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the - following disclaimer in the documentation and/or other - materials provided with the distribution. - - * Neither the name of the ASSIMP team, nor the names of its - contributors may be used to endorse or promote products - derived from this software without specific prior - written permission of the ASSIMP Development Team. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ---------------------------------------------------------------------------- - */ - -#pragma once - -//Managed Includes -#include "mLogger.h" -#include "mLogStream.h" -#include "mIOSystem.h" - -//native includes -#include "DefaultLogger.h" - -using namespace System; - -namespace AssimpNET -{ - public ref class DefaultLogger abstract : Logger - { - public: - DefaultLogger(void); - DefaultLogger(Assimp::DefaultLogger* native); - ~DefaultLogger(void); - - virtual bool attachStream(LogStream^ stream, unsigned int severity) override; - virtual bool detachStream(LogStream^ stream, unsigned int severity) override; - - static Logger^ create(const String^ name, LogSeverity severity, unsigned int defStream, IOSystem^ io); - static Logger^ get(); - static bool isNullLogger(); - static void kill(); - static void set(Logger^ logger); - - Assimp::DefaultLogger* getNative(); - private: - Assimp::DefaultLogger* p_native; - }; -}//namespace \ No newline at end of file diff --git a/port/Assimp.NET/Assimp.NET/mIOStream.h b/port/Assimp.NET/Assimp.NET/mIOStream.h deleted file mode 100644 index f7d4244d8..000000000 --- a/port/Assimp.NET/Assimp.NET/mIOStream.h +++ /dev/null @@ -1,66 +0,0 @@ -/* ---------------------------------------------------------------------------- -Open Asset Import Library (ASSIMP) ---------------------------------------------------------------------------- - -Copyright (c) 2006-2008, ASSIMP Development Team - -All rights reserved. - -Redistribution and use of this software in source and binary forms, -with or without modification, are permitted provided that the following -conditions are met: - - * Redistributions of source code must retain the above - copyright notice, this list of conditions and the - following disclaimer. - - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the - following disclaimer in the documentation and/or other - materials provided with the distribution. - - * Neither the name of the ASSIMP team, nor the names of its - contributors may be used to endorse or promote products - derived from this software without specific prior - written permission of the ASSIMP Development Team. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ---------------------------------------------------------------------------- - */ - -#pragma once - -#include "Enums.h" - -using namespace System; - -namespace AssimpNET -{ - public ref class IOStream abstract - { - public: - - virtual ~IOStream(void); - - virtual size_t FileSize() = 0; - virtual void Flush() = 0; - virtual size_t Read(Object ^Buffer, size_t Size, size_t Count) = 0; - virtual aiReturn Seek(size_t Offset, aiOrigin Origin) = 0; - virtual size_t Tell()= 0; - virtual size_t Write( Object ^Buffer, size_t Size, size_t Count) = 0; - - protected: - IOStream(void); - }; -}//namespace \ No newline at end of file diff --git a/port/Assimp.NET/Assimp.NET/mIOSystem.h b/port/Assimp.NET/Assimp.NET/mIOSystem.h deleted file mode 100644 index 359e816d8..000000000 --- a/port/Assimp.NET/Assimp.NET/mIOSystem.h +++ /dev/null @@ -1,78 +0,0 @@ -/* ---------------------------------------------------------------------------- -Open Asset Import Library (ASSIMP) ---------------------------------------------------------------------------- - -Copyright (c) 2006-2008, ASSIMP Development Team - -All rights reserved. - -Redistribution and use of this software in source and binary forms, -with or without modification, are permitted provided that the following -conditions are met: - - * Redistributions of source code must retain the above - copyright notice, this list of conditions and the - following disclaimer. - - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the - following disclaimer in the documentation and/or other - materials provided with the distribution. - - * Neither the name of the ASSIMP team, nor the names of its - contributors may be used to endorse or promote products - derived from this software without specific prior - written permission of the ASSIMP Development Team. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ---------------------------------------------------------------------------- - */ - -#pragma once - -//managed includes -#include "mIOStream.h" - -//native includes -#include "IOSystem.h" - -using namespace System; - -namespace AssimpNET -{ - public ref class IOSystem abstract - { - public: - IOSystem(void); - IOSystem(Assimp::IOSystem* native); - virtual ~IOSystem(void); - - virtual void Close (IOStream^ pFile) = 0; - bool ComparePaths (const String^ one, const String^ second); - virtual bool ComparePaths (array^ one, array^ second); - virtual bool Exists(array^ pFile) = 0; - bool Exists(const String^ pFile); - virtual char getOsSeperator() = 0; - IOStream^ Open(const String^ pFile, const String^ pMode); - virtual IOStream^ Open(array^ pFile, array^ pMode) = 0; - - Assimp::IOSystem* getNative(); - private: - Assimp::IOSystem *p_native; - }; -}//namespace - - - - diff --git a/port/Assimp.NET/Assimp.NET/mLogStream.h b/port/Assimp.NET/Assimp.NET/mLogStream.h deleted file mode 100644 index 7f5acc5df..000000000 --- a/port/Assimp.NET/Assimp.NET/mLogStream.h +++ /dev/null @@ -1,80 +0,0 @@ -/* ---------------------------------------------------------------------------- -Open Asset Import Library (ASSIMP) ---------------------------------------------------------------------------- - -Copyright (c) 2006-2008, ASSIMP Development Team - -All rights reserved. - -Redistribution and use of this software in source and binary forms, -with or without modification, are permitted provided that the following -conditions are met: - - * Redistributions of source code must retain the above - copyright notice, this list of conditions and the - following disclaimer. - - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the - following disclaimer in the documentation and/or other - materials provided with the distribution. - - * Neither the name of the ASSIMP team, nor the names of its - contributors may be used to endorse or promote products - derived from this software without specific prior - written permission of the ASSIMP Development Team. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ---------------------------------------------------------------------------- - */ - -#pragma once - -//managned includes -#include "mIOSystem.h" - -//native includes -#include "LogStream.h" - -using namespace System; - -namespace AssimpNET -{ - - enum DefaulLogStreams - { - DLS_FILE, - DLS_COUT, - DLS_CERR, - DLS_DEBUGGER - }; - - - public ref class LogStream abstract - { - public: - virtual ~LogStream(void); - virtual void write(array^ message) = 0; - - static LogStream^ createDefaultStream(DefaulLogStreams streams, array^ name, IOSystem^ io); - - protected: - LogStream(void); - LogStream(Assimp::LogStream* native); - - Assimp::LogStream* getNative(); - private: - Assimp::LogStream *p_native; - }; -}//namespace \ No newline at end of file diff --git a/port/Assimp.NET/Assimp.NET/mLogger.h b/port/Assimp.NET/Assimp.NET/mLogger.h deleted file mode 100644 index 9d57198a1..000000000 --- a/port/Assimp.NET/Assimp.NET/mLogger.h +++ /dev/null @@ -1,94 +0,0 @@ -/* ---------------------------------------------------------------------------- -Open Asset Import Library (ASSIMP) ---------------------------------------------------------------------------- - -Copyright (c) 2006-2008, ASSIMP Development Team - -All rights reserved. - -Redistribution and use of this software in source and binary forms, -with or without modification, are permitted provided that the following -conditions are met: - - * Redistributions of source code must retain the above - copyright notice, this list of conditions and the - following disclaimer. - - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the - following disclaimer in the documentation and/or other - materials provided with the distribution. - - * Neither the name of the ASSIMP team, nor the names of its - contributors may be used to endorse or promote products - derived from this software without specific prior - written permission of the ASSIMP Development Team. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ---------------------------------------------------------------------------- - */ - -#pragma once - -//managed includes -#include "mLogStream.h" - -//native includes -#include "Logger.h" - -using namespace System; - -namespace AssimpNET -{ - public enum LogSeverity - { - NORMAL, - VERBOSE, - }; - - public ref class Logger abstract - { - public: - ~Logger(void); - - virtual bool attachStream(LogStream^ stream, unsigned int severity) = 0; - void debug (const String^ message); - virtual bool detachStream(LogStream^ stream, unsigned int severity) = 0; - void error(const String^ message); - LogSeverity getLogSeverity(); - void info(const String^ message); - void setLogSverity(LogSeverity log_severity); - void warn(const String^ message); - - protected: - Logger(LogSeverity); - Logger(Assimp::Logger* native); - Logger(); - virtual void OnDebug(array^ message) = 0; - virtual void OnError(array^ message) = 0; - virtual void OnInfo(array^ message) = 0; - virtual void OnWarn(array^ message) = 0; - - property LogSeverity m_Severity - { - LogSeverity get(){throw gcnew System::NotImplementedException();} - void set(LogSeverity value){throw gcnew System::NotImplementedException();} - } - - Assimp::Logger* getNative(); - private: - Assimp::Logger *p_native; - - }; -}//namespace \ No newline at end of file diff --git a/port/Assimp.NET/AssimpNetDemo/AssimpNetDemo.csproj b/port/Assimp.NET/AssimpNetDemo/AssimpNetDemo.csproj deleted file mode 100644 index 7f8894a14..000000000 --- a/port/Assimp.NET/AssimpNetDemo/AssimpNetDemo.csproj +++ /dev/null @@ -1,91 +0,0 @@ - - - - Debug - AnyCPU - 9.0.21022 - 2.0 - {76085EBB-B11E-4C2B-82C7-47A781D2B4BE} - WinExe - Properties - AssimpNetDemo - AssimpNetDemp - v3.5 - 512 - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - 3.5 - - - 3.5 - - - 3.5 - - - - - - - - - - Form - - - Form1.cs - - - - - Form1.cs - Designer - - - ResXFileCodeGenerator - Resources.Designer.cs - Designer - - - True - Resources.resx - True - - - SettingsSingleFileGenerator - Settings.Designer.cs - - - True - Settings.settings - True - - - - - \ No newline at end of file diff --git a/port/Assimp.NET/AssimpNetDemo/Form1.Designer.cs b/port/Assimp.NET/AssimpNetDemo/Form1.Designer.cs deleted file mode 100644 index 8235bc2f5..000000000 --- a/port/Assimp.NET/AssimpNetDemo/Form1.Designer.cs +++ /dev/null @@ -1,47 +0,0 @@ -namespace AssimpNetDemo -{ - partial class Form1 - { - /// - /// Erforderliche Designervariable. - /// - private System.ComponentModel.IContainer components = null; - - /// - /// Verwendete Ressourcen bereinigen. - /// - /// True, wenn verwaltete Ressourcen gelöscht werden sollen; andernfalls False. - protected override void Dispose(bool disposing) - { - if (disposing && (components != null)) - { - components.Dispose(); - } - base.Dispose(disposing); - } - - #region Vom Windows Form-Designer generierter Code - - /// - /// Erforderliche Methode für die Designerunterstützung. - /// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden. - /// - private void InitializeComponent() - { - this.SuspendLayout(); - // - // Form1 - // - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(556, 459); - this.Name = "Form1"; - this.Text = "Form1"; - this.ResumeLayout(false); - - } - - #endregion - } -} - diff --git a/port/Assimp.NET/AssimpNetDemo/Form1.cs b/port/Assimp.NET/AssimpNetDemo/Form1.cs deleted file mode 100644 index 1af790c22..000000000 --- a/port/Assimp.NET/AssimpNetDemo/Form1.cs +++ /dev/null @@ -1,19 +0,0 @@ -using System; -using System.Collections.Generic; -using System.ComponentModel; -using System.Data; -using System.Drawing; -using System.Linq; -using System.Text; -using System.Windows.Forms; - -namespace AssimpNetDemo -{ - public partial class Form1 : Form - { - public Form1() - { - InitializeComponent(); - } - } -} diff --git a/port/Assimp.NET/AssimpNetDemo/Form1.resx b/port/Assimp.NET/AssimpNetDemo/Form1.resx deleted file mode 100644 index ff31a6db5..000000000 --- a/port/Assimp.NET/AssimpNetDemo/Form1.resx +++ /dev/null @@ -1,120 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - \ No newline at end of file diff --git a/port/Assimp.NET/AssimpNetDemo/Program.cs b/port/Assimp.NET/AssimpNetDemo/Program.cs deleted file mode 100644 index 8199d9525..000000000 --- a/port/Assimp.NET/AssimpNetDemo/Program.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Windows.Forms; - -namespace AssimpNetDemo -{ - static class Program - { - /// - /// Der Haupteinstiegspunkt für die Anwendung. - /// - [STAThread] - static void Main() - { - Application.EnableVisualStyles(); - Application.SetCompatibleTextRenderingDefault(false); - Application.Run(new Form1()); - } - } -} diff --git a/port/Assimp.NET/AssimpNetDemo/Properties/AssemblyInfo.cs b/port/Assimp.NET/AssimpNetDemo/Properties/AssemblyInfo.cs deleted file mode 100644 index dffefb8ed..000000000 --- a/port/Assimp.NET/AssimpNetDemo/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// Allgemeine Informationen über eine Assembly werden über die folgenden -// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern, -// die mit einer Assembly verknüpft sind. -[assembly: AssemblyTitle("AssimpNetDemp")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("AssimpNetDemp")] -[assembly: AssemblyCopyright("Copyright © 2009")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Durch Festlegen von ComVisible auf "false" werden die Typen in dieser Assembly unsichtbar -// für COM-Komponenten. Wenn Sie auf einen Typ in dieser Assembly von -// COM zugreifen müssen, legen Sie das ComVisible-Attribut für diesen Typ auf "true" fest. -[assembly: ComVisible(false)] - -// Die folgende GUID bestimmt die ID der Typbibliothek, wenn dieses Projekt für COM verfügbar gemacht wird -[assembly: Guid("27baad60-1e13-4a85-a324-1b7e5ea93169")] - -// Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten: -// -// Hauptversion -// Nebenversion -// Buildnummer -// Revision -// -// Sie können alle Werte angeben oder die standardmäßigen Build- und Revisionsnummern -// übernehmen, indem Sie "*" eingeben: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/port/Assimp.NET/AssimpNetDemo/Properties/Resources.Designer.cs b/port/Assimp.NET/AssimpNetDemo/Properties/Resources.Designer.cs deleted file mode 100644 index 4b8bc1a05..000000000 --- a/port/Assimp.NET/AssimpNetDemo/Properties/Resources.Designer.cs +++ /dev/null @@ -1,63 +0,0 @@ -//------------------------------------------------------------------------------ -// -// Dieser Code wurde von einem Tool generiert. -// Laufzeitversion:2.0.50727.1434 -// -// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn -// der Code erneut generiert wird. -// -//------------------------------------------------------------------------------ - -namespace AssimpNetDemo.Properties { - using System; - - - /// - /// Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw. - /// - // Diese Klasse wurde von der StronglyTypedResourceBuilder automatisch generiert - // -Klasse über ein Tool wie ResGen oder Visual Studio automatisch generiert. - // Um einen Member hinzuzufügen oder zu entfernen, bearbeiten Sie die .ResX-Datei und führen dann ResGen - // mit der /str-Option erneut aus, oder Sie erstellen Ihr VS-Projekt neu. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "2.0.0.0")] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class Resources { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal Resources() { - } - - /// - /// Gibt die zwischengespeicherte ResourceManager-Instanz zurück, die von dieser Klasse verwendet wird. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { - get { - if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("AssimpNetDemo.Properties.Resources", typeof(Resources).Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// Überschreibt die CurrentUICulture-Eigenschaft des aktuellen Threads für alle - /// Ressourcenzuordnungen, die diese stark typisierte Ressourcenklasse verwenden. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - } -} diff --git a/port/Assimp.NET/AssimpNetDemo/Properties/Resources.resx b/port/Assimp.NET/AssimpNetDemo/Properties/Resources.resx deleted file mode 100644 index ffecec851..000000000 --- a/port/Assimp.NET/AssimpNetDemo/Properties/Resources.resx +++ /dev/null @@ -1,117 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - \ No newline at end of file diff --git a/port/Assimp.NET/AssimpNetDemo/Properties/Settings.Designer.cs b/port/Assimp.NET/AssimpNetDemo/Properties/Settings.Designer.cs deleted file mode 100644 index 391722fa0..000000000 --- a/port/Assimp.NET/AssimpNetDemo/Properties/Settings.Designer.cs +++ /dev/null @@ -1,26 +0,0 @@ -//------------------------------------------------------------------------------ -// -// Dieser Code wurde von einem Tool generiert. -// Laufzeitversion:2.0.50727.1434 -// -// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn -// der Code erneut generiert wird. -// -//------------------------------------------------------------------------------ - -namespace AssimpNetDemo.Properties { - - - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "9.0.0.0")] - internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { - - private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); - - public static Settings Default { - get { - return defaultInstance; - } - } - } -} diff --git a/port/Assimp.NET/AssimpNetDemo/Properties/Settings.settings b/port/Assimp.NET/AssimpNetDemo/Properties/Settings.settings deleted file mode 100644 index abf36c5d3..000000000 --- a/port/Assimp.NET/AssimpNetDemo/Properties/Settings.settings +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - -