diff --git a/port/Assimp.NET/Assimp.NET/DefaultLogger.h b/port/Assimp.NET/Assimp.NET/DefaultLogger.h index 8c01f1be7..73ec76e32 100644 --- a/port/Assimp.NET/Assimp.NET/DefaultLogger.h +++ b/port/Assimp.NET/Assimp.NET/DefaultLogger.h @@ -49,7 +49,7 @@ using namespace System; namespace AssimpNET { - public ref class DefaultLogger : Logger + public ref class DefaultLogger abstract : Logger { public: DefaultLogger(void); diff --git a/port/Assimp.NET/Assimp.NET/IOStream.h b/port/Assimp.NET/Assimp.NET/IOStream.h index 0dca430ff..f7d4244d8 100644 --- a/port/Assimp.NET/Assimp.NET/IOStream.h +++ b/port/Assimp.NET/Assimp.NET/IOStream.h @@ -47,7 +47,7 @@ using namespace System; namespace AssimpNET { - public ref class IOStream + public ref class IOStream abstract { public: diff --git a/port/Assimp.NET/Assimp.NET/IOSystem.h b/port/Assimp.NET/Assimp.NET/IOSystem.h index 310572bbf..814293886 100644 --- a/port/Assimp.NET/Assimp.NET/IOSystem.h +++ b/port/Assimp.NET/Assimp.NET/IOSystem.h @@ -47,7 +47,7 @@ using namespace System; namespace AssimpNET { - public ref class IOSystem + public ref class IOSystem abstract { public: IOSystem(void); diff --git a/port/Assimp.NET/Assimp.NET/Importer.cpp b/port/Assimp.NET/Assimp.NET/Importer.cpp index 4eb74e66b..492c1b689 100644 --- a/port/Assimp.NET/Assimp.NET/Importer.cpp +++ b/port/Assimp.NET/Assimp.NET/Importer.cpp @@ -9,11 +9,121 @@ Importer::Importer(void) throw gcnew System::NotImplementedException(); } +Importer::Importer(const Importer^ other) +{ + throw gcnew System::NotImplementedException(); +} + Importer::~Importer(void) { throw gcnew System::NotImplementedException(); } +void Importer::FreeScene() +{ + throw gcnew System::NotImplementedException(); +} + +array^ Importer::GetErrorString() +{ + throw gcnew System::NotImplementedException(); +} + +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(array^ propName) +{ + throw gcnew System::NotImplementedException(); +} + +int Importer::GetPropertyInt(array^ propName) +{ + throw gcnew System::NotImplementedException(); +} + +String^ Importer::GetPrpertyString(array^ propName) +{ + throw gcnew System::NotImplementedException(); +} + +Scene^ Importer::getScene() +{ + throw gcnew System::NotImplementedException(); +} + +bool Importer::IsDefaultIOHandler() +{ + throw gcnew System::NotImplementedException(); +} + +bool Importer::IsExtensionSupported(array^ extension) +{ + throw gcnew System::NotImplementedException(); +} + +bool Importer::IsExtensionSupported(String^ extension) +{ + throw gcnew System::NotImplementedException(); +} + +Scene^ Importer::ReadFile(array^ fileName, unsigned int flags) +{ + throw gcnew System::NotImplementedException(); +} + +Scene^ Importer::ReadFile(String^ fileName, unsigned int flags) +{ + throw gcnew System::NotImplementedException(); +} + +void Importer::SetExtraVerbose(bool verbose) +{ + throw gcnew System::NotImplementedException(); +} + +void Importer::SetIOHanlder(IOSystem^ ioHandler) +{ + throw gcnew System::NotImplementedException(); +} + +void Importer::SetPropertyFloat(array^ propName, float value) +{ + throw gcnew System::NotImplementedException(); +} + +void Importer::SetPropertyInt(array^ propName, int value) +{ + throw gcnew System::NotImplementedException(); +} + +void Importer::SetPrpertyString(array^ propName, String^ value) +{ + throw gcnew System::NotImplementedException(); +} + +bool Importer::ValidateFlags(unsigned int flags) +{ + throw gcnew System::NotImplementedException(); +} + }//namespace \ No newline at end of file diff --git a/port/Assimp.NET/Assimp.NET/Importer.h b/port/Assimp.NET/Assimp.NET/Importer.h index 76b32a120..c6f19154b 100644 --- a/port/Assimp.NET/Assimp.NET/Importer.h +++ b/port/Assimp.NET/Assimp.NET/Importer.h @@ -48,12 +48,85 @@ 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(const Importer^ other); ~Importer(void); - + void FreeScene(); + array^ GetErrorString(); + void GetExtensionsList(String^ extensions); + IOSystem^ GetIOHandler(); + void GetMemoryRequrements(aiMemoryInfo^ in); + Scene^ getOrphanedScene( ); + float GetPropertyFloat(array^ propName); + int GetPropertyInt(array^ propName); + String^ GetPrpertyString(array^ propName); + Scene^ getScene(); + bool IsDefaultIOHandler(); + bool IsExtensionSupported(array^ extension); + bool IsExtensionSupported(String^ extension); + Scene^ ReadFile(array^ fileName, unsigned int flags); + Scene^ ReadFile(String^ fileName, unsigned int flags); + void SetExtraVerbose(bool verbose); + void SetIOHanlder(IOSystem^ ioHandler); + void SetPropertyFloat(array^ propName, float value); + void SetPropertyInt(array^ propName, int value); + void SetPrpertyString(array^ propName, String^ value); + bool ValidateFlags(unsigned int flags); + }; }//namespace \ No newline at end of file diff --git a/port/Assimp.NET/Assimp.NET/LogStream.h b/port/Assimp.NET/Assimp.NET/LogStream.h index 3813114bd..52317a87e 100644 --- a/port/Assimp.NET/Assimp.NET/LogStream.h +++ b/port/Assimp.NET/Assimp.NET/LogStream.h @@ -57,7 +57,7 @@ namespace AssimpNET }; - ref class LogStream + public ref class LogStream abstract { public: virtual ~LogStream(void); diff --git a/port/Assimp.NET/Assimp.NET/Logger.h b/port/Assimp.NET/Assimp.NET/Logger.h index 19153b57f..acaf25802 100644 --- a/port/Assimp.NET/Assimp.NET/Logger.h +++ b/port/Assimp.NET/Assimp.NET/Logger.h @@ -53,7 +53,7 @@ namespace AssimpNET VERBOSE, }; - public ref class Logger + public ref class Logger abstract { public: ~Logger(void);