]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/ConstructionPlugin/ConstructionPlugin_Axis.h
Salome HOME
Merge branch 'Dev_1.1.0' of newgeom:newgeom.git into Dev_1.1.0
[modules/shaper.git] / src / ConstructionPlugin / ConstructionPlugin_Axis.h
index 2b968ba593553a229efbc52ef920111993e57583..ef021ba50eb7caad950ef1202ffabed4c5a3aca0 100644 (file)
@@ -11,7 +11,6 @@
 #include <ModelAPI_Feature.h>
 #include <GeomAPI_ICustomPrs.h>
 
-
 /**\class ConstructionPlugin_Axis
  * \ingroup Plugins
  * \brief Feature for creation of the new axis in PartSet.
@@ -44,6 +43,12 @@ class ConstructionPlugin_Axis : public ModelAPI_Feature, public GeomAPI_ICustomP
     static const std::string POINT_ATTR_SECOND("secondPoint");
     return POINT_ATTR_SECOND;
   }
+  /// default color for an axis
+  inline static const std::string& DEFAULT_COLOR()
+  {
+    static const std::string CONSTRUCTION_AXIS_COLOR("#000000");
+    return CONSTRUCTION_AXIS_COLOR;
+  }
 
   inline static const double MINIMAL_LENGTH() { return 1.e-5; }