#include "XGUI_ViewerProxy.h"
#include "XGUI_ObjectsBrowser.h"
+#include "ModuleBase_BRepOwner.h"
#include "ModuleBase_ResultPrs.h"
-#include <ModuleBase_ViewerPrs.h>
+#include "ModuleBase_ViewerPrs.h"
#include <ModelAPI_Feature.h>
#include <ModelAPI_Tools.h>
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
{