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
pull/1/head
rave3d 2010-03-01 20:53:37 +00:00
parent df13041f42
commit 2a540119c5
76 changed files with 0 additions and 6719 deletions

View File

@ -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

View File

@ -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

View File

@ -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<NodeAnim^>^ mAnimChannels
{
array<NodeAnim^>^ get()
{
throw gcnew System::NotImplementedException();
}
void set(array<NodeAnim^>^ 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

View File

@ -1,434 +0,0 @@
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
ProjectType="Visual C++"
Version="9,00"
Name="Assimp.NET"
ProjectGUID="{4922D7BD-5E7A-44DD-BC1D-7F6F0BD82894}"
RootNamespace="AssimpNET"
Keyword="ManagedCProj"
TargetFrameworkVersion="196613"
>
<Platforms>
<Platform
Name="Win32"
/>
</Platforms>
<ToolFiles>
</ToolFiles>
<Configurations>
<Configuration
Name="Debug|Win32"
OutputDirectory="..\..\..\bin\$(ProjectName)_$(ConfigurationName)_$(PlatformName)"
IntermediateDirectory="..\..\..\obj\$(ProjectName)_$(ConfigurationName)_$(PlatformName)"
ConfigurationType="2"
CharacterSet="1"
ManagedExtensions="1"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
/>
<Tool
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories="..\..\..\include"
PreprocessorDefinitions="WIN32;_DEBUG"
RuntimeLibrary="3"
WarningLevel="3"
DebugInformationFormat="3"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="assimp.lib $(NOINHERIT)"
LinkIncremental="2"
AdditionalLibraryDirectories="..\..\..\lib\assimp_$(ConfigurationName)_$(PlatformName)"
GenerateDebugInformation="true"
AssemblyDebug="1"
TargetMachine="1"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
<Configuration
Name="Release|Win32"
OutputDirectory="..\..\..\lib\$(ProjectName)_$(ConfigurationName)_$(PlatformName)"
IntermediateDirectory="..\..\..\obj\$(ProjectName)_$(ConfigurationName)_$(PlatformName)"
ConfigurationType="1"
CharacterSet="1"
ManagedExtensions="1"
WholeProgramOptimization="1"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
/>
<Tool
Name="VCCLCompilerTool"
PreprocessorDefinitions="WIN32;NDEBUG"
RuntimeLibrary="2"
WarningLevel="3"
DebugInformationFormat="3"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="$(NoInherit)"
LinkIncremental="1"
GenerateDebugInformation="true"
TargetMachine="1"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
</Configurations>
<References>
<AssemblyReference
RelativePath="System.dll"
AssemblyName="System, Version=2.0.0.0, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"
MinFrameworkVersion="131072"
/>
</References>
<Files>
<Filter
Name="Quelldateien"
Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
>
<File
RelativePath=".\Animation.cpp"
>
</File>
<File
RelativePath=".\Bone.cpp"
>
</File>
<File
RelativePath=".\Camera.cpp"
>
</File>
<File
RelativePath=".\Color3D.cpp"
>
</File>
<File
RelativePath=".\Color4D.cpp"
>
</File>
<File
RelativePath=".\DefaultLogger.cpp"
>
</File>
<File
RelativePath=".\Face.cpp"
>
</File>
<File
RelativePath=".\Importer.cpp"
>
</File>
<File
RelativePath=".\IOStream.cpp"
>
</File>
<File
RelativePath=".\IOSystem.cpp"
>
</File>
<File
RelativePath=".\Light.cpp"
>
</File>
<File
RelativePath=".\Logger.cpp"
>
</File>
<File
RelativePath=".\LogStream.cpp"
>
</File>
<File
RelativePath=".\Material.cpp"
>
</File>
<File
RelativePath=".\MaterialProperty.cpp"
>
</File>
<File
RelativePath=".\Matrix3x3.cpp"
>
</File>
<File
RelativePath=".\Matrix4x4.cpp"
>
</File>
<File
RelativePath=".\Mesh.cpp"
>
</File>
<File
RelativePath=".\Node.cpp"
>
</File>
<File
RelativePath=".\NodeAnim.cpp"
>
</File>
<File
RelativePath=".\PostProcessing.cpp"
>
</File>
<File
RelativePath=".\Quaternion.cpp"
>
</File>
<File
RelativePath=".\QuatKey.cpp"
>
</File>
<File
RelativePath=".\Scene.cpp"
>
</File>
<File
RelativePath=".\Texel.cpp"
>
</File>
<File
RelativePath=".\Texture.cpp"
>
</File>
<File
RelativePath=".\Vector2D.cpp"
>
</File>
<File
RelativePath=".\Vector3D.cpp"
>
</File>
<File
RelativePath=".\VectorKey.cpp"
>
</File>
<File
RelativePath=".\VertexWeight.cpp"
>
</File>
</Filter>
<Filter
Name="Headerdateien"
Filter="h;hpp;hxx;hm;inl;inc;xsd"
UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
>
<File
RelativePath=".\Animation.h"
>
</File>
<File
RelativePath=".\Bone.h"
>
</File>
<File
RelativePath=".\Camera.h"
>
</File>
<File
RelativePath=".\Color3D.h"
>
</File>
<File
RelativePath=".\Color4D.h"
>
</File>
<File
RelativePath=".\Enums.h"
>
</File>
<File
RelativePath=".\Face.h"
>
</File>
<File
RelativePath=".\Importer.h"
>
</File>
<File
RelativePath=".\Light.h"
>
</File>
<File
RelativePath=".\Material.h"
>
</File>
<File
RelativePath=".\MaterialProperty.h"
>
</File>
<File
RelativePath=".\Matrix3x3.h"
>
</File>
<File
RelativePath=".\Matrix4x4.h"
>
</File>
<File
RelativePath=".\mDefaultLogger.h"
>
</File>
<File
RelativePath=".\Mesh.h"
>
</File>
<File
RelativePath=".\mIOStream.h"
>
</File>
<File
RelativePath=".\mIOSystem.h"
>
</File>
<File
RelativePath=".\mLogger.h"
>
</File>
<File
RelativePath=".\mLogStream.h"
>
</File>
<File
RelativePath=".\Node.h"
>
</File>
<File
RelativePath=".\NodeAnim.h"
>
</File>
<File
RelativePath=".\PostProcessing.h"
>
</File>
<File
RelativePath=".\Quaternion.h"
>
</File>
<File
RelativePath=".\QuatKey.h"
>
</File>
<File
RelativePath=".\Scene.h"
>
</File>
<File
RelativePath=".\Texel.h"
>
</File>
<File
RelativePath=".\Texture.h"
>
</File>
<File
RelativePath=".\Vector2D.h"
>
</File>
<File
RelativePath=".\Vector3D.h"
>
</File>
<File
RelativePath=".\VectorKey.h"
>
</File>
<File
RelativePath=".\VertexWeight.h"
>
</File>
</Filter>
<Filter
Name="Ressourcendateien"
Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
>
</Filter>
</Files>
<Globals>
</Globals>
</VisualStudioProject>

View File

@ -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

View File

@ -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<VertexWeight^>^ mWeights
{
array<VertexWeight^>^ get(){throw gcnew System::NotImplementedException();}
void set(array<VertexWeight^>^ value){throw gcnew System::NotImplementedException();}
}
aiBone* getNative();
private:
aiBone *p_native;
};
}//namespace

View File

@ -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

View File

@ -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

View File

@ -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;
}
}

View File

@ -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;
};
}

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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
};
}

View File

@ -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

View File

@ -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<unsigned int>^ mIndices
{
array<unsigned int>^ get()
{
array<unsigned int>^ tmp = gcnew array<unsigned int>(this->p_native->mNumIndices);
System::Runtime::InteropServices::Marshal::Copy((System::IntPtr)this->p_native->mIndices, (array<int>^)tmp, 0, tmp->Length);
return tmp;
}
void set(array<unsigned int>^ value)
{
System::Runtime::InteropServices::Marshal::Copy((array<int>^)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

View File

@ -1,15 +0,0 @@
#include "mIOStream.h"
namespace AssimpNET
{
IOStream::IOStream(void)
{
}
IOStream::~IOStream(void)
{
}
}//namespace

View File

@ -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<char>^ one, array<char>^ 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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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<char>^ name, IOSystem^ io)
{
throw gcnew System::NotImplementedException();
}
Assimp::LogStream* LogStream::getNative()
{
return this->p_native;
}
}//namespace

View File

@ -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

View File

@ -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

View File

@ -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<typename T>
aiReturn Material::Get(array<char>^ pKey, unsigned int type, unsigned int idx, T pOut)
{
throw gcnew System::NotImplementedException();
}
generic<typename T>
aiReturn Material::Get(array<char>^ 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

View File

@ -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<typename T>
aiReturn Get(array<char>^ pKey, unsigned int type, unsigned int idx, T pOut);
generic<typename T>
aiReturn Get(array<char>^ 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<MaterialProperty^>^ mProperties
{
array<MaterialProperty^>^ get(){throw gcnew System::NotImplementedException();}
void set(array<MaterialProperty^>^ value){throw gcnew System::NotImplementedException();}
}
aiMaterial* getNative();
private:
aiMaterial *p_native;
};
}//namespace

View File

@ -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

View File

@ -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<char>^ mData
{
array<char>^ get()
{
array<char>^ tmp = gcnew array<char>(this->p_native->mDataLength);
System::Runtime::InteropServices::Marshal::Copy((System::IntPtr)this->p_native->mData, (array<unsigned char>^)tmp, 0, this->p_native->mDataLength);
return tmp;
}
void set(array<char>^ value)
{
System::Runtime::InteropServices::Marshal::Copy((array<unsigned char>^)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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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<Vector3D^>^ mBitangents
{
array<Vector3D^>^ get(){throw gcnew System::NotImplementedException();}
void set(array<Vector3D^>^ value){throw gcnew System::NotImplementedException();}
}
property array<Bone^>^ mBones
{
array<Bone^>^ get(){throw gcnew System::NotImplementedException();}
void set(array<Bone^>^ value){throw gcnew System::NotImplementedException();}
}
property array<Color4D^>^ mColors
{
array<Color4D^>^ get(){throw gcnew System::NotImplementedException();}
void set(array<Color4D^>^ value){throw gcnew System::NotImplementedException();}
}
property array<Face^>^ mFaces
{
array<Face^>^ get(){throw gcnew System::NotImplementedException();}
void set(array<Face^>^ 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<Vector3D^>^ mNormals
{
array<Vector3D^>^ get(){throw gcnew System::NotImplementedException();}
void set(array<Vector3D^>^ 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<unsigned int>^ mNumUVComponents
{
array<unsigned int>^get()
{
array<unsigned int>^ tmp = gcnew array<unsigned int>(AI_MAX_NUMBER_OF_TEXTURECOORDS);
System::Runtime::InteropServices::Marshal::Copy((System::IntPtr)this->p_native->mNumUVComponents,(array<int>^)tmp,0,AI_MAX_NUMBER_OF_TEXTURECOORDS);
return tmp;
}
void set(array<unsigned int>^ value)
{
System::Runtime::InteropServices::Marshal::Copy((array<int>^)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<Vector3D^>^ mTangents
{
array<Vector3D^>^ get(){throw gcnew System::NotImplementedException();}
void set(array<Vector3D^>^ value){throw gcnew System::NotImplementedException();}
}
property array<Vector3D^>^ mTextureCoords
{
array<Vector3D^>^ get(){throw gcnew System::NotImplementedException();}
void set(array<Vector3D^>^ value){throw gcnew System::NotImplementedException();}
}
property array<Vector3D^>^ mVertices
{
array<Vector3D^>^ get(){throw gcnew System::NotImplementedException();}
void set(array<Vector3D^>^ value){throw gcnew System::NotImplementedException();}
}
aiMesh* getNative();
private:
aiMesh *p_native;
};
}//namespace

View File

@ -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<char>^ name)
{
throw gcnew System::NotImplementedException();
}
Node^ Node::findNode(const String^ name)
{
throw gcnew System::NotImplementedException();
}
aiNode* Node::getNative()
{
return this->p_native;
}
}//namespace

View File

@ -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<char>^ name);
Node^ findNode(const String^ name);
property array<Node^>^ mChildren
{
array<Node^>^ get(){throw gcnew System::NotImplementedException();}
void set(array<Node^>^ value){throw gcnew System::NotImplementedException();}
}
property array<unsigned int>^ mMeshes
{
array<unsigned int>^ get()
{
array<unsigned int>^ tmp = gcnew array<unsigned int>(this->p_native->mNumMeshes);
System::Runtime::InteropServices::Marshal::Copy((System::IntPtr)this->p_native->mMeshes,(array<int>^)tmp,0,this->p_native->mNumMeshes);
return tmp;
}
void set(array<unsigned int>^ value)
{
System::Runtime::InteropServices::Marshal::Copy((array<int>^)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

View File

@ -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

View File

@ -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<VectorKey^>^ mPositionKeys
{
array<VectorKey^>^ get(){throw gcnew System::NotImplementedException();}
void set(array<VectorKey^>^ 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<QuatKey^>^ mRotationKeys
{
array<QuatKey^>^ get(){throw gcnew System::NotImplementedException();}
void set(array<QuatKey^>^ value){throw gcnew System::NotImplementedException();}
}
property array<VectorKey^>^ mScalingKeys
{
array<VectorKey^>^ get(){throw gcnew System::NotImplementedException();}
void set(array<VectorKey^>^ value){throw gcnew System::NotImplementedException();}
}
aiNodeAnim* getNative();
private:
aiNodeAnim *p_native;
};
}//namespace

View File

@ -1,15 +0,0 @@
#include "PostProcessing.h"
namespace AssimpNET
{
PostProcessing::PostProcessing(void)
{
}
PostProcessing::~PostProcessing(void)
{
}
}//namespace

View File

@ -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

View File

@ -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;
}
}

View File

@ -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;
};
}

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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<Animation^>^ mAnimations
{
array<Animation^>^ get(){throw gcnew System::NotImplementedException();}
void set(array<Animation^>^ value){throw gcnew System::NotImplementedException();}
}
property array<Camera^>^ mCameras
{
array<Camera^>^ get(){throw gcnew System::NotImplementedException();}
void set(array<Camera^>^ 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<Light^>^ mLights
{
array<Light^>^ get(){throw gcnew System::NotImplementedException();}
void set(array<Light^>^ value){throw gcnew System::NotImplementedException();}
}
property array<Material^>^ mMaterials
{
array<Material^>^ get(){throw gcnew System::NotImplementedException();}
void set(array<Material^>^ value){throw gcnew System::NotImplementedException();}
}
property array<Mesh^>^ mMeshes
{
array<Mesh^>^ get(){throw gcnew System::NotImplementedException();}
void set(array<Mesh^>^ 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<Texture^>^ mTextures
{
array<Texture^>^ get(){throw gcnew System::NotImplementedException();}
void set(array<Texture^>^ value){throw gcnew System::NotImplementedException();}
}
aiScene* getNative();
private:
aiScene *p_native;
};
}//namespace

View File

@ -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;
}
}

View File

@ -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

View File

@ -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<char>^ s)
{
throw gcnew System::NotImplementedException();
}
aiTexture* Texture::getNative()
{
return this->p_native;
}
}//namespace

View File

@ -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<char>^ s);
property array<char, 4>^ achFormatHint
{
array<char, 4>^ get()
{
array<char, 4>^ tmp = array<char, 4>();
System::Runtime::InteropServices::Marshal::Copy((System::IntPtr)this->p_native->achFormatHint,(array<unsigned char>^)tmp,0,4);
return tmp;
}
void set(array<char, 4>^ value)
{
System::Runtime::InteropServices::Marshal::Copy((array<unsigned char>^)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

View File

@ -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;
}
}

View File

@ -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

View File

@ -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;
}
}

View File

@ -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

View File

@ -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;
}
}

View File

@ -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;
};
}

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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<char>^ one, array<char>^ second);
virtual bool Exists(array<char>^ pFile) = 0;
bool Exists(const String^ pFile);
virtual char getOsSeperator() = 0;
IOStream^ Open(const String^ pFile, const String^ pMode);
virtual IOStream^ Open(array<char>^ pFile, array<char>^ pMode) = 0;
Assimp::IOSystem* getNative();
private:
Assimp::IOSystem *p_native;
};
}//namespace

View File

@ -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<char>^ message) = 0;
static LogStream^ createDefaultStream(DefaulLogStreams streams, array<char>^ name, IOSystem^ io);
protected:
LogStream(void);
LogStream(Assimp::LogStream* native);
Assimp::LogStream* getNative();
private:
Assimp::LogStream *p_native;
};
}//namespace

View File

@ -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<char>^ message) = 0;
virtual void OnError(array<char>^ message) = 0;
virtual void OnInfo(array<char>^ message) = 0;
virtual void OnWarn(array<char>^ 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

View File

@ -1,91 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.21022</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{76085EBB-B11E-4C2B-82C7-47A781D2B4BE}</ProjectGuid>
<OutputType>WinExe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>AssimpNetDemo</RootNamespace>
<AssemblyName>AssimpNetDemp</AssemblyName>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
<Reference Include="System.Xml.Linq">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
<Reference Include="System.Data.DataSetExtensions">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
<Reference Include="System.Data" />
<Reference Include="System.Deployment" />
<Reference Include="System.Drawing" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Form1.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Form1.Designer.cs">
<DependentUpon>Form1.cs</DependentUpon>
</Compile>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<EmbeddedResource Include="Form1.resx">
<DependentUpon>Form1.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
<SubType>Designer</SubType>
</EmbeddedResource>
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
<DesignTime>True</DesignTime>
</Compile>
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
<Compile Include="Properties\Settings.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>

View File

@ -1,47 +0,0 @@
namespace AssimpNetDemo
{
partial class Form1
{
/// <summary>
/// Erforderliche Designervariable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Verwendete Ressourcen bereinigen.
/// </summary>
/// <param name="disposing">True, wenn verwaltete Ressourcen gelöscht werden sollen; andernfalls False.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Vom Windows Form-Designer generierter Code
/// <summary>
/// Erforderliche Methode für die Designerunterstützung.
/// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden.
/// </summary>
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
}
}

View File

@ -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();
}
}
}

View File

@ -1,120 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View File

@ -1,21 +0,0 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
namespace AssimpNetDemo
{
static class Program
{
/// <summary>
/// Der Haupteinstiegspunkt für die Anwendung.
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new Form1());
}
}
}

View File

@ -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")]

View File

@ -1,63 +0,0 @@
//------------------------------------------------------------------------------
// <auto-generated>
// 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.
// </auto-generated>
//------------------------------------------------------------------------------
namespace AssimpNetDemo.Properties {
using System;
/// <summary>
/// Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw.
/// </summary>
// 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() {
}
/// <summary>
/// Gibt die zwischengespeicherte ResourceManager-Instanz zurück, die von dieser Klasse verwendet wird.
/// </summary>
[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;
}
}
/// <summary>
/// Überschreibt die CurrentUICulture-Eigenschaft des aktuellen Threads für alle
/// Ressourcenzuordnungen, die diese stark typisierte Ressourcenklasse verwenden.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
set {
resourceCulture = value;
}
}
}
}

View File

@ -1,117 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View File

@ -1,26 +0,0 @@
//------------------------------------------------------------------------------
// <auto-generated>
// 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.
// </auto-generated>
//------------------------------------------------------------------------------
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;
}
}
}
}

View File

@ -1,7 +0,0 @@
<?xml version='1.0' encoding='utf-8'?>
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
<Profiles>
<Profile Name="(Default)" />
</Profiles>
<Settings />
</SettingsFile>