1 // File: Model_ResultGroup.h
2 // Created: 08 Jul 2014
3 // Author: Mikhail PONIKAROV
5 #ifndef Model_ResultGroup_H_
6 #define Model_ResultGroup_H_
9 #include <ModelAPI_ResultGroup.h>
11 /**\class ModelAPI_ResultGroup
13 * \brief The groups result.
15 * Provides a compound of selected elements, without storage, one the fly.
17 class Model_ResultGroup : public ModelAPI_ResultGroup
19 std::shared_ptr<ModelAPI_Data> myOwnerData; ///< data of owner of this result
21 /// Returns the compound of selected entities
22 MODEL_EXPORT virtual std::shared_ptr<GeomAPI_Shape> shape();
24 /// Removes the stored builders
25 MODEL_EXPORT virtual ~Model_ResultGroup() {}
28 /// Makes a body on the given feature data
29 Model_ResultGroup(std::shared_ptr<ModelAPI_Data> theOwnerData);
31 friend class Model_Document;