0033661: Data Exchange, Step Import - Tessellated GDTs are not imported
[occt.git] / samples / mfc / standard / Common / OCC_3dView.h
CommitLineData
7fd59977 1// OCC_3dView.h: interface for the OCC_3dView class.
2//
3//////////////////////////////////////////////////////////////////////
4
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_
7
8#if _MSC_VER > 1000
9#pragma once
10#endif // _MSC_VER > 1000
11
12#include "OCC_BaseView.h"
5c1f974e 13#include "OCC_3dDoc.h"
b5ac8292 14#include "OCC_StereoConfigDlg.h"
7fd59977 15#include <Standard_Macro.hxx>
16
0553a8ea 17class Standard_EXPORT OCC_3dView : public OCC_BaseView
7fd59977 18{
19 DECLARE_DYNCREATE(OCC_3dView)
20public:
21 OCC_3dView();
22 virtual ~OCC_3dView();
23
5c1f974e 24 OCC_3dDoc* GetDocument();
7fd59977 25
7fd59977 26// Overrides
27 // ClassWizard generated virtual function overrides
28 //{{AFX_VIRTUAL(OCC_3dView)
de75ed09 29public:
7fd59977 30 virtual void OnInitialUpdate();
31 //}}AFX_VIRTUAL
32
33// Generated message map functions
34protected:
35 //{{AFX_MSG(OCC_3dView)
7ff18fb9 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();
b5ac8292 61 afx_msg void OnStereoConfigButton();
62 afx_msg void OnUpdateStereoConfigButton (CCmdUI* theCmdUI);
7fd59977 63 //}}AFX_MSG
64 DECLARE_MESSAGE_MAP()
65
66#ifdef _DEBUG
67 virtual void AssertValid() const;
68 virtual void Dump(CDumpContext& dc) const;
69#endif
70
b5ac8292 71private:
72
73 //! Persistent non blocking stereo configuration dialog
74 OCC_StereoConfigDlg* m_pStereoDlg;
7fd59977 75};
76
77#ifndef _DEBUG // debug version in OCC_3dView.cpp
5c1f974e 78inline OCC_3dDoc* OCC_3dView::GetDocument()
79 { return (OCC_3dDoc*)m_pDocument; }
7fd59977 80#endif
81
82#endif // !defined(AFX_OCC_3DVIEW_H__1F4065AE_39C4_11D7_8611_0060B0EE281E__INCLUDED_)