1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
3 // File: ModelAPI_ResultGroup.hxx
4 // Created: 07 Jul 2014
5 // Author: Mikhail PONIKAROV
7 #ifndef ModelAPI_ResultGroup_H_
8 #define ModelAPI_ResultGroup_H_
10 #include "ModelAPI_Result.h"
11 #include <GeomAPI_Shape.h>
15 /**\class ModelAPI_ResultGroup
17 * \brief The groups result.
19 * Provides a compound of selected elements, without storage, one the fly.
21 class ModelAPI_ResultGroup : public ModelAPI_Result
24 MODELAPI_EXPORT virtual ~ModelAPI_ResultGroup();
25 /// Returns the group identifier of this result
26 MODELAPI_EXPORT virtual std::string groupName();
28 /// Returns the group identifier of this result
29 inline static std::string group()
31 static std::string MY_GROUP = "Groups";
35 /// default color for a result body
36 inline static const std::string& DEFAULT_COLOR()
38 static const std::string RESULT_GROUP_COLOR("150,150,180");
39 return RESULT_GROUP_COLOR;
44 //! Pointer on feature object
45 typedef std::shared_ptr<ModelAPI_ResultGroup> ResultGroupPtr;