// TensorDialog.cpp : インプリメンテーション ファイル // #include "stdafx.h" #include "MeshEditor.h" #include "TensorDialog.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // TensorDialog ダイアログ TensorDialog::TensorDialog(CWnd* pParent /*=NULL*/) : CDialog(TensorDialog::IDD, pParent) { //{{AFX_DATA_INIT(TensorDialog) m_visual = 0; m_animate = false; //m_cur_iteration = 10; m_cur_iteration = 10; m_dire_iteration = 5; m_dire_T = 5.0f; //m_cur_T = 10.0f; m_cur_T = 0.1f; m_interval = 1; //}}AFX_DATA_INIT } void TensorDialog::DoDataExchange(CDataExchange* pDX) { CDialog::DoDataExchange(pDX); //{{AFX_DATA_MAP(TensorDialog) DDX_Radio(pDX, IDC_RADIO1, m_visual); DDX_Check(pDX, IDC_CHECK1, m_animate); DDX_Text(pDX, cur_iter, m_cur_iteration); DDX_Text(pDX, dire_iter, m_dire_iteration); DDX_Text(pDX, dire_T, m_dire_T); DDX_Text(pDX, cur_T, m_cur_T); DDX_Text(pDX, interval, m_interval); //}}AFX_DATA_MAP } BEGIN_MESSAGE_MAP(TensorDialog, CDialog) //{{AFX_MSG_MAP(TensorDialog) // メモ - ClassWizard はこの位置にマッピング用のマクロを追加または削除します。 //}}AFX_MSG_MAP END_MESSAGE_MAP() ///////////////////////////////////////////////////////////////////////////// // TensorDialog メッセージ ハンドラ