1 // DlgAttributes.h : header file
4 #if !defined(AFX_DLGATTRIBUTES_H__AF548353_9EF6_11D1_A47D_00C095ECDA78__INCLUDED_)
5 #define AFX_DLGATTRIBUTES_H__AF548353_9EF6_11D1_A47D_00C095ECDA78__INCLUDED_
9 #endif // _MSC_VER >= 1000
11 #include <AIS_InteractiveContext.hxx>
12 #include <ResultDialog.h>
14 /////////////////////////////////////////////////////////////////////////////
15 // DlgAttributes dialog
17 class DlgAttributes : public CDialog
21 void Set(Handle(AIS_InteractiveContext)& acontext, CResultDialog& aResultDialog);
22 DlgAttributes(CWnd* pParent=NULL);
25 //{{AFX_DATA(DlgAttributes)
26 enum { IDD = IDD_ATTRIBUTES };
27 // NOTE: the ClassWizard will add data members here
32 // ClassWizard generated virtual function overrides
33 //{{AFX_VIRTUAL(DlgAttributes)
35 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
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();
68 afx_msg void OnUpdateObjectTransparency(CCmdUI* pCmdUI) ;
73 void SetMaterial (Graphic3d_NameOfMaterial Material);
76 Handle(AIS_InteractiveContext) myAISContext;
77 CResultDialog* myCResultDialog;
80 //{{AFX_INSERT_LOCATION}}
81 // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
83 #endif // !defined(AFX_DLGATTRIBUTES_H__AF548353_9EF6_11D1_A47D_00C095ECDA78__INCLUDED_)