1 // GeometryView.h : interface of the CGeometryView class
3 /////////////////////////////////////////////////////////////////////////////
5 #if !defined(AFX_VIEWERVIEW_H__4EF39FBC_4EBB_11D1_8D67_0800369C8A03__INCLUDED_)
6 #define AFX_VIEWERVIEW_H__4EF39FBC_4EBB_11D1_8D67_0800369C8A03__INCLUDED_
10 #endif // _MSC_VER >= 1000
12 #include <OCC_3dView.h>
14 class CGeometryView : public OCC_3dView
16 protected: // create from serialization only
19 DECLARE_DYNCREATE(CGeometryView)
23 CGeometryDoc* GetDocument();
29 // ClassWizard generated virtual function overrides
30 //{{AFX_VIRTUAL(CGeometryView)
36 virtual ~CGeometryView();
37 void FitAll(Quantity_Coefficient Coef) { if (Coef != -1) myView->FitAll(Coef);
38 else myView->FitAll();
41 virtual void AssertValid() const;
42 virtual void Dump(CDumpContext& dc) const;
45 // Generated message map functions
47 //{{AFX_MSG(CGeometryView)
48 afx_msg void OnFileExportImage();
49 afx_msg void OnSize(UINT nType, int cx, int cy);
50 afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
51 afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
52 afx_msg void OnMButtonDown(UINT nFlags, CPoint point);
53 afx_msg void OnMButtonUp(UINT nFlags, CPoint point);
54 afx_msg void OnMouseMove(UINT nFlags, CPoint point);
55 afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
56 afx_msg void OnRButtonUp(UINT nFlags, CPoint point);
57 afx_msg void OnUpdateBUTTONHlrOff(CCmdUI* pCmdUI);
58 afx_msg void OnUpdateBUTTONHlrOn(CCmdUI* pCmdUI);
59 afx_msg void OnUpdateBUTTONPanGlo(CCmdUI* pCmdUI);
60 afx_msg void OnUpdateBUTTONPan(CCmdUI* pCmdUI);
61 afx_msg void OnUpdateBUTTONZoomProg(CCmdUI* pCmdUI);
62 afx_msg void OnUpdateBUTTONZoomWin(CCmdUI* pCmdUI);
63 afx_msg void OnUpdateBUTTONRot(CCmdUI* pCmdUI);
68 void DragEvent (const Standard_Integer x ,
69 const Standard_Integer y ,
70 const Standard_Integer TheState);
71 void InputEvent (const Standard_Integer x ,
72 const Standard_Integer y );
73 void MoveEvent (const Standard_Integer x ,
74 const Standard_Integer y );
75 void ShiftMoveEvent (const Standard_Integer x ,
76 const Standard_Integer y );
77 void ShiftDragEvent (const Standard_Integer x ,
78 const Standard_Integer y ,
79 const Standard_Integer TheState);
80 void ShiftInputEvent(const Standard_Integer x ,
81 const Standard_Integer y );
82 void Popup (const Standard_Integer x ,
83 const Standard_Integer y );
87 #ifndef _DEBUG // debug version in GeometryView.cpp
88 inline CGeometryDoc* CGeometryView::GetDocument()
89 { return (CGeometryDoc*)m_pDocument; }
92 /////////////////////////////////////////////////////////////////////////////
94 //{{AFX_INSERT_LOCATION}}
95 // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
97 #endif // !defined(AFX_VIEWERVIEW_H__4EF39FBC_4EBB_11D1_8D67_0800369C8A03__INCLUDED_)