瀏覽代碼

fix "headercheck":
part of https://github.com/assimp/assimp/issues/534

abma 10 年之前
父節點
當前提交
470ad98281
共有 100 個文件被更改,包括 363 次插入24 次删除
  1. 4 0
      code/3DSExporter.h
  2. 6 0
      code/3DSHelper.h
  3. 3 1
      code/3DSLoader.h
  4. 6 0
      code/ACLoader.h
  5. 11 0
      code/AssbinLoader.h
  6. 5 0
      code/B3DImporter.h
  7. 2 0
      code/BVHLoader.h
  8. 3 1
      code/BaseImporter.h
  9. 5 0
      code/Bitmap.h
  10. 5 0
      code/BlenderDNA.h
  11. 2 0
      code/BlenderDNA.inl
  12. 5 0
      code/BlenderIntermediate.h
  13. 7 0
      code/BlenderLoader.h
  14. 2 0
      code/BlenderScene.h
  15. 3 0
      code/BlenderSceneGen.h
  16. 9 0
      code/BlobIOSystem.h
  17. 1 0
      code/BoostWorkaround/boost/format.hpp
  18. 3 0
      code/BoostWorkaround/boost/shared_ptr.hpp
  19. 2 1
      code/BoostWorkaround/boost/timer.hpp
  20. 1 0
      code/ByteSwap.h
  21. 3 0
      code/C4DImporter.h
  22. 2 0
      code/CInterfaceIOWrapper.h
  23. 4 0
      code/COBLoader.h
  24. 3 0
      code/COBScene.h
  25. 3 0
      code/CSMLoader.h
  26. 6 0
      code/ColladaExporter.h
  27. 10 0
      code/ColladaHelper.h
  28. 6 0
      code/ColladaLoader.h
  29. 2 0
      code/ColladaParser.h
  30. 3 0
      code/ComputeUVMappingProcess.h
  31. 2 0
      code/ConvertToLHProcess.h
  32. 3 0
      code/DXFHelper.h
  33. 5 0
      code/DefaultIOStream.h
  34. 1 0
      code/Exceptional.h
  35. 2 0
      code/FBXConverter.h
  36. 12 1
      code/FBXDocument.h
  37. 8 0
      code/FBXDocumentUtil.h
  38. 2 1
      code/FBXParser.h
  39. 2 0
      code/FBXProperties.h
  40. 3 1
      code/FBXTokenizer.h
  41. 1 0
      code/FileLogStream.h
  42. 2 0
      code/FileSystemFilter.h
  43. 1 0
      code/FindInvalidDataProcess.h
  44. 3 0
      code/GenericProperty.h
  45. 1 0
      code/HMPFileData.h
  46. 1 2
      code/HalfLifeFileData.h
  47. 3 0
      code/Hash.h
  48. 4 0
      code/IFCUtil.h
  49. 2 0
      code/IRRLoader.h
  50. 2 0
      code/IRRShared.h
  51. 10 1
      code/Importer.h
  52. 1 0
      code/JoinVerticesProcess.h
  53. 6 0
      code/LWOAnimation.h
  54. 2 0
      code/LWOLoader.h
  55. 6 0
      code/LWSLoader.h
  56. 2 0
      code/LogAux.h
  57. 1 0
      code/MD2FileData.h
  58. 2 1
      code/MD2Loader.h
  59. 1 0
      code/MD3FileData.h
  60. 6 2
      code/MD3Loader.h
  61. 4 4
      code/MD4FileData.h
  62. 2 0
      code/MD5Loader.h
  63. 2 0
      code/MD5Parser.h
  64. 1 1
      code/MDCFileData.h
  65. 7 0
      code/MDLFileData.h
  66. 3 2
      code/MDLLoader.h
  67. 3 0
      code/MS3DLoader.h
  68. 2 0
      code/MakeVerboseFormat.h
  69. 4 0
      code/MaterialSystem.h
  70. 6 0
      code/MemoryIOWrapper.h
  71. 12 0
      code/NDOLoader.h
  72. 2 1
      code/NFFLoader.h
  73. 4 0
      code/ObjExporter.h
  74. 1 0
      code/ObjFileData.h
  75. 3 0
      code/ObjFileParser.h
  76. 1 0
      code/ObjTools.h
  77. 3 0
      code/OgreParsingUtils.h
  78. 1 0
      code/OptimizeGraph.h
  79. 3 0
      code/OptimizeMeshes.h
  80. 1 0
      code/ParsingUtils.h
  81. 1 0
      code/PlyExporter.h
  82. 4 2
      code/PlyLoader.h
  83. 1 0
      code/PlyParser.h
  84. 3 0
      code/PolyTools.h
  85. 3 0
      code/PretransformVertices.h
  86. 7 0
      code/ProcessHelper.h
  87. 2 1
      code/Profiler.h
  88. 2 0
      code/Q3BSPFileData.h
  89. 4 0
      code/Q3BSPFileImporter.h
  90. 1 0
      code/Q3DLoader.h
  91. 1 0
      code/RemoveComments.h
  92. 2 1
      code/SGSpatialSort.h
  93. 8 0
      code/STEPFile.h
  94. 1 0
      code/STLExporter.h
  95. 19 0
      code/SceneCombiner.h
  96. 7 0
      code/ScenePreprocessor.h
  97. 1 0
      code/ScenePrivate.h
  98. 1 0
      code/SkeletonMeshBuilder.h
  99. 4 0
      code/SmoothingGroups.h
  100. 2 0
      code/StandardShapes.h

+ 4 - 0
code/3DSExporter.h

@@ -45,11 +45,15 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #define AI_3DSEXPORTER_H_INC
 #define AI_3DSEXPORTER_H_INC
 
 
 #include <map>
 #include <map>
+#include <boost/shared_ptr.hpp>
 
 
 #include "StreamWriter.h"
 #include "StreamWriter.h"
+#include "./../include/assimp/material.h"
 
 
 struct aiScene;
 struct aiScene;
 struct aiNode;
 struct aiNode;
+struct aiMaterial;
+struct aiMesh;
 
 
 namespace Assimp	
 namespace Assimp	
 {
 {

+ 6 - 0
code/3DSHelper.h

@@ -46,6 +46,12 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 
 #include "SpatialSort.h"
 #include "SpatialSort.h"
 #include "SmoothingGroups.h"
 #include "SmoothingGroups.h"
+#include "qnan.h"
+#include "./../include/assimp/material.h"
+#include "./../include/assimp/camera.h"
+#include "./../include/assimp/light.h"
+#include "./../include/assimp/anim.h"
+#include <stdio.h> //sprintf
 
 
 namespace Assimp	{
 namespace Assimp	{
 namespace D3DS	{
 namespace D3DS	{

+ 3 - 1
code/3DSLoader.h

@@ -50,8 +50,10 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 
 #ifndef ASSIMP_BUILD_NO_3DS_IMPORTER
 #ifndef ASSIMP_BUILD_NO_3DS_IMPORTER
 
 
-struct aiNode;
 #include "3DSHelper.h"
 #include "3DSHelper.h"
+#include "StreamReader.h"
+
+struct aiNode;
 
 
 namespace Assimp	{
 namespace Assimp	{
 
 

+ 6 - 0
code/ACLoader.h

@@ -49,6 +49,12 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #include "BaseImporter.h"
 #include "BaseImporter.h"
 #include "../include/assimp/types.h"
 #include "../include/assimp/types.h"
 
 
+class aiNode;
+class aiMesh;
+class aiMaterial;
+class aiLight;
+
+
 namespace Assimp	{
 namespace Assimp	{
 
 
 // ---------------------------------------------------------------------------
 // ---------------------------------------------------------------------------

+ 11 - 0
code/AssbinLoader.h

@@ -48,6 +48,17 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #include "BaseImporter.h"
 #include "BaseImporter.h"
 #include "../include/assimp/types.h"
 #include "../include/assimp/types.h"
 
 
+class aiMesh;
+class aiNode;
+class aiBone;
+class aiMaterial;
+class aiMaterialProperty;
+class aiNodeAnim;
+class aiAnimation;
+class aiTexture;
+class aiLight;
+class aiCamera;
+
 #ifndef ASSIMP_BUILD_NO_ASSBIN_IMPORTER
 #ifndef ASSIMP_BUILD_NO_ASSBIN_IMPORTER
 
 
 namespace Assimp	{
 namespace Assimp	{

+ 5 - 0
code/B3DImporter.h

@@ -47,10 +47,15 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #include "../include/assimp/types.h"
 #include "../include/assimp/types.h"
 #include "../include/assimp/mesh.h"
 #include "../include/assimp/mesh.h"
 #include "../include/assimp/material.h"
 #include "../include/assimp/material.h"
+#include "BaseImporter.h"
 
 
 #include <string>
 #include <string>
 #include <vector>
 #include <vector>
 
 
+struct aiNodeAnim;
+struct aiNode;
+struct aiAnimation;
+
 namespace Assimp{
 namespace Assimp{
 
 
 class B3DImporter : public BaseImporter{
 class B3DImporter : public BaseImporter{

+ 2 - 0
code/BVHLoader.h

@@ -49,6 +49,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 
 #include "BaseImporter.h"
 #include "BaseImporter.h"
 
 
+struct aiNode;
+
 namespace Assimp
 namespace Assimp
 {
 {
 
 

+ 3 - 1
code/BaseImporter.h

@@ -47,7 +47,9 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #include <string>
 #include <string>
 #include <map>
 #include <map>
 #include <vector>
 #include <vector>
-#include "./../include/assimp/types.h"
+#include <set>
+#include "../include/assimp/types.h"
+#include "../include/assimp/ProgressHandler.hpp"
 
 
 struct aiScene;
 struct aiScene;
 
 

+ 5 - 0
code/Bitmap.h

@@ -48,6 +48,11 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #ifndef AI_BITMAP_H_INC
 #ifndef AI_BITMAP_H_INC
 #define AI_BITMAP_H_INC
 #define AI_BITMAP_H_INC
 
 
+#include <stdint.h>
+#include <cstddef>
+struct aiTexture;
+struct IOStream;
+
 namespace Assimp {
 namespace Assimp {
 
 
 class Bitmap {
 class Bitmap {

+ 5 - 0
code/BlenderDNA.h

@@ -47,6 +47,11 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 
 #include "BaseImporter.h"
 #include "BaseImporter.h"
 #include "TinyFormatter.h"
 #include "TinyFormatter.h"
+#include "StreamReader.h"
+#include "../include/assimp/DefaultLogger.hpp"
+#include <stdint.h>
+#include <boost/shared_ptr.hpp>
+
 
 
 // enable verbose log output. really verbose, so be careful.
 // enable verbose log output. really verbose, so be careful.
 #ifdef ASSIMP_BUILD_DEBUG
 #ifdef ASSIMP_BUILD_DEBUG

+ 2 - 0
code/BlenderDNA.inl

@@ -45,6 +45,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #ifndef INCLUDED_AI_BLEND_DNA_INL
 #ifndef INCLUDED_AI_BLEND_DNA_INL
 #define INCLUDED_AI_BLEND_DNA_INL
 #define INCLUDED_AI_BLEND_DNA_INL
 
 
+#include <boost/shared_ptr.hpp>
+
 namespace Assimp	{
 namespace Assimp	{
 	namespace Blender {
 	namespace Blender {
 
 

+ 5 - 0
code/BlenderIntermediate.h

@@ -49,6 +49,11 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #include "BlenderDNA.h"
 #include "BlenderDNA.h"
 #include "BlenderScene.h"
 #include "BlenderScene.h"
 #include "BlenderSceneGen.h"
 #include "BlenderSceneGen.h"
+#include <boost/foreach.hpp>
+#include <deque>
+#include "./../include/assimp/material.h"
+
+struct aiTexture;
 
 
 #define for_each(x,y) BOOST_FOREACH(x,y)
 #define for_each(x,y) BOOST_FOREACH(x,y)
 
 

+ 7 - 0
code/BlenderLoader.h

@@ -46,6 +46,13 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 
 #include "BaseImporter.h"
 #include "BaseImporter.h"
 #include "LogAux.h"
 #include "LogAux.h"
+#include <boost/shared_ptr.hpp>
+
+struct aiNode;
+struct aiMesh;
+struct aiLight;
+struct aiCamera;
+struct aiMaterial;
 
 
 namespace Assimp	{
 namespace Assimp	{
 	
 	

+ 2 - 0
code/BlenderScene.h

@@ -44,6 +44,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #ifndef INCLUDED_AI_BLEND_SCENE_H
 #ifndef INCLUDED_AI_BLEND_SCENE_H
 #define INCLUDED_AI_BLEND_SCENE_H
 #define INCLUDED_AI_BLEND_SCENE_H
 
 
+#include "BlenderDNA.h"
+
 namespace Assimp	{
 namespace Assimp	{
 	namespace Blender {
 	namespace Blender {
 
 

+ 3 - 0
code/BlenderSceneGen.h

@@ -44,6 +44,9 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #ifndef INCLUDED_AI_BLEND_SCENEGEN_H
 #ifndef INCLUDED_AI_BLEND_SCENEGEN_H
 #define INCLUDED_AI_BLEND_SCENEGEN_H
 #define INCLUDED_AI_BLEND_SCENEGEN_H
 
 
+#include "BlenderDNA.h"
+#include "BlenderScene.h"
+
 namespace Assimp	{
 namespace Assimp	{
 	namespace Blender {
 	namespace Blender {
 
 

+ 9 - 0
code/BlobIOSystem.h

@@ -45,6 +45,15 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #ifndef AI_BLOBIOSYSTEM_H_INCLUDED
 #ifndef AI_BLOBIOSYSTEM_H_INCLUDED
 #define AI_BLOBIOSYSTEM_H_INCLUDED
 #define AI_BLOBIOSYSTEM_H_INCLUDED
 
 
+#include "./../include/assimp/IOStream.hpp"
+#include "./../include/assimp/cexport.h"
+#include "./../include/assimp/IOSystem.hpp"
+#include "./../include/assimp/DefaultLogger.hpp"
+#include <boost/foreach.hpp>
+#include <stdint.h>
+#include <set>
+#include <vector>
+
 namespace Assimp	{
 namespace Assimp	{
 	class BlobIOSystem;
 	class BlobIOSystem;
 
 

+ 1 - 0
code/BoostWorkaround/boost/format.hpp

@@ -13,6 +13,7 @@
 
 
 #include <string>
 #include <string>
 #include <vector>
 #include <vector>
+#include <sstream> 
 
 
 namespace boost
 namespace boost
 {
 {

+ 3 - 0
code/BoostWorkaround/boost/shared_ptr.hpp

@@ -6,6 +6,9 @@
 
 
 // ------------------------------
 // ------------------------------
 // Internal stub
 // Internal stub
+
+#include <stddef.h> //NULL
+#include <algorithm> //std::swap
 namespace boost {
 namespace boost {
 	namespace detail {
 	namespace detail {
 		class controller {
 		class controller {

+ 2 - 1
code/BoostWorkaround/boost/timer.hpp

@@ -19,6 +19,7 @@
 
 
 //#include <boost/config.hpp>
 //#include <boost/config.hpp>
 #include <ctime>
 #include <ctime>
+#include <limits>
 //#include <boost/limits.hpp>
 //#include <boost/limits.hpp>
 
 
 # ifdef BOOST_NO_STDC_NAMESPACE
 # ifdef BOOST_NO_STDC_NAMESPACE
@@ -69,4 +70,4 @@ class timer
 
 
 } // namespace boost
 } // namespace boost
 
 
-#endif  // BOOST_TIMER_HPP
+#endif  // BOOST_TIMER_HPP

+ 1 - 0
code/ByteSwap.h

@@ -45,6 +45,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 
 #include "../include/assimp/ai_assert.h"
 #include "../include/assimp/ai_assert.h"
 #include "../include/assimp/types.h"
 #include "../include/assimp/types.h"
+#include <stdint.h>
 
 
 #if _MSC_VER >= 1400 
 #if _MSC_VER >= 1400 
 #include <stdlib.h>
 #include <stdlib.h>

+ 3 - 0
code/C4DImporter.h

@@ -48,6 +48,9 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #include "LogAux.h"
 #include "LogAux.h"
 
 
 #include <set>
 #include <set>
+struct aiNode;
+struct aiMesh;
+struct aiMaterial;
 
 
 struct aiImporterDesc;
 struct aiImporterDesc;
 
 

+ 2 - 0
code/CInterfaceIOWrapper.h

@@ -45,6 +45,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #define AI_CIOSYSTEM_H_INCLUDED
 #define AI_CIOSYSTEM_H_INCLUDED
 
 
 #include "../include/assimp/cfileio.h"
 #include "../include/assimp/cfileio.h"
+#include "../include/assimp/IOStream.hpp"
+#include "../include/assimp/IOSystem.hpp"
 
 
 namespace Assimp	{
 namespace Assimp	{
 	
 	

+ 4 - 0
code/COBLoader.h

@@ -45,6 +45,10 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #define INCLUDED_AI_COB_LOADER_H
 #define INCLUDED_AI_COB_LOADER_H
 
 
 #include "BaseImporter.h"
 #include "BaseImporter.h"
+#include "StreamReader.h"
+
+struct aiNode;
+
 namespace Assimp	{
 namespace Assimp	{
 	class LineSplitter;
 	class LineSplitter;
 	
 	

+ 3 - 0
code/COBScene.h

@@ -45,7 +45,10 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #define INCLUDED_AI_COB_SCENE_H
 #define INCLUDED_AI_COB_SCENE_H
 
 
 #include <boost/shared_ptr.hpp>
 #include <boost/shared_ptr.hpp>
+#include <deque>
+
 #include "BaseImporter.h"
 #include "BaseImporter.h"
+#include "./../include/assimp/material.h"
 
 
 namespace Assimp	{
 namespace Assimp	{
 	namespace COB {
 	namespace COB {

+ 3 - 0
code/CSMLoader.h

@@ -43,6 +43,9 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
  */
 #ifndef INCLUDED_AI_CSM_LOADER_H
 #ifndef INCLUDED_AI_CSM_LOADER_H
 #define INCLUDED_AI_CSM_LOADER_H
 #define INCLUDED_AI_CSM_LOADER_H
+
+#include "BaseImporter.h"
+
 namespace Assimp	{
 namespace Assimp	{
 
 
 // ---------------------------------------------------------------------------
 // ---------------------------------------------------------------------------

+ 6 - 0
code/ColladaExporter.h

@@ -45,7 +45,13 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #define AI_COLLADAEXPORTER_H_INC
 #define AI_COLLADAEXPORTER_H_INC
 
 
 #include "../include/assimp/ai_assert.h"
 #include "../include/assimp/ai_assert.h"
+#include "../include/assimp/material.h"
+#include "../include/assimp/mesh.h"
+#include "../include/assimp/Exporter.hpp"
 #include <sstream>
 #include <sstream>
+#include <vector>
+#include <map>
+#include <boost/lexical_cast.hpp>
 
 
 struct aiScene;
 struct aiScene;
 struct aiNode;
 struct aiNode;

+ 10 - 0
code/ColladaHelper.h

@@ -43,6 +43,16 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #ifndef AI_COLLADAHELPER_H_INC
 #ifndef AI_COLLADAHELPER_H_INC
 #define AI_COLLADAHELPER_H_INC
 #define AI_COLLADAHELPER_H_INC
 
 
+#include <string>
+#include <map>
+#include <vector>
+#include <stdint.h>
+#include "../include/assimp/types.h"
+#include "../include/assimp/mesh.h"
+#include "../include/assimp/material.h"
+
+struct aiMaterial;
+
 namespace Assimp	{
 namespace Assimp	{
 namespace Collada		{
 namespace Collada		{
 
 

+ 6 - 0
code/ColladaLoader.h

@@ -46,6 +46,12 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #include "BaseImporter.h"
 #include "BaseImporter.h"
 #include "ColladaParser.h"
 #include "ColladaParser.h"
 
 
+struct aiNode;
+struct aiCamera;
+struct aiLight;
+struct aiTexture;
+struct aiAnimation;
+
 namespace Assimp
 namespace Assimp
 {
 {
 
 

+ 2 - 0
code/ColladaParser.h

@@ -47,6 +47,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 
 #include "irrXMLWrapper.h"
 #include "irrXMLWrapper.h"
 #include "ColladaHelper.h"
 #include "ColladaHelper.h"
+#include "../include/assimp/ai_assert.h"
+#include <boost/format.hpp>
 
 
 namespace Assimp
 namespace Assimp
 {
 {

+ 3 - 0
code/ComputeUVMappingProcess.h

@@ -45,8 +45,11 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 
 #include "BaseProcess.h"
 #include "BaseProcess.h"
 #include "../include/assimp/mesh.h"
 #include "../include/assimp/mesh.h"
+#include "../include/assimp/material.h"
+#include "../include/assimp/types.h"
 
 
 class ComputeUVMappingTest;
 class ComputeUVMappingTest;
+
 namespace Assimp
 namespace Assimp
 	{
 	{
 
 

+ 2 - 0
code/ConvertToLHProcess.h

@@ -54,6 +54,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 
 struct aiMesh;
 struct aiMesh;
 struct aiNodeAnim;
 struct aiNodeAnim;
+struct aiNode;
+struct aiMaterial;
 
 
 namespace Assimp	{
 namespace Assimp	{
 
 

+ 3 - 0
code/DXFHelper.h

@@ -48,6 +48,9 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #include "LineSplitter.h"
 #include "LineSplitter.h"
 #include "TinyFormatter.h"
 #include "TinyFormatter.h"
 #include "StreamReader.h"
 #include "StreamReader.h"
+#include "fast_atof.h"
+#include <vector>
+#include "../include/assimp/DefaultLogger.hpp"
 
 
 namespace Assimp {
 namespace Assimp {
 	namespace DXF {
 	namespace DXF {

+ 5 - 0
code/DefaultIOStream.h

@@ -44,6 +44,11 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 
 #include <stdio.h>
 #include <stdio.h>
 #include "../include/assimp/IOStream.hpp"
 #include "../include/assimp/IOStream.hpp"
+#include "../include/assimp/importerdesc.h"
+
+#if (!defined SIZE_MAX)
+#       define SIZE_MAX (~((size_t)0))
+#endif
 
 
 namespace Assimp	{
 namespace Assimp	{
 
 

+ 1 - 0
code/Exceptional.h

@@ -42,6 +42,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #define INCLUDED_EXCEPTIONAL_H
 #define INCLUDED_EXCEPTIONAL_H
 
 
 #include <stdexcept>
 #include <stdexcept>
+#include "DefaultIOStream.h"
 using std::runtime_error;
 using std::runtime_error;
 
 
 #ifdef _MSC_VER
 #ifdef _MSC_VER

+ 2 - 0
code/FBXConverter.h

@@ -44,6 +44,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #ifndef INCLUDED_AI_FBX_CONVERTER_H
 #ifndef INCLUDED_AI_FBX_CONVERTER_H
 #define INCLUDED_AI_FBX_CONVERTER_H
 #define INCLUDED_AI_FBX_CONVERTER_H
 
 
+class aiScene;
+
 namespace Assimp {
 namespace Assimp {
 namespace FBX {
 namespace FBX {
 
 

+ 12 - 1
code/FBXDocument.h

@@ -47,8 +47,19 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #include <vector>
 #include <vector>
 #include <map>
 #include <map>
 #include <string>
 #include <string>
-
+#include <stdint.h>
+#include <numeric>
+#include <boost/scoped_ptr.hpp>
+#include "../include/assimp/ai_assert.h"
+#include "../include/assimp/vector3.h"
+#include "../include/assimp/vector2.h"
+#include "../include/assimp/color4.h"
+#include "../include/assimp/mesh.h"
 #include "FBXProperties.h"
 #include "FBXProperties.h"
+#include "FBXParser.h"
+
+#define _AI_CONCAT(a,b)  a ## b
+#define  AI_CONCAT(a,b)  _AI_CONCAT(a,b)
 
 
 namespace Assimp {
 namespace Assimp {
 namespace FBX {
 namespace FBX {

+ 8 - 0
code/FBXDocumentUtil.h

@@ -44,6 +44,14 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #ifndef INCLUDED_AI_FBX_DOCUMENT_UTIL_H
 #ifndef INCLUDED_AI_FBX_DOCUMENT_UTIL_H
 #define INCLUDED_AI_FBX_DOCUMENT_UTIL_H
 #define INCLUDED_AI_FBX_DOCUMENT_UTIL_H
 
 
+#include "../include/assimp/defs.h"
+#include <string>
+#include <boost/shared_ptr.hpp>
+#include "FBXDocument.h"
+
+struct Token;
+struct Element;
+
 namespace Assimp {
 namespace Assimp {
 namespace FBX {
 namespace FBX {
 namespace Util {
 namespace Util {

+ 2 - 1
code/FBXParser.h

@@ -48,9 +48,10 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #include <map>
 #include <map>
 #include <string>
 #include <string>
 #include <utility>
 #include <utility>
+#include <stdint.h>
 
 
 #include <boost/shared_ptr.hpp>
 #include <boost/shared_ptr.hpp>
-
+#include <boost/scoped_ptr.hpp>
 #include "LogAux.h"
 #include "LogAux.h"
 
 
 #include "FBXCompileConfig.h"
 #include "FBXCompileConfig.h"

+ 2 - 0
code/FBXProperties.h

@@ -46,6 +46,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 
 #include <map>
 #include <map>
 #include <string>
 #include <string>
+#include "FBXCompileConfig.h"
+#include <boost/shared_ptr.hpp>
 
 
 namespace Assimp {
 namespace Assimp {
 namespace FBX {
 namespace FBX {

+ 3 - 1
code/FBXTokenizer.h

@@ -45,8 +45,10 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #define INCLUDED_AI_FBX_TOKENIZER_H
 #define INCLUDED_AI_FBX_TOKENIZER_H
 
 
 #include <boost/shared_ptr.hpp>
 #include <boost/shared_ptr.hpp>
-
 #include "FBXCompileConfig.h"
 #include "FBXCompileConfig.h"
+#include "../include/assimp/ai_assert.h"
+#include <vector>
+#include <string>
 
 
 namespace Assimp {
 namespace Assimp {
 namespace FBX {
 namespace FBX {

+ 1 - 0
code/FileLogStream.h

@@ -3,6 +3,7 @@
 
 
 #include "../include/assimp/LogStream.hpp"
 #include "../include/assimp/LogStream.hpp"
 #include "../include/assimp/IOStream.hpp"
 #include "../include/assimp/IOStream.hpp"
+#include "DefaultIOSystem.h"
 
 
 namespace Assimp	{
 namespace Assimp	{
 
 

+ 2 - 0
code/FileSystemFilter.h

@@ -46,8 +46,10 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #define AI_FILESYSTEMFILTER_H_INC
 #define AI_FILESYSTEMFILTER_H_INC
 
 
 #include "../include/assimp/IOSystem.hpp"
 #include "../include/assimp/IOSystem.hpp"
+#include "../include/assimp/DefaultLogger.hpp"
 #include "fast_atof.h"
 #include "fast_atof.h"
 #include "ParsingUtils.h"
 #include "ParsingUtils.h"
+
 namespace Assimp	{
 namespace Assimp	{
 
 
 inline bool IsHex(char s) {
 inline bool IsHex(char s) {

+ 1 - 0
code/FindInvalidDataProcess.h

@@ -45,6 +45,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 
 #include "BaseProcess.h"
 #include "BaseProcess.h"
 #include "../include/assimp/types.h"
 #include "../include/assimp/types.h"
+#include "../include/assimp/anim.h"
 
 
 struct aiMesh;
 struct aiMesh;
 class FindInvalidDataProcessTest;
 class FindInvalidDataProcessTest;

+ 3 - 0
code/GenericProperty.h

@@ -42,7 +42,10 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #define AI_GENERIC_PROPERTY_H_INCLUDED
 #define AI_GENERIC_PROPERTY_H_INCLUDED
 
 
 #include "./../include/assimp/Importer.hpp"
 #include "./../include/assimp/Importer.hpp"
+#include "./../include/assimp/ai_assert.h"
 #include "Hash.h"
 #include "Hash.h"
+#include <map>
+
 
 
 // ------------------------------------------------------------------------------------------------
 // ------------------------------------------------------------------------------------------------
 template <class T>
 template <class T>

+ 1 - 0
code/HMPFileData.h

@@ -45,6 +45,7 @@ namespace Assimp	{
 namespace HMP	{
 namespace HMP	{
 
 
 #include "./../include/assimp/Compiler/pushpack1.h"
 #include "./../include/assimp/Compiler/pushpack1.h"
+#include <stdint.h>
 
 
 // to make it easier for us, we test the magic word against both "endianesses"
 // to make it easier for us, we test the magic word against both "endianesses"
 #define AI_HMP_MAGIC_NUMBER_BE_4	AI_MAKE_MAGIC("HMP4")
 #define AI_HMP_MAGIC_NUMBER_BE_4	AI_MAKE_MAGIC("HMP4")

+ 1 - 2
code/HalfLifeFileData.h

@@ -49,9 +49,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #ifndef AI_MDLFILEHELPER2_H_INC
 #ifndef AI_MDLFILEHELPER2_H_INC
 #define AI_MDLFILEHELPER2_H_INC
 #define AI_MDLFILEHELPER2_H_INC
 
 
-#include "./../include/assimp/Compiler/pushpack1.h"
-
 #include "MDLFileData.h"
 #include "MDLFileData.h"
+#include "./../include/assimp/Compiler/pushpack1.h"
 
 
 namespace Assimp	{
 namespace Assimp	{
 namespace MDL	{
 namespace MDL	{

+ 3 - 0
code/Hash.h

@@ -41,6 +41,9 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #ifndef AI_HASH_H_INCLUDED
 #ifndef AI_HASH_H_INCLUDED
 #define AI_HASH_H_INCLUDED
 #define AI_HASH_H_INCLUDED
 
 
+#include <stdint.h>
+#include <string.h>
+
 // ------------------------------------------------------------------------------------------------
 // ------------------------------------------------------------------------------------------------
 // Hashing function taken from 
 // Hashing function taken from 
 // http://www.azillionmonkeys.com/qed/hash.html
 // http://www.azillionmonkeys.com/qed/hash.html

+ 4 - 0
code/IFCUtil.h

@@ -47,6 +47,10 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 
 #include "IFCReaderGen.h"
 #include "IFCReaderGen.h"
 #include "IFCLoader.h"
 #include "IFCLoader.h"
+#include "STEPFile.h"
+
+struct aiMaterial;
+struct aiNode;
 
 
 namespace Assimp {
 namespace Assimp {
 namespace IFC {
 namespace IFC {

+ 2 - 0
code/IRRLoader.h

@@ -48,6 +48,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 
 #include "IRRShared.h"
 #include "IRRShared.h"
 #include "SceneCombiner.h"
 #include "SceneCombiner.h"
+#include "Importer.h"
+#include "../include/assimp/anim.h"
 
 
 namespace Assimp	{
 namespace Assimp	{
 
 

+ 2 - 0
code/IRRShared.h

@@ -9,6 +9,8 @@
 
 
 #include "irrXMLWrapper.h"
 #include "irrXMLWrapper.h"
 #include "BaseImporter.h"
 #include "BaseImporter.h"
+#include <stdint.h>
+class aiMaterial;
 
 
 namespace Assimp	{
 namespace Assimp	{
 
 

+ 10 - 1
code/Importer.h

@@ -42,8 +42,17 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #ifndef INCLUDED_AI_IMPORTER_H
 #ifndef INCLUDED_AI_IMPORTER_H
 #define INCLUDED_AI_IMPORTER_H
 #define INCLUDED_AI_IMPORTER_H
 
 
-namespace Assimp	{
+#include <map>
+#include <string>
+#include <vector>
+#include "../include/assimp/matrix4x4.h"
+
+class aiScene;
+class SharedPostProcessInfo;
 
 
+namespace Assimp	{
+	class ProgressHandler;
+	class IOSystem;
 	class BaseImporter;
 	class BaseImporter;
 	class BaseProcess;
 	class BaseProcess;
 
 

+ 1 - 0
code/JoinVerticesProcess.h

@@ -45,6 +45,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 
 #include "BaseProcess.h"
 #include "BaseProcess.h"
 #include "../include/assimp/types.h"
 #include "../include/assimp/types.h"
+struct aiMesh;
 
 
 namespace Assimp
 namespace Assimp
 {
 {

+ 6 - 0
code/LWOAnimation.h

@@ -47,6 +47,12 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #ifndef AI_LWO_ANIMATION_INCLUDED
 #ifndef AI_LWO_ANIMATION_INCLUDED
 #define AI_LWO_ANIMATION_INCLUDED
 #define AI_LWO_ANIMATION_INCLUDED
 
 
+#include "../include/assimp/anim.h"
+#include <vector>
+#include <list>
+
+struct aiNodeAnim;
+
 namespace Assimp {
 namespace Assimp {
 namespace LWO {
 namespace LWO {
 
 

+ 2 - 0
code/LWOLoader.h

@@ -43,6 +43,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #define AI_LWOLOADER_H_INCLUDED
 #define AI_LWOLOADER_H_INCLUDED
 
 
 #include "../include/assimp/types.h"
 #include "../include/assimp/types.h"
+#include "../include/assimp/material.h"
 #include "../include/assimp/DefaultLogger.hpp"
 #include "../include/assimp/DefaultLogger.hpp"
 
 
 #include "LWOFileData.h"
 #include "LWOFileData.h"
@@ -50,6 +51,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 
 struct aiTexture;
 struct aiTexture;
 struct aiNode;
 struct aiNode;
+struct aiMaterial;
 
 
 namespace Assimp	{
 namespace Assimp	{
 using namespace LWO;
 using namespace LWO;

+ 6 - 0
code/LWSLoader.h

@@ -46,6 +46,12 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 
 #include "LWOFileData.h"
 #include "LWOFileData.h"
 #include "SceneCombiner.h"
 #include "SceneCombiner.h"
+#include "BaseImporter.h"
+
+struct IOSystem;
+struct aiImporterDesc;
+struct Importer;
+struct BatchLoader;
 
 
 namespace Assimp	{
 namespace Assimp	{
 	namespace LWS	{
 	namespace LWS	{

+ 2 - 0
code/LogAux.h

@@ -45,6 +45,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #define INCLUDED_AI_LOGAUX_H
 #define INCLUDED_AI_LOGAUX_H
 
 
 #include "TinyFormatter.h"
 #include "TinyFormatter.h"
+#include "Exceptional.h"
+#include "../include/assimp/DefaultLogger.hpp"
 
 
 namespace Assimp {
 namespace Assimp {
 
 

+ 1 - 0
code/MD2FileData.h

@@ -48,6 +48,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #include "../include/assimp/types.h"
 #include "../include/assimp/types.h"
 #include "../include/assimp/mesh.h"
 #include "../include/assimp/mesh.h"
 #include "../include/assimp/anim.h"
 #include "../include/assimp/anim.h"
+#include <stdint.h>
 
 
 #include "./../include/assimp/Compiler/pushpack1.h"
 #include "./../include/assimp/Compiler/pushpack1.h"
 
 

+ 2 - 1
code/MD2Loader.h

@@ -46,9 +46,10 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 
 #include "BaseImporter.h"
 #include "BaseImporter.h"
 #include "../include/assimp/types.h"
 #include "../include/assimp/types.h"
+#include "ByteSwap.h"
 
 
-struct aiNode;
 #include "MD2FileData.h"
 #include "MD2FileData.h"
+struct aiNode;
 
 
 namespace Assimp	{
 namespace Assimp	{
 
 

+ 1 - 0
code/MD3FileData.h

@@ -49,6 +49,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #include <string>
 #include <string>
 #include <vector>
 #include <vector>
 #include <sstream>
 #include <sstream>
+#include <stdint.h>
 
 
 #include "../include/assimp/types.h"
 #include "../include/assimp/types.h"
 #include "../include/assimp/mesh.h"
 #include "../include/assimp/mesh.h"

+ 6 - 2
code/MD3Loader.h

@@ -46,10 +46,14 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 
 #include "BaseImporter.h"
 #include "BaseImporter.h"
 #include "ByteSwap.h"
 #include "ByteSwap.h"
-
+#include "MD3FileData.h"
+#include "StringComparison.h"
 #include "../include/assimp/types.h"
 #include "../include/assimp/types.h"
 
 
-#include "MD3FileData.h"
+#include <list>
+
+struct aiMaterial;
+
 namespace Assimp	{
 namespace Assimp	{
 
 
 
 

+ 4 - 4
code/MD4FileData.h

@@ -46,9 +46,9 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #include <vector>
 #include <vector>
 #include <sstream>
 #include <sstream>
 
 
-#include "../include/aiTypes.h"
-#include "../include/aiMesh.h"
-#include "../include/aiAnim.h"
+#include "../include/assimp/types.h"
+#include "../include/assimp/mesh.h"
+#include "../include/assimp/anim.h"
 
 
 #if defined(_MSC_VER) ||  defined(__BORLANDC__) ||	defined (__BCPLUSPLUS__)
 #if defined(_MSC_VER) ||  defined(__BORLANDC__) ||	defined (__BCPLUSPLUS__)
 #	pragma pack(push,1)
 #	pragma pack(push,1)
@@ -215,4 +215,4 @@ struct Frame
 };
 };
 };
 };
 
 
-#endif // !! AI_MD4FILEHELPER_H_INC
+#endif // !! AI_MD4FILEHELPER_H_INC

+ 2 - 0
code/MD5Loader.h

@@ -50,6 +50,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #include "MD5Parser.h"
 #include "MD5Parser.h"
 
 
 #include "../include/assimp/types.h"
 #include "../include/assimp/types.h"
+struct aiNode;
+struct aiNodeAnim;
 
 
 namespace Assimp	{
 namespace Assimp	{
 
 

+ 2 - 0
code/MD5Parser.h

@@ -48,6 +48,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 
 #include "../include/assimp/types.h"
 #include "../include/assimp/types.h"
 #include "ParsingUtils.h"
 #include "ParsingUtils.h"
+#include <vector>
+#include <stdint.h>
 
 
 struct aiFace;
 struct aiFace;
 
 

+ 1 - 1
code/MDCFileData.h

@@ -54,7 +54,7 @@ http://themdcfile.planetwolfenstein.gamespy.com/MDC_File_Format.pdf
 #include "../include/assimp/anim.h"
 #include "../include/assimp/anim.h"
 
 
 #include "./../include/assimp/Compiler/pushpack1.h"
 #include "./../include/assimp/Compiler/pushpack1.h"
-
+#include <stdint.h>
 
 
 namespace Assimp {
 namespace Assimp {
 namespace MDC {
 namespace MDC {

+ 7 - 0
code/MDLFileData.h

@@ -52,7 +52,14 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #ifndef AI_MDLFILEHELPER_H_INC
 #ifndef AI_MDLFILEHELPER_H_INC
 #define AI_MDLFILEHELPER_H_INC
 #define AI_MDLFILEHELPER_H_INC
 
 
+#include "ByteSwap.h"
+#include "./../include/assimp/anim.h"
+#include "./../include/assimp/mesh.h"
 #include "./../include/assimp/Compiler/pushpack1.h"
 #include "./../include/assimp/Compiler/pushpack1.h"
+#include <stdint.h>
+#include <vector>
+
+class aiMaterial;
 
 
 namespace Assimp	{
 namespace Assimp	{
 namespace MDL	{
 namespace MDL	{

+ 3 - 2
code/MDLLoader.h

@@ -47,11 +47,12 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #define AI_MDLLOADER_H_INCLUDED
 #define AI_MDLLOADER_H_INCLUDED
 
 
 #include "BaseImporter.h"
 #include "BaseImporter.h"
-
-struct aiNode;
 #include "MDLFileData.h"
 #include "MDLFileData.h"
 #include "HalfLifeFileData.h"
 #include "HalfLifeFileData.h"
 
 
+struct aiNode;
+struct aiTexture;
+
 namespace Assimp	{
 namespace Assimp	{
 
 
 
 

+ 3 - 0
code/MS3DLoader.h

@@ -45,6 +45,9 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #define AI_MS3DLOADER_H_INCLUDED
 #define AI_MS3DLOADER_H_INCLUDED
 
 
 #include "BaseImporter.h"
 #include "BaseImporter.h"
+#include "StreamReader.h"
+struct aiNode;
+
 namespace Assimp	{
 namespace Assimp	{
 
 
 // ----------------------------------------------------------------------------------------------
 // ----------------------------------------------------------------------------------------------

+ 2 - 0
code/MakeVerboseFormat.h

@@ -45,6 +45,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #define AI_MAKEVERBOSEFORMAT_H_INC
 #define AI_MAKEVERBOSEFORMAT_H_INC
 
 
 #include "BaseProcess.h"
 #include "BaseProcess.h"
+struct aiMesh;
+
 namespace Assimp	{
 namespace Assimp	{
 
 
 // ---------------------------------------------------------------------------
 // ---------------------------------------------------------------------------

+ 4 - 0
code/MaterialSystem.h

@@ -45,6 +45,10 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #ifndef AI_MATERIALSYSTEM_H_INC
 #ifndef AI_MATERIALSYSTEM_H_INC
 #define AI_MATERIALSYSTEM_H_INC
 #define AI_MATERIALSYSTEM_H_INC
 
 
+#include <stdint.h>
+
+struct aiMaterial;
+
 namespace Assimp	{
 namespace Assimp	{
 
 
 // ------------------------------------------------------------------------------
 // ------------------------------------------------------------------------------

+ 6 - 0
code/MemoryIOWrapper.h

@@ -42,6 +42,12 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  *  Handy IOStream/IOSystem implemetation to read directly from a memory buffer */
  *  Handy IOStream/IOSystem implemetation to read directly from a memory buffer */
 #ifndef AI_MEMORYIOSTREAM_H_INC
 #ifndef AI_MEMORYIOSTREAM_H_INC
 #define AI_MEMORYIOSTREAM_H_INC
 #define AI_MEMORYIOSTREAM_H_INC
+
+#include "../include/assimp/IOStream.hpp"
+#include "../include/assimp/IOSystem.hpp"
+#include "../include/assimp/ai_assert.h"
+#include <stdint.h>
+
 namespace Assimp	{
 namespace Assimp	{
 #define AI_MEMORYIO_MAGIC_FILENAME "$$$___magic___$$$"
 #define AI_MEMORYIO_MAGIC_FILENAME "$$$___magic___$$$"
 #define AI_MEMORYIO_MAGIC_FILENAME_LENGTH 17
 #define AI_MEMORYIO_MAGIC_FILENAME_LENGTH 17

+ 12 - 0
code/NDOLoader.h

@@ -43,6 +43,18 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
  */
 #ifndef INCLUDED_AI_NDO_LOADER_H
 #ifndef INCLUDED_AI_NDO_LOADER_H
 #define INCLUDED_AI_NDO_LOADER_H
 #define INCLUDED_AI_NDO_LOADER_H
+
+#include "../include/assimp/vector3.h"
+#include "BaseImporter.h"
+#include <stdint.h>
+#include <string>
+#include <vector>
+
+class IOSystem;
+class Importer;
+struct aiImporterDesc;
+struct aiScene;
+
 namespace Assimp	{
 namespace Assimp	{
 
 
 // ---------------------------------------------------------------------------
 // ---------------------------------------------------------------------------

+ 2 - 1
code/NFFLoader.h

@@ -45,9 +45,10 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #define AI_NFFLOADER_H_INCLUDED
 #define AI_NFFLOADER_H_INCLUDED
 
 
 #include "BaseImporter.h"
 #include "BaseImporter.h"
+#include "../include/assimp/types.h"
+#include "../include/assimp/material.h"
 #include <vector>
 #include <vector>
 
 
-#include "../include/assimp/types.h"
 
 
 namespace Assimp	{
 namespace Assimp	{
 
 

+ 4 - 0
code/ObjExporter.h

@@ -44,10 +44,14 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #ifndef AI_OBJEXPORTER_H_INC
 #ifndef AI_OBJEXPORTER_H_INC
 #define AI_OBJEXPORTER_H_INC
 #define AI_OBJEXPORTER_H_INC
 
 
+#include "../include/assimp/types.h"
 #include <sstream>
 #include <sstream>
+#include <vector>
+#include <map>
 
 
 struct aiScene;
 struct aiScene;
 struct aiNode;
 struct aiNode;
+struct aiMesh;
 
 
 namespace Assimp	
 namespace Assimp	
 {
 {

+ 1 - 0
code/ObjFileData.h

@@ -43,6 +43,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #define OBJ_FILE_IMPORTER_H_INC
 #define OBJ_FILE_IMPORTER_H_INC
 
 
 #include "BaseImporter.h"
 #include "BaseImporter.h"
+#include "../include/assimp/material.h"
 #include <vector>
 #include <vector>
 
 
 struct aiMesh;
 struct aiMesh;

+ 3 - 0
code/ObjFileParser.h

@@ -43,6 +43,9 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #include <vector>
 #include <vector>
 #include <string>
 #include <string>
 #include <map>
 #include <map>
+#include "../include/assimp/vector2.h"
+#include "../include/assimp/vector3.h"
+#include "../include/assimp/mesh.h"
 
 
 namespace Assimp
 namespace Assimp
 {
 {

+ 1 - 0
code/ObjTools.h

@@ -46,6 +46,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 
 #include "fast_atof.h"
 #include "fast_atof.h"
 #include "ParsingUtils.h"
 #include "ParsingUtils.h"
+#include <vector>
 
 
 namespace Assimp
 namespace Assimp
 {
 {

+ 3 - 0
code/OgreParsingUtils.h

@@ -45,6 +45,9 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 
 #include "ParsingUtils.h"
 #include "ParsingUtils.h"
 #include <functional>
 #include <functional>
+#include <algorithm>
+#include <stdint.h>
+#include <sstream>
 
 
 namespace Assimp
 namespace Assimp
 {
 {

+ 1 - 0
code/OptimizeGraph.h

@@ -47,6 +47,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #include "BaseProcess.h"
 #include "BaseProcess.h"
 #include "ProcessHelper.h"
 #include "ProcessHelper.h"
 #include "../include/assimp/types.h"
 #include "../include/assimp/types.h"
+#include <set>
 
 
 struct aiMesh;
 struct aiMesh;
 class OptimizeGraphProcessTest;
 class OptimizeGraphProcessTest;

+ 3 - 0
code/OptimizeMeshes.h

@@ -46,9 +46,12 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 
 #include "BaseProcess.h"
 #include "BaseProcess.h"
 #include "../include/assimp/types.h"
 #include "../include/assimp/types.h"
+#include <vector>
 
 
 struct aiMesh;
 struct aiMesh;
+struct aiNode;
 class OptimizeMeshesProcessTest;
 class OptimizeMeshesProcessTest;
+
 namespace Assimp	{
 namespace Assimp	{
 
 
 // ---------------------------------------------------------------------------
 // ---------------------------------------------------------------------------

+ 1 - 0
code/ParsingUtils.h

@@ -46,6 +46,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #define AI_PARSING_UTILS_H_INC
 #define AI_PARSING_UTILS_H_INC
 
 
 #include "StringComparison.h"
 #include "StringComparison.h"
+#include "../include/assimp/defs.h"
 
 
 namespace Assimp {
 namespace Assimp {
 
 

+ 1 - 0
code/PlyExporter.h

@@ -48,6 +48,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 
 struct aiScene;
 struct aiScene;
 struct aiNode;
 struct aiNode;
+struct aiMesh;
 
 
 namespace Assimp	
 namespace Assimp	
 {
 {

+ 4 - 2
code/PlyLoader.h

@@ -46,10 +46,12 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 
 #include "BaseImporter.h"
 #include "BaseImporter.h"
 #include "../include/assimp/types.h"
 #include "../include/assimp/types.h"
+#include "PlyParser.h"
+#include <vector>
 
 
 struct aiNode;
 struct aiNode;
-
-#include "PlyParser.h"
+struct aiMaterial;
+struct aiMesh;
 
 
 namespace Assimp	{
 namespace Assimp	{
 
 

+ 1 - 0
code/PlyParser.h

@@ -45,6 +45,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 
 
 
 #include "ParsingUtils.h"
 #include "ParsingUtils.h"
+#include <vector>
 
 
 
 
 namespace Assimp
 namespace Assimp

+ 3 - 0
code/PolyTools.h

@@ -43,6 +43,9 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #ifndef AI_POLYTOOLS_H_INCLUDED
 #ifndef AI_POLYTOOLS_H_INCLUDED
 #define AI_POLYTOOLS_H_INCLUDED
 #define AI_POLYTOOLS_H_INCLUDED
 
 
+#include "../include/assimp/material.h"
+#include "../include/assimp/ai_assert.h"
+
 namespace Assimp {
 namespace Assimp {
 
 
 // -------------------------------------------------------------------------------
 // -------------------------------------------------------------------------------

+ 3 - 0
code/PretransformVertices.h

@@ -47,7 +47,10 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 
 #include "BaseProcess.h"
 #include "BaseProcess.h"
 #include "../include/assimp/mesh.h"
 #include "../include/assimp/mesh.h"
+#include <list>
+#include <vector>
 
 
+struct aiNode;
 class PretransformVerticesTest;
 class PretransformVerticesTest;
 namespace Assimp	{
 namespace Assimp	{
 
 

+ 7 - 0
code/ProcessHelper.h

@@ -42,11 +42,18 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #define AI_PROCESS_HELPER_H_INCLUDED
 #define AI_PROCESS_HELPER_H_INCLUDED
 
 
 #include "../include/assimp/postprocess.h"
 #include "../include/assimp/postprocess.h"
+#include "../include/assimp/anim.h"
+#include "../include/assimp/mesh.h"
+#include "../include/assimp/material.h"
+#include "../include/assimp/DefaultLogger.hpp"
+#include "../include/assimp/scene.h"
 
 
 #include "SpatialSort.h"
 #include "SpatialSort.h"
 #include "BaseProcess.h"
 #include "BaseProcess.h"
 #include "ParsingUtils.h"
 #include "ParsingUtils.h"
 
 
+#include <list>
+
 // -------------------------------------------------------------------------------
 // -------------------------------------------------------------------------------
 // Some extensions to std namespace. Mainly std::min and std::max for all
 // Some extensions to std namespace. Mainly std::min and std::max for all
 // flat data types in the aiScene. They're used to quickly determine the
 // flat data types in the aiScene. They're used to quickly determine the

+ 2 - 1
code/Profiler.h

@@ -45,10 +45,11 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #define INCLUDED_PROFILER_H
 #define INCLUDED_PROFILER_H
 
 
 #include "boost/timer.hpp"
 #include "boost/timer.hpp"
-
 #include "../include/assimp/DefaultLogger.hpp"
 #include "../include/assimp/DefaultLogger.hpp"
 #include "TinyFormatter.h"
 #include "TinyFormatter.h"
 
 
+#include <map>
+
 namespace Assimp {
 namespace Assimp {
 	namespace Profiling {
 	namespace Profiling {
 
 

+ 2 - 0
code/Q3BSPFileData.h

@@ -41,6 +41,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #define ASSIMP_Q3BSPFILEDATA_H_INC
 #define ASSIMP_Q3BSPFILEDATA_H_INC
 
 
 #include <vector>
 #include <vector>
+#include <string.h> //memset
+#include <string>
 
 
 namespace Assimp {
 namespace Assimp {
 namespace Q3BSP {
 namespace Q3BSP {

+ 4 - 0
code/Q3BSPFileImporter.h

@@ -43,6 +43,10 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #include "BaseImporter.h"
 #include "BaseImporter.h"
 
 
 struct aiMesh;
 struct aiMesh;
+struct aiNode;
+struct aiFace;
+struct aiMaterial;
+struct aiTexture;
 
 
 namespace Assimp
 namespace Assimp
 {
 {

+ 1 - 0
code/Q3DLoader.h

@@ -47,6 +47,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #include "BaseImporter.h"
 #include "BaseImporter.h"
 #include "../include/assimp/types.h"
 #include "../include/assimp/types.h"
 #include <vector>
 #include <vector>
+#include <stdint.h>
 
 
 namespace Assimp	{
 namespace Assimp	{
 
 

+ 1 - 0
code/RemoveComments.h

@@ -45,6 +45,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #define AI_REMOVE_COMMENTS_H_INC
 #define AI_REMOVE_COMMENTS_H_INC
 
 
 #include "../include/assimp/ai_assert.h"
 #include "../include/assimp/ai_assert.h"
+#include "../include/assimp/defs.h"
 
 
 namespace Assimp	{
 namespace Assimp	{
 
 

+ 2 - 1
code/SGSpatialSort.h

@@ -43,8 +43,9 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #ifndef AI_D3DSSPATIALSORT_H_INC
 #ifndef AI_D3DSSPATIALSORT_H_INC
 #define AI_D3DSSPATIALSORT_H_INC
 #define AI_D3DSSPATIALSORT_H_INC
 
 
-#include <vector>
 #include "../include/assimp/types.h"
 #include "../include/assimp/types.h"
+#include <vector>
+#include <stdint.h>
 
 
 namespace Assimp	{
 namespace Assimp	{
 
 

+ 8 - 0
code/STEPFile.h

@@ -42,9 +42,17 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #define INCLUDED_AI_STEPFILE_H
 #define INCLUDED_AI_STEPFILE_H
 
 
 #include <boost/noncopyable.hpp>
 #include <boost/noncopyable.hpp>
+#include <boost/static_assert.hpp>
+#include <boost/foreach.hpp>
 #include <bitset>
 #include <bitset>
 #include <memory>
 #include <memory>
 #include <typeinfo>
 #include <typeinfo>
+#include <vector>
+#include <map>
+#include <set>
+
+#include "FBXDocument.h" //ObjectMap::value_type
+#include "../include/assimp/DefaultLogger.hpp"
 
 
 //
 //
 #if _MSC_VER > 1500 || (defined __GNUC___)
 #if _MSC_VER > 1500 || (defined __GNUC___)

+ 1 - 0
code/STLExporter.h

@@ -48,6 +48,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 
 struct aiScene;
 struct aiScene;
 struct aiNode;
 struct aiNode;
+struct aiMesh;
 
 
 namespace Assimp	
 namespace Assimp	
 {
 {

+ 19 - 0
code/SceneCombiner.h

@@ -45,6 +45,25 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #define AI_SCENE_COMBINER_H_INC
 #define AI_SCENE_COMBINER_H_INC
 
 
 #include "../include/assimp/ai_assert.h"
 #include "../include/assimp/ai_assert.h"
+#include "../include/assimp/types.h"
+#include <stddef.h>
+#include <set>
+#include <list>
+#include <stdint.h>
+#include <vector>
+#include "../include/assimp/Compiler/pstdint.h"
+
+struct aiScene;
+struct aiNode;
+struct aiMaterial;
+struct aiTexture;
+struct aiCamera;
+struct aiLight;
+struct aiMetadata;
+struct aiBone;
+struct aiMesh;
+struct aiAnimation;
+struct aiNodeAnim;
 
 
 namespace Assimp	{
 namespace Assimp	{
 
 

+ 7 - 0
code/ScenePreprocessor.h

@@ -43,6 +43,13 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #ifndef AI_SCENE_PREPROCESSOR_H_INC
 #ifndef AI_SCENE_PREPROCESSOR_H_INC
 #define AI_SCENE_PREPROCESSOR_H_INC
 #define AI_SCENE_PREPROCESSOR_H_INC
 
 
+#include "../include/assimp/defs.h"
+#include <stddef.h>
+
+struct aiScene;
+struct aiAnimation;
+struct aiMesh;
+
 class ScenePreprocessorTest;
 class ScenePreprocessorTest;
 namespace Assimp	{
 namespace Assimp	{
 
 

+ 1 - 0
code/ScenePrivate.h

@@ -43,6 +43,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #ifndef AI_SCENEPRIVATE_H_INCLUDED
 #ifndef AI_SCENEPRIVATE_H_INCLUDED
 #define AI_SCENEPRIVATE_H_INCLUDED
 #define AI_SCENEPRIVATE_H_INCLUDED
 
 
+#include "../include/assimp/scene.h"
 
 
 namespace Assimp	{
 namespace Assimp	{
 
 

+ 1 - 0
code/SkeletonMeshBuilder.h

@@ -51,6 +51,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #include <vector>
 #include <vector>
 #include "../include/assimp/mesh.h"
 #include "../include/assimp/mesh.h"
 
 
+struct aiMaterial;
 struct aiScene;
 struct aiScene;
 struct aiNode;
 struct aiNode;
 
 

+ 4 - 0
code/SmoothingGroups.h

@@ -44,6 +44,10 @@ http://www.jalix.org/ressources/graphics/3DS/_unofficials/3ds-unofficial.txt */
 #ifndef AI_SMOOTHINGGROUPS_H_INC
 #ifndef AI_SMOOTHINGGROUPS_H_INC
 #define AI_SMOOTHINGGROUPS_H_INC
 #define AI_SMOOTHINGGROUPS_H_INC
 
 
+#include "../include/assimp/vector3.h"
+#include <stdint.h>
+#include <vector>
+
 // ---------------------------------------------------------------------------
 // ---------------------------------------------------------------------------
 /** Helper structure representing a face with smoothing groups assigned */
 /** Helper structure representing a face with smoothing groups assigned */
 struct FaceWithSmoothingGroup
 struct FaceWithSmoothingGroup

+ 2 - 0
code/StandardShapes.h

@@ -44,8 +44,10 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #ifndef AI_STANDARD_SHAPES_H_INC
 #ifndef AI_STANDARD_SHAPES_H_INC
 #define AI_STANDARD_SHAPES_H_INC
 #define AI_STANDARD_SHAPES_H_INC
 
 
+#include "../include/assimp/vector3.h"
 #include <vector>
 #include <vector>
 
 
+struct aiMesh;
 
 
 namespace Assimp	{
 namespace Assimp	{
 
 

部分文件因文件數量過多而無法顯示