2010-02-15 18:28:32 +00:00
|
|
|
/* File : example.i */
|
2010-02-21 21:36:09 +00:00
|
|
|
%module Assimp
|
2010-02-15 18:28:32 +00:00
|
|
|
%{
|
|
|
|
//#include "..\..\..\include\aiAssert.h"
|
|
|
|
#include "..\..\..\include\aiDefines.h"
|
|
|
|
#include "..\..\..\include\aiConfig.h"
|
|
|
|
#include "..\..\..\include\aiTypes.h"
|
2010-02-21 21:36:09 +00:00
|
|
|
//#include "..\..\..\include\aiVersion.h"
|
2010-02-15 18:28:32 +00:00
|
|
|
#include "..\..\..\include\aiPostProcess.h"
|
|
|
|
#include "..\..\..\include\aiVector2D.h"
|
|
|
|
#include "..\..\..\include\aiVector3D.h"
|
|
|
|
#include "..\..\..\include\aiMatrix3x3.h"
|
|
|
|
#include "..\..\..\include\aiMatrix4x4.h"
|
|
|
|
#include "..\..\..\include\aiCamera.h"
|
|
|
|
#include "..\..\..\include\aiLight.h"
|
|
|
|
#include "..\..\..\include\aiAnim.h"
|
|
|
|
#include "..\..\..\include\aiMesh.h"
|
2010-02-21 21:36:09 +00:00
|
|
|
//#include "..\..\..\include\aiFileIO.h"
|
|
|
|
#include "..\..\..\include\aiMaterial.h"
|
2010-02-15 18:28:32 +00:00
|
|
|
#include "..\..\..\include\aiQuaternion.h"
|
|
|
|
#include "..\..\..\include\aiScene.h"
|
|
|
|
#include "..\..\..\include\aiTexture.h"
|
|
|
|
#include "..\..\..\include\assimp.hpp"
|
|
|
|
#include "..\..\..\include\IOSystem.h"
|
|
|
|
#include "..\..\..\include\IOStream.h"
|
|
|
|
#include "..\..\..\include\Logger.h"
|
|
|
|
#include "..\..\..\include\LogStream.h"
|
2010-02-21 21:36:09 +00:00
|
|
|
//#include "..\..\..\include\NullLogger.h"
|
2010-02-15 18:28:32 +00:00
|
|
|
%}
|
|
|
|
|
|
|
|
#define C_STRUCT
|
|
|
|
#define C_ENUM
|
|
|
|
#define ASSIMP_API
|
|
|
|
#define PACK_STRUCT
|
|
|
|
|
|
|
|
%rename(__add__) operator+;
|
|
|
|
%rename(__addnset__) operator+=;
|
|
|
|
%rename(__sub__) operator-;
|
|
|
|
%rename(__subnset__) operator-=;
|
|
|
|
%rename(__mul__) operator*;
|
|
|
|
%rename(__mulnset__) operator*=;
|
|
|
|
%rename(__div__) operator/;
|
|
|
|
%rename(__divnset__) operator/=;
|
|
|
|
%rename(__equal__) operator==;
|
|
|
|
%rename(__nequal__) operator!=;
|
|
|
|
%rename(__idx__) operator[];
|
|
|
|
%rename(__set__) operator=;
|
|
|
|
%rename(__greater__) operator>;
|
|
|
|
%rename(__smaller__) operator<;
|
|
|
|
|
2010-02-21 21:36:09 +00:00
|
|
|
//%rename(Node) aiNode;
|
|
|
|
|
2010-02-15 18:28:32 +00:00
|
|
|
%include "std_string.i"
|
|
|
|
|
|
|
|
//%include "..\..\..\include\aiAssert.h"
|
|
|
|
%include "..\..\..\include\aiDefines.h"
|
|
|
|
%include "..\..\..\include\aiConfig.h"
|
|
|
|
%include "..\..\..\include\aiTypes.h"
|
2010-02-21 21:36:09 +00:00
|
|
|
//%include "..\..\..\include\aiVersion.h"
|
2010-02-15 18:28:32 +00:00
|
|
|
%include "..\..\..\include\aiPostProcess.h"
|
|
|
|
%include "..\..\..\include\aiVector2D.h"
|
|
|
|
%include "..\..\..\include\aiVector3D.h"
|
|
|
|
%include "..\..\..\include\aiMatrix3x3.h"
|
|
|
|
%include "..\..\..\include\aiMatrix4x4.h"
|
|
|
|
%include "..\..\..\include\aiCamera.h"
|
|
|
|
%include "..\..\..\include\aiLight.h"
|
|
|
|
%include "..\..\..\include\aiAnim.h"
|
|
|
|
%include "..\..\..\include\aiMesh.h"
|
2010-02-21 21:36:09 +00:00
|
|
|
//%include "..\..\..\include\aiFileIO.h"
|
|
|
|
%include "..\..\..\include\aiMaterial.h"
|
2010-02-15 18:28:32 +00:00
|
|
|
%include "..\..\..\include\aiQuaternion.h"
|
|
|
|
%include "..\..\..\include\aiScene.h"
|
|
|
|
%include "..\..\..\include\aiTexture.h"
|
|
|
|
%include "..\..\..\include\assimp.hpp"
|
|
|
|
%include "..\..\..\include\IOSystem.h"
|
|
|
|
%include "..\..\..\include\IOStream.h"
|
|
|
|
%include "..\..\..\include\Logger.h"
|
|
|
|
%include "..\..\..\include\LogStream.h"
|
2010-02-21 21:36:09 +00:00
|
|
|
//%include "..\..\..\include\NullLogger.h"
|
2010-02-15 18:28:32 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|