1 // OCC_3dView.h: interface for the OCC_3dView class.
3 //////////////////////////////////////////////////////////////////////
5 #if !defined(AFX_OCC_3DVIEW_H__1F4065AE_39C4_11D7_8611_0060B0EE281E__INCLUDED_)
6 #define AFX_OCC_3DVIEW_H__1F4065AE_39C4_11D7_8611_0060B0EE281E__INCLUDED_
10 #endif // _MSC_VER > 1000
12 #include "OCC_BaseView.h"
13 #include "OCC_3dDoc.h"
14 #include "OCC_StereoConfigDlg.h"
15 #include <Standard_Macro.hxx>
17 class Standard_EXPORT OCC_3dView : public OCC_BaseView
19 DECLARE_DYNCREATE(OCC_3dView)
22 virtual ~OCC_3dView();
24 OCC_3dDoc* GetDocument();
27 // ClassWizard generated virtual function overrides
28 //{{AFX_VIRTUAL(OCC_3dView)
30 virtual void OnInitialUpdate();
33 // Generated message map functions
35 //{{AFX_MSG(OCC_3dView)
36 afx_msg void OnBUTTONAxo();
37 afx_msg void OnBUTTONBack();
38 afx_msg void OnBUTTONBottom();
39 afx_msg void OnBUTTONFront();
40 afx_msg void OnBUTTONHlrOff();
41 afx_msg void OnBUTTONHlrOn();
42 afx_msg void OnBUTTONLeft();
43 afx_msg void OnBUTTONPan();
44 afx_msg void OnBUTTONPanGlo();
45 afx_msg void OnBUTTONReset();
46 afx_msg void OnBUTTONRight();
47 afx_msg void OnBUTTONRot();
48 afx_msg void OnBUTTONTop();
49 afx_msg void OnBUTTONZoomAll();
50 afx_msg void OnFileExportImage();
51 afx_msg void OnBUTTONZoomProg();
52 afx_msg void OnBUTTONZoomWin();
53 afx_msg void OnUpdateBUTTONHlrOff(CCmdUI* pCmdUI);
54 afx_msg void OnUpdateBUTTONHlrOn(CCmdUI* pCmdUI);
55 afx_msg void OnUpdateBUTTONPanGlo(CCmdUI* pCmdUI);
56 afx_msg void OnUpdateBUTTONPan(CCmdUI* pCmdUI);
57 afx_msg void OnUpdateBUTTONZoomProg(CCmdUI* pCmdUI);
58 afx_msg void OnUpdateBUTTONZoomWin(CCmdUI* pCmdUI);
59 afx_msg void OnUpdateBUTTONRot(CCmdUI* pCmdUI);
60 afx_msg void OnModifyChangeBackground();
61 afx_msg void OnStereoConfigButton();
62 afx_msg void OnUpdateStereoConfigButton (CCmdUI* theCmdUI);
67 virtual void AssertValid() const;
68 virtual void Dump(CDumpContext& dc) const;
73 //! Persistent non blocking stereo configuration dialog
74 OCC_StereoConfigDlg* m_pStereoDlg;
77 #ifndef _DEBUG // debug version in OCC_3dView.cpp
78 inline OCC_3dDoc* OCC_3dView::GetDocument()
79 { return (OCC_3dDoc*)m_pDocument; }
82 #endif // !defined(AFX_OCC_3DVIEW_H__1F4065AE_39C4_11D7_8611_0060B0EE281E__INCLUDED_)