adding interface definition for AssimpNET

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@451 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
pull/1/head
rave3d 2009-07-30 17:08:50 +00:00
parent 6674f1587d
commit 91284765c2
46 changed files with 1584 additions and 141 deletions

View File

@ -6,10 +6,12 @@ namespace AssimpNET
Animation::Animation(void)
{
throw gcnew System::NotImplementedException();
}
Animation::~Animation(void)
{
}
throw gcnew System::NotImplementedException();
}
}//namespace

View File

@ -41,6 +41,10 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#pragma once
#include "NodeAnim.h"
using namespace System;
namespace AssimpNET
{
ref class Animation
@ -48,5 +52,33 @@ namespace AssimpNET
public:
Animation(void);
~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(){throw gcnew System::NotImplementedException();}
void set(unsigned int value){throw gcnew System::NotImplementedException();}
}
property double mDuration
{
double get(){throw gcnew System::NotImplementedException();}
void set(double value){throw gcnew System::NotImplementedException();}
}
property double mTicksPerSecond
{
double get(){throw gcnew System::NotImplementedException();}
void set(double value){throw gcnew System::NotImplementedException();}
}
property String^ mName
{
String^ get(){throw gcnew System::NotImplementedException();}
void set(String^ value){throw gcnew System::NotImplementedException();}
}
};
}//namespace
}//namespace

View File

@ -18,8 +18,8 @@
<Configurations>
<Configuration
Name="Debug|Win32"
OutputDirectory="$(SolutionDir)$(ConfigurationName)"
IntermediateDirectory="$(ConfigurationName)"
OutputDirectory="..\..\..\bin\$(ProjectName)_$(ConfigurationName)_$(PlatformName)"
IntermediateDirectory="..\..\..\obj\$(ProjectName)_$(ConfigurationName)_$(PlatformName)"
ConfigurationType="2"
CharacterSet="1"
ManagedExtensions="1"
@ -88,8 +88,8 @@
</Configuration>
<Configuration
Name="Release|Win32"
OutputDirectory="$(SolutionDir)$(ConfigurationName)"
IntermediateDirectory="$(ConfigurationName)"
OutputDirectory="..\..\..\lib\$(ProjectName)_$(ConfigurationName)_$(PlatformName)"
IntermediateDirectory="..\..\..\obj\$(ProjectName)_$(ConfigurationName)_$(PlatformName)"
ConfigurationType="1"
CharacterSet="1"
ManagedExtensions="1"
@ -182,11 +182,11 @@
>
</File>
<File
RelativePath=".\CompressedTexture.cpp"
RelativePath=".\Color3D.cpp"
>
</File>
<File
RelativePath=".\ConfigProperty.cpp"
RelativePath=".\Color4D.cpp"
>
</File>
<File
@ -226,7 +226,7 @@
>
</File>
<File
RelativePath=".\MatKey.cpp"
RelativePath=".\MaterialProperty.cpp"
>
</File>
<File
@ -241,10 +241,6 @@
RelativePath=".\Mesh.cpp"
>
</File>
<File
RelativePath=".\NativeException.cpp"
>
</File>
<File
RelativePath=".\Node.cpp"
>
@ -261,14 +257,38 @@
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"
@ -288,17 +308,21 @@
>
</File>
<File
RelativePath=".\CompressedTexture.h"
RelativePath=".\Color3D.h"
>
</File>
<File
RelativePath=".\ConfigProperty.h"
RelativePath=".\Color4D.h"
>
</File>
<File
RelativePath=".\DefaultLogger.h"
>
</File>
<File
RelativePath=".\Enums.h"
>
</File>
<File
RelativePath=".\Face.h"
>
@ -332,7 +356,7 @@
>
</File>
<File
RelativePath=".\MatKey.h"
RelativePath=".\MaterialProperty.h"
>
</File>
<File
@ -347,10 +371,6 @@
RelativePath=".\Mesh.h"
>
</File>
<File
RelativePath=".\NativeException.h"
>
</File>
<File
RelativePath=".\Node.h"
>
@ -367,14 +387,38 @@
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"

View File

@ -7,10 +7,17 @@ namespace AssimpNET
Bone::Bone(void)
{
throw gcnew System::NotImplementedException();
}
Bone::Bone(const Bone^ other)
{
throw gcnew System::NotImplementedException();
}
Bone::~Bone(void)
{
throw gcnew System::NotImplementedException();
}
}//namespace

View File

@ -41,12 +41,39 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#pragma once
#include "Matrix4x4.h"
#include "VertexWeight.h"
using namespace System;
namespace AssimpNET
{
ref class Bone
{
public:
Bone(void);
Bone(const Bone^ other);
~Bone(void);
property String^ mName
{
String^ get(){throw gcnew System::NotImplementedException();}
void set(String^ value){throw gcnew System::NotImplementedException();}
}
property unsigned int mNumWeights
{
unsigned int get(){throw gcnew System::NotImplementedException();}
void set(unsigned int value){throw gcnew System::NotImplementedException();}
}
property Matrix4x4^ mOffsetMatrix
{
Matrix4x4^ get(){throw gcnew System::NotImplementedException();}
void set(Matrix4x4^ value){throw gcnew System::NotImplementedException();}
}
property array<VertexWeight^>^ mWeights
{
array<VertexWeight^>^ get(){throw gcnew System::NotImplementedException();}
void set(array<VertexWeight^>^ value){throw gcnew System::NotImplementedException();}
}
};
}//namespace

View File

@ -6,10 +6,17 @@ namespace AssimpNET
Camera::Camera(void)
{
throw gcnew System::NotImplementedException();
}
Camera::~Camera(void)
{
throw gcnew System::NotImplementedException();
}
void Camera::GetCameraMatrix(Matrix4x4^ out)
{
throw gcnew System::NotImplementedException();
}
}//namespace

View File

@ -41,6 +41,11 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#pragma once
#include "Matrix4x4.h"
#include "Vector3D.h"
using namespace System;
namespace AssimpNET
{
ref class Camera
@ -48,5 +53,51 @@ namespace AssimpNET
public:
Camera(void);
~Camera(void);
void GetCameraMatrix(Matrix4x4^ out);
property float mAspect
{
float get(){throw gcnew System::NotImplementedException();}
void set(float value){throw gcnew System::NotImplementedException();}
}
property float mNearClipPlane
{
float get(){throw gcnew System::NotImplementedException();}
void set(float value){throw gcnew System::NotImplementedException();}
}
property float mFarClipPlane
{
float get(){throw gcnew System::NotImplementedException();}
void set(float value){throw gcnew System::NotImplementedException();}
}
property float mHorizontalFOV
{
float get(){throw gcnew System::NotImplementedException();}
void set(float value){throw gcnew System::NotImplementedException();}
}
property Vector3D^ mLookAt
{
Vector3D^ get(){throw gcnew System::NotImplementedException();}
void set(Vector3D^ value){throw gcnew System::NotImplementedException();}
}
property Vector3D^ mPosition
{
Vector3D^ get(){throw gcnew System::NotImplementedException();}
void set(Vector3D^ value){throw gcnew System::NotImplementedException();}
}
property Vector3D^ mUp
{
Vector3D^ get(){throw gcnew System::NotImplementedException();}
void set(Vector3D^ value){throw gcnew System::NotImplementedException();}
}
property String^ mName
{
String^ get(){throw gcnew System::NotImplementedException();}
void set(String^ value){throw gcnew System::NotImplementedException();}
}
};
}//namespace

View File

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

View File

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

View File

@ -6,10 +6,47 @@ namespace AssimpNET
DefaultLogger::DefaultLogger(void)
{
throw gcnew System::NotImplementedException();
}
DefaultLogger::~DefaultLogger(void)
{
throw gcnew System::NotImplementedException();
}
bool DefaultLogger::attachStream(LogStream^ stream, unsigned int severity)
{
throw gcnew System::NotImplementedException();
}
bool DefaultLogger::detachStream(LogStream^ stream, unsigned int severity)
{
throw gcnew System::NotImplementedException();
}
Logger^ DefaultLogger::create(const String^ name, LogSeverity severity, unsigned int defStream, IOSystem^ io)
{
throw gcnew System::NotImplementedException();
}
Logger^ DefaultLogger::get()
{
throw gcnew System::NotImplementedException();
}
bool DefaultLogger::isNullLogger()
{
throw gcnew System::NotImplementedException();
}
void DefaultLogger::kill()
{
throw gcnew System::NotImplementedException();
}
void DefaultLogger::set(Logger^ logger)
{
throw gcnew System::NotImplementedException();
}
}//namespace

View File

@ -41,12 +41,27 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#pragma once
#include "Logger.h"
#include "LogStream.h"
#include "IOSystem.h"
using namespace System;
namespace AssimpNET
{
ref class DefaultLogger
ref class DefaultLogger : Logger
{
public:
DefaultLogger(void);
~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);
};
}//namespace

View File

@ -6,10 +6,32 @@ namespace AssimpNET
Face::Face(void)
{
throw gcnew System::NotImplementedException();
}
Face::Face(const Face^ other)
{
throw gcnew System::NotImplementedException();
}
Face::~Face(void)
{
throw gcnew System::NotImplementedException();
}
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();
}

View File

@ -47,6 +47,23 @@ namespace AssimpNET
{
public:
Face(void);
Face(const Face^ other);
~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(){throw gcnew System::NotImplementedException();}
void set(array<unsigned int>^ value){throw gcnew System::NotImplementedException();}
}
property unsigned int mNumIndices
{
unsigned int get(){throw gcnew System::NotImplementedException();}
void set(unsigned int value){throw gcnew System::NotImplementedException();}
}
};
}//namespace

View File

@ -41,12 +41,26 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#pragma once
#include "Enums.h"
using namespace System;
namespace AssimpNET
{
ref class IOStream
{
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);
~IOStream(void);
};
}//namespace

View File

@ -6,10 +6,32 @@ namespace AssimpNET
IOSystem::IOSystem(void)
{
throw gcnew System::NotImplementedException();
}
IOSystem::~IOSystem(void)
{
throw gcnew System::NotImplementedException();
}
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();
}
}//namespace

View File

@ -41,12 +41,29 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#pragma once
#include "IOStream.h"
using namespace System;
namespace AssimpNET
{
ref class IOSystem
{
public:
IOSystem(void);
~IOSystem(void);
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;
};
}//namespace
}//namespace

View File

@ -6,10 +6,14 @@ namespace AssimpNET
Importer::Importer(void)
{
throw gcnew System::NotImplementedException();
}
Importer::~Importer(void)
{
throw gcnew System::NotImplementedException();
}
}//namespace

View File

@ -41,6 +41,11 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#pragma once
#include "IOSystem.h"
#include "Scene.h"
using namespace System;
namespace AssimpNET
{
ref class Importer
@ -49,6 +54,6 @@ namespace AssimpNET
Importer(void);
~Importer(void);
};
}//namespace

View File

@ -6,10 +6,12 @@ namespace AssimpNET
Light::Light(void)
{
throw gcnew System::NotImplementedException();
}
Light::~Light(void)
{
throw gcnew System::NotImplementedException();
}
}//namespace

View File

@ -41,12 +41,98 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#pragma once
#include "Vector3D.h"
#include "Color3D.h"
using namespace System;
namespace AssimpNET
{
enum LightSourceType
{
aiLightSource_UNDEFINED = 0x0,
aiLightSource_DIRECTIONAL = 0x1,
aiLightSource_POINT = 0x2,
aiLightSource_SPOT = 0x3,
_aiLightSource_Force32Bit = 0x9fffffff
};
ref class Light
{
public:
Light(void);
~Light(void);
property float AngleInnerCone
{
float get(){throw gcnew System::NotImplementedException();}
void set(float value){throw gcnew System::NotImplementedException();}
}
property float AngleOuterCone
{
float get(){throw gcnew System::NotImplementedException();}
void set(float value){throw gcnew System::NotImplementedException();}
}
property float AttenuationConstant
{
float get(){throw gcnew System::NotImplementedException();}
void set(float value){throw gcnew System::NotImplementedException();}
}
property float AttenuationLinear
{
float get(){throw gcnew System::NotImplementedException();}
void set(float value){throw gcnew System::NotImplementedException();}
}
property float AttenuationQuadratic
{
float get(){throw gcnew System::NotImplementedException();}
void set(float value){throw gcnew System::NotImplementedException();}
}
property Color3D^ ColorAmbient
{
Color3D^ get(){throw gcnew System::NotImplementedException();}
void set(Color3D^ value){throw gcnew System::NotImplementedException();}
}
property Color3D^ ColorDiffuse
{
Color3D^ get(){throw gcnew System::NotImplementedException();}
void set(Color3D^ value){throw gcnew System::NotImplementedException();}
}
property Color3D^ ColorSpecular
{
Color3D^ get(){throw gcnew System::NotImplementedException();}
void set(Color3D^ value){throw gcnew System::NotImplementedException();}
}
property Vector3D^ Direction
{
Vector3D^ get(){throw gcnew System::NotImplementedException();}
void set(Vector3D^ value){throw gcnew System::NotImplementedException();}
}
property Vector3D^ Position
{
Vector3D^ get(){throw gcnew System::NotImplementedException();}
void set(Vector3D^ value){throw gcnew System::NotImplementedException();}
}
property String^ Name
{
String^ get(){throw gcnew System::NotImplementedException();}
void set(String^ value){throw gcnew System::NotImplementedException();}
}
property LightSourceType Type
{
LightSourceType get(){throw gcnew System::NotImplementedException();}
void set(LightSourceType value){throw gcnew System::NotImplementedException();}
}
};
}//namespace

View File

@ -6,10 +6,17 @@ namespace AssimpNET
LogStream::LogStream(void)
{
throw gcnew System::NotImplementedException();
}
LogStream::~LogStream(void)
{
throw gcnew System::NotImplementedException();
}
LogStream^ LogStream::createDefaultStream(DefaulLogStreams streams, array<char>^ name, IOSystem^ io)
{
throw gcnew System::NotImplementedException();
}
}//namespace

View File

@ -41,12 +41,31 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#pragma once
#include "IOSystem.h"
using namespace System;
namespace AssimpNET
{
enum DefaulLogStreams
{
DLS_FILE,
DLS_COUT,
DLS_CERR,
DLS_DEBUGGER
};
ref class LogStream
{
public:
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(void);
};
}//namespace

View File

@ -6,10 +6,47 @@ namespace AssimpNET
Logger::Logger(void)
{
throw gcnew System::NotImplementedException();
}
Logger::Logger(LogSeverity)
{
throw gcnew System::NotImplementedException();
}
Logger::~Logger(void)
{
throw gcnew System::NotImplementedException();
}
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();
}
}//namespace

View File

@ -41,12 +41,45 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#pragma once
#include "LogStream.h"
using namespace System;
namespace AssimpNET
{
enum LogSeverity
{
NORMAL,
VERBOSE,
};
ref class Logger
{
public:
Logger(void);
~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();
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();}
}
};
}//namespace

View File

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

View File

@ -6,10 +6,30 @@ namespace AssimpNET
Material::Material(void)
{
throw gcnew System::NotImplementedException();
}
Material::~Material(void)
{
throw gcnew System::NotImplementedException();
}
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();
}
}//namespace

View File

@ -41,6 +41,12 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#pragma once
#include "Enums.h"
#include "MaterialProperty.h"
#include "Texture.h"
using namespace System;
namespace AssimpNET
{
ref class Material
@ -48,5 +54,33 @@ namespace AssimpNET
public:
Material(void);
~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(){throw gcnew System::NotImplementedException();}
void set(unsigned int value){throw gcnew System::NotImplementedException();}
}
property unsigned int mNumProperties
{
unsigned int get(){throw gcnew System::NotImplementedException();}
void set(unsigned int value){throw gcnew System::NotImplementedException();}
}
property array<MaterialProperty^>^ mProperties
{
array<MaterialProperty^>^ get(){throw gcnew System::NotImplementedException();}
void set(array<MaterialProperty^>^ value){throw gcnew System::NotImplementedException();}
}
};
}//namespace

View File

@ -6,10 +6,85 @@ namespace AssimpNET
Matrix3x3::Matrix3x3(void)
{
throw gcnew System::NotImplementedException();
}
Matrix3x3::Matrix3x3(const Matrix4x4^ matrix)
{
throw gcnew System::NotImplementedException();
}
Matrix3x3::Matrix3x3( float _a1, float _a2, float _a3,
float _b1, float _b2, float _b3,
float _c1, float _c2, float _c3)
{
throw gcnew System::NotImplementedException();
}
Matrix3x3::~Matrix3x3(void)
{
throw gcnew System::NotImplementedException();
}
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();
}
}//namespace

View File

@ -41,12 +41,89 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#pragma once
#include "Vector3D.h"
#include "Vector2D.h"
#include "Matrix4x4.h"
namespace AssimpNET
{
ref class Matrix3x3
{
public:
Matrix3x3(void);
Matrix3x3(const Matrix4x4^ matrix);
Matrix3x3( float _a1, float _a2, float _a3,
float _b1, float _b2, float _b3,
float _c1, float _c2, float _c3);
~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(){throw gcnew System::NotImplementedException();}
void set(float value){throw gcnew System::NotImplementedException();}
}
property float a2
{
float get(){throw gcnew System::NotImplementedException();}
void set(float value){throw gcnew System::NotImplementedException();}
}
property float a3
{
float get(){throw gcnew System::NotImplementedException();}
void set(float value){throw gcnew System::NotImplementedException();}
}
property float b1
{
float get(){throw gcnew System::NotImplementedException();}
void set(float value){throw gcnew System::NotImplementedException();}
}
property float b2
{
float get(){throw gcnew System::NotImplementedException();}
void set(float value){throw gcnew System::NotImplementedException();}
}
property float b3
{
float get(){throw gcnew System::NotImplementedException();}
void set(float value){throw gcnew System::NotImplementedException();}
}
property float c1
{
float get(){throw gcnew System::NotImplementedException();}
void set(float value){throw gcnew System::NotImplementedException();}
}
property float c2
{
float get(){throw gcnew System::NotImplementedException();}
void set(float value){throw gcnew System::NotImplementedException();}
}
property float c3
{
float get(){throw gcnew System::NotImplementedException();}
void set(float value){throw gcnew System::NotImplementedException();}
}
};
}//namespace

View File

@ -6,10 +6,125 @@ namespace AssimpNET
Matrix4x4::Matrix4x4(void)
{
throw gcnew System::NotImplementedException();
}
Matrix4x4::Matrix4x4(const Matrix3x3 other)
{
throw gcnew System::NotImplementedException();
}
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)
{
throw gcnew System::NotImplementedException();
}
Matrix4x4::~Matrix4x4(void)
{
throw gcnew System::NotImplementedException();
}
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();
}
}//namespace

View File

@ -41,12 +41,144 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#pragma once
#include "Matrix3x3.h"
#include "Vector3D.h"
#include "Quaternion.h"
namespace AssimpNET
{
ref class Matrix4x4
{
public:
Matrix4x4(void);
Matrix4x4(const 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(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(){throw gcnew System::NotImplementedException();}
void set(float value){throw gcnew System::NotImplementedException();}
}
property float a2
{
float get(){throw gcnew System::NotImplementedException();}
void set(float value){throw gcnew System::NotImplementedException();}
}
property float a3
{
float get(){throw gcnew System::NotImplementedException();}
void set(float value){throw gcnew System::NotImplementedException();}
}
property float a4
{
float get(){throw gcnew System::NotImplementedException();}
void set(float value){throw gcnew System::NotImplementedException();}
}
property float b1
{
float get(){throw gcnew System::NotImplementedException();}
void set(float value){throw gcnew System::NotImplementedException();}
}
property float b2
{
float get(){throw gcnew System::NotImplementedException();}
void set(float value){throw gcnew System::NotImplementedException();}
}
property float b3
{
float get(){throw gcnew System::NotImplementedException();}
void set(float value){throw gcnew System::NotImplementedException();}
}
property float b4
{
float get(){throw gcnew System::NotImplementedException();}
void set(float value){throw gcnew System::NotImplementedException();}
}
property float c1
{
float get(){throw gcnew System::NotImplementedException();}
void set(float value){throw gcnew System::NotImplementedException();}
}
property float c2
{
float get(){throw gcnew System::NotImplementedException();}
void set(float value){throw gcnew System::NotImplementedException();}
}
property float c3
{
float get(){throw gcnew System::NotImplementedException();}
void set(float value){throw gcnew System::NotImplementedException();}
}
property float c4
{
float get(){throw gcnew System::NotImplementedException();}
void set(float value){throw gcnew System::NotImplementedException();}
}
property float d1
{
float get(){throw gcnew System::NotImplementedException();}
void set(float value){throw gcnew System::NotImplementedException();}
}
property float d2
{
float get(){throw gcnew System::NotImplementedException();}
void set(float value){throw gcnew System::NotImplementedException();}
}
property float d3
{
float get(){throw gcnew System::NotImplementedException();}
void set(float value){throw gcnew System::NotImplementedException();}
}
property float d4
{
float get(){throw gcnew System::NotImplementedException();}
void set(float value){throw gcnew System::NotImplementedException();}
}
};
}//namespace

View File

@ -6,10 +6,57 @@ namespace AssimpNET
Mesh::Mesh(void)
{
throw gcnew System::NotImplementedException();
}
Mesh::~Mesh(void)
{
throw gcnew System::NotImplementedException();
}
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();
}
}//namespace

View File

@ -41,6 +41,13 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#pragma once
#include "Vector3D.h"
#include "Bone.h"
#include "Color4D.h"
#include "Face.h"
using namespace System;
namespace AssimpNET
{
ref class Mesh
@ -48,5 +55,100 @@ namespace AssimpNET
public:
Mesh(void);
~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(){throw gcnew System::NotImplementedException();}
void set(unsigned int value){throw gcnew System::NotImplementedException();}
}
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(){throw gcnew System::NotImplementedException();}
void set(unsigned int value){throw gcnew System::NotImplementedException();}
}
property unsigned int mNumFaces
{
unsigned int get(){throw gcnew System::NotImplementedException();}
void set(unsigned int value){throw gcnew System::NotImplementedException();}
}
property unsigned int mNumUVComponents
{
unsigned int get(){throw gcnew System::NotImplementedException();}
void set(unsigned int value){throw gcnew System::NotImplementedException();}
}
property unsigned int mNumVertices
{
unsigned int get(){throw gcnew System::NotImplementedException();}
void set(unsigned int value){throw gcnew System::NotImplementedException();}
}
property unsigned int mPrimitveTypes
{
unsigned int get(){throw gcnew System::NotImplementedException();}
void set(unsigned int value){throw gcnew System::NotImplementedException();}
}
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();}
}
};
}//namespace

View File

@ -1,15 +0,0 @@
#include "NativeException.h"
namespace AssimpNET
{
NativeException::NativeException(void)
{
}
NativeException::~NativeException(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 NativeException
{
public:
NativeException(void);
~NativeException(void);
};
}//namespace

View File

@ -6,10 +6,22 @@ namespace AssimpNET
Node::Node(void)
{
throw gcnew System::NotImplementedException();
}
Node::~Node(void)
{
throw gcnew System::NotImplementedException();
}
Node^ Node::findNode(array<char>^ name)
{
throw gcnew System::NotImplementedException();
}
Node^ Node::findNode(const String^ name)
{
throw gcnew System::NotImplementedException();
}
}//namespace

View File

@ -41,6 +41,10 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#pragma once
#include "Matrix4x4.h"
using namespace System;
namespace AssimpNET
{
ref class Node
@ -48,5 +52,51 @@ namespace AssimpNET
public:
Node(void);
~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(){throw gcnew System::NotImplementedException();}
void set(array<unsigned int>^ value){throw gcnew System::NotImplementedException();}
}
property String^ mName
{
String^ get(){throw gcnew System::NotImplementedException();}
void set(String^ value){throw gcnew System::NotImplementedException();}
}
property unsigned int mNumChildren
{
unsigned int get(){throw gcnew System::NotImplementedException();}
void set(unsigned int value){throw gcnew System::NotImplementedException();}
}
property unsigned int mNumMeshes
{
unsigned int get(){throw gcnew System::NotImplementedException();}
void set(unsigned int value){throw gcnew System::NotImplementedException();}
}
property Matrix4x4^ mTransformation
{
Matrix4x4^ get(){throw gcnew System::NotImplementedException();}
void set(Matrix4x4^ value){throw gcnew System::NotImplementedException();}
}
property Node^ mParent
{
Node^ get(){throw gcnew System::NotImplementedException();}
void set(Node^ value){throw gcnew System::NotImplementedException();}
}
};
}//namespace

View File

@ -6,10 +6,12 @@ namespace AssimpNET
NodeAnim::NodeAnim(void)
{
throw gcnew System::NotImplementedException();
}
NodeAnim::~NodeAnim(void)
{
throw gcnew System::NotImplementedException();
}
}//namespace

View File

@ -41,12 +41,81 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#pragma once
#include "VectorKey.h"
#include "QuatKey.h"
using namespace System;
namespace AssimpNET
{
enum AnimBehaviour
{
aiAnimBehaviour_DEFAULT = 0x0,
aiAnimBehaviour_CONSTANT = 0x1,
aiAnimBehaviour_LINEAR = 0x2,
aiAnimBehaviour_REPEAT = 0x3,
_aiAnimBehaviour_Force32Bit = 0x8fffffff
};
ref class NodeAnim
{
public:
NodeAnim(void);
~NodeAnim(void);
property String^ mNodeName
{
String^ get(){throw gcnew System::NotImplementedException();}
void set(String^ value){throw gcnew System::NotImplementedException();}
}
property unsigned int mNumPositionKeys
{
unsigned int get(){throw gcnew System::NotImplementedException();}
void set(unsigned int value){throw gcnew System::NotImplementedException();}
}
property unsigned int mNumRotationKeys
{
unsigned int get(){throw gcnew System::NotImplementedException();}
void set(unsigned int value){throw gcnew System::NotImplementedException();}
}
property unsigned int mNumScalingKeys
{
unsigned int get(){throw gcnew System::NotImplementedException();}
void set(unsigned int value){throw gcnew System::NotImplementedException();}
}
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();}
}
};
}//namespace

View File

@ -6,10 +6,77 @@ namespace AssimpNET
Quaternion::Quaternion(void)
{
throw gcnew System::NotImplementedException();
}
Quaternion::Quaternion(Vector3D^ normalized)
{
throw gcnew System::NotImplementedException();
}
Quaternion::Quaternion(Vector3D^ axis, float angle)
{
throw gcnew System::NotImplementedException();
}
Quaternion::Quaternion(float rotx, float roty, float rotz)
{
throw gcnew System::NotImplementedException();
}
Quaternion::Quaternion(const Matrix3x3^ rotMatrix)
{
throw gcnew System::NotImplementedException();
}
Quaternion::Quaternion(float _w, float _x, float _y, float _z)
{
throw gcnew System::NotImplementedException();
}
Quaternion::~Quaternion(void)
{
throw gcnew System::NotImplementedException();
}
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();
}
}//namespace

View File

@ -41,12 +41,61 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#pragma once
#include "Vector3D.h"
//#include "Matrix3x3.h"
using namespace System;
namespace AssimpNET
{
ref class Matrix3x3;
ref class Quaternion
{
public:
Quaternion(void);
Quaternion(Vector3D^ normalized);
Quaternion(Vector3D^ axis, float angle);
Quaternion(float rotx, float roty, float rotz);
Quaternion(const Matrix3x3^ rotMatrix);
Quaternion(float _w, float _x, float _y, float _z);
~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() { throw gcnew System::NotImplementedException();}
void set(float value) { throw gcnew System::NotImplementedException();}
}
property float y
{
float get() { throw gcnew System::NotImplementedException();}
void set(float value) { throw gcnew System::NotImplementedException();}
}
property float z
{
float get() { throw gcnew System::NotImplementedException();}
void set(float value) { throw gcnew System::NotImplementedException();}
}
property float w
{
float get() { throw gcnew System::NotImplementedException();}
void set(float value) { throw gcnew System::NotImplementedException();}
}
};
}//namespace

View File

@ -6,10 +6,42 @@ namespace AssimpNET
Scene::Scene(void)
{
throw gcnew System::NotImplementedException();
}
Scene::~Scene(void)
{
throw gcnew System::NotImplementedException();
}
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();
}
}//namespace

View File

@ -41,6 +41,16 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#pragma once
#include "Animation.h"
#include "Camera.h"
#include "Light.h"
#include "Material.h"
#include "Mesh.h"
#include "Node.h"
#include "Texture.h"
using namespace System;
namespace AssimpNET
{
ref class Scene
@ -48,5 +58,83 @@ namespace AssimpNET
public:
Scene(void);
~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(){throw gcnew System::NotImplementedException();}
void set(unsigned int value){throw gcnew System::NotImplementedException();}
}
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(){throw gcnew System::NotImplementedException();}
void set(unsigned int value){throw gcnew System::NotImplementedException();}
}
property unsigned int mNumCameras
{
unsigned int get(){throw gcnew System::NotImplementedException();}
void set(unsigned int value){throw gcnew System::NotImplementedException();}
}
property unsigned int mNumLights
{
unsigned int get(){throw gcnew System::NotImplementedException();}
void set(unsigned int value){throw gcnew System::NotImplementedException();}
}
property unsigned int mNumMaterials
{
unsigned int get(){throw gcnew System::NotImplementedException();}
void set(unsigned int value){throw gcnew System::NotImplementedException();}
}
property unsigned int mNumMeshes
{
unsigned int get(){throw gcnew System::NotImplementedException();}
void set(unsigned int value){throw gcnew System::NotImplementedException();}
}
property unsigned int mNumTextures
{
unsigned int get(){throw gcnew System::NotImplementedException();}
void set(unsigned int value){throw gcnew System::NotImplementedException();}
}
property Node^ mRootNode
{
Node^ get(){throw gcnew System::NotImplementedException();}
void set(Node^ value){throw gcnew System::NotImplementedException();}
}
property array<Texture^>^ mTextures
{
array<Texture^>^ get(){throw gcnew System::NotImplementedException();}
void set(array<Texture^>^ value){throw gcnew System::NotImplementedException();}
}
};
}//namespace

View File

@ -6,10 +6,17 @@ namespace AssimpNET
Texture::Texture(void)
{
throw gcnew System::NotImplementedException();
}
Texture::~Texture(void)
{
throw gcnew System::NotImplementedException();
}
bool Texture::CheckFormat(array<char>^ s)
{
throw gcnew System::NotImplementedException();
}
}//namespace

View File

@ -41,13 +41,84 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#pragma once
#include "Texel.h"
using namespace System;
namespace AssimpNET
{
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
};
enum TextureMapping
{
aiTextureMapping_UV,
aiTextureMapping_SPHERE,
aiTextureMapping_CYLINDER,
aiTextureMapping_BOX,
aiTextureMapping_PLANE,
aiTextureMapping_OTHER
};
enum TextureOP
{
aiTextureOp_Multiply,
aiTextureOp_Add,
aiTextureOp_Subtract,
aiTextureOp_Divide,
aiTextureOp_SmoothAdd,
aiTextureOp_SignedAdd
};
enum TextureMapMode
{
TextureMapMode_Wrap,
TextureMapMode_Clamp,
TextureMapMode_Decal,
TextureMapMode_Mirror
};
ref class Texture
{
public:
Texture(void);
~Texture(void);
bool CheckFormat(array<char>^ s);
property array<char, 4>^ achFormatHint
{
array<char, 4>^ get(){throw gcnew System::NotImplementedException();}
void set(array<char, 4>^ value){throw gcnew System::NotImplementedException();}
}
property unsigned int mHeight
{
unsigned int get(){throw gcnew System::NotImplementedException();}
void set(unsigned int value){throw gcnew System::NotImplementedException();}
}
property unsigned int mWidth
{
unsigned int get(){throw gcnew System::NotImplementedException();}
void set(unsigned int value){throw gcnew System::NotImplementedException();}
}
property Texel^ pcData;
};
}//namespace

View File

@ -108,7 +108,6 @@ Global
{9B9D1C90-8A03-409A-B547-AE7B48B90F1A}.debug|x64.ActiveCfg = debug|x64
{9B9D1C90-8A03-409A-B547-AE7B48B90F1A}.debug|x64.Build.0 = debug|x64
{9B9D1C90-8A03-409A-B547-AE7B48B90F1A}.debug-dll|Win32.ActiveCfg = debug-dll|Win32
{9B9D1C90-8A03-409A-B547-AE7B48B90F1A}.debug-dll|Win32.Build.0 = debug-dll|Win32
{9B9D1C90-8A03-409A-B547-AE7B48B90F1A}.debug-dll|x64.ActiveCfg = debug-dll|x64
{9B9D1C90-8A03-409A-B547-AE7B48B90F1A}.debug-dll|x64.Build.0 = debug-dll|x64
{9B9D1C90-8A03-409A-B547-AE7B48B90F1A}.debug-noboost-st|Win32.ActiveCfg = debug-noboost-st|Win32