]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/ModelAPI/ModelAPI_ResultBody.h
Salome HOME
Add tools
[modules/shaper.git] / src / ModelAPI / ModelAPI_ResultBody.h
index 8a621e2c83fe661f0b87e38e8511318af710723d..54df9a2c65c6cfa974ce5a958a9a3f35f9dc5626 100644 (file)
@@ -40,7 +40,7 @@ public:
   /// default color for a result body
   inline static const std::string& DEFAULT_COLOR()
   {
-    static const std::string RESULT_BODY_COLOR("150,150,180");
+    static const std::string RESULT_BODY_COLOR("200,200,230");
     return RESULT_BODY_COLOR;
   }
 
@@ -55,6 +55,10 @@ public:
   MODELAPI_EXPORT virtual void storeModified(const std::shared_ptr<GeomAPI_Shape>& theOldShape,
     const std::shared_ptr<GeomAPI_Shape>& theNewShape, const int theDecomposeSolidsTag = 0);
 
+  /// Stores the shape without naming support
+  MODELAPI_EXPORT virtual void storeWithoutNaming(
+    const std::shared_ptr<GeomAPI_Shape>& theShape);
+
   /// Returns the shape-result produced by this feature
   MODELAPI_EXPORT virtual std::shared_ptr<GeomAPI_Shape> shape();
 
@@ -108,9 +112,10 @@ public:
     const std::string& theName,int&  theTag);
 
 protected:
+  /// Default constructor accessible only from Model_Objects
   MODELAPI_EXPORT ModelAPI_ResultBody();
 
-  ModelAPI_BodyBuilder* myBuilder; /// provide the body processing in naming shape
+  ModelAPI_BodyBuilder* myBuilder; ///< provides the body processing in naming shape
 };
 
 //! Pointer on feature object