0027818: Visualization - provide an interface to define highlight presentation properties
[occt.git] / src / AIS / AIS_DimensionOwner.cxx
index 1b3c368..7641554 100755 (executable)
@@ -80,21 +80,6 @@ Standard_Boolean AIS_DimensionOwner::IsHilighted (const Handle(PrsMgr_Presentati
   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  : 
@@ -115,8 +100,8 @@ void AIS_DimensionOwner::Unhilight (const Handle(PrsMgr_PresentationManager)& th
 //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));
 }