00001 #if !defined(AFX_VOLUMEDIALOG_H__97EB7575_4378_4939_8F32_96383AD5D71E__INCLUDED_) 00002 #define AFX_VOLUMEDIALOG_H__97EB7575_4378_4939_8F32_96383AD5D71E__INCLUDED_ 00003 00004 #if _MSC_VER > 1000 00005 #pragma once 00006 #endif // _MSC_VER > 1000 00007 // VolumeDialog.h : header file 00008 // 00009 00011 // CVolumeDialog dialog 00012 00013 00014 enum button_t { 00015 NONE, DOWN, LEFT, RIGHT, UP 00016 }; 00017 00018 00019 class CVolumeDialog : public CDialog 00020 { 00021 int m_dRotateTo; 00022 int m_dRenderMode; 00023 int m_dRenderPlane; 00024 bool m_bfirst; 00025 00026 COLORREF m_BGColor; 00027 00028 00029 // Dialog Data 00030 //{{AFX_DATA(CVolumeDialog) 00031 enum { IDD = IDD_VOLUME_DIALOG }; 00032 int m_dFHTreshold; 00033 float m_fAmbient; 00034 float m_fDiffuse; 00035 int m_dHeight; 00036 int m_dWidth; 00037 float m_fZoom; 00038 int m_dHighlight; 00039 int m_dLX; 00040 int m_dLY; 00041 int m_dLZ; 00042 float m_fSpecular; 00043 BOOL m_bLight; 00044 int m_dXRayMax; 00045 int m_dXRayMin; 00046 int m_dXAngle; 00047 int m_dYAngle; 00048 int m_dZAngle; 00049 //}}AFX_DATA 00050 00051 00052 00053 // Construction 00054 public: 00055 CVolumeDialog(CWnd* pParent = NULL); // standard constructor 00056 00057 00058 00059 // Overrides 00060 // ClassWizard generated virtual function overrides 00061 //{{AFX_VIRTUAL(CVolumeDialog) 00062 protected: 00063 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support 00064 //}}AFX_VIRTUAL 00065 00066 // Implementation 00067 protected: 00068 00069 // Generated message map functions 00070 //{{AFX_MSG(CVolumeDialog) 00071 afx_msg void OnShowWindow(BOOL bShow, UINT nStatus); 00072 afx_msg void OnRadioFirsthit(); 00073 afx_msg void OnRadioStandard(); 00074 afx_msg void OnRadioMip(); 00075 afx_msg void OnChangeEditFhThreshold(); 00076 afx_msg void OnChangeEditZoom(); 00077 afx_msg void OnChangeEditHeight(); 00078 afx_msg void OnChangeEditWidth(); 00079 afx_msg void OnChangeEditAmbient(); 00080 afx_msg void OnChangeEditDiffuse(); 00081 afx_msg void OnButtonBgcolor(); 00082 afx_msg void OnPaint(); 00083 afx_msg void OnCheckLight(); 00084 afx_msg void OnChangeEditLightposX(); 00085 afx_msg void OnChangeEditLightposY(); 00086 afx_msg void OnChangeEditLightposZ(); 00087 afx_msg void OnChangeEditHighlight(); 00088 afx_msg void OnChangeEditSpecular(); 00089 afx_msg void OnRadioXray(); 00090 afx_msg void OnChangeEditXrayMax(); 00091 afx_msg void OnChangeEditXrayMin(); 00092 afx_msg void OnChangeEditXAngle(); 00093 afx_msg void OnChangeEditYAngle(); 00094 afx_msg void OnButtonXPlus(); 00095 afx_msg void OnButtonXMinus(); 00096 afx_msg void OnButtonYPlus(); 00097 afx_msg void OnButtonYMinus(); 00098 afx_msg void OnChangeEditZAngle(); 00099 afx_msg void OnButtonZPlus(); 00100 afx_msg void OnButtonZMinus(); 00101 //}}AFX_MSG 00102 DECLARE_MESSAGE_MAP() 00103 }; 00104 00105 //{{AFX_INSERT_LOCATION}} 00106 // Microsoft Visual C++ will insert additional declarations immediately before the previous line. 00107 00108 #endif // !defined(AFX_VOLUMEDIALOG_H__97EB7575_4378_4939_8F32_96383AD5D71E__INCLUDED_)