
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5000 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
131 lines
3.9 KiB
C++
131 lines
3.9 KiB
C++
/***************************************************************************
|
|
* Copyright (c) Jürgen Riegel (juergen.riegel@web.de) 2002 *
|
|
* *
|
|
* This file is part of the FreeCAD CAx development system. *
|
|
* *
|
|
* This library is free software; you can redistribute it and/or *
|
|
* modify it under the terms of the GNU Library General Public *
|
|
* License as published by the Free Software Foundation; either *
|
|
* version 2 of the License, or (at your option) any later version. *
|
|
* *
|
|
* This library is distributed in the hope that it will be useful, *
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
|
* GNU Library General Public License for more details. *
|
|
* *
|
|
* You should have received a copy of the GNU Library General Public *
|
|
* License along with this library; see the file COPYING.LIB. If not, *
|
|
* write to the Free Software Foundation, Inc., 59 Temple Place, *
|
|
* Suite 330, Boston, MA 02111-1307, USA *
|
|
* *
|
|
***************************************************************************/
|
|
|
|
|
|
#ifndef PARTGUI_PRECOMPILED_H
|
|
#define PARTGUI_PRECOMPILED_H
|
|
|
|
#include <FCConfig.h>
|
|
|
|
// Importing of App classes
|
|
#ifdef FC_OS_WIN32
|
|
# define PartExport __declspec(dllimport)
|
|
# define PartGuiExport __declspec(dllexport)
|
|
#else // for Linux
|
|
# define PartExport
|
|
# define PartGuiExport
|
|
#endif
|
|
|
|
#ifdef _PreComp_
|
|
// here get the warnings of too long specifiers disabled (needed for VC6)
|
|
#ifdef _MSC_VER
|
|
# pragma warning( disable : 4251 )
|
|
# pragma warning( disable : 4503 )
|
|
# pragma warning( disable : 4786 ) // specifier longer then 255 chars
|
|
#endif
|
|
|
|
|
|
|
|
|
|
// standard
|
|
#include <iostream>
|
|
//#include <stdio.h>
|
|
#include <cassert>
|
|
#include <cfloat>
|
|
//#include <io.h>
|
|
//#include <fcntl.h>
|
|
//#include <ctype.h>
|
|
|
|
// STL
|
|
#include <vector>
|
|
#include <list>
|
|
#include <map>
|
|
#include <string>
|
|
#include <set>
|
|
#include <algorithm>
|
|
#include <stack>
|
|
#include <queue>
|
|
#include <bitset>
|
|
|
|
#ifdef FC_OS_WIN32
|
|
# include <windows.h>
|
|
#endif
|
|
|
|
// OpenCasCade Base
|
|
#include <Standard_Failure.hxx>
|
|
|
|
#include <BRepMesh.hxx>
|
|
#include <BRepMesh_IncrementalMesh.hxx>
|
|
#include <Poly_Polygon3D.hxx>
|
|
#include <Poly_PolygonOnTriangulation.hxx>
|
|
#include <Poly_Triangulation.hxx>
|
|
|
|
#include <gp_Pnt.hxx>
|
|
#include <gp_Sphere.hxx>
|
|
#include <gp_Trsf.hxx>
|
|
|
|
#include <Geom_BezierCurve.hxx>
|
|
#include <Geom_BSplineCurve.hxx>
|
|
#include <Geom_BezierSurface.hxx>
|
|
#include <Geom_BSplineSurface.hxx>
|
|
#include <Geom_SphericalSurface.hxx>
|
|
#include <GeomAPI_ProjectPointOnSurf.hxx>
|
|
#include <GeomLProp_SLProps.hxx>
|
|
|
|
#include <TopoDS.hxx>
|
|
#include <TopoDS_Edge.hxx>
|
|
#include <TopoDS_Face.hxx>
|
|
#include <TopoDS_Iterator.hxx>
|
|
#include <TopExp.hxx>
|
|
#include <TopExp_Explorer.hxx>
|
|
#include <TopLoc_Location.hxx>
|
|
|
|
#include <BRep_Tool.hxx>
|
|
#include <BRepTools.hxx>
|
|
#include <BRepAdaptor_Surface.hxx>
|
|
#include <BRepAdaptor_Curve.hxx>
|
|
#include <BRepBndLib.hxx>
|
|
#include <BRepBuilderAPI_MakeFace.hxx>
|
|
#include <BRepPrimAPI_MakeSphere.hxx>
|
|
|
|
#include <Bnd_Box.hxx>
|
|
#include <GCPnts_UniformDeflection.hxx>
|
|
#include <TColStd_Array1OfInteger.hxx>
|
|
|
|
#include <Python.h>
|
|
|
|
// Qt Toolkit
|
|
#ifndef __Qt4All__
|
|
# include <Gui/Qt4All.h>
|
|
#endif
|
|
|
|
// Inventor
|
|
#ifndef __InventorAll__
|
|
# include <Gui/InventorAll.h>
|
|
#endif
|
|
|
|
#elif defined(FC_OS_WIN32)
|
|
#include <windows.h>
|
|
#endif //_PreComp_
|
|
|
|
#endif
|