[MeshPart] Gui: remove unused includes
- also some sorting
This commit is contained in:
@@ -22,17 +22,16 @@
|
||||
|
||||
#include "PreCompiled.h"
|
||||
|
||||
#include <CXX/Extensions.hxx>
|
||||
#include <CXX/Objects.hxx>
|
||||
|
||||
#include <Base/Console.h>
|
||||
#include <Base/Interpreter.h>
|
||||
#include <Base/PyObjectBase.h>
|
||||
#include <Gui/Application.h>
|
||||
#include <Gui/Language/Translator.h>
|
||||
|
||||
#include "CurveOnMesh.h"
|
||||
#include "Workbench.h"
|
||||
|
||||
|
||||
// use a different name to CreateCommand()
|
||||
void CreateMeshPartCommands();
|
||||
|
||||
|
||||
@@ -20,7 +20,6 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
# include <QApplication>
|
||||
@@ -28,22 +27,22 @@
|
||||
# include <QPushButton>
|
||||
#endif
|
||||
|
||||
#include <Mod/Mesh/App/MeshFeature.h>
|
||||
|
||||
#include <Base/Converter.h>
|
||||
#include <App/Application.h>
|
||||
#include <App/Document.h>
|
||||
#include <Base/Converter.h>
|
||||
#include <Gui/Application.h>
|
||||
#include <Gui/Command.h>
|
||||
#include <Gui/Control.h>
|
||||
#include <Gui/Document.h>
|
||||
#include <Gui/MainWindow.h>
|
||||
#include <Gui/FileDialog.h>
|
||||
#include <Gui/View3DInventor.h>
|
||||
#include <Gui/View3DInventorViewer.h>
|
||||
#include "Tessellation.h"
|
||||
#include <Mod/Mesh/App/MeshFeature.h>
|
||||
|
||||
#include "CrossSections.h"
|
||||
#include "TaskCurveOnMesh.h"
|
||||
#include "Tessellation.h"
|
||||
|
||||
|
||||
using namespace std;
|
||||
|
||||
|
||||
@@ -20,46 +20,45 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
# include <cfloat>
|
||||
# include <sstream>
|
||||
# include <Standard_math.hxx>
|
||||
|
||||
# include <BRep_Builder.hxx>
|
||||
# include <BRepBuilderAPI_MakePolygon.hxx>
|
||||
# include <TopoDS.hxx>
|
||||
# include <TopoDS_Compound.hxx>
|
||||
# include <TopExp_Explorer.hxx>
|
||||
# include <cfloat>
|
||||
|
||||
# include <QFuture>
|
||||
# include <QFutureWatcher>
|
||||
# include <QKeyEvent>
|
||||
# include <QMessageBox>
|
||||
# include <QtConcurrentMap>
|
||||
|
||||
# include <Inventor/nodes/SoBaseColor.h>
|
||||
# include <Inventor/nodes/SoCoordinate3.h>
|
||||
# include <Inventor/nodes/SoDrawStyle.h>
|
||||
# include <Inventor/nodes/SoFaceSet.h>
|
||||
# include <Inventor/nodes/SoLineSet.h>
|
||||
# include <Inventor/nodes/SoSeparator.h>
|
||||
#endif
|
||||
|
||||
#include "ui_CrossSections.h"
|
||||
#include "CrossSections.h"
|
||||
#include <Mod/Part/App/PartFeature.h>
|
||||
#include <Mod/Part/App/Tools.h>
|
||||
#include <Mod/Mesh/App/MeshFeature.h>
|
||||
#include <Mod/Mesh/App/Core/Algorithm.h>
|
||||
#include <Mod/Mesh/App/Core/Grid.h>
|
||||
#include <Gui/BitmapFactory.h>
|
||||
#include <Gui/ViewProvider.h>
|
||||
#include <App/Document.h>
|
||||
#include <Gui/Application.h>
|
||||
#include <Gui/BitmapFactory.h>
|
||||
#include <Gui/Command.h>
|
||||
#include <Gui/Document.h>
|
||||
#include <Gui/ViewProvider.h>
|
||||
#include <Gui/View3DInventor.h>
|
||||
#include <Gui/View3DInventorViewer.h>
|
||||
#include <App/Document.h>
|
||||
#include <Base/UnitsApi.h>
|
||||
|
||||
#include "CrossSections.h"
|
||||
#include "ui_CrossSections.h"
|
||||
|
||||
|
||||
using namespace MeshPartGui;
|
||||
namespace bp = boost::placeholders;
|
||||
|
||||
@@ -23,12 +23,14 @@
|
||||
#ifndef MESHPARTGUI_CROSSSECTIONS_H
|
||||
#define MESHPARTGUI_CROSSSECTIONS_H
|
||||
|
||||
#include <Gui/TaskView/TaskDialog.h>
|
||||
#include <Gui/TaskView/TaskView.h>
|
||||
#include <Base/BoundBox.h>
|
||||
#include <QDialog>
|
||||
#include <QPointer>
|
||||
|
||||
#include <Base/BoundBox.h>
|
||||
#include <Gui/TaskView/TaskDialog.h>
|
||||
#include <Gui/TaskView/TaskView.h>
|
||||
|
||||
|
||||
namespace Gui {
|
||||
class View3DInventor;
|
||||
}
|
||||
|
||||
@@ -27,38 +27,36 @@
|
||||
# include <QPointer>
|
||||
# include <QStatusBar>
|
||||
# include <QTimer>
|
||||
# include <BRepBuilderAPI_MakePolygon.hxx>
|
||||
# include <Inventor/SoPickedPoint.h>
|
||||
# include <Inventor/actions/SoSearchAction.h>
|
||||
# include <Inventor/details/SoFaceDetail.h>
|
||||
# include <Inventor/details/SoLineDetail.h>
|
||||
# include <Inventor/details/SoPointDetail.h>
|
||||
# include <Inventor/events/SoMouseButtonEvent.h>
|
||||
# include <Inventor/nodes/SoBaseColor.h>
|
||||
# include <Inventor/nodes/SoCoordinate3.h>
|
||||
# include <Inventor/nodes/SoDrawStyle.h>
|
||||
# include <Inventor/nodes/SoPickStyle.h>
|
||||
# include <Inventor/nodes/SoLineSet.h>
|
||||
# include <Inventor/nodes/SoPointSet.h>
|
||||
# include <Inventor/nodes/SoSeparator.h>
|
||||
# include <BRepBuilderAPI_MakePolygon.hxx>
|
||||
#endif
|
||||
|
||||
#include "CurveOnMesh.h"
|
||||
#include <Base/Converter.h>
|
||||
#include <App/Document.h>
|
||||
#include <Base/Converter.h>
|
||||
#include <Gui/Document.h>
|
||||
#include <Gui/MainWindow.h>
|
||||
#include <Gui/Utilities.h>
|
||||
#include <Gui/View3DInventor.h>
|
||||
#include <Gui/View3DInventorViewer.h>
|
||||
#include <Mod/Mesh/App/MeshFeature.h>
|
||||
#include <Mod/Mesh/App/Core/Algorithm.h>
|
||||
#include <Mod/Mesh/App/Core/Grid.h>
|
||||
#include <Mod/Mesh/App/Core/MeshKernel.h>
|
||||
#include <Mod/Mesh/App/Core/Projection.h>
|
||||
#include <Mod/Mesh/App/MeshFeature.h>
|
||||
#include <Mod/Mesh/Gui/ViewProvider.h>
|
||||
#include <Mod/Part/App/PartFeature.h>
|
||||
|
||||
#include "CurveOnMesh.h"
|
||||
|
||||
|
||||
#ifndef HAVE_ACOSH
|
||||
#define HAVE_ACOSH
|
||||
#endif
|
||||
|
||||
@@ -23,11 +23,13 @@
|
||||
#ifndef MESHPARTGUI_CURVEONMESH_H
|
||||
#define MESHPARTGUI_CURVEONMESH_H
|
||||
|
||||
#include <memory>
|
||||
#include <QObject>
|
||||
#include <Geom_BSplineCurve.hxx>
|
||||
#include <GeomAbs_Shape.hxx>
|
||||
|
||||
#include <Gui/ViewProviderDocumentObject.h>
|
||||
#include <memory>
|
||||
|
||||
|
||||
class SbVec3f;
|
||||
class SoCoordinate3;
|
||||
|
||||
@@ -22,16 +22,12 @@
|
||||
|
||||
#include "PreCompiled.h"
|
||||
|
||||
#include <Gui/View3DInventor.h>
|
||||
|
||||
#include "TaskCurveOnMesh.h"
|
||||
#include "ui_TaskCurveOnMesh.h"
|
||||
#include "CurveOnMesh.h"
|
||||
|
||||
#include <Gui/Application.h>
|
||||
#include <Gui/Document.h>
|
||||
#include <Gui/View3DInventor.h>
|
||||
#include <Gui/View3DInventorViewer.h>
|
||||
|
||||
|
||||
using namespace MeshPartGui;
|
||||
|
||||
|
||||
@@ -23,9 +23,11 @@
|
||||
#ifndef MESHPART_GUI_TASKCURVEONMESH_H
|
||||
#define MESHPART_GUI_TASKCURVEONMESH_H
|
||||
|
||||
#include <QPointer>
|
||||
|
||||
#include <Gui/TaskView/TaskDialog.h>
|
||||
#include <Gui/TaskView/TaskView.h>
|
||||
#include <QPointer>
|
||||
|
||||
|
||||
namespace Gui {
|
||||
class View3DInventor;
|
||||
|
||||
@@ -20,15 +20,11 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
# include <TopExp_Explorer.hxx>
|
||||
# include <QMessageBox>
|
||||
#endif
|
||||
|
||||
#include "Tessellation.h"
|
||||
#include "ui_Tessellation.h"
|
||||
#include <Base/Console.h>
|
||||
#include <Base/Exception.h>
|
||||
#include <Base/Stream.h>
|
||||
@@ -36,19 +32,21 @@
|
||||
#include <App/Application.h>
|
||||
#include <App/Document.h>
|
||||
#include <Gui/Application.h>
|
||||
#include <Gui/BitmapFactory.h>
|
||||
#include <Gui/Command.h>
|
||||
#include <Gui/Control.h>
|
||||
#include <Gui/Document.h>
|
||||
#include <Gui/BitmapFactory.h>
|
||||
#include <Gui/Selection.h>
|
||||
#include <Gui/ViewProvider.h>
|
||||
#include <Gui/WaitCursor.h>
|
||||
#include <Mod/Mesh/App/Mesh.h>
|
||||
#include <Mod/Mesh/App/MeshFeature.h>
|
||||
#include <Mod/Part/App/BodyBase.h>
|
||||
#include <Mod/Mesh/Gui/ViewProvider.h>
|
||||
#include <Mod/Part/Gui/ViewProvider.h>
|
||||
|
||||
#include "Tessellation.h"
|
||||
#include "ui_Tessellation.h"
|
||||
|
||||
|
||||
using namespace MeshPartGui;
|
||||
|
||||
/* TRANSLATOR MeshPartGui::Tessellation */
|
||||
|
||||
@@ -20,18 +20,17 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef MESHPARTGUI_TESSELLATION_H
|
||||
#define MESHPARTGUI_TESSELLATION_H
|
||||
|
||||
#include <Gui/TaskView/TaskDialog.h>
|
||||
#include <Gui/TaskView/TaskView.h>
|
||||
#include <Gui/Selection.h>
|
||||
#include <App/DocumentObserver.h>
|
||||
#include <Mod/Mesh/Gui/RemeshGmsh.h>
|
||||
#include <memory>
|
||||
#include <QPointer>
|
||||
|
||||
#include <Gui/TaskView/TaskDialog.h>
|
||||
#include <Gui/TaskView/TaskView.h>
|
||||
#include <Mod/Mesh/Gui/RemeshGmsh.h>
|
||||
|
||||
|
||||
namespace App {
|
||||
class Document;
|
||||
class SubObjectT;
|
||||
|
||||
@@ -20,16 +20,16 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#include "PreCompiled.h"
|
||||
|
||||
#ifndef _PreComp_
|
||||
# include <qobject.h>
|
||||
#endif
|
||||
|
||||
#include "Workbench.h"
|
||||
#include <Gui/ToolBarManager.h>
|
||||
|
||||
#include "Workbench.h"
|
||||
|
||||
|
||||
using namespace MeshPartGui;
|
||||
|
||||
#if 0 // needed for Qt's lupdate utility
|
||||
|
||||
Reference in New Issue
Block a user