Salome HOME
The flushCreated/flushUpdated are obsolete and nobody uses them.
[modules/shaper.git] / src / ConstructionPlugin / ConstructionPlugin_Axis.h
index 2b968ba593553a229efbc52ef920111993e57583..473d3e3524e18f86435d88e3e9df969656fb4a29 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.
@@ -32,6 +31,13 @@ class ConstructionPlugin_Axis : public ModelAPI_Feature, public GeomAPI_ICustomP
     static const std::string CONSTRUCTION_AXIS_KIND("Axis");
     return CONSTRUCTION_AXIS_KIND;
   }
+
+  /// attribute name for first point
+  inline static const std::string& METHOD()
+  {
+    static const std::string METHOD_ATTR("creationMethod");
+    return METHOD_ATTR;
+  }
   /// attribute name for first point
   inline static const std::string& POINT_FIRST()
   {
@@ -44,6 +50,18 @@ class ConstructionPlugin_Axis : public ModelAPI_Feature, public GeomAPI_ICustomP
     static const std::string POINT_ATTR_SECOND("secondPoint");
     return POINT_ATTR_SECOND;
   }
+  /// attribute name for second point
+  inline static const std::string& CYLINDRICAL_FACE()
+  {
+    static const std::string CYLINDRICAL_FACE_ATTR("cylindricalFace");
+    return CYLINDRICAL_FACE_ATTR;
+  }
+  /// 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; }