Salome HOME
Change color for construction/body/group.
[modules/shaper.git] / src / ConstructionPlugin / ConstructionPlugin_Point.h
index f4bf39a1186fdc61b3ee35e42f3665a8b7a609fa..84cb35cb35085d1b7461b84cf3da54ca5ea7f07f 100644 (file)
@@ -9,13 +9,13 @@
 
 #include "ConstructionPlugin.h"
 #include <ModelAPI_Feature.h>
-#include <GeomAPI_ICustomPrs.h>
+#include <ModelAPI_Result.h>
 
 /**\class ConstructionPlugin_Point
  * \ingroup Plugins
  * \brief Feature for creation of the new part in PartSet.
  */
-class ConstructionPlugin_Point : public ModelAPI_Feature, public GeomAPI_ICustomPrs
+class ConstructionPlugin_Point : public ModelAPI_Feature
 {
  public:
   /// Returns the kind of a feature
@@ -27,13 +27,6 @@ class ConstructionPlugin_Point : public ModelAPI_Feature, public GeomAPI_ICustom
     return CONSTRUCTION_POINT_KIND;
   }
 
-  /// default color for a point
-  inline static const std::string& DEFAULT_COLOR()
-  {
-    static const std::string CONSTRUCTION_POINT_COLOR("#ffff00");
-    return CONSTRUCTION_POINT_COLOR;
-  }
-
   /// attribute name for X coordinate
   inline static const std::string& X()
   {
@@ -64,10 +57,6 @@ class ConstructionPlugin_Point : public ModelAPI_Feature, public GeomAPI_ICustom
 
   /// Use plugin manager for features creation
   ConstructionPlugin_Point();
-
-  /// Modifies the given presentation in the custom way.
-  virtual void customisePresentation(AISObjectPtr thePrs);
-
 };
 
 #endif