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