1 // OCC_2dDoc.h: interface for the OCC_2dDoc class.
3 //////////////////////////////////////////////////////////////////////
5 #if !defined(AFX_OCC_2dDOC_H__2E048CC7_38F9_11D7_8611_0060B0EE281E__INCLUDED_)
6 #define AFX_OCC_2dDOC_H__2E048CC7_38F9_11D7_8611_0060B0EE281E__INCLUDED_
10 #endif // _MSC_VER > 1000
12 #include "OCC_BaseDoc.h"
13 #include "ResultDialog.h"
14 #include <WNT_Window.hxx>
16 class AFX_EXT_CLASS OCC_2dDoc : public OCC_BaseDoc
18 DECLARE_DYNCREATE(OCC_2dDoc)
27 Handle_V3d_Viewer GetViewer2D () { return myViewer; };
29 void FitAll2DViews(Standard_Boolean theUpdateViewer = Standard_False);
31 Handle(AIS_InteractiveContext)& GetInteractiveContext() { return myAISContext; };
33 virtual void MoveEvent(const Standard_Integer theMouseX,
34 const Standard_Integer theMouseY,
35 const Handle(V3d_View)& theView);
37 virtual void ShiftMoveEvent(const Standard_Integer theMouseX,
38 const Standard_Integer theMouseY,
39 const Handle(V3d_View)& theViewView);
42 #endif // !defined(AFX_OCC_2dDOC_H__2E048CC7_38F9_11D7_8611_0060B0EE281E__INCLUDED_)