Salome HOME
Make naming name works on bodies with additional prefixes (extrusion solid in the...
[modules/shaper.git] / src / Model / Model_ResultConstruction.h
index ac07a4a6225f89995983c561fcd11e20e4180c51..837add0fb0c6e05aafb49aae55bf0e524b9c36aa 100644 (file)
@@ -27,17 +27,7 @@ class Model_ResultConstruction : public ModelAPI_ResultConstruction
   bool myIsInHistory;
   bool myIsInfinite;
  public:
-  /// default color for a result construction
-  inline static const std::string& DEFAULT_COLOR()
-  {
-    static const std::string RESULT_CONSTRUCTION_COLOR("120,120,120");
-    return RESULT_CONSTRUCTION_COLOR;
-  }
-
-  /// Request for initialization of data model of the result: adding all attributes
-  virtual void initAttributes();
-
-  // Retuns the parameters of color definition in the resources config manager
+  /// Retuns the parameters of color definition in the resources config manager
   MODEL_EXPORT virtual void colorConfigInfo(std::string& theSection, std::string& theName,
                                             std::string& theDefault);
 
@@ -64,6 +54,8 @@ class Model_ResultConstruction : public ModelAPI_ResultConstruction
   MODEL_EXPORT virtual bool isInfinite();
   /// Sets the flag that it is infinite
   MODEL_EXPORT virtual void setInfinite(const bool theInfinite);
+  /// The construction element is never concealed
+  MODEL_EXPORT virtual void setIsConcealed(const bool theValue);
 
  protected:
   /// Makes a body on the given feature