]> OCCT Git - occt-copy.git/commitdiff
0031153: Non clear highlighting of selected trihedron elements
authorvsv <vsv@opencascade.com>
Tue, 12 Nov 2019 10:28:20 +0000 (13:28 +0300)
committervsv <vsv@opencascade.com>
Tue, 12 Nov 2019 10:28:20 +0000 (13:28 +0300)
src/AIS/AIS_Trihedron.hxx

index 9fc5fd773dbf7ab6036c43fbccb40005124cff49..b2e50c8ad33be2fbc195b7b858c7063cc74eb785 100644 (file)
@@ -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;