const int theSelScheme,
const Handle(SelectMgr_Filter)& theFilter)
{
- if (theOwner.IsNull() || !theOwner->HasSelectable() || !theFilter->IsOk (theOwner))
+ if (theOwner.IsNull() || !theOwner->HasSelectable() || !theFilter->IsOk (theOwner, SelectMgr_FilterReaction_Select))
return AIS_SS_NotDone;
if (theSelScheme & AIS_SelectionScheme_Add)
//! more types of entity.
Standard_EXPORT SelectMgr_AndFilter();
- Standard_EXPORT Standard_Boolean IsOk (const Handle(SelectMgr_EntityOwner)& anobj) const Standard_OVERRIDE
- { return Standard_False; }
+ Standard_EXPORT Standard_Boolean IsOk (const Handle(SelectMgr_EntityOwner)& theObj) const Standard_OVERRIDE
+ { (void)theObj; return Standard_False; }
Standard_EXPORT virtual Standard_Boolean IsOk (const Handle(SelectMgr_EntityOwner)& theObj,
- const SelectMgr_FilterReaction& theReaction) const;
+ const SelectMgr_FilterReaction& theReaction) const Standard_OVERRIDE;
DEFINE_STANDARD_RTTIEXT(SelectMgr_AndFilter,SelectMgr_CompositionFilter)
//! an AIS local context, you will need to implement the
//! virtual function ActsOn.
Standard_EXPORT virtual Standard_Boolean IsOk (const Handle(SelectMgr_EntityOwner)& theObj,
- const SelectMgr_FilterReaction& theReaction)
- { return IsOk (theObj); }
+ const SelectMgr_FilterReaction& theReaction) const
+ { (void)theReaction; return IsOk (theObj); }
//! Returns true in an AIS local context, if this filter
//! operates on a type of subshape defined in a filter