[FEM] ViewProviderFem*: remove unused includes
- also sort includes
This commit is contained in:
@@ -6,12 +6,11 @@
|
||||
# include <SMESHDS_Mesh.hxx>
|
||||
#endif
|
||||
|
||||
#include <Base/VectorPy.h>
|
||||
#include <Base/GeometryPyCXX.h>
|
||||
#include <Base/VectorPy.h>
|
||||
#include <Mod/Fem/App/FemMeshObject.h>
|
||||
|
||||
#include "ViewProviderFemMesh.h"
|
||||
|
||||
// inclusion of the generated files (generated out of ViewProviderFemMeshPy.xml)
|
||||
#include "ViewProviderFemMeshPy.h"
|
||||
#include "ViewProviderFemMeshPy.cpp"
|
||||
|
||||
@@ -20,22 +20,15 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#include "PreCompiled.h"
|
||||
|
||||
#ifndef _PreComp_
|
||||
#endif
|
||||
|
||||
#include "ViewProviderFemMeshShape.h"
|
||||
|
||||
|
||||
using namespace FemGui;
|
||||
|
||||
|
||||
|
||||
PROPERTY_SOURCE(FemGui::ViewProviderFemMeshShape, FemGui::ViewProviderFemMesh)
|
||||
|
||||
|
||||
ViewProviderFemMeshShape::ViewProviderFemMeshShape()
|
||||
{
|
||||
|
||||
|
||||
@@ -20,28 +20,25 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#include "PreCompiled.h"
|
||||
|
||||
#ifndef _PreComp_
|
||||
# include <Standard_math.hxx>
|
||||
# include <QAction>
|
||||
# include <QCoreApplication>
|
||||
# include <QMenu>
|
||||
# include <QMessageBox>
|
||||
#endif
|
||||
|
||||
#include "ViewProviderFemMeshShapeNetgen.h"
|
||||
#include "TaskDlgMeshShapeNetgen.h"
|
||||
|
||||
#include <Gui/Control.h>
|
||||
#include <Gui/MainWindow.h>
|
||||
#include <Gui/Selection.h>
|
||||
|
||||
#include "ViewProviderFemMeshShapeNetgen.h"
|
||||
#include "TaskDlgMeshShapeNetgen.h"
|
||||
|
||||
|
||||
using namespace FemGui;
|
||||
|
||||
|
||||
/* TRANSLATOR FemGui::ViewProviderFemMeshShapeNetgen */
|
||||
|
||||
PROPERTY_SOURCE(FemGui::ViewProviderFemMeshShapeNetgen, FemGui::ViewProviderFemMeshShape)
|
||||
@@ -59,7 +56,7 @@ ViewProviderFemMeshShapeNetgen::~ViewProviderFemMeshShapeNetgen()
|
||||
|
||||
void ViewProviderFemMeshShapeNetgen::setupContextMenu(QMenu* menu, QObject* receiver, const char* member)
|
||||
{
|
||||
QAction* act = menu->addAction(QObject::tr("Meshing"), receiver, member);
|
||||
QAction *act = menu->addAction(QObject::tr("Meshing"), receiver, member);
|
||||
act->setData(QVariant((int)ViewProvider::Default));
|
||||
}
|
||||
|
||||
|
||||
@@ -22,10 +22,6 @@
|
||||
|
||||
#include "PreCompiled.h"
|
||||
|
||||
#ifndef _PreComp_
|
||||
# include <Inventor/nodes/SoDrawStyle.h>
|
||||
#endif
|
||||
|
||||
#include <Mod/Fem/App/FemPostFilter.h>
|
||||
|
||||
#include "ViewProviderFemPostFilter.h"
|
||||
@@ -34,7 +30,6 @@
|
||||
|
||||
using namespace FemGui;
|
||||
|
||||
|
||||
PROPERTY_SOURCE(FemGui::ViewProviderFemPostClip, FemGui::ViewProviderFemPostObject)
|
||||
|
||||
ViewProviderFemPostClip::ViewProviderFemPostClip() {
|
||||
|
||||
@@ -23,8 +23,9 @@
|
||||
#include "PreCompiled.h"
|
||||
|
||||
#ifndef _PreComp_
|
||||
# include <cmath>
|
||||
|
||||
# include <Inventor/actions/SoSearchAction.h>
|
||||
# include <Inventor/draggers/SoCenterballDragger.h>
|
||||
# include <Inventor/draggers/SoHandleBoxDragger.h>
|
||||
# include <Inventor/draggers/SoJackDragger.h>
|
||||
# include <Inventor/manips/SoCenterballManip.h>
|
||||
@@ -40,12 +41,9 @@
|
||||
# include <QApplication>
|
||||
# include <QMessageBox>
|
||||
# include <QTextStream>
|
||||
|
||||
# include <cmath>
|
||||
#endif
|
||||
|
||||
#include <App/Document.h>
|
||||
#include <App/PropertyUnits.h>
|
||||
#include <Base/UnitsApi.h>
|
||||
#include <Gui/Application.h>
|
||||
#include <Gui/Control.h>
|
||||
@@ -54,11 +52,8 @@
|
||||
#include <Gui/View3DInventor.h>
|
||||
#include <Gui/View3DInventorViewer.h>
|
||||
#include <Gui/TaskView/TaskDialog.h>
|
||||
#include <Mod/Fem/App/FemAnalysis.h>
|
||||
#include <Mod/Fem/App/FemPostPipeline.h>
|
||||
|
||||
#include "ViewProviderFemPostFunction.h"
|
||||
#include "ActiveAnalysisObserver.h"
|
||||
#include "FemSettings.h"
|
||||
#include "TaskPostBoxes.h"
|
||||
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
#include <QWidget>
|
||||
#include <boost_signals2.hpp>
|
||||
#include <Inventor/SbBox3f.h>
|
||||
|
||||
#include <Gui/ViewProviderDocumentObject.h>
|
||||
#include <Mod/Fem/App/FemPostFunction.h>
|
||||
|
||||
|
||||
@@ -30,8 +30,8 @@
|
||||
#include <vtkAppendPolyData.h>
|
||||
#include <vtkExtractEdges.h>
|
||||
#include <vtkGeometryFilter.h>
|
||||
#include <vtkSmartPointer.h>
|
||||
#include <vtkOutlineCornerFilter.h>
|
||||
#include <vtkSmartPointer.h>
|
||||
#include <vtkVertexGlyphFilter.h>
|
||||
|
||||
class SoIndexedPointSet;
|
||||
|
||||
@@ -20,14 +20,15 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef FEM_VIEWPROVIDERFEMPOSTPIPELINE_H
|
||||
#define FEM_VIEWPROVIDERFEMPOSTPIPELINE_H
|
||||
|
||||
#include "ViewProviderFemPostObject.h"
|
||||
#include <Gui/ViewProviderPythonFeature.h>
|
||||
#include <Mod/Fem/FemGlobal.h>
|
||||
|
||||
#include "ViewProviderFemPostObject.h"
|
||||
|
||||
|
||||
namespace FemGui
|
||||
{
|
||||
|
||||
|
||||
@@ -22,11 +22,7 @@
|
||||
|
||||
#include "PreCompiled.h"
|
||||
|
||||
#include <Base/VectorPy.h>
|
||||
#include <Base/GeometryPyCXX.h>
|
||||
|
||||
#include "ViewProviderFemPostPipeline.h"
|
||||
|
||||
// inclusion of the generated files (generated out of ViewProviderFemPostPipelinePy.xml)
|
||||
#include "ViewProviderFemPostPipelinePy.h"
|
||||
#include "ViewProviderFemPostPipelinePy.cpp"
|
||||
|
||||
Reference in New Issue
Block a user