1 // OCC_3dDoc.h: interface for the OCC_3dDoc class.
3 //////////////////////////////////////////////////////////////////////
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_
10 #endif // _MSC_VER > 1000
12 #include "OCC_3dBaseDoc.h"
13 #include "ResultDialog.h"
14 #include <Standard_Macro.hxx>
16 // Event tracker for 3D views with support of advanced message dialog operations
17 // and dimensions dialog
18 class Standard_EXPORT OCC_3dDoc : public OCC_3dBaseDoc
22 OCC_3dDoc (bool theIsResultDialog = true);
25 public: // Dialog operations
27 void SetDialogTitle(TCollection_AsciiString theTitle);
28 CString GetDialogText();
30 void PocessTextInDialog (CString theTitle, CString theMessage);
31 void PocessTextInDialog (CString theTitle, const TCollection_AsciiString& theMessage)
33 CString aMessage (theMessage.ToCString());
34 PocessTextInDialog (theTitle, aMessage);
38 void AddTextInDialog(TCollection_AsciiString& aMessage);
42 afx_msg void OnObjectAddDimensions();
47 CResultDialog myCResultDialog;
48 CDimensionDlg myDimensionDlg;
51 #endif // !defined(AFX_OCC_3DDOC_H__1F4065AD_39C4_11D7_8611_0060B0EE281E__INCLUDED_)