Fem: modernize C++: use equals default
This commit is contained in:
@@ -75,8 +75,6 @@ public:
|
||||
initialize("This module is the Fem module."); // register with Python
|
||||
}
|
||||
|
||||
~Module() override {}
|
||||
|
||||
private:
|
||||
Py::Object invoke_method_varargs(void *method_def, const Py::Tuple &args) override
|
||||
{
|
||||
|
||||
@@ -41,9 +41,7 @@ FemAnalysis::FemAnalysis()
|
||||
ADD_PROPERTY_TYPE(Uid, (id), 0, App::Prop_None, "UUID of the Analysis");
|
||||
}
|
||||
|
||||
FemAnalysis::~FemAnalysis()
|
||||
{
|
||||
}
|
||||
FemAnalysis::~FemAnalysis() = default;
|
||||
|
||||
void FemAnalysis::handleChangedPropertyName(Base::XMLReader& reader,
|
||||
const char* TypeName,
|
||||
|
||||
@@ -79,9 +79,7 @@ Constraint::Constraint()
|
||||
References.setScope(App::LinkScope::Global);
|
||||
}
|
||||
|
||||
Constraint::~Constraint()
|
||||
{
|
||||
}
|
||||
Constraint::~Constraint() = default;
|
||||
|
||||
App::DocumentObjectExecReturn *Constraint::execute()
|
||||
{
|
||||
|
||||
@@ -43,9 +43,7 @@ FemMeshObject::FemMeshObject()
|
||||
// https://forum.freecad.org/viewtopic.php?f=18&t=33329#p279203
|
||||
}
|
||||
|
||||
FemMeshObject::~FemMeshObject()
|
||||
{
|
||||
}
|
||||
FemMeshObject::~FemMeshObject() = default;
|
||||
|
||||
short FemMeshObject::mustExecute() const
|
||||
{
|
||||
|
||||
@@ -42,9 +42,7 @@ PropertyFemMesh::PropertyFemMesh() : _FemMesh(new FemMesh)
|
||||
{
|
||||
}
|
||||
|
||||
PropertyFemMesh::~PropertyFemMesh()
|
||||
{
|
||||
}
|
||||
PropertyFemMesh::~PropertyFemMesh() = default;
|
||||
|
||||
void PropertyFemMesh::setValuePtr(FemMesh* mesh)
|
||||
{
|
||||
|
||||
@@ -62,9 +62,7 @@ FemMeshShapeNetgenObject::FemMeshShapeNetgenObject()
|
||||
|
||||
}
|
||||
|
||||
FemMeshShapeNetgenObject::~FemMeshShapeNetgenObject()
|
||||
{
|
||||
}
|
||||
FemMeshShapeNetgenObject::~FemMeshShapeNetgenObject() = default;
|
||||
|
||||
App::DocumentObjectExecReturn *FemMeshShapeNetgenObject::execute()
|
||||
{
|
||||
|
||||
@@ -66,9 +66,7 @@ FemMeshShapeObject::FemMeshShapeObject()
|
||||
"Geometry object, the mesh is made from. The geometry object has to have a Shape.");
|
||||
}
|
||||
|
||||
FemMeshShapeObject::~FemMeshShapeObject()
|
||||
{
|
||||
}
|
||||
FemMeshShapeObject::~FemMeshShapeObject() = default;
|
||||
|
||||
App::DocumentObjectExecReturn *FemMeshShapeObject::execute()
|
||||
{
|
||||
|
||||
@@ -45,8 +45,7 @@ FemPostFilter::FemPostFilter()
|
||||
ADD_PROPERTY(Input,(nullptr));
|
||||
}
|
||||
|
||||
FemPostFilter::~FemPostFilter()
|
||||
{}
|
||||
FemPostFilter::~FemPostFilter() = default;
|
||||
|
||||
void FemPostFilter::addFilterPipeline(const FemPostFilter::FilterPipeline& p, std::string name)
|
||||
{
|
||||
@@ -175,8 +174,7 @@ FemPostDataAlongLineFilter::FemPostDataAlongLineFilter()
|
||||
setActiveFilterPipeline("DataAlongLine");
|
||||
}
|
||||
|
||||
FemPostDataAlongLineFilter::~FemPostDataAlongLineFilter()
|
||||
{}
|
||||
FemPostDataAlongLineFilter::~FemPostDataAlongLineFilter() = default;
|
||||
|
||||
DocumentObjectExecReturn* FemPostDataAlongLineFilter::execute()
|
||||
{
|
||||
@@ -325,8 +323,7 @@ FemPostDataAtPointFilter::FemPostDataAtPointFilter()
|
||||
setActiveFilterPipeline("DataAtPoint");
|
||||
}
|
||||
|
||||
FemPostDataAtPointFilter::~FemPostDataAtPointFilter()
|
||||
{}
|
||||
FemPostDataAtPointFilter::~FemPostDataAtPointFilter() = default;
|
||||
|
||||
DocumentObjectExecReturn* FemPostDataAtPointFilter::execute()
|
||||
{
|
||||
@@ -421,8 +418,7 @@ FemPostClipFilter::FemPostClipFilter()
|
||||
setActiveFilterPipeline("extract");
|
||||
}
|
||||
|
||||
FemPostClipFilter::~FemPostClipFilter()
|
||||
{}
|
||||
FemPostClipFilter::~FemPostClipFilter() = default;
|
||||
|
||||
void FemPostClipFilter::onChanged(const Property* prop)
|
||||
{
|
||||
@@ -497,8 +493,7 @@ FemPostContoursFilter::FemPostContoursFilter()
|
||||
setActiveFilterPipeline("contours");
|
||||
}
|
||||
|
||||
FemPostContoursFilter::~FemPostContoursFilter()
|
||||
{}
|
||||
FemPostContoursFilter::~FemPostContoursFilter() = default;
|
||||
|
||||
DocumentObjectExecReturn* FemPostContoursFilter::execute()
|
||||
{
|
||||
@@ -744,8 +739,7 @@ FemPostCutFilter::FemPostCutFilter()
|
||||
setActiveFilterPipeline("cut");
|
||||
}
|
||||
|
||||
FemPostCutFilter::~FemPostCutFilter()
|
||||
{}
|
||||
FemPostCutFilter::~FemPostCutFilter() = default;
|
||||
|
||||
void FemPostCutFilter::onChanged(const Property* prop)
|
||||
{
|
||||
@@ -798,9 +792,7 @@ FemPostScalarClipFilter::FemPostScalarClipFilter() : FemPostFilter() {
|
||||
setActiveFilterPipeline("clip");
|
||||
}
|
||||
|
||||
FemPostScalarClipFilter::~FemPostScalarClipFilter() {
|
||||
|
||||
}
|
||||
FemPostScalarClipFilter::~FemPostScalarClipFilter() = default;
|
||||
|
||||
DocumentObjectExecReturn* FemPostScalarClipFilter::execute()
|
||||
{
|
||||
@@ -906,8 +898,7 @@ FemPostWarpVectorFilter::FemPostWarpVectorFilter() : FemPostFilter()
|
||||
setActiveFilterPipeline("warp");
|
||||
}
|
||||
|
||||
FemPostWarpVectorFilter::~FemPostWarpVectorFilter()
|
||||
{}
|
||||
FemPostWarpVectorFilter::~FemPostWarpVectorFilter() = default;
|
||||
|
||||
DocumentObjectExecReturn* FemPostWarpVectorFilter::execute()
|
||||
{
|
||||
|
||||
@@ -35,9 +35,7 @@ FemPostFunctionProvider::FemPostFunctionProvider() : DocumentObject() {
|
||||
ADD_PROPERTY(Functions, (nullptr));
|
||||
}
|
||||
|
||||
FemPostFunctionProvider::~FemPostFunctionProvider() {
|
||||
|
||||
}
|
||||
FemPostFunctionProvider::~FemPostFunctionProvider() = default;
|
||||
|
||||
void FemPostFunctionProvider::onChanged(const Property* prop) {
|
||||
App::DocumentObject::onChanged(prop);
|
||||
@@ -46,13 +44,9 @@ void FemPostFunctionProvider::onChanged(const Property* prop) {
|
||||
|
||||
PROPERTY_SOURCE(Fem::FemPostFunction, App::DocumentObject)
|
||||
|
||||
FemPostFunction::FemPostFunction()
|
||||
{
|
||||
}
|
||||
FemPostFunction::FemPostFunction() = default;
|
||||
|
||||
FemPostFunction::~FemPostFunction()
|
||||
{
|
||||
}
|
||||
FemPostFunction::~FemPostFunction() = default;
|
||||
|
||||
DocumentObjectExecReturn* FemPostFunction::execute() {
|
||||
|
||||
@@ -77,9 +71,7 @@ FemPostBoxFunction::FemPostBoxFunction()
|
||||
m_box->SetBounds(-5.0, 5.0, -5.0, 5.0, -5.0, 5.0);
|
||||
}
|
||||
|
||||
FemPostBoxFunction::~FemPostBoxFunction()
|
||||
{
|
||||
}
|
||||
FemPostBoxFunction::~FemPostBoxFunction() = default;
|
||||
|
||||
void FemPostBoxFunction::onChanged(const Property* prop)
|
||||
{
|
||||
@@ -123,9 +115,7 @@ FemPostCylinderFunction::FemPostCylinderFunction()
|
||||
m_cylinder->SetRadius(5.0);
|
||||
}
|
||||
|
||||
FemPostCylinderFunction::~FemPostCylinderFunction()
|
||||
{
|
||||
}
|
||||
FemPostCylinderFunction::~FemPostCylinderFunction() = default;
|
||||
|
||||
void FemPostCylinderFunction::onChanged(const Property* prop)
|
||||
{
|
||||
@@ -167,9 +157,7 @@ FemPostPlaneFunction::FemPostPlaneFunction() : FemPostFunction() {
|
||||
m_plane->SetNormal(0.0, 0.0, 1.0);
|
||||
}
|
||||
|
||||
FemPostPlaneFunction::~FemPostPlaneFunction() {
|
||||
|
||||
}
|
||||
FemPostPlaneFunction::~FemPostPlaneFunction() = default;
|
||||
|
||||
void FemPostPlaneFunction::onChanged(const Property* prop) {
|
||||
|
||||
@@ -207,9 +195,7 @@ FemPostSphereFunction::FemPostSphereFunction() : FemPostFunction() {
|
||||
m_sphere->SetRadius(5.0);
|
||||
}
|
||||
|
||||
FemPostSphereFunction::~FemPostSphereFunction() {
|
||||
|
||||
}
|
||||
FemPostSphereFunction::~FemPostSphereFunction() = default;
|
||||
|
||||
void FemPostSphereFunction::onChanged(const Property* prop) {
|
||||
|
||||
|
||||
@@ -40,9 +40,7 @@ FemPostObject::FemPostObject()
|
||||
ADD_PROPERTY(Data, (nullptr));
|
||||
}
|
||||
|
||||
FemPostObject::~FemPostObject()
|
||||
{
|
||||
}
|
||||
FemPostObject::~FemPostObject() = default;
|
||||
|
||||
vtkBoundingBox FemPostObject::getBoundingBox() {
|
||||
|
||||
|
||||
@@ -73,9 +73,7 @@ FemPostPipeline::FemPostPipeline()
|
||||
Mode.setEnums(ModeEnums);
|
||||
}
|
||||
|
||||
FemPostPipeline::~FemPostPipeline()
|
||||
{
|
||||
}
|
||||
FemPostPipeline::~FemPostPipeline() = default;
|
||||
|
||||
short FemPostPipeline::mustExecute() const
|
||||
{
|
||||
|
||||
@@ -47,9 +47,7 @@ FemResultObject::FemResultObject()
|
||||
Time.setStatus(App::Property::ReadOnly, true);
|
||||
}
|
||||
|
||||
FemResultObject::~FemResultObject()
|
||||
{
|
||||
}
|
||||
FemResultObject::~FemResultObject() = default;
|
||||
|
||||
short FemResultObject::mustExecute() const
|
||||
{
|
||||
|
||||
@@ -33,13 +33,9 @@ using namespace App;
|
||||
PROPERTY_SOURCE(Fem::FemSetElementsObject, Fem::FemSetObject)
|
||||
|
||||
|
||||
FemSetElementsObject::FemSetElementsObject()
|
||||
{
|
||||
}
|
||||
FemSetElementsObject::FemSetElementsObject() = default;
|
||||
|
||||
FemSetElementsObject::~FemSetElementsObject()
|
||||
{
|
||||
}
|
||||
FemSetElementsObject::~FemSetElementsObject() = default;
|
||||
|
||||
short FemSetElementsObject::mustExecute() const
|
||||
{
|
||||
|
||||
@@ -33,13 +33,9 @@ using namespace App;
|
||||
PROPERTY_SOURCE(Fem::FemSetFacesObject, Fem::FemSetObject)
|
||||
|
||||
|
||||
FemSetFacesObject::FemSetFacesObject()
|
||||
{
|
||||
}
|
||||
FemSetFacesObject::FemSetFacesObject() = default;
|
||||
|
||||
FemSetFacesObject::~FemSetFacesObject()
|
||||
{
|
||||
}
|
||||
FemSetFacesObject::~FemSetFacesObject() = default;
|
||||
|
||||
short FemSetFacesObject::mustExecute() const
|
||||
{
|
||||
|
||||
@@ -32,13 +32,9 @@ using namespace App;
|
||||
PROPERTY_SOURCE(Fem::FemSetGeometryObject, Fem::FemSetObject)
|
||||
|
||||
|
||||
FemSetGeometryObject::FemSetGeometryObject()
|
||||
{
|
||||
}
|
||||
FemSetGeometryObject::FemSetGeometryObject() = default;
|
||||
|
||||
FemSetGeometryObject::~FemSetGeometryObject()
|
||||
{
|
||||
}
|
||||
FemSetGeometryObject::~FemSetGeometryObject() = default;
|
||||
|
||||
short FemSetGeometryObject::mustExecute() const
|
||||
{
|
||||
|
||||
@@ -38,9 +38,7 @@ FemSetNodesObject::FemSetNodesObject()
|
||||
ADD_PROPERTY_TYPE(Nodes,(), "Node indexes",Prop_None,"Nodes belonging to the NodesSet");
|
||||
}
|
||||
|
||||
FemSetNodesObject::~FemSetNodesObject()
|
||||
{
|
||||
}
|
||||
FemSetNodesObject::~FemSetNodesObject() = default;
|
||||
|
||||
short FemSetNodesObject::mustExecute() const
|
||||
{
|
||||
|
||||
@@ -37,9 +37,7 @@ FemSetObject::FemSetObject()
|
||||
ADD_PROPERTY_TYPE(FemMesh,(nullptr), "MeshSet link",Prop_None,"MeshSet the set belongs to");
|
||||
}
|
||||
|
||||
FemSetObject::~FemSetObject()
|
||||
{
|
||||
}
|
||||
FemSetObject::~FemSetObject() = default;
|
||||
|
||||
short FemSetObject::mustExecute() const
|
||||
{
|
||||
|
||||
@@ -35,14 +35,9 @@ using namespace App;
|
||||
PROPERTY_SOURCE(Fem::FemSolverObject, App::DocumentObject)
|
||||
|
||||
|
||||
FemSolverObject::FemSolverObject()
|
||||
{
|
||||
// Attributes are implemented in the FemSolverObjectPython
|
||||
}
|
||||
FemSolverObject::FemSolverObject() = default;
|
||||
|
||||
FemSolverObject::~FemSolverObject()
|
||||
{
|
||||
}
|
||||
FemSolverObject::~FemSolverObject() = default;
|
||||
|
||||
short FemSolverObject::mustExecute() const
|
||||
{
|
||||
|
||||
@@ -78,9 +78,7 @@ HypothesisPy::HypothesisPy(std::shared_ptr<SMESH_Hypothesis> h)
|
||||
{
|
||||
}
|
||||
|
||||
HypothesisPy::~HypothesisPy()
|
||||
{
|
||||
}
|
||||
HypothesisPy::~HypothesisPy() = default;
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
@@ -114,9 +112,7 @@ SMESH_HypothesisPy<T>::SMESH_HypothesisPy(SMESH_Hypothesis* h) : hyp(h)
|
||||
}
|
||||
|
||||
template<class T>
|
||||
SMESH_HypothesisPy<T>::~SMESH_HypothesisPy()
|
||||
{
|
||||
}
|
||||
SMESH_HypothesisPy<T>::~SMESH_HypothesisPy() = default;
|
||||
|
||||
template<class T>
|
||||
Py::Object SMESH_HypothesisPy<T>::getattr(const char *name)
|
||||
@@ -256,9 +252,7 @@ StdMeshers_Arithmetic1DPy::StdMeshers_Arithmetic1DPy(int hypId, int studyId, SME
|
||||
}
|
||||
#endif
|
||||
|
||||
StdMeshers_Arithmetic1DPy::~StdMeshers_Arithmetic1DPy()
|
||||
{
|
||||
}
|
||||
StdMeshers_Arithmetic1DPy::~StdMeshers_Arithmetic1DPy() = default;
|
||||
|
||||
Py::Object StdMeshers_Arithmetic1DPy::setLength(const Py::Tuple& args)
|
||||
{
|
||||
@@ -301,9 +295,7 @@ StdMeshers_AutomaticLengthPy::StdMeshers_AutomaticLengthPy(int /*hypId*/, int /*
|
||||
}
|
||||
#endif
|
||||
|
||||
StdMeshers_AutomaticLengthPy::~StdMeshers_AutomaticLengthPy()
|
||||
{
|
||||
}
|
||||
StdMeshers_AutomaticLengthPy::~StdMeshers_AutomaticLengthPy() = default;
|
||||
|
||||
Py::Object StdMeshers_AutomaticLengthPy::setFineness(const Py::Tuple& args)
|
||||
{
|
||||
@@ -370,9 +362,7 @@ StdMeshers_NotConformAllowedPy::StdMeshers_NotConformAllowedPy(int hypId, int st
|
||||
}
|
||||
#endif
|
||||
|
||||
StdMeshers_NotConformAllowedPy::~StdMeshers_NotConformAllowedPy()
|
||||
{
|
||||
}
|
||||
StdMeshers_NotConformAllowedPy::~StdMeshers_NotConformAllowedPy() = default;
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
@@ -403,9 +393,7 @@ StdMeshers_MaxLengthPy::StdMeshers_MaxLengthPy(int hypId, int studyId, SMESH_Gen
|
||||
}
|
||||
#endif
|
||||
|
||||
StdMeshers_MaxLengthPy::~StdMeshers_MaxLengthPy()
|
||||
{
|
||||
}
|
||||
StdMeshers_MaxLengthPy::~StdMeshers_MaxLengthPy() = default;
|
||||
|
||||
Py::Object StdMeshers_MaxLengthPy::setLength(const Py::Tuple& args)
|
||||
{
|
||||
@@ -479,9 +467,7 @@ StdMeshers_LocalLengthPy::StdMeshers_LocalLengthPy(int hypId, int studyId, SMESH
|
||||
}
|
||||
#endif
|
||||
|
||||
StdMeshers_LocalLengthPy::~StdMeshers_LocalLengthPy()
|
||||
{
|
||||
}
|
||||
StdMeshers_LocalLengthPy::~StdMeshers_LocalLengthPy() = default;
|
||||
|
||||
Py::Object StdMeshers_LocalLengthPy::setLength(const Py::Tuple& args)
|
||||
{
|
||||
@@ -533,9 +519,7 @@ StdMeshers_MaxElementAreaPy::StdMeshers_MaxElementAreaPy(int hypId, int studyId,
|
||||
}
|
||||
#endif
|
||||
|
||||
StdMeshers_MaxElementAreaPy::~StdMeshers_MaxElementAreaPy()
|
||||
{
|
||||
}
|
||||
StdMeshers_MaxElementAreaPy::~StdMeshers_MaxElementAreaPy() = default;
|
||||
|
||||
Py::Object StdMeshers_MaxElementAreaPy::setMaxArea(const Py::Tuple& args)
|
||||
{
|
||||
@@ -571,9 +555,7 @@ StdMeshers_QuadranglePreferencePy::StdMeshers_QuadranglePreferencePy(int hypId,
|
||||
}
|
||||
#endif
|
||||
|
||||
StdMeshers_QuadranglePreferencePy::~StdMeshers_QuadranglePreferencePy()
|
||||
{
|
||||
}
|
||||
StdMeshers_QuadranglePreferencePy::~StdMeshers_QuadranglePreferencePy() = default;
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
@@ -596,9 +578,7 @@ StdMeshers_Quadrangle_2DPy::StdMeshers_Quadrangle_2DPy(int hypId, int studyId, S
|
||||
}
|
||||
#endif
|
||||
|
||||
StdMeshers_Quadrangle_2DPy::~StdMeshers_Quadrangle_2DPy()
|
||||
{
|
||||
}
|
||||
StdMeshers_Quadrangle_2DPy::~StdMeshers_Quadrangle_2DPy() = default;
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
@@ -621,9 +601,7 @@ StdMeshers_Regular_1DPy::StdMeshers_Regular_1DPy(int hypId, int studyId, SMESH_G
|
||||
}
|
||||
#endif
|
||||
|
||||
StdMeshers_Regular_1DPy::~StdMeshers_Regular_1DPy()
|
||||
{
|
||||
}
|
||||
StdMeshers_Regular_1DPy::~StdMeshers_Regular_1DPy() = default;
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
@@ -646,9 +624,7 @@ StdMeshers_UseExisting_1DPy::StdMeshers_UseExisting_1DPy(int hypId, int studyId,
|
||||
}
|
||||
#endif
|
||||
|
||||
StdMeshers_UseExisting_1DPy::~StdMeshers_UseExisting_1DPy()
|
||||
{
|
||||
}
|
||||
StdMeshers_UseExisting_1DPy::~StdMeshers_UseExisting_1DPy() = default;
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
@@ -671,9 +647,7 @@ StdMeshers_UseExisting_2DPy::StdMeshers_UseExisting_2DPy(int hypId, int studyId,
|
||||
}
|
||||
#endif
|
||||
|
||||
StdMeshers_UseExisting_2DPy::~StdMeshers_UseExisting_2DPy()
|
||||
{
|
||||
}
|
||||
StdMeshers_UseExisting_2DPy::~StdMeshers_UseExisting_2DPy() = default;
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
@@ -696,9 +670,7 @@ StdMeshers_CompositeSegment_1DPy::StdMeshers_CompositeSegment_1DPy(int hypId, in
|
||||
}
|
||||
#endif
|
||||
|
||||
StdMeshers_CompositeSegment_1DPy::~StdMeshers_CompositeSegment_1DPy()
|
||||
{
|
||||
}
|
||||
StdMeshers_CompositeSegment_1DPy::~StdMeshers_CompositeSegment_1DPy() = default;
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
@@ -723,9 +695,7 @@ StdMeshers_Deflection1DPy::StdMeshers_Deflection1DPy(int hypId, int studyId, SME
|
||||
}
|
||||
#endif
|
||||
|
||||
StdMeshers_Deflection1DPy::~StdMeshers_Deflection1DPy()
|
||||
{
|
||||
}
|
||||
StdMeshers_Deflection1DPy::~StdMeshers_Deflection1DPy() = default;
|
||||
|
||||
Py::Object StdMeshers_Deflection1DPy::setDeflection(const Py::Tuple& args)
|
||||
{
|
||||
@@ -755,9 +725,7 @@ StdMeshers_Hexa_3DPy::StdMeshers_Hexa_3DPy(int hypId, int studyId, SMESH_Gen* ge
|
||||
}
|
||||
#endif
|
||||
|
||||
StdMeshers_Hexa_3DPy::~StdMeshers_Hexa_3DPy()
|
||||
{
|
||||
}
|
||||
StdMeshers_Hexa_3DPy::~StdMeshers_Hexa_3DPy() = default;
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
@@ -774,9 +742,7 @@ StdMeshers_TrianglePreferencePy::StdMeshers_TrianglePreferencePy(int hypId, int
|
||||
{
|
||||
}
|
||||
|
||||
StdMeshers_TrianglePreferencePy::~StdMeshers_TrianglePreferencePy()
|
||||
{
|
||||
}
|
||||
StdMeshers_TrianglePreferencePy::~StdMeshers_TrianglePreferencePy() = default;
|
||||
#endif // --------------------------------------------------------------------
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
@@ -802,9 +768,7 @@ StdMeshers_StartEndLengthPy::StdMeshers_StartEndLengthPy(int hypId, int studyId,
|
||||
}
|
||||
#endif
|
||||
|
||||
StdMeshers_StartEndLengthPy::~StdMeshers_StartEndLengthPy()
|
||||
{
|
||||
}
|
||||
StdMeshers_StartEndLengthPy::~StdMeshers_StartEndLengthPy() = default;
|
||||
|
||||
Py::Object StdMeshers_StartEndLengthPy::setLength(const Py::Tuple& args)
|
||||
{
|
||||
@@ -840,9 +804,7 @@ StdMeshers_SegmentLengthAroundVertexPy::StdMeshers_SegmentLengthAroundVertexPy(i
|
||||
}
|
||||
#endif
|
||||
|
||||
StdMeshers_SegmentLengthAroundVertexPy::~StdMeshers_SegmentLengthAroundVertexPy()
|
||||
{
|
||||
}
|
||||
StdMeshers_SegmentLengthAroundVertexPy::~StdMeshers_SegmentLengthAroundVertexPy() = default;
|
||||
|
||||
Py::Object StdMeshers_SegmentLengthAroundVertexPy::setLength(const Py::Tuple& args)
|
||||
{
|
||||
@@ -878,9 +840,7 @@ StdMeshers_SegmentAroundVertex_0DPy::StdMeshers_SegmentAroundVertex_0DPy(int hyp
|
||||
}
|
||||
#endif
|
||||
|
||||
StdMeshers_SegmentAroundVertex_0DPy::~StdMeshers_SegmentAroundVertex_0DPy()
|
||||
{
|
||||
}
|
||||
StdMeshers_SegmentAroundVertex_0DPy::~StdMeshers_SegmentAroundVertex_0DPy() = default;
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
@@ -903,9 +863,7 @@ StdMeshers_RadialPrism_3DPy::StdMeshers_RadialPrism_3DPy(int hypId, int studyId,
|
||||
}
|
||||
#endif
|
||||
|
||||
StdMeshers_RadialPrism_3DPy::~StdMeshers_RadialPrism_3DPy()
|
||||
{
|
||||
}
|
||||
StdMeshers_RadialPrism_3DPy::~StdMeshers_RadialPrism_3DPy() = default;
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
@@ -928,9 +886,7 @@ StdMeshers_QuadraticMeshPy::StdMeshers_QuadraticMeshPy(int hypId, int studyId, S
|
||||
}
|
||||
#endif
|
||||
|
||||
StdMeshers_QuadraticMeshPy::~StdMeshers_QuadraticMeshPy()
|
||||
{
|
||||
}
|
||||
StdMeshers_QuadraticMeshPy::~StdMeshers_QuadraticMeshPy() = default;
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
@@ -953,9 +909,7 @@ StdMeshers_ProjectionSource3DPy::StdMeshers_ProjectionSource3DPy(int hypId, int
|
||||
}
|
||||
#endif
|
||||
|
||||
StdMeshers_ProjectionSource3DPy::~StdMeshers_ProjectionSource3DPy()
|
||||
{
|
||||
}
|
||||
StdMeshers_ProjectionSource3DPy::~StdMeshers_ProjectionSource3DPy() = default;
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
@@ -978,9 +932,7 @@ StdMeshers_ProjectionSource2DPy::StdMeshers_ProjectionSource2DPy(int hypId, int
|
||||
}
|
||||
#endif
|
||||
|
||||
StdMeshers_ProjectionSource2DPy::~StdMeshers_ProjectionSource2DPy()
|
||||
{
|
||||
}
|
||||
StdMeshers_ProjectionSource2DPy::~StdMeshers_ProjectionSource2DPy() = default;
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
@@ -1003,9 +955,7 @@ StdMeshers_ProjectionSource1DPy::StdMeshers_ProjectionSource1DPy(int hypId, int
|
||||
}
|
||||
#endif
|
||||
|
||||
StdMeshers_ProjectionSource1DPy::~StdMeshers_ProjectionSource1DPy()
|
||||
{
|
||||
}
|
||||
StdMeshers_ProjectionSource1DPy::~StdMeshers_ProjectionSource1DPy() = default;
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
@@ -1028,9 +978,7 @@ StdMeshers_Projection_3DPy::StdMeshers_Projection_3DPy(int hypId, int studyId, S
|
||||
}
|
||||
#endif
|
||||
|
||||
StdMeshers_Projection_3DPy::~StdMeshers_Projection_3DPy()
|
||||
{
|
||||
}
|
||||
StdMeshers_Projection_3DPy::~StdMeshers_Projection_3DPy() = default;
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
@@ -1053,9 +1001,7 @@ StdMeshers_Projection_2DPy::StdMeshers_Projection_2DPy(int hypId, int studyId, S
|
||||
}
|
||||
#endif
|
||||
|
||||
StdMeshers_Projection_2DPy::~StdMeshers_Projection_2DPy()
|
||||
{
|
||||
}
|
||||
StdMeshers_Projection_2DPy::~StdMeshers_Projection_2DPy() = default;
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
@@ -1078,9 +1024,7 @@ StdMeshers_Projection_1DPy::StdMeshers_Projection_1DPy(int hypId, int studyId, S
|
||||
}
|
||||
#endif
|
||||
|
||||
StdMeshers_Projection_1DPy::~StdMeshers_Projection_1DPy()
|
||||
{
|
||||
}
|
||||
StdMeshers_Projection_1DPy::~StdMeshers_Projection_1DPy() = default;
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
@@ -1103,9 +1047,7 @@ StdMeshers_Prism_3DPy::StdMeshers_Prism_3DPy(int hypId, int studyId, SMESH_Gen*
|
||||
}
|
||||
#endif
|
||||
|
||||
StdMeshers_Prism_3DPy::~StdMeshers_Prism_3DPy()
|
||||
{
|
||||
}
|
||||
StdMeshers_Prism_3DPy::~StdMeshers_Prism_3DPy() = default;
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
@@ -1130,9 +1072,7 @@ StdMeshers_NumberOfSegmentsPy::StdMeshers_NumberOfSegmentsPy(int hypId, int stud
|
||||
}
|
||||
#endif
|
||||
|
||||
StdMeshers_NumberOfSegmentsPy::~StdMeshers_NumberOfSegmentsPy()
|
||||
{
|
||||
}
|
||||
StdMeshers_NumberOfSegmentsPy::~StdMeshers_NumberOfSegmentsPy() = default;
|
||||
|
||||
Py::Object StdMeshers_NumberOfSegmentsPy::setNumSegm(const Py::Tuple& args)
|
||||
{
|
||||
@@ -1170,9 +1110,7 @@ StdMeshers_NumberOfLayersPy::StdMeshers_NumberOfLayersPy(int hypId, int studyId,
|
||||
}
|
||||
#endif
|
||||
|
||||
StdMeshers_NumberOfLayersPy::~StdMeshers_NumberOfLayersPy()
|
||||
{
|
||||
}
|
||||
StdMeshers_NumberOfLayersPy::~StdMeshers_NumberOfLayersPy() = default;
|
||||
|
||||
Py::Object StdMeshers_NumberOfLayersPy::setNumLayers(const Py::Tuple& args)
|
||||
{
|
||||
@@ -1208,9 +1146,7 @@ StdMeshers_MEFISTO_2DPy::StdMeshers_MEFISTO_2DPy(int hypId, int studyId, SMESH_G
|
||||
}
|
||||
#endif
|
||||
|
||||
StdMeshers_MEFISTO_2DPy::~StdMeshers_MEFISTO_2DPy()
|
||||
{
|
||||
}
|
||||
StdMeshers_MEFISTO_2DPy::~StdMeshers_MEFISTO_2DPy() = default;
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
@@ -1235,9 +1171,7 @@ StdMeshers_MaxElementVolumePy::StdMeshers_MaxElementVolumePy(int hypId, int stud
|
||||
}
|
||||
#endif
|
||||
|
||||
StdMeshers_MaxElementVolumePy::~StdMeshers_MaxElementVolumePy()
|
||||
{
|
||||
}
|
||||
StdMeshers_MaxElementVolumePy::~StdMeshers_MaxElementVolumePy() = default;
|
||||
|
||||
Py::Object StdMeshers_MaxElementVolumePy::setMaxVolume(const Py::Tuple& args)
|
||||
{
|
||||
@@ -1275,9 +1209,7 @@ StdMeshers_LengthFromEdgesPy::StdMeshers_LengthFromEdgesPy(int hypId, int studyI
|
||||
}
|
||||
#endif
|
||||
|
||||
StdMeshers_LengthFromEdgesPy::~StdMeshers_LengthFromEdgesPy()
|
||||
{
|
||||
}
|
||||
StdMeshers_LengthFromEdgesPy::~StdMeshers_LengthFromEdgesPy() = default;
|
||||
|
||||
Py::Object StdMeshers_LengthFromEdgesPy::setMode(const Py::Tuple& args)
|
||||
{
|
||||
@@ -1319,9 +1251,7 @@ StdMeshers_LayerDistributionPy::StdMeshers_LayerDistributionPy(int hypId, int st
|
||||
}
|
||||
#endif
|
||||
|
||||
StdMeshers_LayerDistributionPy::~StdMeshers_LayerDistributionPy()
|
||||
{
|
||||
}
|
||||
StdMeshers_LayerDistributionPy::~StdMeshers_LayerDistributionPy() = default;
|
||||
|
||||
Py::Object StdMeshers_LayerDistributionPy::setLayerDistribution(const Py::Tuple& args)
|
||||
{
|
||||
|
||||
@@ -56,13 +56,9 @@ using namespace Fem;
|
||||
|
||||
TYPESYSTEM_SOURCE(Fem::PropertyPostDataObject , App::Property)
|
||||
|
||||
PropertyPostDataObject::PropertyPostDataObject()
|
||||
{
|
||||
}
|
||||
PropertyPostDataObject::PropertyPostDataObject() = default;
|
||||
|
||||
PropertyPostDataObject::~PropertyPostDataObject()
|
||||
{
|
||||
}
|
||||
PropertyPostDataObject::~PropertyPostDataObject() = default;
|
||||
|
||||
void PropertyPostDataObject::scaleDataObject(vtkDataObject *dataObject, double s)
|
||||
{
|
||||
|
||||
@@ -39,9 +39,7 @@ AbaqusHighlighter::AbaqusHighlighter(QObject* parent)
|
||||
}
|
||||
|
||||
/** Destroys this object. */
|
||||
AbaqusHighlighter::~AbaqusHighlighter()
|
||||
{
|
||||
}
|
||||
AbaqusHighlighter::~AbaqusHighlighter() = default;
|
||||
|
||||
void AbaqusHighlighter::highlightBlock(const QString& text)
|
||||
{
|
||||
|
||||
@@ -46,9 +46,7 @@ ActiveAnalysisObserver::ActiveAnalysisObserver()
|
||||
{
|
||||
}
|
||||
|
||||
ActiveAnalysisObserver::~ActiveAnalysisObserver()
|
||||
{
|
||||
}
|
||||
ActiveAnalysisObserver::~ActiveAnalysisObserver() = default;
|
||||
|
||||
void ActiveAnalysisObserver::setActiveObject(Fem::FemAnalysis* fem)
|
||||
{
|
||||
|
||||
@@ -58,8 +58,6 @@ public:
|
||||
initialize("This module is the FemGui module."); // register with Python
|
||||
}
|
||||
|
||||
~Module() override {}
|
||||
|
||||
private:
|
||||
Py::Object invoke_method_varargs(void* method_def, const Py::Tuple& args) override
|
||||
{
|
||||
|
||||
@@ -53,10 +53,7 @@ DlgSettingsFemCcxImp::DlgSettingsFemCcxImp(QWidget* parent)
|
||||
this, &DlgSettingsFemCcxImp::onfileNameChanged);
|
||||
}
|
||||
|
||||
DlgSettingsFemCcxImp::~DlgSettingsFemCcxImp()
|
||||
{
|
||||
// no need to delete child widgets, Qt does it all for us
|
||||
}
|
||||
DlgSettingsFemCcxImp::~DlgSettingsFemCcxImp() = default;
|
||||
|
||||
void DlgSettingsFemCcxImp::saveSettings()
|
||||
{
|
||||
|
||||
@@ -54,10 +54,7 @@ DlgSettingsFemElmerImp::DlgSettingsFemElmerImp(QWidget* parent)
|
||||
this, &DlgSettingsFemElmerImp::onCoresValueChanged);
|
||||
}
|
||||
|
||||
DlgSettingsFemElmerImp::~DlgSettingsFemElmerImp()
|
||||
{
|
||||
// no need to delete child widgets, Qt does it all for us
|
||||
}
|
||||
DlgSettingsFemElmerImp::~DlgSettingsFemElmerImp() = default;
|
||||
|
||||
void DlgSettingsFemElmerImp::saveSettings()
|
||||
{
|
||||
|
||||
@@ -42,8 +42,7 @@ DlgSettingsFemExportAbaqusImp::DlgSettingsFemExportAbaqusImp(QWidget* parent)
|
||||
/*
|
||||
* Destroys the object and frees any allocated resources
|
||||
*/
|
||||
DlgSettingsFemExportAbaqusImp::~DlgSettingsFemExportAbaqusImp()
|
||||
{}
|
||||
DlgSettingsFemExportAbaqusImp::~DlgSettingsFemExportAbaqusImp() = default;
|
||||
|
||||
void DlgSettingsFemExportAbaqusImp::saveSettings()
|
||||
{
|
||||
|
||||
@@ -70,10 +70,7 @@ DlgSettingsFemGeneralImp::DlgSettingsFemGeneralImp(QWidget* parent)
|
||||
ui->cmb_def_solver->setCurrentIndex(1);
|
||||
}
|
||||
|
||||
DlgSettingsFemGeneralImp::~DlgSettingsFemGeneralImp()
|
||||
{
|
||||
// no need to delete child widgets, Qt does it all for us
|
||||
}
|
||||
DlgSettingsFemGeneralImp::~DlgSettingsFemGeneralImp() = default;
|
||||
|
||||
void DlgSettingsFemGeneralImp::saveSettings()
|
||||
{
|
||||
|
||||
@@ -43,10 +43,7 @@ DlgSettingsFemGmshImp::DlgSettingsFemGmshImp(QWidget* parent)
|
||||
this, &DlgSettingsFemGmshImp::onfileNameChanged);
|
||||
}
|
||||
|
||||
DlgSettingsFemGmshImp::~DlgSettingsFemGmshImp()
|
||||
{
|
||||
// no need to delete child widgets, Qt does it all for us
|
||||
}
|
||||
DlgSettingsFemGmshImp::~DlgSettingsFemGmshImp() = default;
|
||||
|
||||
void DlgSettingsFemGmshImp::saveSettings()
|
||||
{
|
||||
|
||||
@@ -42,8 +42,7 @@ DlgSettingsFemInOutVtkImp::DlgSettingsFemInOutVtkImp(QWidget* parent)
|
||||
/*
|
||||
* Destroys the object and frees any allocated resources
|
||||
*/
|
||||
DlgSettingsFemInOutVtkImp::~DlgSettingsFemInOutVtkImp()
|
||||
{}
|
||||
DlgSettingsFemInOutVtkImp::~DlgSettingsFemInOutVtkImp() = default;
|
||||
|
||||
void DlgSettingsFemInOutVtkImp::saveSettings()
|
||||
{
|
||||
|
||||
@@ -37,10 +37,7 @@ DlgSettingsFemMaterialImp::DlgSettingsFemMaterialImp(QWidget* parent)
|
||||
ui->setupUi(this);
|
||||
}
|
||||
|
||||
DlgSettingsFemMaterialImp::~DlgSettingsFemMaterialImp()
|
||||
{
|
||||
// no need to delete child widgets, Qt does it all for us
|
||||
}
|
||||
DlgSettingsFemMaterialImp::~DlgSettingsFemMaterialImp() = default;
|
||||
|
||||
void DlgSettingsFemMaterialImp::saveSettings()
|
||||
{
|
||||
|
||||
@@ -43,10 +43,7 @@ DlgSettingsFemMystranImp::DlgSettingsFemMystranImp(QWidget* parent)
|
||||
this, &DlgSettingsFemMystranImp::onfileNameChanged);
|
||||
}
|
||||
|
||||
DlgSettingsFemMystranImp::~DlgSettingsFemMystranImp()
|
||||
{
|
||||
// no need to delete child widgets, Qt does it all for us
|
||||
}
|
||||
DlgSettingsFemMystranImp::~DlgSettingsFemMystranImp() = default;
|
||||
|
||||
void DlgSettingsFemMystranImp::saveSettings()
|
||||
{
|
||||
|
||||
@@ -45,10 +45,7 @@ DlgSettingsFemZ88Imp::DlgSettingsFemZ88Imp(QWidget* parent)
|
||||
this, &DlgSettingsFemZ88Imp::onfileNameChanged);
|
||||
}
|
||||
|
||||
DlgSettingsFemZ88Imp::~DlgSettingsFemZ88Imp()
|
||||
{
|
||||
// no need to delete child widgets, Qt does it all for us
|
||||
}
|
||||
DlgSettingsFemZ88Imp::~DlgSettingsFemZ88Imp() = default;
|
||||
|
||||
void DlgSettingsFemZ88Imp::saveSettings()
|
||||
{
|
||||
|
||||
@@ -44,7 +44,6 @@ TaskAnalysisInfo::TaskAnalysisInfo(Fem::FemAnalysis* pcObject, QWidget* parent)
|
||||
this->groupLayout()->addWidget(proxy);
|
||||
}
|
||||
|
||||
TaskAnalysisInfo::~TaskAnalysisInfo()
|
||||
{}
|
||||
TaskAnalysisInfo::~TaskAnalysisInfo() = default;
|
||||
|
||||
#include "moc_TaskAnalysisInfo.cpp"
|
||||
|
||||
@@ -51,10 +51,7 @@ TaskDlgAnalysis::TaskDlgAnalysis(Fem::FemAnalysis* obj)
|
||||
Content.push_back(info);
|
||||
}
|
||||
|
||||
TaskDlgAnalysis::~TaskDlgAnalysis()
|
||||
{
|
||||
|
||||
}
|
||||
TaskDlgAnalysis::~TaskDlgAnalysis() = default;
|
||||
|
||||
//==== calls from the TaskView ===============================================================
|
||||
|
||||
|
||||
@@ -50,10 +50,7 @@ TaskDlgCreateNodeSet::TaskDlgCreateNodeSet(Fem::FemSetNodesObject* obj)
|
||||
Content.push_back(param);
|
||||
}
|
||||
|
||||
TaskDlgCreateNodeSet::~TaskDlgCreateNodeSet()
|
||||
{
|
||||
|
||||
}
|
||||
TaskDlgCreateNodeSet::~TaskDlgCreateNodeSet() = default;
|
||||
|
||||
//==== calls from the TaskView ===============================================================
|
||||
|
||||
|
||||
@@ -57,10 +57,7 @@ TaskDlgMeshShapeNetgen::TaskDlgMeshShapeNetgen(FemGui::ViewProviderFemMeshShapeN
|
||||
}
|
||||
}
|
||||
|
||||
TaskDlgMeshShapeNetgen::~TaskDlgMeshShapeNetgen()
|
||||
{
|
||||
|
||||
}
|
||||
TaskDlgMeshShapeNetgen::~TaskDlgMeshShapeNetgen() = default;
|
||||
|
||||
//==== calls from the TaskView ===============================================================
|
||||
|
||||
|
||||
@@ -44,7 +44,6 @@ TaskDriver::TaskDriver(Fem::FemAnalysis* pcObject, QWidget* parent)
|
||||
this->groupLayout()->addWidget(proxy);
|
||||
}
|
||||
|
||||
TaskDriver::~TaskDriver()
|
||||
{}
|
||||
TaskDriver::~TaskDriver() = default;
|
||||
|
||||
#include "moc_TaskDriver.cpp"
|
||||
|
||||
@@ -45,7 +45,7 @@ class TaskFemConstraint : public Gui::TaskView::TaskBox, public Gui::SelectionOb
|
||||
|
||||
public:
|
||||
explicit TaskFemConstraint(ViewProviderFemConstraint *ConstraintView,QWidget *parent = nullptr,const char* pixmapname = "");
|
||||
~TaskFemConstraint() override {}
|
||||
~TaskFemConstraint() override = default;
|
||||
|
||||
virtual const std::string getReferences() const {return std::string();}
|
||||
const std::string getReferences(const std::vector<std::string>& items) const;
|
||||
|
||||
@@ -287,8 +287,7 @@ bool TaskFemConstraintBearing::getAxial() const
|
||||
return ui->checkAxial->isChecked();
|
||||
}
|
||||
|
||||
TaskFemConstraintBearing::~TaskFemConstraintBearing()
|
||||
{}
|
||||
TaskFemConstraintBearing::~TaskFemConstraintBearing() = default;
|
||||
|
||||
bool TaskFemConstraintBearing::event(QEvent *e)
|
||||
{
|
||||
|
||||
@@ -80,7 +80,7 @@ class TaskDlgFemConstraintBearing : public TaskDlgFemConstraint
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
TaskDlgFemConstraintBearing() {}
|
||||
TaskDlgFemConstraintBearing() = default;
|
||||
explicit TaskDlgFemConstraintBearing(ViewProviderFemConstraintBearing *ConstraintView);
|
||||
|
||||
/// is called by the framework if the dialog is accepted (Ok)
|
||||
|
||||
@@ -122,8 +122,7 @@ TaskFemConstraintContact::TaskFemConstraintContact(ViewProviderFemConstraintCont
|
||||
updateUI();
|
||||
}
|
||||
|
||||
TaskFemConstraintContact::~TaskFemConstraintContact()
|
||||
{}
|
||||
TaskFemConstraintContact::~TaskFemConstraintContact() = default;
|
||||
|
||||
void TaskFemConstraintContact::updateUI()
|
||||
{
|
||||
|
||||
@@ -181,8 +181,7 @@ TaskFemConstraintDisplacement::TaskFemConstraintDisplacement(
|
||||
updateUI();
|
||||
}
|
||||
|
||||
TaskFemConstraintDisplacement::~TaskFemConstraintDisplacement()
|
||||
{}
|
||||
TaskFemConstraintDisplacement::~TaskFemConstraintDisplacement() = default;
|
||||
|
||||
void TaskFemConstraintDisplacement::updateUI()
|
||||
{
|
||||
|
||||
@@ -88,8 +88,7 @@ TaskFemConstraintFixed::TaskFemConstraintFixed(ViewProviderFemConstraintFixed* C
|
||||
updateUI();
|
||||
}
|
||||
|
||||
TaskFemConstraintFixed::~TaskFemConstraintFixed()
|
||||
{}
|
||||
TaskFemConstraintFixed::~TaskFemConstraintFixed() = default;
|
||||
|
||||
void TaskFemConstraintFixed::updateUI()
|
||||
{
|
||||
|
||||
@@ -774,8 +774,7 @@ bool TaskFemConstraintFluidBoundary::getReverse() const
|
||||
return ui->checkReverse->isChecked();
|
||||
}
|
||||
|
||||
TaskFemConstraintFluidBoundary::~TaskFemConstraintFluidBoundary()
|
||||
{}
|
||||
TaskFemConstraintFluidBoundary::~TaskFemConstraintFluidBoundary() = default;
|
||||
|
||||
void TaskFemConstraintFluidBoundary::addToSelection()
|
||||
{
|
||||
|
||||
@@ -389,8 +389,7 @@ bool TaskFemConstraintForce::getReverse() const
|
||||
return ui->checkReverse->isChecked();
|
||||
}
|
||||
|
||||
TaskFemConstraintForce::~TaskFemConstraintForce()
|
||||
{}
|
||||
TaskFemConstraintForce::~TaskFemConstraintForce() = default;
|
||||
|
||||
bool TaskFemConstraintForce::event(QEvent* e)
|
||||
{
|
||||
|
||||
@@ -62,7 +62,7 @@ class TaskDlgFemConstraintGear : public TaskDlgFemConstraintBearing
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
TaskDlgFemConstraintGear() {}
|
||||
TaskDlgFemConstraintGear() = default;
|
||||
explicit TaskDlgFemConstraintGear(ViewProviderFemConstraintGear *ConstraintView);
|
||||
|
||||
/// is called by the framework if the dialog is accepted (Ok)
|
||||
|
||||
@@ -135,8 +135,7 @@ TaskFemConstraintHeatflux::TaskFemConstraintHeatflux(
|
||||
updateUI();
|
||||
}
|
||||
|
||||
TaskFemConstraintHeatflux::~TaskFemConstraintHeatflux()
|
||||
{}
|
||||
TaskFemConstraintHeatflux::~TaskFemConstraintHeatflux() = default;
|
||||
|
||||
void TaskFemConstraintHeatflux::updateUI()
|
||||
{
|
||||
|
||||
@@ -65,8 +65,7 @@ TaskFemConstraintInitialTemperature::TaskFemConstraintInitialTemperature(
|
||||
ui->if_temperature->bind(pcConstraint->initialTemperature);
|
||||
}
|
||||
|
||||
TaskFemConstraintInitialTemperature::~TaskFemConstraintInitialTemperature()
|
||||
{}
|
||||
TaskFemConstraintInitialTemperature::~TaskFemConstraintInitialTemperature() = default;
|
||||
|
||||
std::string TaskFemConstraintInitialTemperature::get_temperature() const
|
||||
{
|
||||
|
||||
@@ -96,8 +96,7 @@ TaskFemConstraintPlaneRotation::TaskFemConstraintPlaneRotation(
|
||||
updateUI();
|
||||
}
|
||||
|
||||
TaskFemConstraintPlaneRotation::~TaskFemConstraintPlaneRotation()
|
||||
{}
|
||||
TaskFemConstraintPlaneRotation::~TaskFemConstraintPlaneRotation() = default;
|
||||
|
||||
void TaskFemConstraintPlaneRotation::updateUI()
|
||||
{
|
||||
|
||||
@@ -98,8 +98,7 @@ TaskFemConstraintPressure::TaskFemConstraintPressure(
|
||||
updateUI();
|
||||
}
|
||||
|
||||
TaskFemConstraintPressure::~TaskFemConstraintPressure()
|
||||
{}
|
||||
TaskFemConstraintPressure::~TaskFemConstraintPressure() = default;
|
||||
|
||||
void TaskFemConstraintPressure::updateUI()
|
||||
{
|
||||
|
||||
@@ -112,8 +112,7 @@ TaskFemConstraintSpring::TaskFemConstraintSpring(ViewProviderFemConstraintSpring
|
||||
updateUI();
|
||||
}
|
||||
|
||||
TaskFemConstraintSpring::~TaskFemConstraintSpring()
|
||||
{}
|
||||
TaskFemConstraintSpring::~TaskFemConstraintSpring() = default;
|
||||
|
||||
void TaskFemConstraintSpring::updateUI()
|
||||
{
|
||||
|
||||
@@ -115,8 +115,7 @@ TaskFemConstraintTemperature::TaskFemConstraintTemperature(
|
||||
updateUI();
|
||||
}
|
||||
|
||||
TaskFemConstraintTemperature::~TaskFemConstraintTemperature()
|
||||
{}
|
||||
TaskFemConstraintTemperature::~TaskFemConstraintTemperature() = default;
|
||||
|
||||
void TaskFemConstraintTemperature::updateUI()
|
||||
{
|
||||
|
||||
@@ -166,8 +166,7 @@ TaskFemConstraintTransform::TaskFemConstraintTransform(
|
||||
}
|
||||
}
|
||||
|
||||
TaskFemConstraintTransform::~TaskFemConstraintTransform()
|
||||
{}
|
||||
TaskFemConstraintTransform::~TaskFemConstraintTransform() = default;
|
||||
|
||||
const QString TaskFemConstraintTransform::makeText(const App::DocumentObject* obj) const
|
||||
{
|
||||
|
||||
@@ -68,8 +68,7 @@ void TaskObjectName::TextChanged (const QString & text)
|
||||
//pcObject->Label.setValue(text.toUtf8());
|
||||
}
|
||||
|
||||
TaskObjectName::~TaskObjectName()
|
||||
{}
|
||||
TaskObjectName::~TaskObjectName() = default;
|
||||
|
||||
|
||||
#include "moc_TaskObjectName.cpp"
|
||||
|
||||
@@ -241,8 +241,7 @@ TaskPostBox::TaskPostBox(Gui::ViewProviderDocumentObject* view, const QPixmap& i
|
||||
m_view(view)
|
||||
{}
|
||||
|
||||
TaskPostBox::~TaskPostBox()
|
||||
{}
|
||||
TaskPostBox::~TaskPostBox() = default;
|
||||
|
||||
bool TaskPostBox::autoApply()
|
||||
{
|
||||
@@ -291,8 +290,7 @@ TaskDlgPost::TaskDlgPost(Gui::ViewProviderDocumentObject* view)
|
||||
assert(view);
|
||||
}
|
||||
|
||||
TaskDlgPost::~TaskDlgPost()
|
||||
{}
|
||||
TaskDlgPost::~TaskDlgPost() = default;
|
||||
|
||||
QDialogButtonBox::StandardButtons TaskDlgPost::getStandardButtons() const
|
||||
{
|
||||
@@ -421,10 +419,7 @@ TaskPostDisplay::TaskPostDisplay(Gui::ViewProviderDocumentObject* view, QWidget*
|
||||
ui->Transparency->setToolTip(QString::number(trans) + QString::fromLatin1(" %"));
|
||||
}
|
||||
|
||||
TaskPostDisplay::~TaskPostDisplay()
|
||||
{
|
||||
|
||||
}
|
||||
TaskPostDisplay::~TaskPostDisplay() = default;
|
||||
|
||||
void TaskPostDisplay::setupConnections()
|
||||
{
|
||||
@@ -488,8 +483,7 @@ TaskPostFunction::TaskPostFunction(ViewProviderDocumentObject* view, QWidget* pa
|
||||
this->groupLayout()->addWidget(w);
|
||||
}
|
||||
|
||||
TaskPostFunction::~TaskPostFunction()
|
||||
{}
|
||||
TaskPostFunction::~TaskPostFunction() = default;
|
||||
|
||||
void TaskPostFunction::applyPythonCode()
|
||||
{
|
||||
@@ -569,8 +563,7 @@ TaskPostDataAlongLine::TaskPostDataAlongLine(ViewProviderDocumentObject* view, Q
|
||||
updateEnumerationList(getTypedView<ViewProviderFemPostObject>()->VectorMode, ui->VectorMode);
|
||||
}
|
||||
|
||||
TaskPostDataAlongLine::~TaskPostDataAlongLine()
|
||||
{}
|
||||
TaskPostDataAlongLine::~TaskPostDataAlongLine() = default;
|
||||
|
||||
void TaskPostDataAlongLine::setupConnectionsStep1()
|
||||
{
|
||||
@@ -1269,8 +1262,7 @@ TaskPostClip::TaskPostClip(ViewProviderDocumentObject* view, App::PropertyLink*
|
||||
static_cast<Fem::FemPostClipFilter*>(getObject())->InsideOut.getValue());
|
||||
}
|
||||
|
||||
TaskPostClip::~TaskPostClip()
|
||||
{}
|
||||
TaskPostClip::~TaskPostClip() = default;
|
||||
|
||||
void TaskPostClip::setupConnections()
|
||||
{
|
||||
@@ -1438,8 +1430,7 @@ TaskPostContours::TaskPostContours(ViewProviderDocumentObject* view, QWidget* pa
|
||||
connect(ui->noColorCB, &QCheckBox::toggled, this, &TaskPostContours::onNoColorChanged);
|
||||
}
|
||||
|
||||
TaskPostContours::~TaskPostContours()
|
||||
{}
|
||||
TaskPostContours::~TaskPostContours() = default;
|
||||
|
||||
void TaskPostContours::applyPythonCode()
|
||||
{}
|
||||
@@ -1558,8 +1549,7 @@ TaskPostCut::TaskPostCut(ViewProviderDocumentObject* view, App::PropertyLink* fu
|
||||
ui->CreateButton->setPopupMode(QToolButton::InstantPopup);
|
||||
}
|
||||
|
||||
TaskPostCut::~TaskPostCut()
|
||||
{}
|
||||
TaskPostCut::~TaskPostCut() = default;
|
||||
|
||||
void TaskPostCut::setupConnections()
|
||||
{
|
||||
@@ -1709,8 +1699,7 @@ TaskPostScalarClip::TaskPostScalarClip(ViewProviderDocumentObject* view, QWidget
|
||||
"init: scalar_factor, slider_value: %f, %i: \n", scalar_factor, slider_value);
|
||||
}
|
||||
|
||||
TaskPostScalarClip::~TaskPostScalarClip()
|
||||
{}
|
||||
TaskPostScalarClip::~TaskPostScalarClip() = default;
|
||||
|
||||
void TaskPostScalarClip::setupConnections()
|
||||
{
|
||||
@@ -1851,8 +1840,7 @@ TaskPostWarpVector::TaskPostWarpVector(ViewProviderDocumentObject* view, QWidget
|
||||
Base::Console().Log("init: warp_factor, slider_value: %f, %i: \n", warp_factor, slider_value);
|
||||
}
|
||||
|
||||
TaskPostWarpVector::~TaskPostWarpVector()
|
||||
{}
|
||||
TaskPostWarpVector::~TaskPostWarpVector() = default;
|
||||
|
||||
void TaskPostWarpVector::setupConnections()
|
||||
{
|
||||
|
||||
@@ -79,8 +79,7 @@ TaskTetParameter::TaskTetParameter(Fem::FemMeshShapeNetgenObject* pcObject, QWid
|
||||
setInfo();
|
||||
}
|
||||
|
||||
TaskTetParameter::~TaskTetParameter()
|
||||
{}
|
||||
TaskTetParameter::~TaskTetParameter() = default;
|
||||
|
||||
void TaskTetParameter::SwitchMethod(int Value)
|
||||
{
|
||||
|
||||
@@ -97,9 +97,7 @@ ViewProviderFemAnalysis::ViewProviderFemAnalysis()
|
||||
sPixmap = "FEM_Analysis";
|
||||
}
|
||||
|
||||
ViewProviderFemAnalysis::~ViewProviderFemAnalysis()
|
||||
{
|
||||
}
|
||||
ViewProviderFemAnalysis::~ViewProviderFemAnalysis() = default;
|
||||
|
||||
void ViewProviderFemAnalysis::attach(App::DocumentObject *obj)
|
||||
{
|
||||
|
||||
@@ -47,9 +47,7 @@ ViewProviderFemConstraintBearing::ViewProviderFemConstraintBearing()
|
||||
sPixmap = "FEM_ConstraintBearing";
|
||||
}
|
||||
|
||||
ViewProviderFemConstraintBearing::~ViewProviderFemConstraintBearing()
|
||||
{
|
||||
}
|
||||
ViewProviderFemConstraintBearing::~ViewProviderFemConstraintBearing() = default;
|
||||
|
||||
bool ViewProviderFemConstraintBearing::setEdit(int ModNum)
|
||||
{
|
||||
|
||||
@@ -50,9 +50,7 @@ ViewProviderFemConstraintContact::ViewProviderFemConstraintContact()
|
||||
ADD_PROPERTY(FaceColor, (0.2f, 0.3f, 0.2f));
|
||||
}
|
||||
|
||||
ViewProviderFemConstraintContact::~ViewProviderFemConstraintContact()
|
||||
{
|
||||
}
|
||||
ViewProviderFemConstraintContact::~ViewProviderFemConstraintContact() = default;
|
||||
|
||||
//FIXME setEdit needs a careful review
|
||||
bool ViewProviderFemConstraintContact::setEdit(int ModNum)
|
||||
|
||||
@@ -49,9 +49,7 @@ ViewProviderFemConstraintDisplacement::ViewProviderFemConstraintDisplacement()
|
||||
ADD_PROPERTY(FaceColor, (0.2f, 0.3f, 0.2f));
|
||||
}
|
||||
|
||||
ViewProviderFemConstraintDisplacement::~ViewProviderFemConstraintDisplacement()
|
||||
{
|
||||
}
|
||||
ViewProviderFemConstraintDisplacement::~ViewProviderFemConstraintDisplacement() = default;
|
||||
|
||||
// FIXME setEdit needs a careful review
|
||||
bool ViewProviderFemConstraintDisplacement::setEdit(int ModNum)
|
||||
|
||||
@@ -48,9 +48,7 @@ ViewProviderFemConstraintFixed::ViewProviderFemConstraintFixed()
|
||||
sPixmap = "FEM_ConstraintFixed";
|
||||
}
|
||||
|
||||
ViewProviderFemConstraintFixed::~ViewProviderFemConstraintFixed()
|
||||
{
|
||||
}
|
||||
ViewProviderFemConstraintFixed::~ViewProviderFemConstraintFixed() = default;
|
||||
|
||||
bool ViewProviderFemConstraintFixed::setEdit(int ModNum)
|
||||
{
|
||||
|
||||
@@ -49,9 +49,7 @@ ViewProviderFemConstraintFluidBoundary::ViewProviderFemConstraintFluidBoundary()
|
||||
sPixmap = "FEM_ConstraintFluidBoundary";
|
||||
}
|
||||
|
||||
ViewProviderFemConstraintFluidBoundary::~ViewProviderFemConstraintFluidBoundary()
|
||||
{
|
||||
}
|
||||
ViewProviderFemConstraintFluidBoundary::~ViewProviderFemConstraintFluidBoundary() = default;
|
||||
|
||||
bool ViewProviderFemConstraintFluidBoundary::setEdit(int ModNum)
|
||||
{
|
||||
|
||||
@@ -49,9 +49,7 @@ ViewProviderFemConstraintForce::ViewProviderFemConstraintForce()
|
||||
sPixmap = "FEM_ConstraintForce";
|
||||
}
|
||||
|
||||
ViewProviderFemConstraintForce::~ViewProviderFemConstraintForce()
|
||||
{
|
||||
}
|
||||
ViewProviderFemConstraintForce::~ViewProviderFemConstraintForce() = default;
|
||||
|
||||
bool ViewProviderFemConstraintForce::setEdit(int ModNum)
|
||||
{
|
||||
|
||||
@@ -50,9 +50,7 @@ ViewProviderFemConstraintGear::ViewProviderFemConstraintGear()
|
||||
sPixmap = "FEM_ConstraintGear";
|
||||
}
|
||||
|
||||
ViewProviderFemConstraintGear::~ViewProviderFemConstraintGear()
|
||||
{
|
||||
}
|
||||
ViewProviderFemConstraintGear::~ViewProviderFemConstraintGear() = default;
|
||||
|
||||
bool ViewProviderFemConstraintGear::setEdit(int ModNum)
|
||||
{
|
||||
|
||||
@@ -51,9 +51,7 @@ ViewProviderFemConstraintHeatflux::ViewProviderFemConstraintHeatflux()
|
||||
ADD_PROPERTY(FaceColor, (0.2f, 0.3f, 0.2f));
|
||||
}
|
||||
|
||||
ViewProviderFemConstraintHeatflux::~ViewProviderFemConstraintHeatflux()
|
||||
{
|
||||
}
|
||||
ViewProviderFemConstraintHeatflux::~ViewProviderFemConstraintHeatflux() = default;
|
||||
|
||||
//FIXME setEdit needs a careful review
|
||||
bool ViewProviderFemConstraintHeatflux::setEdit(int ModNum)
|
||||
|
||||
@@ -42,9 +42,7 @@ ViewProviderFemConstraintInitialTemperature::ViewProviderFemConstraintInitialTem
|
||||
ADD_PROPERTY(FaceColor, (0.2f, 0.3f, 0.2f));
|
||||
}
|
||||
|
||||
ViewProviderFemConstraintInitialTemperature::~ViewProviderFemConstraintInitialTemperature()
|
||||
{
|
||||
}
|
||||
ViewProviderFemConstraintInitialTemperature::~ViewProviderFemConstraintInitialTemperature() = default;
|
||||
|
||||
//FIXME setEdit needs a careful review
|
||||
bool ViewProviderFemConstraintInitialTemperature::setEdit(int ModNum)
|
||||
|
||||
@@ -36,13 +36,9 @@ using namespace FemGui;
|
||||
|
||||
PROPERTY_SOURCE(FemGui::ViewProviderFemConstraintOnBoundary, FemGui::ViewProviderFemConstraint)
|
||||
|
||||
ViewProviderFemConstraintOnBoundary::ViewProviderFemConstraintOnBoundary()
|
||||
{
|
||||
}
|
||||
ViewProviderFemConstraintOnBoundary::ViewProviderFemConstraintOnBoundary() = default;
|
||||
|
||||
ViewProviderFemConstraintOnBoundary::~ViewProviderFemConstraintOnBoundary()
|
||||
{
|
||||
}
|
||||
ViewProviderFemConstraintOnBoundary::~ViewProviderFemConstraintOnBoundary() = default;
|
||||
|
||||
void ViewProviderFemConstraintOnBoundary::highlightReferences(const bool on)
|
||||
{
|
||||
|
||||
@@ -52,9 +52,7 @@ ViewProviderFemConstraintPlaneRotation::ViewProviderFemConstraintPlaneRotation()
|
||||
ADD_PROPERTY(FaceColor, (0.2f, 0.3f, 0.2f));
|
||||
}
|
||||
|
||||
ViewProviderFemConstraintPlaneRotation::~ViewProviderFemConstraintPlaneRotation()
|
||||
{
|
||||
}
|
||||
ViewProviderFemConstraintPlaneRotation::~ViewProviderFemConstraintPlaneRotation() = default;
|
||||
|
||||
//FIXME setEdit needs a careful review
|
||||
bool ViewProviderFemConstraintPlaneRotation::setEdit(int ModNum)
|
||||
|
||||
@@ -47,9 +47,7 @@ ViewProviderFemConstraintPressure::ViewProviderFemConstraintPressure()
|
||||
ADD_PROPERTY(FaceColor, (0.0f, 0.2f, 0.8f));
|
||||
}
|
||||
|
||||
ViewProviderFemConstraintPressure::~ViewProviderFemConstraintPressure()
|
||||
{
|
||||
}
|
||||
ViewProviderFemConstraintPressure::~ViewProviderFemConstraintPressure() = default;
|
||||
|
||||
//FIXME setEdit needs a careful review
|
||||
bool ViewProviderFemConstraintPressure::setEdit(int ModNum)
|
||||
|
||||
@@ -47,9 +47,7 @@ ViewProviderFemConstraintPulley::ViewProviderFemConstraintPulley()
|
||||
sPixmap = "FEM_ConstraintPulley";
|
||||
}
|
||||
|
||||
ViewProviderFemConstraintPulley::~ViewProviderFemConstraintPulley()
|
||||
{
|
||||
}
|
||||
ViewProviderFemConstraintPulley::~ViewProviderFemConstraintPulley() = default;
|
||||
|
||||
bool ViewProviderFemConstraintPulley::setEdit(int ModNum)
|
||||
{
|
||||
|
||||
@@ -47,9 +47,7 @@ ViewProviderFemConstraintSpring::ViewProviderFemConstraintSpring()
|
||||
ADD_PROPERTY(FaceColor, (0.0f, 0.2f, 0.8f));
|
||||
}
|
||||
|
||||
ViewProviderFemConstraintSpring::~ViewProviderFemConstraintSpring()
|
||||
{
|
||||
}
|
||||
ViewProviderFemConstraintSpring::~ViewProviderFemConstraintSpring() = default;
|
||||
|
||||
//FIXME setEdit needs a careful review
|
||||
bool ViewProviderFemConstraintSpring::setEdit(int ModNum)
|
||||
|
||||
@@ -50,9 +50,7 @@ ViewProviderFemConstraintTemperature::ViewProviderFemConstraintTemperature()
|
||||
ADD_PROPERTY(FaceColor, (0.2f, 0.3f, 0.2f));
|
||||
}
|
||||
|
||||
ViewProviderFemConstraintTemperature::~ViewProviderFemConstraintTemperature()
|
||||
{
|
||||
}
|
||||
ViewProviderFemConstraintTemperature::~ViewProviderFemConstraintTemperature() = default;
|
||||
|
||||
//FIXME setEdit needs a careful review
|
||||
bool ViewProviderFemConstraintTemperature::setEdit(int ModNum)
|
||||
|
||||
@@ -48,9 +48,7 @@ ViewProviderFemConstraintTransform::ViewProviderFemConstraintTransform()
|
||||
sPixmap = "FEM_ConstraintTransform";
|
||||
}
|
||||
|
||||
ViewProviderFemConstraintTransform::~ViewProviderFemConstraintTransform()
|
||||
{
|
||||
}
|
||||
ViewProviderFemConstraintTransform::~ViewProviderFemConstraintTransform() = default;
|
||||
|
||||
//FIXME setEdit needs a careful review
|
||||
bool ViewProviderFemConstraintTransform::setEdit(int ModNum)
|
||||
|
||||
@@ -41,8 +41,8 @@ namespace FemGui
|
||||
class ViewProviderFEMMeshBuilder : public Gui::ViewProviderBuilder
|
||||
{
|
||||
public:
|
||||
ViewProviderFEMMeshBuilder(){}
|
||||
~ViewProviderFEMMeshBuilder() override{}
|
||||
ViewProviderFEMMeshBuilder()= default;
|
||||
~ViewProviderFEMMeshBuilder() override= default;
|
||||
void buildNodes(const App::Property*, std::vector<SoNode*>&) const override;
|
||||
void createMesh(const App::Property*,
|
||||
SoCoordinate3*,
|
||||
|
||||
@@ -29,12 +29,6 @@ using namespace FemGui;
|
||||
|
||||
PROPERTY_SOURCE(FemGui::ViewProviderFemMeshShape, FemGui::ViewProviderFemMesh)
|
||||
|
||||
ViewProviderFemMeshShape::ViewProviderFemMeshShape()
|
||||
{
|
||||
ViewProviderFemMeshShape::ViewProviderFemMeshShape() = default;
|
||||
|
||||
}
|
||||
|
||||
ViewProviderFemMeshShape::~ViewProviderFemMeshShape()
|
||||
{
|
||||
|
||||
}
|
||||
ViewProviderFemMeshShape::~ViewProviderFemMeshShape() = default;
|
||||
|
||||
@@ -49,10 +49,7 @@ ViewProviderFemMeshShapeNetgen::ViewProviderFemMeshShapeNetgen()
|
||||
sPixmap = "FEM_MeshNetgenFromShape";
|
||||
}
|
||||
|
||||
ViewProviderFemMeshShapeNetgen::~ViewProviderFemMeshShapeNetgen()
|
||||
{
|
||||
|
||||
}
|
||||
ViewProviderFemMeshShapeNetgen::~ViewProviderFemMeshShapeNetgen() = default;
|
||||
|
||||
void ViewProviderFemMeshShapeNetgen::setupContextMenu(QMenu* menu, QObject* receiver, const char* member)
|
||||
{
|
||||
|
||||
@@ -44,8 +44,7 @@ ViewProviderFemPostDataAlongLine::ViewProviderFemPostDataAlongLine()
|
||||
sPixmap = "FEM_PostFilterDataAlongLine";
|
||||
}
|
||||
|
||||
ViewProviderFemPostDataAlongLine::~ViewProviderFemPostDataAlongLine()
|
||||
{}
|
||||
ViewProviderFemPostDataAlongLine::~ViewProviderFemPostDataAlongLine() = default;
|
||||
|
||||
void ViewProviderFemPostDataAlongLine::setupTaskDialog(TaskDlgPost* dlg)
|
||||
{
|
||||
@@ -75,8 +74,7 @@ void ViewProviderFemPostDataAtPoint::onSelectionChanged(const Gui::SelectionChan
|
||||
// because a single point does not make sense with a color range.
|
||||
}
|
||||
|
||||
ViewProviderFemPostDataAtPoint::~ViewProviderFemPostDataAtPoint()
|
||||
{}
|
||||
ViewProviderFemPostDataAtPoint::~ViewProviderFemPostDataAtPoint() = default;
|
||||
|
||||
void ViewProviderFemPostDataAtPoint::setupTaskDialog(TaskDlgPost* dlg)
|
||||
{
|
||||
@@ -94,8 +92,7 @@ ViewProviderFemPostClip::ViewProviderFemPostClip() {
|
||||
sPixmap = "FEM_PostFilterClipRegion";
|
||||
}
|
||||
|
||||
ViewProviderFemPostClip::~ViewProviderFemPostClip()
|
||||
{}
|
||||
ViewProviderFemPostClip::~ViewProviderFemPostClip() = default;
|
||||
|
||||
void ViewProviderFemPostClip::setupTaskDialog(TaskDlgPost* dlg) {
|
||||
|
||||
@@ -117,8 +114,7 @@ ViewProviderFemPostContours::ViewProviderFemPostContours()
|
||||
sPixmap = "FEM_PostFilterContours";
|
||||
}
|
||||
|
||||
ViewProviderFemPostContours::~ViewProviderFemPostContours()
|
||||
{}
|
||||
ViewProviderFemPostContours::~ViewProviderFemPostContours() = default;
|
||||
|
||||
void ViewProviderFemPostContours::setupTaskDialog(TaskDlgPost* dlg)
|
||||
{
|
||||
@@ -136,8 +132,7 @@ ViewProviderFemPostCut::ViewProviderFemPostCut()
|
||||
sPixmap = "FEM_PostFilterCutFunction";
|
||||
}
|
||||
|
||||
ViewProviderFemPostCut::~ViewProviderFemPostCut()
|
||||
{}
|
||||
ViewProviderFemPostCut::~ViewProviderFemPostCut() = default;
|
||||
|
||||
void ViewProviderFemPostCut::setupTaskDialog(TaskDlgPost* dlg)
|
||||
{
|
||||
@@ -160,9 +155,7 @@ ViewProviderFemPostScalarClip::ViewProviderFemPostScalarClip()
|
||||
sPixmap = "FEM_PostFilterClipScalar";
|
||||
}
|
||||
|
||||
ViewProviderFemPostScalarClip::~ViewProviderFemPostScalarClip() {
|
||||
|
||||
}
|
||||
ViewProviderFemPostScalarClip::~ViewProviderFemPostScalarClip() = default;
|
||||
|
||||
void ViewProviderFemPostScalarClip::setupTaskDialog(TaskDlgPost* dlg)
|
||||
{
|
||||
@@ -183,8 +176,7 @@ ViewProviderFemPostWarpVector::ViewProviderFemPostWarpVector()
|
||||
sPixmap = "FEM_PostFilterWarp";
|
||||
}
|
||||
|
||||
ViewProviderFemPostWarpVector::~ViewProviderFemPostWarpVector()
|
||||
{}
|
||||
ViewProviderFemPostWarpVector::~ViewProviderFemPostWarpVector() = default;
|
||||
|
||||
void ViewProviderFemPostWarpVector::setupTaskDialog(TaskDlgPost* dlg)
|
||||
{
|
||||
|
||||
@@ -86,13 +86,9 @@ void FunctionWidget::onObjectsChanged(const App::DocumentObject& obj, const App:
|
||||
|
||||
PROPERTY_SOURCE(FemGui::ViewProviderFemPostFunctionProvider, Gui::ViewProviderDocumentObject)
|
||||
|
||||
ViewProviderFemPostFunctionProvider::ViewProviderFemPostFunctionProvider()
|
||||
{
|
||||
}
|
||||
ViewProviderFemPostFunctionProvider::ViewProviderFemPostFunctionProvider() = default;
|
||||
|
||||
ViewProviderFemPostFunctionProvider::~ViewProviderFemPostFunctionProvider()
|
||||
{
|
||||
}
|
||||
ViewProviderFemPostFunctionProvider::~ViewProviderFemPostFunctionProvider() = default;
|
||||
|
||||
std::vector< App::DocumentObject* > ViewProviderFemPostFunctionProvider::claimChildren() const
|
||||
{
|
||||
@@ -379,9 +375,7 @@ ViewProviderFemPostBoxFunction::ViewProviderFemPostBoxFunction()
|
||||
getGeometryNode()->addChild(ShapeNodes::postBox());
|
||||
}
|
||||
|
||||
ViewProviderFemPostBoxFunction::~ViewProviderFemPostBoxFunction()
|
||||
{
|
||||
}
|
||||
ViewProviderFemPostBoxFunction::~ViewProviderFemPostBoxFunction() = default;
|
||||
|
||||
void ViewProviderFemPostBoxFunction::draggerUpdate(SoDragger* m)
|
||||
{
|
||||
@@ -461,9 +455,7 @@ BoxWidget::BoxWidget()
|
||||
this, &BoxWidget::heightChanged);
|
||||
}
|
||||
|
||||
BoxWidget::~BoxWidget()
|
||||
{
|
||||
}
|
||||
BoxWidget::~BoxWidget() = default;
|
||||
|
||||
void BoxWidget::applyPythonCode()
|
||||
{
|
||||
@@ -564,9 +556,7 @@ ViewProviderFemPostCylinderFunction::ViewProviderFemPostCylinderFunction()
|
||||
getGeometryNode()->addChild(ShapeNodes::postCylinder());
|
||||
}
|
||||
|
||||
ViewProviderFemPostCylinderFunction::~ViewProviderFemPostCylinderFunction()
|
||||
{
|
||||
}
|
||||
ViewProviderFemPostCylinderFunction::~ViewProviderFemPostCylinderFunction() = default;
|
||||
|
||||
void ViewProviderFemPostCylinderFunction::draggerUpdate(SoDragger* m)
|
||||
{
|
||||
@@ -646,9 +636,7 @@ CylinderWidget::CylinderWidget()
|
||||
this, &CylinderWidget::radiusChanged);
|
||||
}
|
||||
|
||||
CylinderWidget::~CylinderWidget()
|
||||
{
|
||||
}
|
||||
CylinderWidget::~CylinderWidget() = default;
|
||||
|
||||
void CylinderWidget::applyPythonCode()
|
||||
{
|
||||
@@ -741,9 +729,7 @@ ViewProviderFemPostPlaneFunction::ViewProviderFemPostPlaneFunction()
|
||||
getGeometryNode()->addChild(ShapeNodes::postPlane());
|
||||
}
|
||||
|
||||
ViewProviderFemPostPlaneFunction::~ViewProviderFemPostPlaneFunction()
|
||||
{
|
||||
}
|
||||
ViewProviderFemPostPlaneFunction::~ViewProviderFemPostPlaneFunction() = default;
|
||||
|
||||
void ViewProviderFemPostPlaneFunction::draggerUpdate(SoDragger* m)
|
||||
{
|
||||
@@ -860,9 +846,7 @@ PlaneWidget::PlaneWidget()
|
||||
this, &PlaneWidget::normalChanged);
|
||||
}
|
||||
|
||||
PlaneWidget::~PlaneWidget()
|
||||
{
|
||||
}
|
||||
PlaneWidget::~PlaneWidget() = default;
|
||||
|
||||
void PlaneWidget::applyPythonCode()
|
||||
{
|
||||
@@ -936,9 +920,7 @@ ViewProviderFemPostSphereFunction::ViewProviderFemPostSphereFunction()
|
||||
getGeometryNode()->addChild(ShapeNodes::postSphere());
|
||||
}
|
||||
|
||||
ViewProviderFemPostSphereFunction::~ViewProviderFemPostSphereFunction()
|
||||
{
|
||||
}
|
||||
ViewProviderFemPostSphereFunction::~ViewProviderFemPostSphereFunction() = default;
|
||||
|
||||
SoTransformManip* ViewProviderFemPostSphereFunction::setupManipulator()
|
||||
{
|
||||
@@ -1022,9 +1004,7 @@ SphereWidget::SphereWidget()
|
||||
this, &SphereWidget::radiusChanged);
|
||||
}
|
||||
|
||||
SphereWidget::~SphereWidget()
|
||||
{
|
||||
}
|
||||
SphereWidget::~SphereWidget() = default;
|
||||
|
||||
void SphereWidget::applyPythonCode()
|
||||
{
|
||||
|
||||
@@ -54,7 +54,7 @@ class FemGuiExport FunctionWidget : public QWidget
|
||||
Q_OBJECT
|
||||
public:
|
||||
FunctionWidget() : m_block(false), m_view(nullptr), m_object(nullptr) {}
|
||||
~FunctionWidget() override {}
|
||||
~FunctionWidget() override = default;
|
||||
|
||||
virtual void applyPythonCode() = 0;
|
||||
virtual void setViewProvider(ViewProviderFemPostFunction* view);
|
||||
|
||||
@@ -48,9 +48,7 @@ ViewProviderFemPostPipeline::ViewProviderFemPostPipeline()
|
||||
sPixmap = "FEM_PostPipelineFromResult";
|
||||
}
|
||||
|
||||
ViewProviderFemPostPipeline::~ViewProviderFemPostPipeline()
|
||||
{
|
||||
}
|
||||
ViewProviderFemPostPipeline::~ViewProviderFemPostPipeline() = default;
|
||||
|
||||
std::vector< App::DocumentObject* > ViewProviderFemPostPipeline::claimChildren() const {
|
||||
|
||||
|
||||
@@ -34,10 +34,7 @@ ViewProviderResult::ViewProviderResult()
|
||||
sPixmap = "FEM_ResultShow";
|
||||
}
|
||||
|
||||
ViewProviderResult::~ViewProviderResult()
|
||||
{
|
||||
|
||||
}
|
||||
ViewProviderResult::~ViewProviderResult() = default;
|
||||
|
||||
|
||||
// Python feature -----------------------------------------------------------------------
|
||||
|
||||
@@ -44,8 +44,7 @@ ViewProviderSolver::ViewProviderSolver()
|
||||
sPixmap = "FEM_SolverStandard";
|
||||
}
|
||||
|
||||
ViewProviderSolver::~ViewProviderSolver()
|
||||
{}
|
||||
ViewProviderSolver::~ViewProviderSolver() = default;
|
||||
|
||||
std::vector<std::string> ViewProviderSolver::getDisplayModes() const
|
||||
{
|
||||
|
||||
@@ -83,13 +83,9 @@ using namespace FemGui;
|
||||
/// @namespace FemGui @class Workbench
|
||||
TYPESYSTEM_SOURCE(FemGui::Workbench, Gui::StdWorkbench)
|
||||
|
||||
Workbench::Workbench()
|
||||
{
|
||||
}
|
||||
Workbench::Workbench() = default;
|
||||
|
||||
Workbench::~Workbench()
|
||||
{
|
||||
}
|
||||
Workbench::~Workbench() = default;
|
||||
|
||||
void Workbench::setupContextMenu(const char* recipient, Gui::MenuItem* item) const
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user