X-Git-Url: http://git.dev.opencascade.org/gitweb/?p=occt.git;a=blobdiff_plain;f=src%2FAIS%2FAIS_InteractiveContext.hxx;h=aaa794cd0d459bb909a0f14a301cccb263a82a76;hb=741c4f3ecc55757706fd3feac757be84227922f8;hpb=611684187de2a7b7c59c33f7da9ca51afa64a326 diff --git a/src/AIS/AIS_InteractiveContext.hxx b/src/AIS/AIS_InteractiveContext.hxx index 55ff732de8..aaa794cd0d 100644 --- a/src/AIS/AIS_InteractiveContext.hxx +++ b/src/AIS/AIS_InteractiveContext.hxx @@ -1235,7 +1235,7 @@ protected: //! @name internal methods Standard_EXPORT Standard_Integer PurgeViewer (const Handle(V3d_Viewer)& Vwr); //! Helper function to unhighlight all entity owners currently highlighted with seleciton color. - Standard_EXPORT void unhighlightOwners (const Handle(AIS_InteractiveObject)& theObject); + Standard_EXPORT void unselectOwners (const Handle(AIS_InteractiveObject)& theObject); //! Helper function that highlights the owner given with without //! performing AutoHighlight checks, e.g. is used for dynamic highlight. @@ -1246,12 +1246,16 @@ protected: //! @name internal methods //! for AutoHighlight, e.g. is used for selection. Standard_EXPORT void highlightSelected (const Handle(SelectMgr_EntityOwner)& theOwner); + //! Helper function that highlights the owners with check + //! for AutoHighlight, e.g. is used for selection. + Standard_EXPORT void highlightOwners (const AIS_NListOfEntityOwner& theOwners); + //! Helper function that highlights global owner of the object given with with check //! for AutoHighlight, e.g. is used for selection. //! If global owner is null, it simply highlights the whole object Standard_EXPORT void highlightGlobal (const Handle(AIS_InteractiveObject)& theObj, const Handle(Prs3d_Drawer)& theStyle, - const Standard_Integer theDispMode) const; + const Standard_Integer theDispMode); //! Helper function that unhighlights all owners that are stored in current AIS_Selection. //! The function updates global status and selection state of owner and interactive object. @@ -1259,9 +1263,14 @@ protected: //! @name internal methods //! switched on in AIS_GlobalStatus will be highlighted with context's sub-intensity color. Standard_EXPORT void unhighlightSelected (const Standard_Boolean theIsToHilightSubIntensity = Standard_False); + //! Helper function that unhighlights the owners with check + //! for AutoHighlight, e.g. is used for selection. + Standard_EXPORT void unhighlightOwners (const AIS_NListOfEntityOwner& theOwners, + const Standard_Boolean theIsToHilightSubIntensity = Standard_False); + //! Helper function that unhighlights global selection owner of given interactive. //! The function does not perform any updates of global or owner status - Standard_EXPORT void unhighlightGlobal (const Handle(AIS_InteractiveObject)& theObj) const; + Standard_EXPORT void unhighlightGlobal (const Handle(AIS_InteractiveObject)& theObj); //! Helper function that turns on sub-intensity in global status and highlights //! given objects with sub-intensity color