]> SALOME platform Git repositories - modules/shaper.git/blob - src/FeaturesPlugin/FeaturesPlugin_ExtrusionBoolean.h
Salome HOME
Issue #2052: Modification of parameters don't work (sketch, extrusion)
[modules/shaper.git] / src / FeaturesPlugin / FeaturesPlugin_ExtrusionBoolean.h
1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
2
3 // File:        FeaturesPlugin_ExtrusionBoolean.h
4 // Created:     11 June 2015
5 // Author:      Dmitry Bobylev
6
7 #ifndef FeaturesPlugin_ExtrusionBoolean_H_
8 #define FeaturesPlugin_ExtrusionBoolean_H_
9
10 #include "FeaturesPlugin_Extrusion.h"
11 #include "FeaturesPlugin_CompositeBoolean.h"
12
13 /// \class FeaturesPlugin_ExtrusionBoolean
14 /// \ingroup Plugins
15 /// \brief Interface for the composite extrusion feature.
16 class FeaturesPlugin_ExtrusionBoolean: public FeaturesPlugin_Extrusion,
17                                        public FeaturesPlugin_CompositeBoolean
18 {
19 public:
20   /// Request for initialization of data model of the feature: adding all attributes.
21   FEATURESPLUGIN_EXPORT virtual void initAttributes();
22
23 protected:
24   FeaturesPlugin_ExtrusionBoolean(){};
25
26   // Creates extrusions.
27   bool makeGeneration(ListOfShape& theBaseShapes,
28                       ListOfMakeShape& theMakeShapes);
29
30   /// Stores generation history.
31   void storeGenerationHistory(ResultBodyPtr theResultBody,
32                               const GeomShapePtr theBaseShape,
33                               const std::shared_ptr<GeomAlgoAPI_MakeShape> theMakeShape,
34                               int& theTag);
35 };
36
37 #endif