/// Highlight the presentation with the given color
/// \param aPM a presentations manager
- /// \param aCol a color
+ /// \param theStyle a style of presentation
/// \param aMode a drawing mode
virtual void HilightWithColor (const Handle(PrsMgr_PresentationManager3d)& aPM,
- const Quantity_NameOfColor aCol, const Standard_Integer aMode = 0)
+ const Handle(Graphic3d_HighlightStyle)& theStyle, const Standard_Integer aMode = 0)
{
- //PORTING_TO_SALOME_8
- //Selectable()->HilightOwnerWithColor(aPM, aCol, this);
+ Selectable()->HilightOwnerWithColor(aPM, theStyle, this);
}
DEFINE_STANDARD_RTTIEXT(ModuleBase_BRepOwner, StdSelect_BRepOwner)
//! Method which hilight an owner belonging to
//! this selectable object ( for fast presentation draw )
Standard_EXPORT virtual void HilightOwnerWithColor(
- const Handle(PrsMgr_PresentationManager3d)& thePM,
- const Quantity_NameOfColor theColor, const Handle(SelectMgr_EntityOwner)& theOwner);
+ const Handle(PrsMgr_PresentationManager3d)& thePM,
+ const Handle(Graphic3d_HighlightStyle)& theStyle,
+ const Handle(SelectMgr_EntityOwner)& theOwner);
/// Returns result object
Standard_EXPORT ResultPtr getResult() const { return myResult; }