1 // NSGViewBib.h : interface of the CNSGView class
4 #if !defined(AFX_NSGVIEWBIB_H__7BCE3513_40A8_11D1_8BEC_00C04FB657CF__INCLUDED_)
5 #define AFX_NSGVIEWBIB_H__7BCE3513_40A8_11D1_8BEC_00C04FB657CF__INCLUDED_
9 #endif // _MSC_VER >= 1000
12 #include <OCC_2dView.h>
14 /////////////////////////////////////////////////////////////////////////////
18 class CGeometryView2D : public OCC_2dView
20 protected: // create from serialization only
22 DECLARE_DYNCREATE(CGeometryView2D)
26 CGeometryDoc* GetDocument();
29 // ClassWizard generated virtual function overrides
31 virtual void OnInitialUpdate(); // called first time after construct
35 virtual ~CGeometryView2D();
37 virtual void AssertValid() const;
38 virtual void Dump(CDumpContext& dc) const;
41 //! Return interactive context for 2d presentations.
42 virtual const Handle(AIS_InteractiveContext)& GetAISContext() const Standard_OVERRIDE;
44 // Generated message map functions
46 //{{AFX_MSG(CGeometryView2D)
51 #ifndef _DEBUG // debug version in NSGViewBibliotheque.cpp
52 inline CGeometryDoc* CGeometryView2D::GetDocument()
53 { return (CGeometryDoc*)m_pDocument; }
56 /////////////////////////////////////////////////////////////////////////////