Make Fem::Analyses object inheritable to python and some fixes in Material
This commit is contained in:
@@ -26,6 +26,7 @@
|
||||
|
||||
#include <Gui/ViewProviderGeometryObject.h>
|
||||
#include <Gui/ViewProviderBuilder.h>
|
||||
#include <Gui/ViewProviderPythonFeature.h>
|
||||
|
||||
class SoCoordinate3;
|
||||
class SoDrawStyle;
|
||||
@@ -39,16 +40,16 @@ namespace FemGui
|
||||
|
||||
|
||||
|
||||
class FemGuiExport ViewProviderAnalysis : public Gui::ViewProviderDocumentObject
|
||||
class FemGuiExport ViewProviderFemAnalysis : public Gui::ViewProviderDocumentObject
|
||||
{
|
||||
PROPERTY_HEADER(FemGui::ViewProviderAnalysis);
|
||||
|
||||
public:
|
||||
/// constructor.
|
||||
ViewProviderAnalysis();
|
||||
ViewProviderFemAnalysis();
|
||||
|
||||
/// destructor.
|
||||
~ViewProviderAnalysis();
|
||||
~ViewProviderFemAnalysis();
|
||||
|
||||
virtual bool doubleClicked(void);
|
||||
|
||||
@@ -65,6 +66,8 @@ protected:
|
||||
|
||||
};
|
||||
|
||||
typedef Gui::ViewProviderPythonFeatureT<ViewProviderFemAnalysis> ViewProviderFemAnalysisPython;
|
||||
|
||||
} //namespace FemGui
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user