0026936: Drawbacks of inlining in new type system in OCCT 7.0 -- automatic
[occt.git] / samples / mfc / standard / 08_HLR / src / HLRDoc.h
CommitLineData
7fd59977 1// HLRDoc.h : interface of the CHLRDoc class
2//
3/////////////////////////////////////////////////////////////////////////////
4
5#if !defined(AFX_HLRDOC_H__376C700E_0B3D_11D2_8E0A_0800369C8A03__INCLUDED_)
6#define AFX_HLRDOC_H__376C700E_0B3D_11D2_8E0A_0800369C8A03__INCLUDED_
7
8#if _MSC_VER >= 1000
9#pragma once
10#endif // _MSC_VER >= 1000
11
7fd59977 12#include "SelectionDialog.h"
13#include <OCC_3dDoc.h>
14
15class CHLRDoc : public OCC_3dBaseDoc
16{
17public:
18
19protected: // create from serialization only
5c1f974e 20 CHLRDoc();
21 DECLARE_DYNCREATE(CHLRDoc)
22 // Attributes
7fd59977 23public:
24
5c1f974e 25 // Implementation
7fd59977 26public:
5c1f974e 27 virtual ~CHLRDoc();
28 void Fit();
7fd59977 29#ifdef _DEBUG
5c1f974e 30 virtual void AssertValid() const;
31 virtual void Dump(CDumpContext& dc) const;
7fd59977 32#endif
33protected:
34
5c1f974e 35 // Generated message map functions
7fd59977 36protected:
5c1f974e 37 //{{AFX_MSG(CHLRDoc)
38 afx_msg void OnWindowNew3d();
39 afx_msg void OnWindowNew2d();
40 afx_msg void OnFileImportBrep();
41 afx_msg void OnBUTTONHLRDialog();
b3837d74 42 afx_msg void OnObjectErase();
7fd59977 43 //}}AFX_MSG
5c1f974e 44 DECLARE_MESSAGE_MAP()
7fd59977 45
46public :
5c1f974e 47 void ActivateFrame(CRuntimeClass* pViewClass, int nCmdShow = SW_RESTORE );
7fd59977 48
49private:
92efcf78 50 Handle(V3d_Viewer) my2DViewer;
51 Handle(AIS_InteractiveContext) myInteractiveContext2D;
7fd59977 52public :
92efcf78 53 Handle(V3d_Viewer) GetViewer2D() { return my2DViewer; };
54 Handle(AIS_InteractiveContext)& GetInteractiveContext2D(){ return myInteractiveContext2D; };
5c1f974e 55 void FitAll2DViews(Standard_Boolean UpdateViewer=Standard_False);
7fd59977 56
57public :
58 CSelectionDialog* myCSelectionDialog;
59 bool myCSelectionDialogIsCreated;
60};
61
62/////////////////////////////////////////////////////////////////////////////
63
64//{{AFX_INSERT_LOCATION}}
65// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
66
67#endif // !defined(AFX_HLRDOC_H__376C700E_0B3D_11D2_8E0A_0800369C8A03__INCLUDED_)