[Surface] App:: remove unused includes
- also some sorting
This commit is contained in:
@@ -98,6 +98,7 @@
|
||||
#include <Inventor/elements/SoNormalBindingElement.h>
|
||||
#include <Inventor/elements/SoNormalElement.h>
|
||||
#include <Inventor/elements/SoOverrideElement.h>
|
||||
#include <Inventor/elements/SoPointSizeElement.h>
|
||||
#include <Inventor/elements/SoProfileCoordinateElement.h>
|
||||
#include <Inventor/elements/SoProfileElement.h>
|
||||
#include <Inventor/elements/SoProjectionMatrixElement.h>
|
||||
@@ -110,9 +111,11 @@
|
||||
#include <Inventor/elements/SoViewportRegionElement.h>
|
||||
#include <Inventor/elements/SoViewVolumeElement.h>
|
||||
#include <Inventor/elements/SoWindowElement.h>
|
||||
#include <Inventor/engines/SoCalculator.h>
|
||||
#include <Inventor/engines/SoComposeVec3f.h>
|
||||
#include <Inventor/engines/SoComposeRotationFromTo.h>
|
||||
#include <Inventor/engines/SoComposeRotation.h>
|
||||
#include <Inventor/engines/SoConcatenate.h>
|
||||
#include <Inventor/errors/SoDebugError.h>
|
||||
#include <Inventor/errors/SoError.h>
|
||||
#include <Inventor/errors/SoReadError.h>
|
||||
@@ -136,6 +139,7 @@
|
||||
#include <Inventor/manips/SoClipPlaneManip.h>
|
||||
#include <Inventor/manips/SoTransformerManip.h>
|
||||
#include <Inventor/misc/SoChildList.h>
|
||||
#include <Inventor/misc/SoContextHandler.h>
|
||||
#include <Inventor/misc/SoState.h>
|
||||
#include <Inventor/nodes/SoAnnotation.h>
|
||||
#include <Inventor/nodes/SoAntiSquish.h>
|
||||
@@ -149,6 +153,7 @@
|
||||
#include <Inventor/nodes/SoCoordinate4.h>
|
||||
#include <Inventor/nodes/SoCube.h>
|
||||
#include <Inventor/nodes/SoCylinder.h>
|
||||
#include <Inventor/nodes/SoDepthBuffer.h>
|
||||
#include <Inventor/nodes/SoDirectionalLight.h>
|
||||
#include <Inventor/nodes/SoDrawStyle.h>
|
||||
#include <Inventor/nodes/SoEnvironment.h>
|
||||
@@ -173,6 +178,7 @@
|
||||
#include <Inventor/nodes/SoNode.h>
|
||||
#include <Inventor/nodes/SoNormal.h>
|
||||
#include <Inventor/nodes/SoNormalBinding.h>
|
||||
#include <Inventor/nodes/SoNurbsCurve.h>
|
||||
#include <Inventor/nodes/SoNurbsSurface.h>
|
||||
#include <Inventor/nodes/SoOrthographicCamera.h>
|
||||
#include <Inventor/nodes/SoPerspectiveCamera.h>
|
||||
@@ -183,6 +189,7 @@
|
||||
#include <Inventor/nodes/SoProfileCoordinate2.h>
|
||||
#include <Inventor/nodes/SoProfileCoordinate3.h>
|
||||
#include <Inventor/nodes/SoQuadMesh.h>
|
||||
#include <Inventor/nodes/SoResetTransform.h>
|
||||
#include <Inventor/nodes/SoRotation.h>
|
||||
#include <Inventor/nodes/SoRotationXYZ.h>
|
||||
#include <Inventor/nodes/SoSelection.h>
|
||||
@@ -201,6 +208,7 @@
|
||||
#include <Inventor/nodes/SoTransformation.h>
|
||||
#include <Inventor/nodes/SoTranslation.h>
|
||||
#include <Inventor/nodes/SoTransparencyType.h>
|
||||
#include <Inventor/nodes/SoVertexProperty.h>
|
||||
#include <Inventor/nodekits/SoShapeKit.h>
|
||||
#include <Inventor/manips/SoTransformBoxManip.h>
|
||||
#include <Inventor/projectors/SbLineProjector.h>
|
||||
|
||||
@@ -308,6 +308,7 @@
|
||||
#include <GeomFill_EvolvedSection.hxx>
|
||||
#include <GeomFill_Line.hxx>
|
||||
#include <GeomFill_LocationLaw.hxx>
|
||||
#include <GeomFill_NSections.hxx>
|
||||
#include <GeomFill_Pipe.hxx>
|
||||
#include <GeomFill_SectionGenerator.hxx>
|
||||
#include <GeomFill_Sweep.hxx>
|
||||
|
||||
@@ -23,11 +23,13 @@
|
||||
#include "PreCompiled.h"
|
||||
|
||||
#include <Base/Console.h>
|
||||
#include <Base/PyObjectBase.h>
|
||||
#include <Base/Interpreter.h>
|
||||
#include <Base/Parameter.h>
|
||||
|
||||
#include "Blending/BlendCurvePy.h"
|
||||
#include "Blending/BlendPointPy.h"
|
||||
#include "Blending/FeatureBlendCurve.h"
|
||||
|
||||
#include "FeatureCut.h"
|
||||
#include "FeatureExtend.h"
|
||||
#include "FeatureFilling.h"
|
||||
@@ -35,9 +37,6 @@
|
||||
#include "FeatureSections.h"
|
||||
#include "FeatureSewing.h"
|
||||
|
||||
#include <Base/Interpreter.h>
|
||||
#include <Base/Parameter.h>
|
||||
|
||||
|
||||
namespace Surface
|
||||
{
|
||||
|
||||
@@ -22,20 +22,11 @@
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
#include <BRepBuilderAPI_MakeFace.hxx>
|
||||
#include <TopoDS.hxx>
|
||||
#include <TopoDS_Edge.hxx>
|
||||
#include <Precision.hxx>
|
||||
# include <TopoDS.hxx>
|
||||
#endif
|
||||
|
||||
#include "FeatureCut.h"
|
||||
#include <BRepAlgoAPI_Cut.hxx>
|
||||
#include <TopExp_Explorer.hxx>
|
||||
#include <TopoDS_Builder.hxx>
|
||||
#include <BRep_Tool.hxx>
|
||||
#include <gp_Pnt.hxx>
|
||||
#include <Base/Tools.h>
|
||||
#include <Base/Exception.h>
|
||||
|
||||
|
||||
using namespace Surface;
|
||||
|
||||
|
||||
@@ -23,12 +23,11 @@
|
||||
#ifndef SURFACE_FEATURECUT_H
|
||||
#define SURFACE_FEATURECUT_H
|
||||
|
||||
#include <App/PropertyStandard.h>
|
||||
#include <App/PropertyUnits.h>
|
||||
#include <App/PropertyLinks.h>
|
||||
#include <Mod/Part/App/PartFeature.h>
|
||||
#include <Mod/Surface/SurfaceGlobal.h>
|
||||
|
||||
|
||||
namespace Surface
|
||||
{
|
||||
|
||||
|
||||
@@ -22,28 +22,29 @@
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
#include <BRepAdaptor_Surface.hxx>
|
||||
#include <BRepBuilderAPI_MakeFace.hxx>
|
||||
#include <BRepLProp_SLProps.hxx>
|
||||
#include <TColgp_Array2OfPnt.hxx>
|
||||
#include <gp_Pnt.hxx>
|
||||
#include <Geom_BSplineSurface.hxx>
|
||||
#include <GeomAPI_PointsToBSplineSurface.hxx>
|
||||
#include <TopoDS.hxx>
|
||||
#include <TopoDS_Face.hxx>
|
||||
#include <Precision.hxx>
|
||||
#include <Standard_Version.hxx>
|
||||
# include <BRepAdaptor_Surface.hxx>
|
||||
# include <BRepBuilderAPI_MakeFace.hxx>
|
||||
# include <BRepLProp_SLProps.hxx>
|
||||
# include <Geom_BSplineSurface.hxx>
|
||||
# include <GeomAPI_PointsToBSplineSurface.hxx>
|
||||
# include <gp_Pnt.hxx>
|
||||
# include <Precision.hxx>
|
||||
# include <Standard_Version.hxx>
|
||||
# include <TColgp_Array2OfPnt.hxx>
|
||||
# include <TopoDS.hxx>
|
||||
# include <TopoDS_Face.hxx>
|
||||
#endif
|
||||
|
||||
#include "FeatureExtend.h"
|
||||
#include <Base/Tools.h>
|
||||
#include <Base/Exception.h>
|
||||
|
||||
#include "FeatureExtend.h"
|
||||
|
||||
|
||||
using namespace Surface;
|
||||
|
||||
const App::PropertyIntegerConstraint::Constraints SampleRange = {2,INT_MAX,1};
|
||||
const App::PropertyFloatConstraint::Constraints ToleranceRange = {0.0,10.0,0.01};
|
||||
const App::PropertyFloatConstraint::Constraints ExtendRange = {-0.5,10.0,0.01};
|
||||
const App::PropertyIntegerConstraint::Constraints SampleRange = {2, INT_MAX, 1};
|
||||
const App::PropertyFloatConstraint::Constraints ToleranceRange = {0.0, 10.0, 0.01};
|
||||
const App::PropertyFloatConstraint::Constraints ExtendRange = {-0.5, 10.0, 0.01};
|
||||
PROPERTY_SOURCE(Surface::Extend, Part::Spline)
|
||||
|
||||
Extend::Extend() : lockOnChangeMutex(false)
|
||||
|
||||
@@ -23,12 +23,11 @@
|
||||
#ifndef SURFACE_FEATUREEXTEND_H
|
||||
#define SURFACE_FEATUREEXTEND_H
|
||||
|
||||
#include <App/PropertyStandard.h>
|
||||
#include <App/PropertyUnits.h>
|
||||
#include <App/PropertyLinks.h>
|
||||
#include <Mod/Part/App/FeaturePartSpline.h>
|
||||
#include <Mod/Surface/SurfaceGlobal.h>
|
||||
|
||||
|
||||
namespace Surface
|
||||
{
|
||||
|
||||
|
||||
@@ -22,22 +22,18 @@
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
#include <BRepBuilderAPI_MakeFace.hxx>
|
||||
#include <BRepBuilderAPI_MakeWire.hxx>
|
||||
#include <BRepFill_Filling.hxx>
|
||||
#include <BRep_Tool.hxx>
|
||||
#include <gp_Pnt.hxx>
|
||||
#include <TopoDS.hxx>
|
||||
#include <TopoDS_Edge.hxx>
|
||||
#include <TopoDS_Face.hxx>
|
||||
#include <TopoDS_Vertex.hxx>
|
||||
#include <Precision.hxx>
|
||||
# include <string>
|
||||
|
||||
# include <BRepBuilderAPI_MakeWire.hxx>
|
||||
# include <BRepFill_Filling.hxx>
|
||||
# include <BRep_Tool.hxx>
|
||||
# include <gp_Pnt.hxx>
|
||||
# include <TopoDS.hxx>
|
||||
# include <TopoDS_Face.hxx>
|
||||
#endif
|
||||
|
||||
#include "FeatureFilling.h"
|
||||
#include <Base/Tools.h>
|
||||
#include <Base/Exception.h>
|
||||
#include <string>
|
||||
|
||||
|
||||
using namespace Surface;
|
||||
|
||||
|
||||
@@ -23,12 +23,11 @@
|
||||
#ifndef SURFACE_FEATUREFILLING_H
|
||||
#define SURFACE_FEATUREFILLING_H
|
||||
|
||||
#include <App/PropertyStandard.h>
|
||||
#include <App/PropertyUnits.h>
|
||||
#include <App/PropertyLinks.h>
|
||||
#include <Mod/Part/App/FeaturePartSpline.h>
|
||||
#include <Mod/Surface/SurfaceGlobal.h>
|
||||
|
||||
|
||||
class BRepFill_Filling;
|
||||
|
||||
namespace Surface
|
||||
|
||||
@@ -25,14 +25,8 @@
|
||||
|
||||
#ifndef _PreComp_
|
||||
#include <BRep_Tool.hxx>
|
||||
#include <BRepBuilderAPI_MakeFace.hxx>
|
||||
#include <BRepBuilderAPI_MakeWire.hxx>
|
||||
#include <BRepBuilderAPI_NurbsConvert.hxx>
|
||||
#include <TopoDS.hxx>
|
||||
#include <TopoDS_Edge.hxx>
|
||||
#include <TopoDS_Face.hxx>
|
||||
#include <TopoDS_Wire.hxx>
|
||||
#include <BRepBuilderAPI_Copy.hxx>
|
||||
#include <BRepBuilderAPI_MakeFace.hxx>
|
||||
#include <Geom_BezierCurve.hxx>
|
||||
#include <Geom_BezierSurface.hxx>
|
||||
#include <Geom_BSplineCurve.hxx>
|
||||
@@ -49,13 +43,15 @@
|
||||
#include <Standard_ConstructionError.hxx>
|
||||
#include <StdFail_NotDone.hxx>
|
||||
#include <TopExp_Explorer.hxx>
|
||||
#include <TopoDS.hxx>
|
||||
#include <TopoDS_Edge.hxx>
|
||||
#include <TopoDS_Face.hxx>
|
||||
#include <TopoDS_Wire.hxx>
|
||||
#endif
|
||||
|
||||
#include <Base/Exception.h>
|
||||
#include <Base/Tools.h>
|
||||
|
||||
#include "FeatureGeomFillSurface.h"
|
||||
|
||||
|
||||
using namespace Surface;
|
||||
|
||||
ShapeValidator::ShapeValidator()
|
||||
|
||||
@@ -24,15 +24,14 @@
|
||||
#ifndef FEATUREGEOMFILLSURFACE_H
|
||||
#define FEATUREGEOMFILLSURFACE_H
|
||||
|
||||
#include <App/PropertyLinks.h>
|
||||
#include <Mod/Part/App/FeaturePartSpline.h>
|
||||
#include <Mod/Surface/SurfaceGlobal.h>
|
||||
|
||||
#include <Geom_BoundedSurface.hxx>
|
||||
#include <GeomFill_FillingStyle.hxx>
|
||||
#include <ShapeExtend_WireData.hxx>
|
||||
|
||||
#include <App/PropertyStandard.h>
|
||||
#include <App/PropertyUnits.h>
|
||||
#include <App/PropertyLinks.h>
|
||||
#include <Mod/Part/App/FeaturePartSpline.h>
|
||||
#include <Mod/Surface/SurfaceGlobal.h>
|
||||
|
||||
namespace Surface
|
||||
{
|
||||
|
||||
@@ -22,22 +22,19 @@
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
#include <BRepAdaptor_Curve.hxx>
|
||||
#include <BRepBuilderAPI_MakeFace.hxx>
|
||||
#include <Geom_BSplineSurface.hxx>
|
||||
#include <Geom_TrimmedCurve.hxx>
|
||||
#include <GeomAdaptor_Curve.hxx>
|
||||
#include <GeomFill_NSections.hxx>
|
||||
#include <TopLoc_Location.hxx>
|
||||
#include <TopoDS.hxx>
|
||||
#include <TopoDS_Face.hxx>
|
||||
#include <Precision.hxx>
|
||||
#include <Standard_Version.hxx>
|
||||
# include <BRepAdaptor_Curve.hxx>
|
||||
# include <BRepBuilderAPI_MakeFace.hxx>
|
||||
# include <Geom_BSplineSurface.hxx>
|
||||
# include <Geom_TrimmedCurve.hxx>
|
||||
# include <GeomFill_NSections.hxx>
|
||||
# include <Precision.hxx>
|
||||
# include <Standard_Version.hxx>
|
||||
# include <TopLoc_Location.hxx>
|
||||
# include <TopoDS.hxx>
|
||||
#endif
|
||||
|
||||
#include "FeatureSections.h"
|
||||
#include <Base/Tools.h>
|
||||
#include <Base/Exception.h>
|
||||
|
||||
|
||||
using namespace Surface;
|
||||
|
||||
|
||||
@@ -23,12 +23,11 @@
|
||||
#ifndef SURFACE_FEATURESECTIONS_H
|
||||
#define SURFACE_FEATURESECTIONS_H
|
||||
|
||||
#include <App/PropertyStandard.h>
|
||||
#include <App/PropertyUnits.h>
|
||||
#include <App/PropertyLinks.h>
|
||||
#include <Mod/Part/App/FeaturePartSpline.h>
|
||||
#include <Mod/Surface/SurfaceGlobal.h>
|
||||
|
||||
|
||||
namespace Surface
|
||||
{
|
||||
|
||||
|
||||
@@ -22,18 +22,13 @@
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
#include <BRepBuilderAPI_MakeFace.hxx>
|
||||
#include <TopoDS.hxx>
|
||||
#include <TopoDS_Edge.hxx>
|
||||
#include <Precision.hxx>
|
||||
# include <BRepBuilderAPI_Sewing.hxx>
|
||||
# include <Precision.hxx>
|
||||
# include <TopoDS.hxx>
|
||||
#endif
|
||||
|
||||
#include "FeatureSewing.h"
|
||||
#include <BRepBuilderAPI_Sewing.hxx>
|
||||
#include <BRep_Tool.hxx>
|
||||
#include <gp_Pnt.hxx>
|
||||
#include <Base/Tools.h>
|
||||
#include <Base/Exception.h>
|
||||
|
||||
|
||||
using namespace Surface;
|
||||
|
||||
|
||||
@@ -24,11 +24,10 @@
|
||||
#define SURFACE_FEATURESEWING_H
|
||||
|
||||
#include <App/PropertyStandard.h>
|
||||
#include <App/PropertyUnits.h>
|
||||
#include <App/PropertyLinks.h>
|
||||
#include <Mod/Part/App/PartFeature.h>
|
||||
#include <Mod/Surface/SurfaceGlobal.h>
|
||||
|
||||
|
||||
namespace Surface
|
||||
{
|
||||
|
||||
|
||||
@@ -20,5 +20,4 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#include "PreCompiled.h"
|
||||
|
||||
@@ -20,7 +20,6 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef PRECOMPILED_H
|
||||
#define PRECOMPILED_H
|
||||
|
||||
@@ -28,26 +27,11 @@
|
||||
|
||||
#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>
|
||||
|
||||
//opencascade
|
||||
#include "OpenCascadeAll.h"
|
||||
#include <GeomFill_NSections.hxx>
|
||||
#include <Mod/Part/App/OpenCascadeAll.h>
|
||||
|
||||
#endif //_PreComp_
|
||||
|
||||
|
||||
Reference in New Issue
Block a user