X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketcherPrs%2FSketcherPrs_Radius.h;h=88a3c613c219d445c55f95b06e018bd38682e8b2;hb=a5746a7f8fd8bcd555fb16f98e312c86ca1210da;hp=0b32639b761dd209c4b7761ee917b0fe3036fa1d;hpb=6aad051f35d9c375d4727ce5f4d1cbfe24fd3838;p=modules%2Fshaper.git diff --git a/src/SketcherPrs/SketcherPrs_Radius.h b/src/SketcherPrs/SketcherPrs_Radius.h index 0b32639b7..88a3c613c 100644 --- a/src/SketcherPrs/SketcherPrs_Radius.h +++ b/src/SketcherPrs/SketcherPrs_Radius.h @@ -9,12 +9,11 @@ #define SketcherPrs_Radius_H #include +#include #include #include -class SketchPlugin_Constraint; - DEFINE_STANDARD_HANDLE(SketcherPrs_Radius, AIS_RadiusDimension) /** @@ -27,7 +26,7 @@ public: /// Constructor /// \param theConstraint a constraint feature /// \param thePlane a coordinate plane of current sketch - Standard_EXPORT SketcherPrs_Radius(SketchPlugin_Constraint* theConstraint, + Standard_EXPORT SketcherPrs_Radius(ModelAPI_Feature* theConstraint, const std::shared_ptr& thePlane); DEFINE_STANDARD_RTTI(SketcherPrs_Radius) @@ -36,9 +35,13 @@ protected: 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); + private: /// Constraint feature - SketchPlugin_Constraint* myConstraint; + ModelAPI_Feature* myConstraint; /// Plane of the current sketcher std::shared_ptr myPlane;