/// 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)
- { Selectable()->HilightOwnerWithColor(aPM, aCol, this); }
+ const Handle(Graphic3d_HighlightStyle)& theStyle, const Standard_Integer aMode = 0)
+ {
+ Selectable()->HilightOwnerWithColor(aPM, theStyle, this);
+ }
- DEFINE_STANDARD_RTTI(ModuleBase_BRepOwner)
+ 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; }
/// \param thePriority a new priority value
Standard_EXPORT void setAdditionalSelectionPriority(const int thePriority);
- DEFINE_STANDARD_RTTI(ModuleBase_ResultPrs)
+ DEFINE_STANDARD_RTTIEXT(ModuleBase_ResultPrs, ViewerData_AISShape)
protected:
/// Redefinition of virtual function
Standard_EXPORT virtual void Compute(