/// Remove selection filter from the viewer
virtual void removeSelectionFilter(const Handle(SelectMgr_Filter)& theFilter);
+ /// Returns true if the selection filter is set to the viewer
+ /// \param theFilter a selection filter
+ virtual bool hasSelectionFilter(const Handle(SelectMgr_Filter)& theFilter);
+
/// Remove all selection filters from the viewer
virtual void clearSelectionFilters();
/// by mouse drugging. If this is impossible thet it has to return False.
virtual bool canDragByMouse() const;
+ /// Activate or deactivate viewer
+ /// \param toActivate - activation flag
+ void activateViewer(bool toActivate);
+
+ // Fit all along Z (perpendicular to display)
+ virtual void Zfitall();
+
private slots:
void onMousePress(SUIT_ViewWindow*, QMouseEvent*);
void onMouseRelease(SUIT_ViewWindow*, QMouseEvent*);
void onTryCloseView(SUIT_ViewWindow*);
void onDeleteView(SUIT_ViewWindow*);
void onViewCreated(SUIT_ViewWindow*);
- void onActivated(SUIT_ViewWindow*);
+ void onActivated(SUIT_ViewManager*);
void onSelectionChanged();
void onViewTransformed(OCCViewer_ViewWindow::OperationType);