[Path] improve PreCompiled.h handling

This commit is contained in:
Uwe
2022-12-07 18:36:47 +01:00
parent 423c330534
commit 960ace8034
18 changed files with 65 additions and 43 deletions

View File

@@ -45,8 +45,8 @@
# include <BRepBuilderAPI_MakeWire.hxx>
# include <BRepExtrema_DistShapeShape.hxx>
# include <BRepLib.hxx>
# include <BRepLib_FindSurface.hxx>
# include <BRepLib_MakeFace.hxx>
# include <BRepLib_FindSurface.hxx>
# include <BRepTools_WireExplorer.hxx>
# include <GCPnts_QuasiUniformDeflection.hxx>
# include <GCPnts_UniformAbscissa.hxx>

View File

@@ -20,6 +20,7 @@
* *
***************************************************************************/
#ifndef PATH_PRECOMPILED_H
#define PATH_PRECOMPILED_H
@@ -43,19 +44,30 @@
#ifdef _PreComp_
// standard
#include <bitset>
#include <cassert>
#include <cctype>
#include <cinttypes>
#include <cstdio>
#include <iomanip>
#include <iostream>
#include <map>
#include <set>
#include <sstream>
#include <string>
#include <vector>
// Boost
#include <boost/config.hpp>
#include <boost/geometry.hpp>
#include <boost/lexical_cast.hpp>
#include <boost/regex.hpp>
#include <boost/version.hpp>
#include <boost/algorithm/string.hpp>
#include <boost/geometry/geometries/geometries.hpp>
#include <boost/geometry/geometries/register/point.hpp>
#include <boost/geometry/index/rtree.hpp>
#include <boost/range/adaptor/indexed.hpp>
#include <boost/range/adaptor/transformed.hpp>
//OCC
@@ -65,23 +77,32 @@
#include <BRepAdaptor_Curve.hxx>
#include <BRepAdaptor_Surface.hxx>
#include <BRepBndLib.hxx>
#include <BRepBuilderAPI_Copy.hxx>
#include <BRepBuilderAPI_FindPlane.hxx>
#include <BRepBuilderAPI_MakeEdge.hxx>
#include <BRepBuilderAPI_MakeFace.hxx>
#include <BRepBuilderAPI_MakeWire.hxx>
#include <BRepBuilderAPI_MakeVertex.hxx>
#include <BRepBuilderAPI_MakeWire.hxx>
#include <BRepExtrema_DistShapeShape.hxx>
#include <BRepLib.hxx>
#include <BRepLib_FindSurface.hxx>
#include <BRepLib_MakeFace.hxx>
#include <BRepTools.hxx>
#include <BRepTools_WireExplorer.hxx>
#include <GCPnts_QuasiUniformDeflection.hxx>
#include <GCPnts_UniformAbscissa.hxx>
#include <GCPnts_UniformDeflection.hxx>
#include <GCPnts_UniformAbscissa.hxx>
#include <Geom_Circle.hxx>
#include <Geom_Ellipse.hxx>
#include <Geom_Line.hxx>
#include <Geom_Plane.hxx>
#include <GeomAbs_JoinType.hxx>
#include <GeomAPI_ProjectPointOnCurve.hxx>
#include <gp_Circ.hxx>
#include <gp_Dir.hxx>
#include <gp_Pnt.hxx>
#include <HLRAlgo_Projector.hxx>
#include <HLRBRep.hxx>
#include <HLRBRep_Algo.hxx>
#include <HLRBRep_HLRToShape.hxx>
#include <ShapeAnalysis_FreeBounds.hxx>
@@ -94,6 +115,7 @@
#include <TopoDS_Compound.hxx>
#include <TopoDS_Edge.hxx>
#include <TopoDS_Shape.hxx>
#include <TopoDS_Solid.hxx>
#include <TopoDS_Vertex.hxx>
#include <TopExp.hxx>
#include <TopExp_Explorer.hxx>

View File

@@ -23,8 +23,6 @@
#include "PreCompiled.h"
#ifndef _PreComp_
# include <vector>
# include <QDir>
# include <QFileInfo>
#endif

View File

@@ -22,7 +22,6 @@
#include "PreCompiled.h"
#ifndef _PreComp_
# include <vector>
# include <TopExp_Explorer.hxx>
#endif

View File

@@ -23,7 +23,6 @@
#include "PreCompiled.h"
#ifndef _PreComp_
# include <vector>
# include <QDialog>
#endif

View File

@@ -23,7 +23,6 @@
#ifndef PATH_DlgProcessorChooser_H
#define PATH_DlgProcessorChooser_H
#include <vector>
#include <QDialog>

View File

@@ -46,16 +46,29 @@
#ifdef _PreComp_
// boost
#include <boost/algorithm/string/replace.hpp>
// standard
#include <iostream>
#include <cassert>
#include <cmath>
// STL
#include <vector>
#include <map>
#include <string>
#include <list>
#include <set>
#include <algorithm>
#include <stack>
#include <queue>
#include <bitset>
#ifdef FC_OS_WIN32
# include <windows.h>
#endif
// boost
#include <boost/algorithm/string/replace.hpp>
// OCC
#include <TopExp_Explorer.hxx>
@@ -65,17 +78,9 @@
#endif
// all of Inventor
#include <Inventor/SbVec3f.h>
#include <Inventor/details/SoLineDetail.h>
#include <Inventor/nodes/SoBaseColor.h>
#include <Inventor/nodes/SoCoordinate3.h>
#include <Inventor/nodes/SoDrawStyle.h>
#include <Inventor/nodes/SoMaterial.h>
#include <Inventor/nodes/SoMaterialBinding.h>
#include <Inventor/nodes/SoPointSet.h>
#include <Inventor/nodes/SoSeparator.h>
#include <Inventor/nodes/SoSwitch.h>
#include <Inventor/nodes/SoTransform.h>
#ifndef __InventorAll__
# include <Gui/InventorAll.h>
#endif
#endif //_PreComp_

View File

@@ -23,7 +23,6 @@
#include "PreCompiled.h"
#ifndef _PreComp_
# include <vector>
# include <QRegularExpression>
#endif

View File

@@ -23,8 +23,6 @@
#ifndef PATHGUI_TaskDlgPathCompound_H
#define PATHGUI_TaskDlgPathCompound_H
#include <vector>
#include <Gui/TaskView/TaskDialog.h>
#include <Gui/TaskView/TaskView.h>
#include <Mod/Path/App/FeaturePathCompound.h>

View File

@@ -21,9 +21,6 @@
****************************************************************************/
#include "PreCompiled.h"
#ifndef _PreComp_
# include <vector>
#endif
#include <Gui/Application.h>
#include <Mod/Path/App/FeatureArea.h>

View File

@@ -23,8 +23,6 @@
#ifndef PATH_ViewProviderArea_H
#define PATH_ViewProviderArea_H
#include <vector>
#include <Gui/ViewProviderPythonFeature.h>
#include <Mod/Part/Gui/ViewProviderPlaneParametric.h>

View File

@@ -23,7 +23,6 @@
#include "PreCompiled.h"
#ifndef _PreComp_
# include <vector>
# include <boost/algorithm/string/replace.hpp>
# include <Inventor/SbVec3f.h>

View File

@@ -23,8 +23,6 @@
#ifndef PATH_ViewProviderPath_H
#define PATH_ViewProviderPath_H
#include <vector>
#include <App/PropertyGeo.h>
#include <Gui/Selection.h>
#include <Gui/ViewProviderGeometryObject.h>

View File

@@ -22,8 +22,6 @@
#include "PreCompiled.h"
#include <vector>
#include <Gui/BitmapFactory.h>
#include <Gui/Control.h>

View File

@@ -20,14 +20,12 @@
* *
***************************************************************************/
#ifndef PATH_ViewProviderPathCompound_H
#define PATH_ViewProviderPathCompound_H
#include <vector>
#include "ViewProviderPath.h"
namespace PathGui
{

View File

@@ -22,8 +22,6 @@
#include "PreCompiled.h"
#include <vector>
#include <Gui/Application.h>
#include <Gui/BitmapFactory.h>
#include <Mod/Path/App/FeaturePathShape.h>

View File

@@ -20,14 +20,12 @@
* *
***************************************************************************/
#ifndef PATH_ViewProviderPathShape_H
#define PATH_ViewProviderPathShape_H
#include <vector>
#include "ViewProviderPath.h"
namespace PathGui
{

View File

@@ -40,10 +40,29 @@
#ifdef _PreComp_
// standard
#include <cstdio>
#include <cassert>
#include <iostream>
// STL
#include <algorithm>
#include <iostream>
#include <list>
#include <map>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <string>
#include <vector>
// Boost
#include <boost/regex.hpp>
// Xerces
#include <xercesc/util/XercesDefs.hpp>
#endif //_PreComp_
#endif