return QObjectPtrList();
}
-void XGUI_Selection::setSelectedObjects( const QObjectPtrList& theObjects ) const
-{
- return myWorkshop->objectBrowser()->setObjectsSelected( theObjects );
-}
-
QObjectPtrList XGUI_Selection::selectedPresentations() const
{
QObjectPtrList aSelectedList;
return myWorkshop->objectBrowser()->selectedIndexes();
}
-//**************************************************************
-void XGUI_Selection::selectedAISObjects(AIS_ListOfInteractive& theList) const
-{
- theList.Clear();
-
- Handle(AIS_InteractiveContext) aContext = myWorkshop->viewer()->AISContext();
- if (!aContext.IsNull()) {
- for (aContext->InitSelected(); aContext->MoreSelected(); aContext->NextSelected())
- theList.Append(aContext->SelectedInteractive());
- }
-}
-
//**************************************************************
ObjectPtr XGUI_Selection::getSelectableObject(const Handle(SelectMgr_EntityOwner)& theOwner) const
{