7fd59977 |
1 | // OCC_3dBaseDoc.h: interface for the OCC_3dBaseDoc class. |
2 | // |
3 | ////////////////////////////////////////////////////////////////////// |
4 | |
5 | #if !defined(AFX_OCC_3DBASEDOC_H__02CE7BD9_39BE_11D7_8611_0060B0EE281E__INCLUDED_) |
6 | #define AFX_OCC_3DBASEDOC_H__02CE7BD9_39BE_11D7_8611_0060B0EE281E__INCLUDED_ |
7 | |
8 | #if _MSC_VER > 1000 |
9 | #pragma once |
10 | #endif // _MSC_VER > 1000 |
11 | |
12 | #include "OCC_BaseDoc.h" |
13 | #include <Standard_Macro.hxx> |
14 | |
15 | class AFX_EXT_CLASS OCC_3dBaseDoc : public OCC_BaseDoc |
16 | { |
17 | public: |
7fd59977 |
18 | |
5c1f974e |
19 | OCC_3dBaseDoc(); |
20 | |
21 | void SetMaterial(Graphic3d_NameOfMaterial Material); |
22 | |
23 | |
24 | virtual void DragEvent (const Standard_Integer theMouseX, |
25 | const Standard_Integer theMouseY, |
26 | const Standard_Integer theState, |
27 | const Handle(V3d_View)& theView); |
28 | |
29 | virtual void InputEvent (const Standard_Integer theMouseX, |
30 | const Standard_Integer theMouseY, |
31 | const Handle(V3d_View)& theView); |
32 | |
33 | virtual void MoveEvent (const Standard_Integer theMouseX, |
34 | const Standard_Integer theMouseY, |
35 | const Handle(V3d_View)& theView); |
36 | |
37 | virtual void ShiftMoveEvent (const Standard_Integer theMouseX, |
38 | const Standard_Integer theMouseY, |
39 | const Handle(V3d_View)& theView); |
40 | |
41 | virtual void ShiftDragEvent (const Standard_Integer theMouseX, |
42 | const Standard_Integer theMouseY, |
43 | const Standard_Integer theState, |
44 | const Handle(V3d_View)& theView); |
45 | |
46 | virtual void ShiftInputEvent (const Standard_Integer theMouseX, |
47 | const Standard_Integer theMouseY, |
48 | const Handle(V3d_View)& theView); |
49 | |
50 | virtual void Popup (const Standard_Integer theMouseX, |
51 | const Standard_Integer theMouseY, |
52 | const Handle(V3d_View)& theView); |
53 | |
54 | static void Fit(); |
55 | |
56 | int OnFileImportBrep_WithInitDir(LPCTSTR InitialDir); |
57 | |
58 | // Generated message map functions |
59 | protected: |
60 | //{{AFX_MSG(OCC_3dBaseDoc) |
61 | afx_msg void OnFileImportBrep(); |
62 | afx_msg void OnFileExportBrep(); |
63 | afx_msg void OnObjectErase(); |
64 | afx_msg void OnUpdateObjectErase(CCmdUI* pCmdUI); |
65 | afx_msg void OnObjectColor(); |
66 | afx_msg void OnUpdateObjectColor(CCmdUI* pCmdUI); |
67 | afx_msg void OnObjectShading(); |
68 | afx_msg void OnUpdateObjectShading(CCmdUI* pCmdUI); |
69 | afx_msg void OnObjectWireframe(); |
70 | afx_msg void OnUpdateObjectWireframe(CCmdUI* pCmdUI); |
71 | afx_msg void OnObjectTransparency(); |
72 | afx_msg void OnUpdateObjectTransparency(CCmdUI* pCmdUI) ; |
73 | afx_msg void OnObjectMaterial(); |
74 | afx_msg void OnUpdateObjectMaterial(CCmdUI* pCmdUI); |
75 | afx_msg BOOL OnObjectMaterialRange(UINT nID); |
76 | afx_msg void OnUpdateObjectMaterialRange(CCmdUI* pCmdUI); |
77 | afx_msg void OnObjectDisplayall(); |
78 | afx_msg void OnUpdateObjectDisplayall(CCmdUI* pCmdUI); |
79 | afx_msg void OnObjectRemove(); |
80 | afx_msg void OnUpdateObjectRemove(CCmdUI* pCmdUI); |
81 | //}}AFX_MSG |
82 | DECLARE_MESSAGE_MAP() |
7fd59977 |
83 | }; |
84 | |
85 | #endif // !defined(AFX_OCC_3dBaseDoc_H__02CE7BD9_39BE_11D7_8611_0060B0EE281E__INCLUDED_) |