]> SALOME platform Git repositories - modules/shaper.git/blob - src/FeaturesPlugin/FeaturesPlugin_ExtrusionBoolean.cpp
Salome HOME
Issue #2052: Modification of parameters don't work (sketch, extrusion)
[modules/shaper.git] / src / FeaturesPlugin / FeaturesPlugin_ExtrusionBoolean.cpp
1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
2
3 // File:        FeaturesPlugin_ExtrusionBoolean.cpp
4 // Created:     11 June 2015
5 // Author:      Dmitry Bobylev
6
7 #include "FeaturesPlugin_ExtrusionBoolean.h"
8
9 //=================================================================================================
10 void FeaturesPlugin_ExtrusionBoolean::initAttributes()
11 {
12   FeaturesPlugin_Extrusion::initAttributes();
13
14   initBooleanAttributes();
15 }
16
17 //=================================================================================================
18 bool FeaturesPlugin_ExtrusionBoolean::makeGeneration(ListOfShape& theBaseShapes,
19                                                      ListOfMakeShape& theMakeShapes)
20 {
21   return makeExtrusions(theBaseShapes, theMakeShapes);
22 }
23
24 //=================================================================================================
25 void FeaturesPlugin_ExtrusionBoolean::storeGenerationHistory(ResultBodyPtr theResultBody,
26                                         const GeomShapePtr theBaseShape,
27                                         const std::shared_ptr<GeomAlgoAPI_MakeShape> theMakeShape,
28                                         int& theTag)
29 {
30   FeaturesPlugin_Extrusion::storeGenerationHistory(theResultBody, theBaseShape,
31                                                    theMakeShape, theTag);
32 }