FEM: new solver object implementation of the object

This commit is contained in:
Author qingfengxia
2015-11-13 08:16:14 +01:00
committed by Yorik van Havre
parent 8e0bd8e9e8
commit ac9400e493
10 changed files with 375 additions and 0 deletions

View File

@@ -37,6 +37,7 @@
#include <Gui/ActionFunction.h>
#include <Mod/Fem/App/FemAnalysis.h>
#include <Mod/Fem/App/FemSolverObject.h>
#include <Mod/Fem/App/FemMeshObject.h>
#include <Mod/Fem/App/FemSetObject.h>
#include <Mod/Fem/App/FemConstraint.h>
@@ -164,6 +165,8 @@ bool ViewProviderFemAnalysis::canDragObject(App::DocumentObject* obj) const
return false;
if (obj->getTypeId().isDerivedFrom(Fem::FemMeshObject::getClassTypeId()))
return true;
else if (obj->getTypeId().isDerivedFrom(Fem::FemSolverObject::getClassTypeId()))
return true;
else if (obj->getTypeId().isDerivedFrom(Fem::Constraint::getClassTypeId()))
return true;
else if (obj->getTypeId().isDerivedFrom(Fem::FemSetObject::getClassTypeId()))