20 #ifndef BuildPlugin_Shape_H_
21 #define BuildPlugin_Shape_H_
23 #include "BuildPlugin.h"
25 #include <GeomAPI_Shape.h>
27 #include <ModelAPI_Feature.h>
39 ListOfShape& theShapes,
40 ListOfShape& theContexts);
43 void storeResult(
const std::shared_ptr<GeomAlgoAPI_MakeShape>& theAlgorithm,
44 const ListOfShape& theOriginalShapes,
45 const ListOfShape& theOriginalContexts,
46 const GeomShapePtr& theResultShape,
47 const int theResultIndex = 0);
Base class containing common methods for shape creating operations.
Definition: BuildPlugin_Shape.h:35
void storeResult(const std::shared_ptr< GeomAlgoAPI_MakeShape > &theAlgorithm, const ListOfShape &theOriginalShapes, const ListOfShape &theOriginalContexts, const GeomShapePtr &theResultShape, const int theResultIndex=0)
Store result of algorithm.
Definition: BuildPlugin_Shape.cpp:31
void getOriginalShapesAndContexts(const std::string &theSelectionListID, ListOfShape &theShapes, ListOfShape &theContexts)
Obtain list of selected shapes and their contexts.
Definition: BuildPlugin_Shape.cpp:53
Interface to the root class of all topological shapes constructions.
Definition: GeomAlgoAPI_MakeShape.h:35
Feature function that represents the particular functionality of this operation.
Definition: ModelAPI_Feature.h:39