1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
3 // File: ModelAPI_ResultField.hxx
4 // Created: 16 Nov 2016
5 // Author: Mikhail PONIKAROV
7 #ifndef ModelAPI_ResultField_H_
8 #define ModelAPI_ResultField_H_
10 #include "ModelAPI_Result.h"
11 #include <GeomAPI_Shape.h>
15 /**\class ModelAPI_ResultField
17 * \brief The fields result.
19 * Provides a compound of selected elements, without storage, one the fly.
21 class ModelAPI_ResultField : public ModelAPI_Result
24 MODELAPI_EXPORT virtual ~ModelAPI_ResultField();
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 = "Fields";
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_ResultField> ResultFieldPtr;