[FEM] App headers: remove unused headers
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
#define Fem_FemAnalysis_H
|
||||
|
||||
#include <App/DocumentObjectGroup.h>
|
||||
#include <App/PropertyLinks.h>
|
||||
#include <App/PropertyStandard.h>
|
||||
#include <App/FeaturePython.h>
|
||||
#include <Mod/Fem/FemGlobal.h>
|
||||
|
||||
|
||||
@@ -21,16 +21,15 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef FEM_CONSTRAINTFIXED_H
|
||||
#define FEM_CONSTRAINTFIXED_H
|
||||
|
||||
#include <App/DocumentObject.h>
|
||||
#include <App/PropertyLinks.h>
|
||||
#include <App/PropertyGeo.h>
|
||||
|
||||
#include "FemConstraint.h"
|
||||
|
||||
|
||||
namespace Fem
|
||||
{
|
||||
|
||||
|
||||
@@ -21,16 +21,15 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef FEM_CONSTRAINTPulley_H
|
||||
#define FEM_CONSTRAINTPulley_H
|
||||
|
||||
#include <App/DocumentObject.h>
|
||||
#include <App/PropertyLinks.h>
|
||||
#include <App/PropertyGeo.h>
|
||||
#include <App/PropertyStandard.h>
|
||||
|
||||
#include "FemConstraintGear.h"
|
||||
|
||||
|
||||
namespace Fem
|
||||
{
|
||||
|
||||
|
||||
@@ -49,7 +49,6 @@
|
||||
# include <SMESHDS_GroupBase.hxx>
|
||||
# include <SMESHDS_Group.hxx>
|
||||
# include <SMESHDS_Mesh.hxx>
|
||||
//# include <SMDS_PolyhedralVolumeOfNodes.hxx>
|
||||
# include <SMDS_VolumeTool.hxx>
|
||||
# include <StdMeshers_MaxLength.hxx>
|
||||
# include <StdMeshers_LocalLength.hxx>
|
||||
|
||||
@@ -20,12 +20,10 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef FEM_FEMMESH_H
|
||||
#define FEM_FEMMESH_H
|
||||
|
||||
#include <App/ComplexGeoData.h>
|
||||
#include <Base/Placement.h>
|
||||
#include <Base/Quantity.h>
|
||||
#include <Mod/Fem/FemGlobal.h>
|
||||
|
||||
@@ -33,7 +31,7 @@
|
||||
#include <list>
|
||||
#include <memory>
|
||||
#include <SMESH_Version.h>
|
||||
#include <SMDSAbs_ElementType.hxx>
|
||||
|
||||
|
||||
class SMESH_Gen;
|
||||
class SMESH_Mesh;
|
||||
|
||||
@@ -20,18 +20,16 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef Fem_FemMeshObject_H
|
||||
#define Fem_FemMeshObject_H
|
||||
|
||||
#include <App/FeaturePython.h>
|
||||
#include <App/GeoFeature.h>
|
||||
#include <App/PropertyFile.h>
|
||||
#include <App/PropertyGeo.h>
|
||||
|
||||
#include "FemMesh.h"
|
||||
#include "FemMeshProperty.h"
|
||||
|
||||
|
||||
namespace Fem
|
||||
{
|
||||
|
||||
|
||||
@@ -20,14 +20,11 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef Fem_FemMeshShapeNetgenObject_H
|
||||
#define Fem_FemMeshShapeNetgenObject_H
|
||||
|
||||
|
||||
#include "FemMesh.h"
|
||||
#include "FemMeshShapeObject.h"
|
||||
#include <App/PropertyStandard.h>
|
||||
#include "FemMeshShapeObject.h"
|
||||
|
||||
namespace Fem
|
||||
{
|
||||
|
||||
@@ -20,25 +20,22 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef Fem_FemPostFilter_H
|
||||
#define Fem_FemPostFilter_H
|
||||
|
||||
#include "FemPostObject.h"
|
||||
#include <App/PropertyUnits.h>
|
||||
|
||||
#include <vtkSmartPointer.h>
|
||||
#include <vtkTableBasedClipDataSet.h>
|
||||
#include <vtkExtractGeometry.h>
|
||||
#include <vtkGeometryFilter.h>
|
||||
#include <vtkPassThrough.h>
|
||||
#include <vtkPlane.h>
|
||||
#include <vtkWarpVector.h>
|
||||
#include <vtkCutter.h>
|
||||
#include <vtkExtractGeometry.h>
|
||||
#include <vtkLineSource.h>
|
||||
#include <vtkPointSource.h>
|
||||
#include <vtkProbeFilter.h>
|
||||
#include <vtkThreshold.h>
|
||||
#include <vtkSmartPointer.h>
|
||||
#include <vtkTableBasedClipDataSet.h>
|
||||
#include <vtkWarpVector.h>
|
||||
|
||||
#include <App/PropertyUnits.h>
|
||||
|
||||
#include "FemPostObject.h"
|
||||
|
||||
|
||||
namespace Fem
|
||||
{
|
||||
|
||||
@@ -20,18 +20,19 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef Fem_FemPostFunction_H
|
||||
#define Fem_FemPostFunction_H
|
||||
|
||||
#include "FemPostObject.h"
|
||||
#include <App/PropertyUnits.h>
|
||||
|
||||
#include <vtkSmartPointer.h>
|
||||
#include <vtkBoundingBox.h>
|
||||
#include <vtkImplicitFunction.h>
|
||||
#include <vtkPlane.h>
|
||||
#include <vtkSphere.h>
|
||||
#include <vtkBoundingBox.h>
|
||||
#include <vtkSmartPointer.h>
|
||||
|
||||
#include <App/PropertyUnits.h>
|
||||
|
||||
#include "FemPostObject.h"
|
||||
|
||||
|
||||
namespace Fem
|
||||
{
|
||||
|
||||
@@ -20,17 +20,16 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef Fem_FemPostPipeline_H
|
||||
#define Fem_FemPostPipeline_H
|
||||
|
||||
#include "FemResultObject.h"
|
||||
#include "FemPostObject.h"
|
||||
#include "FemPostFilter.h"
|
||||
#include "FemPostFunction.h"
|
||||
#include "FemPostObject.h"
|
||||
#include "FemResultObject.h"
|
||||
|
||||
#include <vtkSmartPointer.h>
|
||||
#include <vtkDataSet.h>
|
||||
|
||||
|
||||
namespace Fem
|
||||
{
|
||||
|
||||
@@ -20,16 +20,15 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef Fem_FemResultObject_H
|
||||
#define Fem_FemResultObject_H
|
||||
|
||||
#include <App/DocumentObject.h>
|
||||
#include <App/PropertyUnits.h>
|
||||
#include <App/PropertyStandard.h>
|
||||
#include <App/FeaturePython.h>
|
||||
#include <Mod/Fem/FemGlobal.h>
|
||||
|
||||
|
||||
namespace Fem
|
||||
{
|
||||
/// Father of all result data in a Fem Analysis
|
||||
@@ -51,8 +50,6 @@ public:
|
||||
App::PropertyFloatList Stats;
|
||||
/// Displacement vectors of analysis
|
||||
|
||||
|
||||
|
||||
/// returns the type name of the ViewProvider
|
||||
virtual const char* getViewProviderName(void) const {
|
||||
return "FemGui::ViewProviderResult";
|
||||
@@ -62,8 +59,6 @@ public:
|
||||
}
|
||||
virtual short mustExecute(void) const;
|
||||
virtual PyObject *getPyObject(void);
|
||||
|
||||
|
||||
};
|
||||
|
||||
typedef App::FeaturePythonT<FemResultObject> FemResultObjectPython;
|
||||
|
||||
@@ -20,14 +20,13 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef Fem_FemSetElementsObjec_H
|
||||
#define Fem_FemSetElementsObjec_H
|
||||
|
||||
#include <App/DocumentObject.h>
|
||||
#include <App/PropertyStandard.h>
|
||||
#include "FemSetObject.h"
|
||||
|
||||
|
||||
namespace Fem
|
||||
{
|
||||
|
||||
|
||||
@@ -20,14 +20,13 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef Fem_FemSetFacesObject_H
|
||||
#define Fem_FemSetFacesObject_H
|
||||
|
||||
#include <App/DocumentObject.h>
|
||||
#include <App/PropertyStandard.h>
|
||||
#include "FemSetObject.h"
|
||||
|
||||
|
||||
namespace Fem
|
||||
{
|
||||
|
||||
@@ -49,8 +48,6 @@ public:
|
||||
}
|
||||
virtual short mustExecute(void) const;
|
||||
virtual PyObject *getPyObject(void);
|
||||
|
||||
|
||||
};
|
||||
|
||||
} //namespace Fem
|
||||
|
||||
@@ -20,14 +20,13 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef Fem_FemSetGeometryObject_H
|
||||
#define Fem_FemSetGeometryObject_H
|
||||
|
||||
#include <App/DocumentObject.h>
|
||||
#include <App/PropertyStandard.h>
|
||||
#include "FemSetObject.h"
|
||||
|
||||
|
||||
namespace Fem
|
||||
{
|
||||
|
||||
|
||||
@@ -87,6 +87,7 @@
|
||||
#include "FemVTKTools.h"
|
||||
#include "FemMeshProperty.h"
|
||||
#include "FemAnalysis.h"
|
||||
#include "FemResultObject.h"
|
||||
|
||||
namespace Fem
|
||||
{
|
||||
|
||||
@@ -20,24 +20,20 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef FEM_VTK_TOOLS_H
|
||||
#define FEM_VTK_TOOLS_H
|
||||
|
||||
#include "FemMesh.h"
|
||||
#include "FemMeshObject.h"
|
||||
#include <App/DocumentObject.h>
|
||||
#include "FemResultObject.h"
|
||||
|
||||
#include <vtkSmartPointer.h>
|
||||
#include <vtkDataSet.h>
|
||||
#include <vtkSmartPointer.h>
|
||||
#include <vtkUnstructuredGrid.h>
|
||||
|
||||
#include <cstring>
|
||||
#include <App/DocumentObject.h>
|
||||
|
||||
#include "FemMeshObject.h"
|
||||
|
||||
|
||||
namespace Fem
|
||||
{
|
||||
|
||||
// utility class to import/export read/write vtk mesh and result
|
||||
class FemExport FemVTKTools
|
||||
{
|
||||
@@ -54,8 +50,6 @@ namespace Fem
|
||||
// extract data from a FreeCAD FEM result object and fill a vtkUnstructuredGrid object with that data (needed by writeResult)
|
||||
static void exportFreeCADResult(const App::DocumentObject* result, vtkSmartPointer<vtkDataSet> grid);
|
||||
|
||||
|
||||
|
||||
// FemMesh read from vtkUnstructuredGrid data file
|
||||
static FemMesh* readVTKMesh(const char* filename, FemMesh* mesh);
|
||||
|
||||
@@ -67,9 +61,7 @@ namespace Fem
|
||||
|
||||
// write FemResult (activeObject if res= NULL) to vtkUnstructuredGrid dataset file
|
||||
static void writeResult(const char* filename, const App::DocumentObject* res = nullptr);
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
#endif //FEM_VTK_TOOLS_H
|
||||
|
||||
|
||||
@@ -20,16 +20,17 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef FEM_PROPERTYPOSTDATASET_H
|
||||
#define FEM_PROPERTYPOSTDATASET_H
|
||||
|
||||
#include <App/Property.h>
|
||||
#include <vtkSmartPointer.h>
|
||||
#include <vtkDataObject.h>
|
||||
#include <vtkDataSet.h>
|
||||
#include <vtkSmartPointer.h>
|
||||
|
||||
#include <App/Property.h>
|
||||
#include <Mod/Fem/FemGlobal.h>
|
||||
|
||||
|
||||
namespace Fem
|
||||
{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user