Integration of OCCT 6.5.0 from SVN
[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
24
25 // Overrides
26         // ClassWizard generated virtual function overrides
27         //{{AFX_VIRTUAL(CHLRView2D)
28         protected:
29         virtual void OnInitialUpdate(); // called first time after construct
30     //}}AFX_VIRTUAL
31
32 // Implementation
33 public:
34         virtual ~CHLRView2D();
35         CHLRDoc* GetDocument();
36     virtual void DragEvent2D       (const Standard_Integer  x       ,
37                                         const Standard_Integer  y       ,
38                                         const Standard_Integer  TheState);
39     virtual void InputEvent2D      (const Standard_Integer  x       ,
40                                         const Standard_Integer  y       );  
41     virtual void MoveEvent2D       (const Standard_Integer  x       ,
42                             const Standard_Integer  y       ); 
43     virtual void MultiMoveEvent2D  (const Standard_Integer  x       ,
44                             const Standard_Integer  y       ); 
45     virtual void MultiDragEvent2D  (const Standard_Integer  x       ,
46                                             const Standard_Integer  y       ,
47                                             const Standard_Integer  TheState); 
48     virtual void MultiInputEvent2D (const Standard_Integer  x       ,
49                                             const Standard_Integer  y       ); 
50 #ifdef _DEBUG
51         virtual void AssertValid() const;
52         virtual void Dump(CDumpContext& dc) const;
53 #endif
54
55 protected:
56
57 // Generated message map functions
58 protected:
59         //{{AFX_MSG(CHLRView2D)
60                 // NOTE - the ClassWizard will add and remove member functions here.
61                 //    DO NOT EDIT what you see in these blocks of generated code !
62         //}}AFX_MSG
63         DECLARE_MESSAGE_MAP()
64
65 };
66 /////////////////////////////////////////////////////////////////////////////
67
68 //{{AFX_INSERT_LOCATION}}
69 // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
70
71 #endif // !defined(AFX_HLRVIEW2D_H__376C7013_0B3D_11D2_8E0A_0800369C8A03_2D_INCLUDED_)