X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketcherPrs%2FSketcherPrs_Parallel.h;h=63aa6afc3efb87649cf038240badac9d5d4b1665;hb=68420e410a9846ec7dcb2f4645030455bc374288;hp=9ea829874867c91b0a3017525490300091d27cbd;hpb=7453d57ebe6eaa15b3b032fb2511a30fc128af5c;p=modules%2Fshaper.git diff --git a/src/SketcherPrs/SketcherPrs_Parallel.h b/src/SketcherPrs/SketcherPrs_Parallel.h index 9ea829874..63aa6afc3 100644 --- a/src/SketcherPrs/SketcherPrs_Parallel.h +++ b/src/SketcherPrs/SketcherPrs_Parallel.h @@ -28,33 +28,15 @@ public: /// \param thePlane a coordinate plane of current sketch Standard_EXPORT SketcherPrs_Parallel(SketchPlugin_Constraint* theConstraint, const std::shared_ptr& thePlane); - - //! Method which draws selected owners ( for fast presentation draw ) - Standard_EXPORT virtual void HilightSelected(const Handle(PrsMgr_PresentationManager3d)& thePM, - const SelectMgr_SequenceOfOwner& theOwners); - - //! Method which hilight an owner belonging to - //! this selectable object ( for fast presentation draw ) - Standard_EXPORT virtual void HilightOwnerWithColor(const Handle(PrsMgr_PresentationManager3d)& thePM, - const Quantity_NameOfColor theColor, const Handle(SelectMgr_EntityOwner)& theOwner); - DEFINE_STANDARD_RTTI(SketcherPrs_Parallel) protected: /// Redefinition of virtual function Standard_EXPORT virtual void Compute(const Handle(PrsMgr_PresentationManager3d)& thePresentationManager, const Handle(Prs3d_Presentation)& thePresentation, const Standard_Integer theMode = 0); - /// Redefinition of virtual function - Standard_EXPORT virtual void ComputeSelection(const Handle(SelectMgr_Selection)& aSelection, - const Standard_Integer aMode) ; - virtual const char* iconName() const { return "parallel.png"; } -private: - - void drawLines(const Handle(Prs3d_Presentation)& thePrs, Quantity_Color theColor) const; - - Handle(Graphic3d_ArrayOfPoints) myPntArray; + virtual void drawLines(const Handle(Prs3d_Presentation)& thePrs, Quantity_Color theColor) const; }; #endif \ No newline at end of file