//! Returns AIS_InteractiveContext from current OCCViewer
virtual Handle(AIS_InteractiveContext) AISContext() const = 0;
//! Returns AIS_InteractiveContext from current OCCViewer
virtual Handle(AIS_InteractiveContext) AISContext() const = 0;
//! Retrurns V3d_Vioewer from current viewer
virtual Handle(V3d_Viewer) v3dViewer() const = 0;
//! Returns Vsd_View object from currently active view window
virtual Handle(V3d_View) activeView() const = 0;
//! Retrurns V3d_Vioewer from current viewer
virtual Handle(V3d_Viewer) v3dViewer() const = 0;
//! Returns Vsd_View object from currently active view window
virtual Handle(V3d_View) activeView() const = 0;
//! Enable or disable selection in the viewer
//! \param isEnabled is enable or disable flag
virtual void enableSelection(bool isEnabled) = 0;
//! Enable or disable selection in the viewer
//! \param isEnabled is enable or disable flag
virtual void enableSelection(bool isEnabled) = 0;
/// \param theTransformation type of transformation (see AppElements_ViewWindow::OperationType)
void viewTransformed(int theTransformation);
/// \param theTransformation type of transformation (see AppElements_ViewWindow::OperationType)
void viewTransformed(int theTransformation);
protected:
/// A map for storing a scale factors dependent on view object
QMap<Handle(V3d_View), double> myWindowScale;
protected:
/// A map for storing a scale factors dependent on view object
QMap<Handle(V3d_View), double> myWindowScale;