Integration of OCCT 6.5.0 from SVN
[occt.git] / samples / mfc / standard / 04_Viewer3d / src / DlgAttributes.h
CommitLineData
7fd59977 1// DlgAttributes.h : header file
2//
3
4#if !defined(AFX_DLGATTRIBUTES_H__AF548353_9EF6_11D1_A47D_00C095ECDA78__INCLUDED_)
5#define AFX_DLGATTRIBUTES_H__AF548353_9EF6_11D1_A47D_00C095ECDA78__INCLUDED_
6
7#if _MSC_VER >= 1000
8#pragma once
9#endif // _MSC_VER >= 1000
10
11#include <AIS_InteractiveContext.hxx>
12#include <ResultDialog.h>
13
14/////////////////////////////////////////////////////////////////////////////
15// DlgAttributes dialog
16
17class DlgAttributes : public CDialog
18{
19// Construction
20public:
21 void Set(Handle(AIS_InteractiveContext)& acontext, CResultDialog& aResultDialog);
22 DlgAttributes(CWnd* pParent=NULL);
23
24// Dialog Data
25 //{{AFX_DATA(DlgAttributes)
26 enum { IDD = IDD_ATTRIBUTES };
27 // NOTE: the ClassWizard will add data members here
28 //}}AFX_DATA
29
30
31// Overrides
32 // ClassWizard generated virtual function overrides
33 //{{AFX_VIRTUAL(DlgAttributes)
34 protected:
35 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
36 //}}AFX_VIRTUAL
37
38// Implementation
39protected:
40
41 // Generated message map functions
42 //{{AFX_MSG(DlgAttributes)
43 afx_msg void OnColor();
44 afx_msg void OnWireframe();
45 afx_msg void OnTransparency() ;
46 afx_msg void OnShading();
47 afx_msg void OnObjectMaterialAluminium();
48 afx_msg void OnObjectMaterialBrass();
49 afx_msg void OnObjectMaterialBronze();
50 afx_msg void OnObjectMaterialChrome();
51 afx_msg void OnObjectMaterialCopper();
52 afx_msg void OnObjectMaterialGold();
53 afx_msg void OnObjectMaterialJade();
54 afx_msg void OnObjectMaterialMetalized();
55 afx_msg void OnObjectMaterialNeonGNC();
56 afx_msg void OnObjectMaterialNeonPHC();
57 afx_msg void OnObjectMaterialObsidian();
58 afx_msg void OnObjectMaterialPewter();
59 afx_msg void OnObjectMaterialPlastic();
60 afx_msg void OnObjectMaterialPlaster();
61 afx_msg void OnObjectMaterialSatin();
62 afx_msg void OnObjectMaterialShinyPlastic();
63 afx_msg void OnObjectMaterialSilver();
64 afx_msg void OnObjectMaterialSteel();
65 afx_msg void OnObjectMaterialStone();
66 afx_msg void OnObjectMaterialDefault();
67
68 afx_msg void OnUpdateObjectTransparency(CCmdUI* pCmdUI) ;
69
70
71 //}}AFX_MSG
72 DECLARE_MESSAGE_MAP()
73 void SetMaterial (Graphic3d_NameOfMaterial Material);
74
75private:
76 Handle_AIS_InteractiveContext myAISContext;
77 CResultDialog* myCResultDialog;
78};
79
80//{{AFX_INSERT_LOCATION}}
81// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
82
83#endif // !defined(AFX_DLGATTRIBUTES_H__AF548353_9EF6_11D1_A47D_00C095ECDA78__INCLUDED_)