class QToolBar;
class Handle(V3d_Viewer);
+class Handle(AIS_InteractiveContext);
#ifdef WIN32
#pragma warning ( disable:4251 )
~OCCViewer_ViewWidget();
OCCViewer_ViewPort3d* getViewPort();
+ Handle(AIS_InteractiveContext) getAISContext() { return myAISContext; }
bool eventFilter(QObject* watched, QEvent* e);
void onLeftView();
void onRightView();
+signals:
+ void mouseMoving( QMouseEvent* theEvent );
+ void mousePressed( QMouseEvent* theEvent );
+ void mouseReleased( QMouseEvent* theEvent );
+
private:
enum OperationType{ NOTHING, FITALLVIEW, WINDOWFIT, ZOOMVIEW, PANVIEW, PANGLOBAL,
ROTATE };