return thePM->IsHighlighted (Selectable(), HighlightMode (mySelectionMode));
}
-//=======================================================================
-//function : Hilight
-//purpose :
-//=======================================================================
-void AIS_DimensionOwner::Hilight (const Handle(PrsMgr_PresentationManager)& thePM,
- const Standard_Integer /*theMode*/)
-{
- if (!HasSelectable())
- {
- return;
- }
-
- thePM->Highlight (Selectable(), HighlightMode (mySelectionMode));
-}
-
//=======================================================================
//function : Unhilight
//purpose :
//purpose :
//=======================================================================
void AIS_DimensionOwner::HilightWithColor (const Handle(PrsMgr_PresentationManager3d)& thePM,
- const Quantity_NameOfColor theColor,
+ const Handle(Graphic3d_HighlightStyle)& theStyle,
const Standard_Integer /*theMode*/)
{
- thePM->Color (Selectable(), theColor, HighlightMode (mySelectionMode));
+ thePM->Color (Selectable(), theStyle, HighlightMode (mySelectionMode));
}