X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketcherPrs%2FSketcherPrs_Middle.h;h=0ba22c9f9d39753ebd16068c390f017f4be57110;hb=61a55a09650c0e6e68a5ebf786c51664ed2a9001;hp=fb72cec2917a32de400c39295d3bc69f253d1c5f;hpb=45bb93054f95112d5e6282f11c364ed5e23fb264;p=modules%2Fshaper.git diff --git a/src/SketcherPrs/SketcherPrs_Middle.h b/src/SketcherPrs/SketcherPrs_Middle.h index fb72cec29..0ba22c9f9 100755 --- a/src/SketcherPrs/SketcherPrs_Middle.h +++ b/src/SketcherPrs/SketcherPrs_Middle.h @@ -35,13 +35,17 @@ public: const std::shared_ptr& 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