Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

VolumeDialog.h

Go to the documentation of this file.
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 
00030 // Dialog Data
00031         //{{AFX_DATA(CVolumeDialog)
00032         enum { IDD = IDD_VOLUME_DIALOG };
00033         int             m_dFHTreshold;
00034         float   m_fAmbient;
00035         float   m_fDiffuse;
00036         int             m_dHeight;
00037         int             m_dWidth;
00038         float   m_fZoom;
00039         int             m_dX;
00040         int             m_dY;
00041         int             m_dZ;
00042         int             m_dHighlight;
00043         int             m_dLX;
00044         int             m_dLY;
00045         int             m_dLZ;
00046         float   m_fSpecular;
00047         BOOL    m_bLight;
00048         //}}AFX_DATA
00049 
00050         
00051 
00052 // Construction
00053 public:
00054         CVolumeDialog(CWnd* pParent = NULL);   // standard constructor
00055 
00056 
00057 
00058 // Overrides
00059         // ClassWizard generated virtual function overrides
00060         //{{AFX_VIRTUAL(CVolumeDialog)
00061         protected:
00062         virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
00063         //}}AFX_VIRTUAL
00064 
00065 // Implementation
00066 protected:
00067 
00068         // Generated message map functions
00069         //{{AFX_MSG(CVolumeDialog)
00070         afx_msg void OnShowWindow(BOOL bShow, UINT nStatus);
00071         afx_msg void OnRadioFirsthit();
00072         afx_msg void OnRadioStandard();
00073         afx_msg void OnRadioMip();
00074         afx_msg void OnRadioVolXy();
00075         afx_msg void OnRadioVolXz();
00076         afx_msg void OnRadioVolYz();
00077         afx_msg void OnChangeEditFhThreshold();
00078         afx_msg void OnChangeEditZoom();
00079         afx_msg void OnChangeEditHeight();
00080         afx_msg void OnChangeEditWidth();
00081         afx_msg void OnChangeEditAmbient();
00082         afx_msg void OnChangeEditDiffuse();
00083         afx_msg void OnButtonBgcolor();
00084         afx_msg void OnPaint();
00085         afx_msg void OnChangeEditX();
00086         afx_msg void OnChangeEditY();
00087         afx_msg void OnChangeEditZ();
00088         afx_msg void OnCheckLight();
00089         afx_msg void OnChangeEditLightposX();
00090         afx_msg void OnChangeEditLightposY();
00091         afx_msg void OnChangeEditLightposZ();
00092         afx_msg void OnChangeEditHighlight();
00093         afx_msg void OnChangeEditSpecular();
00094         afx_msg void OnRadioXray();
00095         //}}AFX_MSG
00096         DECLARE_MESSAGE_MAP()
00097 };
00098 
00099 //{{AFX_INSERT_LOCATION}}
00100 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
00101 
00102 #endif // !defined(AFX_VOLUMEDIALOG_H__97EB7575_4378_4939_8F32_96383AD5D71E__INCLUDED_)

Generated on Thu Jan 23 12:32:16 2003 by doxygen1.3-rc2