[Gui] View3D*: remove unused includes

This commit is contained in:
Uwe
2022-03-05 23:16:28 +01:00
parent ae79d2155f
commit d6b7b91ab4
11 changed files with 59 additions and 98 deletions

View File

@@ -20,15 +20,12 @@
* *
***************************************************************************/
#include "PreCompiled.h"
#ifndef _PreComp_
#endif
#include "VectorListEditor.h"
#include "ui_VectorListEditor.h"
#include <Gui/QuantitySpinBox.h>
#include <Base/Tools.h>
#include "QuantitySpinBox.h"
using namespace Gui;

View File

@@ -23,13 +23,15 @@
#ifndef GUI_VECTORLISTEDITOR_H
#define GUI_VECTORLISTEDITOR_H
#include <QDialog>
#include <QList>
#include <QAbstractTableModel>
#include <QDialog>
#include <QItemDelegate>
#include <QList>
#include <memory>
#include <Base/Vector3D.h>
namespace Gui {
class VectorTableModel : public QAbstractTableModel

View File

@@ -20,18 +20,16 @@
* *
***************************************************************************/
#include "PreCompiled.h"
#ifndef _PreComp_
# include <string>
# include <QAction>
# include <QApplication>
# include <QFileInfo>
# include <QKeyEvent>
# include <QEvent>
# include <QDropEvent>
# include <QDragEnterEvent>
# include <QFileDialog>
# include <QLayout>
# include <QMdiSubWindow>
# include <QMessageBox>
@@ -39,60 +37,38 @@
# include <QPainter>
# include <QPrinter>
# include <QPrintDialog>
# include <QPrinterInfo>
# include <QPrintPreviewDialog>
# include <QStackedWidget>
# include <QTimer>
# include <QUrl>
# include <QWindow>
# include <Inventor/actions/SoWriteAction.h>
# include <Inventor/actions/SoGetPrimitiveCountAction.h>
# include <Inventor/nodes/SoDirectionalLight.h>
# include <Inventor/nodes/SoMaterial.h>
# include <Inventor/nodes/SoOrthographicCamera.h>
# include <Inventor/nodes/SoPerspectiveCamera.h>
# include <Inventor/nodes/SoSeparator.h>
# include <Inventor/nodes/SoShapeHints.h>
# include <Inventor/events/SoEvent.h>
# include <Inventor/fields/SoSFString.h>
# include <Inventor/fields/SoSFColor.h>
# include <Inventor/fields/SoSFString.h>
# include <Inventor/nodes/SoSeparator.h>
#endif
#include <QtOpenGL.h>
#include <Inventor/nodes/SoOrthographicCamera.h>
#include <Inventor/nodes/SoPerspectiveCamera.h>
#include <Base/Exception.h>
#include <Base/Console.h>
#include <Base/FileInfo.h>
#include <Base/Interpreter.h>
#include <App/DocumentObject.h>
#include "View3DInventor.h"
#include "View3DInventorViewer.h"
#include "Application.h"
#include "Document.h"
#include "FileDialog.h"
#include "Application.h"
#include "MainWindow.h"
#include "MenuManager.h"
#include "NavigationStyle.h"
#include "SoFCDB.h"
#include "SoFCSelectionAction.h"
#include "SoFCVectorizeSVGAction.h"
#include "View3DInventorExamples.h"
#include "View3DInventorViewer.h"
#include "View3DPy.h"
#include "ViewProvider.h"
#include "WaitCursor.h"
#include "SoFCVectorizeSVGAction.h"
// build in Inventor
#include <Inventor/nodes/SoPerspectiveCamera.h>
#include <Inventor/nodes/SoOrthographicCamera.h>
#include "View3DInventorExamples.h"
#include "ViewProviderDocumentObject.h"
#include "SoFCSelectionAction.h"
#include "View3DPy.h"
#include "SoFCDB.h"
#include "NavigationStyle.h"
#include "PropertyView.h"
#include "Selection.h"
#include "SelectionObject.h"
#include <locale>
using namespace Gui;

View File

@@ -20,16 +20,17 @@
* *
***************************************************************************/
#ifndef GUI_VIEW3DINVENTOR_H
#define GUI_VIEW3DINVENTOR_H
#include "MDIView.h"
#include <Base/Parameter.h>
#include <QImage>
#include <QtOpenGL.h>
#include <Base/Parameter.h>
#include "MDIView.h"
class QPrinter;
class QStackedWidget;

View File

@@ -20,45 +20,31 @@
* *
***************************************************************************/
#include "PreCompiled.h"
#ifndef _PreComp_
# include <Inventor/nodes/SoMaterial.h>
# include <Inventor/nodes/SoShapeHints.h>
# include <string>
# include <Inventor/SbClip.h>
# include <Inventor/nodes/SoCoordinate3.h>
# include <Inventor/nodes/SoComplexity.h>
# include <Inventor/nodes/SoCoordinate3.h>
# include <Inventor/nodes/SoFaceSet.h>
# include <Inventor/nodes/SoMaterial.h>
# include <Inventor/nodes/SoTexture3.h>
# include <Inventor/nodes/SoTextureCoordinate3.h>
# include <Inventor/nodes/SoFaceSet.h>
# include <Inventor/nodes/SoLineSet.h>
# include <Inventor/nodes/SoBaseColor.h>
# include <Inventor/draggers/SoTransformerDragger.h>
# include <float.h>
# include <cstring>
#endif
#include "../Base/Console.h"
#include "View3DInventorExamples.h"
#include <Inventor/SbPlane.h>
#include <Inventor/SoDB.h>
#include <Inventor/SbPlane.h>
#include <Inventor/actions/SoSearchAction.h>
#include <Inventor/manips/SoPointLightManip.h>
#include <Inventor/nodes/SoSeparator.h>
#include <Inventor/draggers/SoTransformerDragger.h>
#include <Inventor/SbBasic.h>
#include <Inventor/nodes/SoShapeHints.h>
#include <Inventor/nodes/SoSeparator.h>
#include <Inventor/nodes/SoTexture2.h>
#include <Inventor/manips/SoPointLightManip.h>
#include <Inventor/nodes/SoCube.h>
#include <Inventor/nodes/SoSeparator.h>
#include <Inventor/nodes/SoShapeHints.h>
#include <Inventor/nodes/SoTexture2.h>
#include <Inventor/sensors/SoTimerSensor.h>
#include "View3DInventorExamples.h"
unsigned char * generateTexture(int w, int h, int d)

View File

@@ -20,15 +20,16 @@
* *
***************************************************************************/
#include "PreCompiled.h"
#if BUILD_VR
#include <Base/Console.h>
#include "View3DInventorRiftViewer.h"
#include <App/Application.h>
#include <Base/Console.h>
#include "View3DInventorRiftViewer.h"
using namespace Gui;

View File

@@ -29,18 +29,20 @@
#include <set>
#include <vector>
#include <Base/Placement.h>
#include <Base/Type.h>
#include <Gui/Quarter/SoQTQuarterAdaptor.h>
#include <Gui/Namespace.h>
#include <Gui/Selection.h>
#include <Inventor/nodes/SoEventCallback.h>
#include <Inventor/nodes/SoSwitch.h>
#include <Inventor/SbRotation.h>
#include <QCursor>
#include <QImage>
#include <Inventor/SbRotation.h>
#include <Inventor/nodes/SoEventCallback.h>
#include <Inventor/nodes/SoSwitch.h>
#include <Base/Placement.h>
#include "Namespace.h"
#include "Selection.h"
#include "Quarter/SoQTQuarterAdaptor.h"
class SoTranslation;
class SoTransform;
class SoText2;

View File

@@ -20,7 +20,6 @@
* *
***************************************************************************/
#include "PreCompiled.h"
#ifndef __InventorAll__
@@ -39,11 +38,11 @@
#include <Base/GeometryPyCXX.h>
#include <Base/Interpreter.h>
#include <Base/PlacementPy.h>
#include <Base/Rotation.h>
#include <Base/RotationPy.h>
#include <Base/VectorPy.h>
#include "View3DPy.h"
#include "Document.h"
#include "NavigationStyle.h"
#include "PythonWrapper.h"
@@ -55,10 +54,10 @@
#include "SoMouseWheelEvent.h"
#include "View3DInventor.h"
#include "View3DInventorViewer.h"
#include "View3DViewerPy.h"
#include "ViewProviderDocumentObject.h"
#include "ViewProviderExtern.h"
using namespace Gui;

View File

@@ -20,12 +20,12 @@
* *
***************************************************************************/
#ifndef GUI_VIEW3DPY_H
#define GUI_VIEW3DPY_H
#include <Gui/MDIView.h>
#include <Gui/MDIViewPy.h>
#include "MDIView.h"
#include "MDIViewPy.h"
class SoEventCallback;
class SoDragger;

View File

@@ -20,21 +20,19 @@
* *
***************************************************************************/
#include "PreCompiled.h"
#ifndef __InventorAll__
# include "InventorAll.h"
#endif
#include <Base/GeometryPyCXX.h>
#include <Base/Interpreter.h>
#include <Base/MatrixPy.h>
#include "View3DViewerPy.h"
#include <CXX/Objects.hxx>
#include <Base/Interpreter.h>
#include <Base/GeometryPyCXX.h>
#include <Base/VectorPy.h>
#include <Base/MatrixPy.h>
#include <Gui/View3DInventorViewer.h>
#include "View3DInventorViewer.h"
using namespace Gui;

View File

@@ -20,14 +20,13 @@
* *
***************************************************************************/
#ifndef GUI_VIEW3DVIEWERPY_H
#define GUI_VIEW3DVIEWERPY_H
#include <Base/PyObjectBase.h>
#include <CXX/Extensions.hxx>
#include <list>
namespace Gui {
class View3DInventorViewer;