1 // TriangulationDoc.h : interface of the CTopologyTriangulationDoc class
2 //
3 /////////////////////////////////////////////////////////////////////////////
4 
5 #if !defined(AFX_TRIANGULATIONDOC_H__3045338B_3E75_11D7_8611_0060B0EE281E__INCLUDED_)
6 #define AFX_TRIANGULATIONDOC_H__3045338B_3E75_11D7_8611_0060B0EE281E__INCLUDED_
7 
8 #if _MSC_VER >= 1000
9 #pragma once
10 #endif // _MSC_VER >= 1000
11 
12 #include <OCC_3dDoc.h>
13 //#include "OCCDemo_Presentation.h"
14 class OCCDemo_Presentation;
15 
16 class CTriangulationDoc : public OCC_3dDoc
17 {
18 
19 protected: // create from serialization only
20 	CTriangulationDoc();
21 	DECLARE_DYNCREATE(CTriangulationDoc)
22 	void InitViewButtons();
23 	void DoSample();
24 public:
25 	virtual ~CTriangulationDoc();
26 	void Start();
27 	static void Fit();
GetDataDir()28 	Standard_CString GetDataDir() {return myDataDir;}
29 #ifdef _DEBUG
30 	virtual void AssertValid() const;
31 	virtual void Dump(CDumpContext& dc) const;
32 #endif
33 
34 // Generated message map functions
35 protected:
36 	//{{AFX_MSG(CTriangulationDoc)
37 	afx_msg void OnTriangu();
38 	afx_msg void OnClear();
39 	afx_msg void OnVisu();
40 	afx_msg void OnBUTTONNext();
41 	afx_msg void OnBUTTONStart();
42 	afx_msg void OnBUTTONRepeat();
43 	afx_msg void OnBUTTONPrev();
44 	afx_msg void OnBUTTONEnd();
45 	afx_msg void OnUpdateBUTTONNext(CCmdUI* pCmdUI);
46 	afx_msg void OnUpdateBUTTONPrev(CCmdUI* pCmdUI);
47 	afx_msg void OnFileNew();
48 	afx_msg void OnDumpView();
49 	//}}AFX_MSG
50 	DECLARE_MESSAGE_MAP()
51 private:
52 	OCCDemo_Presentation *myPresentation;
53 	char myDataDir[5]; // for "Data\0"
54 	char myLastPath[MAX_PATH]; // directory of lastly saved file in DumpView()
55 
56 };
57 
58 /////////////////////////////////////////////////////////////////////////////
59 
60 //{{AFX_INSERT_LOCATION}}
61 // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
62 
63 #endif // !defined(AFX_TRIANGULATIONDOC_H__3045338B_3E75_11D7_8611_0060B0EE281E__INCLUDED_)
64