0033661: Data Exchange, Step Import - Tessellated GDTs are not imported
[occt.git] / samples / mfc / standard / Common / OCC_3dDoc.h
CommitLineData
7fd59977 1// OCC_3dDoc.h: interface for the OCC_3dDoc class.
2//
3//////////////////////////////////////////////////////////////////////
4
5#if !defined(AFX_OCC_3DDOC_H__1F4065AD_39C4_11D7_8611_0060B0EE281E__INCLUDED_)
6#define AFX_OCC_3DDOC_H__1F4065AD_39C4_11D7_8611_0060B0EE281E__INCLUDED_
7
8#if _MSC_VER > 1000
9#pragma once
10#endif // _MSC_VER > 1000
11
12#include "OCC_3dBaseDoc.h"
13#include "ResultDialog.h"
14#include <Standard_Macro.hxx>
15
47162471 16// Event tracker for 3D views with support of advanced message dialog operations
17// and dimensions dialog
0553a8ea 18class Standard_EXPORT OCC_3dDoc : public OCC_3dBaseDoc
7fd59977 19{
20public:
7fd59977 21
47162471 22 OCC_3dDoc (bool theIsResultDialog = true);
23 virtual ~OCC_3dDoc();
7fd59977 24
47162471 25public: // Dialog operations
26
27 void SetDialogTitle(TCollection_AsciiString theTitle);
28 CString GetDialogText();
29
30 void PocessTextInDialog (CString theTitle, CString theMessage);
31 void PocessTextInDialog (CString theTitle, const TCollection_AsciiString& theMessage)
32 {
33 CString aMessage (theMessage.ToCString());
34 PocessTextInDialog (theTitle, aMessage);
35 }
36
37 void ClearDialog();
38 void AddTextInDialog(TCollection_AsciiString& aMessage);
7fd59977 39
40protected:
47162471 41
42 afx_msg void OnObjectAddDimensions();
43 DECLARE_MESSAGE_MAP()
44
45protected:
46
47 CResultDialog myCResultDialog;
48 CDimensionDlg myDimensionDlg;
7fd59977 49};
50
51#endif // !defined(AFX_OCC_3DDOC_H__1F4065AD_39C4_11D7_8611_0060B0EE281E__INCLUDED_)