Salome HOME
High level objects history implementation for BuildPlugin features.
[modules/shaper.git] / src / BuildPlugin / BuildPlugin_Solid.h
index 1fce3df589b7968ea228226b5ce75e718398183a..1ab5168e5772486591c95f47176a710e3989bf6a 100644 (file)
 #define BuildPlugin_Solid_H_
 
 #include "BuildPlugin.h"
-
-#include <GeomAPI_Shape.h>
-#include <ModelAPI_Feature.h>
-
-class GeomAlgoAPI_MakeShape;
+#include "BuildPlugin_Shape.h"
 
 /// \class BuildPlugin_Solid
 /// \ingroup Plugins
 /// \brief Feature for creation of solid from faces or shells.
-class BuildPlugin_Solid: public ModelAPI_Feature
+class BuildPlugin_Solid: public BuildPlugin_Shape
 {
 public:
   /// Use plugin manager for features creation
@@ -65,11 +61,6 @@ public:
   BUILDPLUGIN_EXPORT virtual void execute();
 
 protected:
-  /// Store result of algorithm
-  void storeResult(const ListOfShape& theOriginalShapes,
-                   const GeomShapePtr& theResultShape,
-                   const std::shared_ptr<GeomAlgoAPI_MakeShape>& theAlgorithm);
-
   /// Explode compound to get single shape
   GeomShapePtr getSingleSubshape(const GeomShapePtr& theCompound);
 };