Salome HOME
Issue #1530 The arcs representation is not fine enough
[modules/shaper.git] / src / SketcherPrs / SketcherPrs_Middle.h
index fb72cec2917a32de400c39295d3bc69f253d1c5f..0ba22c9f9d39753ebd16068c390f017f4be57110 100755 (executable)
@@ -35,13 +35,17 @@ public:
                                const std::shared_ptr<GeomAPI_Ax3>& thePlane);
 protected:
 
-  virtual const char* iconName() const { return "equal.png"; }
+  virtual const char* iconName() const { return "middlepoint.png"; }
 
   virtual void drawLines(const Handle(Prs3d_Presentation)& thePrs, Quantity_Color theColor) const;
 
   /// Update myPntArray according to presentation positions
   /// \return true in case of success
-  virtual bool updatePoints(double theStep) const;
+  virtual bool updateIfReadyToDisplay(double theStep) const;
+
+  /// Draw shape of the object. Find shape result if the object is feature
+  void drawLine(const Handle(Prs3d_Presentation)& thePrs, Quantity_Color theColor,
+                const ObjectPtr& theObject) const;
 };
 
 #endif
\ No newline at end of file