1 // HLRView.h : interface of the CHLRView2D class
3 /////////////////////////////////////////////////////////////////////////////
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_
10 #endif // _MSC_VER >= 1000
13 #include <OCC_2dView.h>
14 #include "Resource2d/RectangularGrid.h"
15 #include "Resource2d/CircularGrid.h"
18 class CHLRView2D : public OCC_2dView
20 protected: // create from serialization only
22 DECLARE_DYNCREATE(CHLRView2D)
26 // ClassWizard generated virtual function overrides
27 //{{AFX_VIRTUAL(CHLRView2D)
29 virtual void OnInitialUpdate(); // called first time after construct
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 );
51 virtual void AssertValid() const;
52 virtual void Dump(CDumpContext& dc) const;
57 // Generated message map functions
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 !
66 /////////////////////////////////////////////////////////////////////////////
68 //{{AFX_INSERT_LOCATION}}
69 // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
71 #endif // !defined(AFX_HLRVIEW2D_H__376C7013_0B3D_11D2_8E0A_0800369C8A03_2D_INCLUDED_)