1 // OCC_BaseView.h: interface for the OCC_BaseView class.
3 //////////////////////////////////////////////////////////////////////
5 #if !defined(AFX_OCC_BASEVIEW_H__2E048CCA_38F9_11D7_8611_0060B0EE281E__INCLUDED_)
6 #define AFX_OCC_BASEVIEW_H__2E048CCA_38F9_11D7_8611_0060B0EE281E__INCLUDED_
10 #endif // _MSC_VER > 1000
14 #include "OCC_BaseDoc.h"
15 #include "AIS_RubberBand.hxx"
17 class AFX_EXT_CLASS OCC_BaseView : public CView
23 virtual ~OCC_BaseView();
25 OCC_BaseDoc* GetDocument();
29 virtual void drawRectangle (const Standard_Integer theMinX,
30 const Standard_Integer theMinY,
31 const Standard_Integer theMaxX,
32 const Standard_Integer theMaxY,
33 const Handle(AIS_InteractiveContext)& theContext,
34 const Standard_Boolean toDraw = Standard_True);
39 Quantity_Factor myCurZoom;
40 Standard_Integer myXmin;
41 Standard_Integer myYmin;
42 Standard_Integer myXmax;
43 Standard_Integer myYmax;
45 Handle(AIS_RubberBand) myRect; //!< Rubber rectangle for selection
48 #endif // !defined(AFX_OCC_BASEVIEW_H__2E048CCA_38F9_11D7_8611_0060B0EE281E__INCLUDED_)