gmio_support: fix compiler errors with OpenCascade v7.0.0

This commit is contained in:
Hugues Delorme 2016-04-15 09:03:47 +02:00
parent 3dd860f261
commit 6c2b784323
4 changed files with 21 additions and 9 deletions

View File

@ -22,7 +22,6 @@
#include <TColgp_SequenceOfXYZ.hxx>
#ifndef GMIO_SUPPORT_STL_OCC_NO_MESHVS_DATASOURCE
# include <Handle_MeshVS_DataSource.hxx>
# include <MeshVS_DataSource.hxx>
# include <TColStd_PackedMapOfInteger.hxx>
#endif // !GMIO_SUPPORT_STL_OCC_NO_MESHVS_DATASOURCE

View File

@ -31,18 +31,15 @@
#include "../gmio_stl/stl_mesh.h"
#include "../gmio_stl/stl_mesh_creator.h"
#include <StlMesh_Mesh.hxx>
#include <StlMesh_MeshTriangle.hxx>
#include <StlMesh_SequenceOfMeshTriangle.hxx>
class Handle_StlMesh_Mesh;
class StlMesh_Mesh;
class Handle_StlMesh_MeshTriangle;
class TColgp_SequenceOfXYZ;
#include <TColgp_SequenceOfXYZ.hxx>
#ifndef GMIO_SUPPORT_STL_OCC_NO_MESHVS_DATASOURCE
# include <MeshVS_DataSource.hxx>
# include <TColStd_Array1OfReal.hxx>
# include <TColStd_MapIteratorOfPackedMapOfInteger.hxx>
class Handle_MeshVS_DataSource;
class MeshVS_DataSource;
#endif // !GMIO_SUPPORT_STL_OCC_NO_MESHVS_DATASOURCE
/*! Forward iterator over the triangles of OpenCascade's StlMesh_Mesh

View File

@ -2,7 +2,7 @@
#define _MeshVS_DataSource_HeaderFile
#include "Standard_TypeDef.hxx"
#include "Handle_MeshVS_DataSource.hxx"
class TColStd_Array1OfReal;
class TColStd_PackedMapOfInteger;

View File

@ -0,0 +1,16 @@
#ifndef _Standard_Version_HeaderFile
#define _Standard_Version_HeaderFile
#define OCC_VERSION_MAJOR 6
#define OCC_VERSION_MINOR 9
#define OCC_VERSION_MAINTENANCE 1
#define OCC_VERSION 6.9
#define OCC_VERSION_STRING "6.9"
#define OCC_VERSION_COMPLETE "6.9.1"
#define OCC_VERSION_STRING_EXT OCC_VERSION_COMPLETE
#define OCC_VERSION_HEX (OCC_VERSION_MAJOR << 16 | OCC_VERSION_MINOR << 8 | OCC_VERSION_MAINTENANCE)
#endif /* _Standard_Version_HeaderFile */