diff --git a/port/Assimp.NET/Assimp.NET/Color3D.cpp b/port/Assimp.NET/Assimp.NET/Color3D.cpp new file mode 100644 index 000000000..c47b5ed7b --- /dev/null +++ b/port/Assimp.NET/Assimp.NET/Color3D.cpp @@ -0,0 +1,62 @@ + +#include "Color3D.h" + +namespace AssimpNET +{ + +Color3D::Color3D(void) +{ + throw gcnew System::NotImplementedException(); +} + +Color3D::Color3D(const Color3D^ other) +{ + throw gcnew System::NotImplementedException(); +} + +Color3D::Color3D(float _r, float _g, float _b) +{ + throw gcnew System::NotImplementedException(); +} + +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(); +} + +} diff --git a/port/Assimp.NET/Assimp.NET/Color3D.h b/port/Assimp.NET/Assimp.NET/Color3D.h new file mode 100644 index 000000000..ee1afc4d0 --- /dev/null +++ b/port/Assimp.NET/Assimp.NET/Color3D.h @@ -0,0 +1,44 @@ +#pragma once + +using namespace System; + +namespace AssimpNET +{ + public ref class Color3D + { + public: + Color3D(void); + Color3D(const Color3D^ other); + Color3D(float _r, float _g, float _b); + + 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(){throw gcnew System::NotImplementedException();} + void set(float value){throw gcnew System::NotImplementedException();} + } + + property float Green + { + float get(){throw gcnew System::NotImplementedException();} + void set(float value){throw gcnew System::NotImplementedException();} + } + + property float Blue + { + float get(){throw gcnew System::NotImplementedException();} + void set(float value){throw gcnew System::NotImplementedException();} + } + + }; + +} diff --git a/port/Assimp.NET/Assimp.NET/Color4D.cpp b/port/Assimp.NET/Assimp.NET/Color4D.cpp new file mode 100644 index 000000000..758b4ba09 --- /dev/null +++ b/port/Assimp.NET/Assimp.NET/Color4D.cpp @@ -0,0 +1,42 @@ + +#include "Color4D.h" + +namespace AssimpNET +{ + +Color4D::Color4D(void) +{ + throw gcnew System::NotImplementedException(); +} + +Color4D::Color4D(const Color4D^ other) +{ + throw gcnew System::NotImplementedException(); +} + +Color4D::Color4D(float _r, float _g, float _b, float _a) +{ + throw gcnew System::NotImplementedException(); +} + +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(); +} + +}//namespace \ No newline at end of file diff --git a/port/Assimp.NET/Assimp.NET/Color4D.h b/port/Assimp.NET/Assimp.NET/Color4D.h new file mode 100644 index 000000000..58a70d7ac --- /dev/null +++ b/port/Assimp.NET/Assimp.NET/Color4D.h @@ -0,0 +1,48 @@ +#pragma once + +using namespace System; + +namespace AssimpNET +{ + + public ref class Color4D + { + public: + Color4D(void); + Color4D (const Color4D^ other); + Color4D (float _r, float _g, float _b, float _a); + + bool IsBlack (); + bool operator!= (const Color4D^ other); + bool operator== (const Color4D^ other); + float operator[] (unsigned int i); + + + property float Red + { + float get(){throw gcnew System::NotImplementedException();} + void set(float value){throw gcnew System::NotImplementedException();} + } + + property float Green + { + float get(){throw gcnew System::NotImplementedException();} + void set(float value){throw gcnew System::NotImplementedException();} + } + + property float Blue + { + float get(){throw gcnew System::NotImplementedException();} + void set(float value){throw gcnew System::NotImplementedException();} + } + + property float Alpha + { + float get(){throw gcnew System::NotImplementedException();} + void set(float value){throw gcnew System::NotImplementedException();} + } + + + }; + +}//namespace \ No newline at end of file diff --git a/port/Assimp.NET/Assimp.NET/Enums.h b/port/Assimp.NET/Assimp.NET/Enums.h new file mode 100644 index 000000000..fd324c284 --- /dev/null +++ b/port/Assimp.NET/Assimp.NET/Enums.h @@ -0,0 +1,63 @@ +/* +--------------------------------------------------------------------------- +Open Asset Import Library (ASSIMP) +--------------------------------------------------------------------------- + +Copyright (c) 2006-2008, ASSIMP Development Team + +All rights reserved. + +Redistribution and use of this software in source and binary forms, +with or without modification, are permitted provided that the following +conditions are met: + + * Redistributions of source code must retain the above + copyright notice, this list of conditions and the + following disclaimer. + + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the + following disclaimer in the documentation and/or other + materials provided with the distribution. + + * Neither the name of the ASSIMP team, nor the names of its + contributors may be used to endorse or promote products + derived from this software without specific prior + written permission of the ASSIMP Development Team. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +--------------------------------------------------------------------------- + */ + +#pragma once + +namespace AssimpNET +{ + public enum aiOrigin + { + SET, + CUR, + END, + _AI_ORIGIN_ENFORCE_ENUM_SIZE + }; + + public enum aiReturn + { + SUCCESS, + FAILURE, + INVALIDFILE, + OUTOFMEMORY, + INVALIDARG, + _AI_ENFORCE_ENUM_SIZE + }; +} \ No newline at end of file diff --git a/port/Assimp.NET/Assimp.NET/MaterialProperty.cpp b/port/Assimp.NET/Assimp.NET/MaterialProperty.cpp new file mode 100644 index 000000000..4212b3c6c --- /dev/null +++ b/port/Assimp.NET/Assimp.NET/MaterialProperty.cpp @@ -0,0 +1,17 @@ + +#include "MaterialProperty.h" + +namespace AssimpNET +{ + +MaterialProperty::MaterialProperty(void) +{ + throw gcnew System::NotImplementedException(); +} + +MaterialProperty::~MaterialProperty(void) +{ + throw gcnew System::NotImplementedException(); +} + +}//namespace \ No newline at end of file diff --git a/port/Assimp.NET/Assimp.NET/MaterialProperty.h b/port/Assimp.NET/Assimp.NET/MaterialProperty.h new file mode 100644 index 000000000..0f8f13ecd --- /dev/null +++ b/port/Assimp.NET/Assimp.NET/MaterialProperty.h @@ -0,0 +1,99 @@ +/* +--------------------------------------------------------------------------- +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 + +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(void); + + property array^ mData + { + array^ get(){throw gcnew System::NotImplementedException();} + void set(array^ value){throw gcnew System::NotImplementedException();} + } + + property unsigned int mDataLength + { + unsigned int get(){throw gcnew System::NotImplementedException();} + void set(unsigned int value){throw gcnew System::NotImplementedException();} + } + + property unsigned int mIndex + { + unsigned int get(){throw gcnew System::NotImplementedException();} + void set(unsigned int value){throw gcnew System::NotImplementedException();} + } + + property String^ mKey + { + String^ get(){throw gcnew System::NotImplementedException();} + void set(String^ value){throw gcnew System::NotImplementedException();} + } + + property unsigned int mSemantic + { + unsigned int get(){throw gcnew System::NotImplementedException();} + void set(unsigned int value){throw gcnew System::NotImplementedException();} + } + + property PropertyTypeInfo mType + { + PropertyTypeInfo get(){throw gcnew System::NotImplementedException();} + void set(PropertyTypeInfo value){throw gcnew System::NotImplementedException();} + } + }; +}//namespace \ No newline at end of file diff --git a/port/Assimp.NET/Assimp.NET/QuatKey.cpp b/port/Assimp.NET/Assimp.NET/QuatKey.cpp new file mode 100644 index 000000000..5214fadc0 --- /dev/null +++ b/port/Assimp.NET/Assimp.NET/QuatKey.cpp @@ -0,0 +1,41 @@ +#include "QuatKey.h" + +namespace AssimpNET +{ + +QuatKey::QuatKey(void) +{ + throw gcnew System::NotImplementedException(); +} + +QuatKey::QuatKey(double time, const Quaternion^ value) +{ + throw gcnew System::NotImplementedException(); +} + +QuatKey::~QuatKey() +{ + 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(); +} + +bool QuatKey::operator > (const QuatKey^ o) +{ + throw gcnew System::NotImplementedException(); +} + +} \ No newline at end of file diff --git a/port/Assimp.NET/Assimp.NET/QuatKey.h b/port/Assimp.NET/Assimp.NET/QuatKey.h new file mode 100644 index 000000000..f3bb4a64b --- /dev/null +++ b/port/Assimp.NET/Assimp.NET/QuatKey.h @@ -0,0 +1,74 @@ +/* +--------------------------------------------------------------------------- +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 "Quaternion.h" + +using namespace System; + +namespace AssimpNET +{ + public ref struct QuatKey + { + public: + QuatKey(); + QuatKey(double time, const Quaternion^ value); + ~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(){throw gcnew System::NotImplementedException();} + void set(double value){System::NotImplementedException();} + } + + property Quaternion^ mValue + { + Quaternion^ get() {throw gcnew System::NotImplementedException();} + void set(Quaternion^ value){throw gcnew System::NotImplementedException();} + } + }; +} \ No newline at end of file diff --git a/port/Assimp.NET/Assimp.NET/Texel.cpp b/port/Assimp.NET/Assimp.NET/Texel.cpp new file mode 100644 index 000000000..95e1150ea --- /dev/null +++ b/port/Assimp.NET/Assimp.NET/Texel.cpp @@ -0,0 +1,32 @@ + +#include "Texel.h" + +namespace AssimpNET +{ + +Texel::Texel(void) +{ + throw gcnew System::NotImplementedException(); +} + +Texel::~Texel(void) +{ + throw gcnew System::NotImplementedException(); +} + +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(); +} + +} diff --git a/port/Assimp.NET/Assimp.NET/Texel.h b/port/Assimp.NET/Assimp.NET/Texel.h new file mode 100644 index 000000000..751540e75 --- /dev/null +++ b/port/Assimp.NET/Assimp.NET/Texel.h @@ -0,0 +1,45 @@ +#pragma once + +#include "Color4D.h" + +using namespace System; + +namespace AssimpNET +{ + +public ref class Texel +{ + public: + Texel(void); + ~Texel(void); + + operator Color4D(); + bool operator != (const Texel^ t); + bool operator == (const Texel^ t); + + property unsigned char a + { + unsigned char get(){throw gcnew System::NotImplementedException();} + void set(unsigned char value){throw gcnew System::NotImplementedException();} + } + + property unsigned char r + { + unsigned char get(){throw gcnew System::NotImplementedException();} + void set(unsigned char value){throw gcnew System::NotImplementedException();} + } + + property unsigned char g + { + unsigned char get(){throw gcnew System::NotImplementedException();} + void set(unsigned char value){throw gcnew System::NotImplementedException();} + } + + property unsigned char b + { + unsigned char get(){throw gcnew System::NotImplementedException();} + void set(unsigned char value){throw gcnew System::NotImplementedException();} + } +}; + +}//namespace diff --git a/port/Assimp.NET/Assimp.NET/Vector2D.cpp b/port/Assimp.NET/Assimp.NET/Vector2D.cpp new file mode 100644 index 000000000..ca4012707 --- /dev/null +++ b/port/Assimp.NET/Assimp.NET/Vector2D.cpp @@ -0,0 +1,98 @@ + +#include "Vector2D.h" + +namespace AssimpNET +{ + +Vector2D::Vector2D(void) +{ + throw gcnew System::NotImplementedException(); +} + +Vector2D::Vector2D(const Vector2D^ o) +{ + throw gcnew System::NotImplementedException(); +} + +Vector2D::Vector2D(float _xy) +{ + throw gcnew System::NotImplementedException(); +} + +Vector2D::Vector2D(float _x, float _y) +{ + throw gcnew System::NotImplementedException(); +} + +Vector2D::~Vector2D(void) +{ + throw gcnew System::NotImplementedException(); +} + +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(); +} + + +} \ No newline at end of file diff --git a/port/Assimp.NET/Assimp.NET/Vector2D.h b/port/Assimp.NET/Assimp.NET/Vector2D.h new file mode 100644 index 000000000..334f40e4f --- /dev/null +++ b/port/Assimp.NET/Assimp.NET/Vector2D.h @@ -0,0 +1,83 @@ +/* +--------------------------------------------------------------------------- +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 ref class Vector2D + { + public: + Vector2D(void); + Vector2D(const Vector2D^ o); + Vector2D(float _xy); + Vector2D(float _x, float _y); + ~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(){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();} + } + }; + +}//namespace diff --git a/port/Assimp.NET/Assimp.NET/Vector3D.cpp b/port/Assimp.NET/Assimp.NET/Vector3D.cpp new file mode 100644 index 000000000..ba9c6f1e5 --- /dev/null +++ b/port/Assimp.NET/Assimp.NET/Vector3D.cpp @@ -0,0 +1,102 @@ + +#include "Vector3D.h" + +namespace AssimpNET +{ + +Vector3D::Vector3D(void) +{ + throw gcnew System::NotImplementedException(); +} + +Vector3D::Vector3D(const Vector3D^ o) +{ + throw gcnew System::NotImplementedException(); +} + +Vector3D::Vector3D(float _xyz) +{ + throw gcnew System::NotImplementedException(); +} + +Vector3D::Vector3D(float _x, float _y, float _z) +{ + throw gcnew System::NotImplementedException(); +} + +Vector3D::~Vector3D(void) +{ + throw gcnew System::NotImplementedException(); +} + +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(); +} + +} \ No newline at end of file diff --git a/port/Assimp.NET/Assimp.NET/Vector3D.h b/port/Assimp.NET/Assimp.NET/Vector3D.h new file mode 100644 index 000000000..805101206 --- /dev/null +++ b/port/Assimp.NET/Assimp.NET/Vector3D.h @@ -0,0 +1,97 @@ +/* +--------------------------------------------------------------------------- +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 "Matrix4x4.h" + +using namespace System; + +namespace AssimpNET +{ + ref class Matrix3x3; + ref class Matrix4x4; + public ref class Vector3D + { + public: + Vector3D(void); + Vector3D(const Vector3D^ o); + Vector3D(float _xyz); + Vector3D(float _x, float _y, float _z); + ~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(){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();} + } + + + + }; +}//namespace diff --git a/port/Assimp.NET/Assimp.NET/VectorKey.cpp b/port/Assimp.NET/Assimp.NET/VectorKey.cpp new file mode 100644 index 000000000..d37e649c9 --- /dev/null +++ b/port/Assimp.NET/Assimp.NET/VectorKey.cpp @@ -0,0 +1,42 @@ + +#include "VectorKey.h" + +namespace AssimpNET +{ + +VectorKey::VectorKey(void) +{ + throw gcnew System::NotImplementedException(); +} + +VectorKey::VectorKey(double time, const Vector3D^ value) +{ + throw gcnew System::NotImplementedException(); +} + +VectorKey::~VectorKey(void) +{ + 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(); +} + +bool VectorKey::operator > (const VectorKey^ o) +{ + throw gcnew System::NotImplementedException(); +} + +} diff --git a/port/Assimp.NET/Assimp.NET/VectorKey.h b/port/Assimp.NET/Assimp.NET/VectorKey.h new file mode 100644 index 000000000..8cb450685 --- /dev/null +++ b/port/Assimp.NET/Assimp.NET/VectorKey.h @@ -0,0 +1,75 @@ +/* +--------------------------------------------------------------------------- +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 "Vector3D.h" + +using namespace System; + +namespace AssimpNET +{ + + public ref struct VectorKey + { + public: + VectorKey(); + VectorKey(double time, const Vector3D^ value); + ~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(){throw gcnew System::NotImplementedException();} + void set(double value){System::NotImplementedException();} + } + + property Vector3D^ mValue + { + Vector3D^ get() {throw gcnew System::NotImplementedException();} + void set(Vector3D^ value){throw gcnew System::NotImplementedException();} + } + }; +} \ No newline at end of file diff --git a/port/Assimp.NET/Assimp.NET/VertexWeight.cpp b/port/Assimp.NET/Assimp.NET/VertexWeight.cpp new file mode 100644 index 000000000..37b87e076 --- /dev/null +++ b/port/Assimp.NET/Assimp.NET/VertexWeight.cpp @@ -0,0 +1,22 @@ + +#include "VertexWeight.h" + +namespace AssimpNET +{ + +VertexWeight::VertexWeight(void) +{ + throw gcnew System::NotImplementedException(); +} + +VertexWeight::VertexWeight(unsigned int pID, float pWeight) +{ + throw gcnew System::NotImplementedException(); +} + +VertexWeight::~VertexWeight(void) +{ + throw gcnew System::NotImplementedException(); +} + +}//namespace diff --git a/port/Assimp.NET/Assimp.NET/VertexWeight.h b/port/Assimp.NET/Assimp.NET/VertexWeight.h new file mode 100644 index 000000000..ed85db1a6 --- /dev/null +++ b/port/Assimp.NET/Assimp.NET/VertexWeight.h @@ -0,0 +1,71 @@ +/* +--------------------------------------------------------------------------- +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 "Matrix4x4.h" + +using namespace System; + +namespace AssimpNET +{ + public ref class VertexWeight + { + public: + VertexWeight(void); + VertexWeight(unsigned int pID, float pWeight); + ~VertexWeight(void); + + property unsigned int mVertexId + { + unsigned int get(){throw gcnew System::NotImplementedException();} + void set(unsigned int value){throw gcnew System::NotImplementedException();} + } + + property float mWeight + { + float get(){throw gcnew System::NotImplementedException();} + void set(float value){throw gcnew System::NotImplementedException();} + } + }; + +}//namespace