From: vsv Date: Tue, 12 Nov 2019 10:28:20 +0000 (+0300) Subject: 0031153: Non clear highlighting of selected trihedron elements X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=c9fd622676b84e3951ea2efaa30ae0b729cc62ea;p=occt-copy.git 0031153: Non clear highlighting of selected trihedron elements --- 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;