00001 #if !defined(AFX_MYDEPTHCODINGDIALOG_H__05951A45_F753_4804_810A_B79836D8FFAA__INCLUDED_)
00002 #define AFX_MYDEPTHCODINGDIALOG_H__05951A45_F753_4804_810A_B79836D8FFAA__INCLUDED_
00003
00004 #include "gl/gl.h"
00005
00006 #if _MSC_VER > 1000
00007 #pragma once
00008 #endif // _MSC_VER > 1000
00009
00010
00011
00013
00014
00016 class MyDepthCodingDialog : public CDialog
00017 {
00018
00019 public:
00021 int GetIntensity();
00023 void SetIntensity(int intensity);
00024
00026 void GetColor(GLubyte *color);
00028 void SetColor(GLubyte *color);
00030 void SetDepthType(int depthType);
00032 int GetDepthType();
00033
00035 CColorDialog m_ColorDialog;
00036
00037 MyDepthCodingDialog(CWnd* pParent = NULL);
00038
00039
00040
00041 enum { IDD = IDD_DEPTHCODINGDIALOG };
00042 int m_DepthType;
00043 int m_Intensity;
00044
00045
00046
00047
00048
00049
00050 protected:
00051 virtual void DoDataExchange(CDataExchange* pDX);
00052
00053
00054
00055 protected:
00056
00057
00058
00059 afx_msg void OnPaint();
00060 afx_msg void OnColorButton();
00061 virtual BOOL OnInitDialog();
00062
00063 DECLARE_MESSAGE_MAP()
00064 };
00065
00066
00067
00068
00069 #endif // !defined(AFX_MYDEPTHCODINGDIALOG_H__05951A45_F753_4804_810A_B79836D8FFAA__INCLUDED_)