DrawYTM.cpp
Upload User: fjejplh001
Upload Date: 2007-06-11
Package Size: 324k
Code Size: 1k
Category:

3D Graphic

Development Platform:

Visual C++

  1. // DrawYTM.cpp : implementation file
  2. //
  3. #include "stdafx.h"
  4. #include "Visual.h"
  5. #include "DrawYTM.h"
  6. #ifdef _DEBUG
  7. #define new DEBUG_NEW
  8. #undef THIS_FILE
  9. static char THIS_FILE[] = __FILE__;
  10. #endif
  11. /////////////////////////////////////////////////////////////////////////////
  12. // CDrawYTM dialog
  13. CDrawYTM::CDrawYTM(CWnd* pParent /*=NULL*/)
  14. : CDialog(CDrawYTM::IDD, pParent)
  15. {
  16. //{{AFX_DATA_INIT(CDrawYTM)
  17. m_YTMCB = 0.0f;
  18. m_YTMCG = 1.0f;
  19. m_YTMCR = 0.0f;
  20. m_YTMh = 0.0;
  21. m_YTMR = 0.0;
  22. m_YTMr0 = 0.0;
  23. m_YTMRX = 0.0;
  24. m_YTMRY = 0.0;
  25. m_YTMRZ = 0.0;
  26. m_YTMx = 0.0;
  27. m_YTMy = 0.0;
  28. m_YTMz = 0.0;
  29. //}}AFX_DATA_INIT
  30. }
  31. void CDrawYTM::DoDataExchange(CDataExchange* pDX)
  32. {
  33. CDialog::DoDataExchange(pDX);
  34. //{{AFX_DATA_MAP(CDrawYTM)
  35. DDX_Text(pDX, IDC_YTMCB, m_YTMCB);
  36. DDX_Text(pDX, IDC_YTMCG, m_YTMCG);
  37. DDX_Text(pDX, IDC_YTMCR, m_YTMCR);
  38. DDX_Text(pDX, IDC_YTMh, m_YTMh);
  39. DDX_Text(pDX, IDC_YTMR, m_YTMR);
  40. DDX_Text(pDX, IDC_YTMr0, m_YTMr0);
  41. DDX_Text(pDX, IDC_YTMRX, m_YTMRX);
  42. DDX_Text(pDX, IDC_YTMRY, m_YTMRY);
  43. DDX_Text(pDX, IDC_YTMRZ, m_YTMRZ);
  44. DDX_Text(pDX, IDC_YTMx, m_YTMx);
  45. DDX_Text(pDX, IDC_YTMy, m_YTMy);
  46. DDX_Text(pDX, IDC_YTMz, m_YTMz);
  47. //}}AFX_DATA_MAP
  48. }
  49. BEGIN_MESSAGE_MAP(CDrawYTM, CDialog)
  50. //{{AFX_MSG_MAP(CDrawYTM)
  51. // NOTE: the ClassWizard will add message map macros here
  52. //}}AFX_MSG_MAP
  53. END_MESSAGE_MAP()
  54. /////////////////////////////////////////////////////////////////////////////
  55. // CDrawYTM message handlers