From c9fd622676b84e3951ea2efaa30ae0b729cc62ea Mon Sep 17 00:00:00 2001 From: vsv Date: Tue, 12 Nov 2019 13:28:20 +0300 Subject: [PATCH] 0031153: Non clear highlighting of selected trihedron elements --- src/AIS/AIS_Trihedron.hxx | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/src/AIS/AIS_Trihedron.hxx b/src/AIS/AIS_Trihedron.hxx index 9fc5fd773d..b2e50c8ad3 100644 --- a/src/AIS/AIS_Trihedron.hxx +++ b/src/AIS/AIS_Trihedron.hxx @@ -184,6 +184,15 @@ public: return myLabel.Find (thePart); } + //! Returns highlight aspect , create if it is the first call + Standard_EXPORT Handle(Prs3d_ShadingAspect) getHighlightAspect(); + + //! Returns highlight line aspect , create if it is the first call + Standard_EXPORT Handle(Prs3d_LineAspect) getHighlightLineAspect(); + + //! Returns highlight point aspect , create if it is the first call + Standard_EXPORT Handle(Prs3d_PointAspect) getHighlightPointAspect(); + public: //! Disables auto highlighting to use HilightSelected() and HilightOwnerWithColor() overridden methods. @@ -250,13 +259,6 @@ protected: const gp_Dir& theYDir, const gp_Dir& theZDir); - //! Returns highlight line aspect , create if it is the first call - Handle(Prs3d_ShadingAspect) getHighlightAspect(); - //! Returns highlight line aspect , create if it is the first call - Handle(Prs3d_LineAspect) getHighlightLineAspect(); - //! Returns highlight line aspect , create if it is the first call - Handle(Prs3d_PointAspect) getHighlightPointAspect(); - protected: Standard_Boolean myHasOwnSize; Standard_Boolean myHasOwnTextColor; -- 2.39.5