0031521: Samples - update MFC ImportExport sample to use AIS_ViewController
[occt.git] / samples / mfc / standard / 08_HLR / src / HLRView2D.h
1 // HLRView.h : interface of the CHLRView2D class
2 //
3 /////////////////////////////////////////////////////////////////////////////
4
5 #if !defined(AFX_HLRVIEW2D_H__376C7013_0B3D_11D2_8E0A_0800369C8A03_2D_INCLUDED_)
6 #define AFX_HLRVIEW2D_H__376C7013_0B3D_11D2_8E0A_0800369C8A03_2D_INCLUDED_
7
8 #if _MSC_VER >= 1000
9 #pragma once
10 #endif // _MSC_VER >= 1000
11
12 #include "HLRDoc.h"
13 #include <OCC_2dView.h>
14 #include "Resource2d/RectangularGrid.h"
15 #include "Resource2d/CircularGrid.h"
16
17
18 class CHLRView2D : public OCC_2dView
19 {
20 protected: // create from serialization only
21   CHLRView2D();
22   DECLARE_DYNCREATE(CHLRView2D)
23   DECLARE_MESSAGE_MAP()
24
25   //! Return interactive context for HLR presentations.
26   virtual const Handle(AIS_InteractiveContext)& GetAISContext() const Standard_OVERRIDE;
27
28 // Implementation
29 public:
30   virtual ~CHLRView2D();
31   CHLRDoc* GetDocument();
32 #ifdef _DEBUG
33   virtual void AssertValid() const;
34   virtual void Dump(CDumpContext& dc) const;
35 #endif
36 };
37 /////////////////////////////////////////////////////////////////////////////
38
39 //{{AFX_INSERT_LOCATION}}
40 // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
41
42 #endif // !defined(AFX_HLRVIEW2D_H__376C7013_0B3D_11D2_8E0A_0800369C8A03_2D_INCLUDED_)