Salome HOME
Result CompSolid should inherits ResultBody. All model realization concerned Naming...
[modules/shaper.git] / src / ModelAPI / ModelAPI_ResultCompSolid.h
index 4a0efd6fc6fbbcf79ff1fefc17121961afd6b136..a953aaff78c218ab4ec545f88c8e9e5e0605e907 100755 (executable)
 *
 * Provides a conainer of body result that may be displayed in the viewer.
 */
-class ModelAPI_ResultCompSolid : public ModelAPI_Result
+class ModelAPI_ResultCompSolid : public ModelAPI_ResultBody
 {
 public:
   MODELAPI_EXPORT virtual ~ModelAPI_ResultCompSolid();
   /// Returns the group identifier of this result
-  MODELAPI_EXPORT virtual std::string groupName();
-
-  /// Returns the group identifier of this result
-  inline static std::string group()
-  {
-    static std::string MY_GROUP = "Bodies";
-    return MY_GROUP;
-  }
 
   /// Returns the feature is disabled or not.
   MODELAPI_EXPORT virtual bool isDisabled() const;