0032709: Samples, MFC - remove samples Viewer2d, Viewer3d, Ocaf, Triangulation, Anima...
[occt.git] / samples / mfc / standard / 05_ImportExport / src / ImportExportDoc.h
1 // ImportExportDoc.h : interface of the CImportExportDoc class
2 //
3 /////////////////////////////////////////////////////////////////////////////
4
5 #if !defined(AFX_IMPORTEXPORTDOC_H__88A2147C_3B23_11D2_8E1E_0800369C8A03__INCLUDED_)
6 #define AFX_IMPORTEXPORTDOC_H__88A2147C_3B23_11D2_8E1E_0800369C8A03__INCLUDED_
7
8 #if _MSC_VER >= 1000
9 #pragma once
10 #endif // _MSC_VER >= 1000
11
12 #include <ColoredShapes.h>
13 #include <OCC_3dDoc.h>
14
15 class CImportExportDoc : public OCC_3dDoc
16 {
17         DECLARE_DYNCREATE(CImportExportDoc)
18 public:
19         CImportExportDoc();
20         virtual ~CImportExportDoc();
21         virtual void Serialize(CArchive& ar);
22
23         void ActivateFrame(CRuntimeClass* pViewClass, int nCmdShow = SW_RESTORE  );
24     virtual void Popup (const Standard_Integer  x       ,
25                                         const Standard_Integer  y       ,
26                         const Handle(V3d_View)& aView   ); 
27
28
29 // Implementation
30 #ifdef _DEBUG
31         virtual void AssertValid() const;
32         virtual void Dump(CDumpContext& dc) const;
33 #endif
34
35 // Generated message map functions
36 protected:
37         //{{AFX_MSG(CImportExportDoc)
38         afx_msg void OnFileImportIges();
39         afx_msg void OnFileExportIges();
40         afx_msg void OnFileImportStep();
41         afx_msg void OnFileExportStep();
42         afx_msg void OnFileImportBrep();
43 //      afx_msg void OnWindowNew3d();
44         afx_msg void OnFileExportVrml();
45         afx_msg void OnFileExportStl();
46         afx_msg void OnBox();
47         afx_msg void OnCylinder();
48         afx_msg void OnObjectRemove();
49         afx_msg void OnObjectErase();
50         afx_msg void OnObjectDisplayall();
51         //}}AFX_MSG
52         DECLARE_MESSAGE_MAP()
53
54 //Attributes
55 protected:
56         CColoredShapes* m_pcoloredshapeList;
57 };
58
59 /////////////////////////////////////////////////////////////////////////////
60
61 //{{AFX_INSERT_LOCATION}}
62 // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
63
64 #endif // !defined(AFX_IMPORTEXPORTDOC_H__88A2147C_3B23_11D2_8E1E_0800369C8A03__INCLUDED_)