Standard_EXPORT void Hilight (const Handle(AIS_InteractiveObject)& anObject);
Standard_EXPORT void Hilight (const Handle(AIS_InteractiveObject)& theObj,
- const Handle(Graphic3d_HighlightStyle)& theStyle);
+ const Handle(Prs3d_Drawer)& theStyle);
Standard_EXPORT void Unhilight (const Handle(AIS_InteractiveObject)& anObject);
Standard_EXPORT Standard_Boolean IsHilighted (const Handle(AIS_InteractiveObject)& anObject) const;
Standard_EXPORT Standard_Boolean HighlightStyle (const Handle(AIS_InteractiveObject)& theObject,
- Handle(Graphic3d_HighlightStyle)& theStyle) const;
+ Handle(Prs3d_Drawer)& theStyle) const;
//! Define the current selection sensitivity for
//! this local context according to the view size.
//! stored in local status
Standard_EXPORT void RestoreActivatedModes() const;
-
-
-
DEFINE_STANDARD_RTTIEXT(AIS_LocalContext,MMgt_TShared)
-protected:
-
- //! Helper function that returns correct dynamic highlight style for the object:
- //! if custom style is defined via object's highlight drawer, it will be used. Otherwise,
- //! dynamic highlight style of interactive context will be returned.
- //! @param theObj [in] the object to check
- Standard_EXPORT const Handle(Graphic3d_HighlightStyle)& getHiStyle (const Handle(SelectMgr_SelectableObject)& theObj) const;
-
- //! Helper function that returns correct selection style for the object:
- //! if custom style is defined via object's highlight drawer, it will be used. Otherwise,
- //! selection style of interactive context will be returned.
- //! @param theObj [in] the object to check
- Standard_EXPORT const Handle(Graphic3d_HighlightStyle)& getSelStyle (const Handle(AIS_InteractiveObject)& theObj) const;
-
private:
Standard_Integer myCurDetected;
AIS_SequenceOfInteractive myAISDetectedSeq;
Standard_Integer myAISCurDetected;
- Handle(Graphic3d_HighlightStyle) mySubintStyle;
+ Handle(Prs3d_Drawer) mySubintStyle;
};