#pragma once #include "ParameterSet.h" ////////////////////////////////////////////////////////////////////////////////////////// // // CSetMotion ダイアログ // class CSetMotion : public CDialog { DECLARE_DYNAMIC(CSetMotion) public: CSetMotion(NiSDK_Lib lib, CParameterSet prm, CWnd* pParent=NULL); // 標準コンストラクタ virtual ~CSetMotion() {} CParameterSet getParameter(void) { return param;} // ダイアログ データ enum { IDD = IDD_SETMOTION }; protected: NiSDK_Lib sdk_lib; CParameterSet param; CButton* posButton; CButton* rotButton; CSliderCtrl* cnfdncSldr; CEdit* cnfdncEBox; CButton* jntButton; CButton* maSmthBtn; CComboBox* maTypeCombo; CComboBox* maNumCombo; CButton* niteSmthBtn; CSliderCtrl* smoothSldr; CEdit* smoothEBox; CComboBox* partsCombo; float confidence; float smoothNITE; protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV サポート DECLARE_MESSAGE_MAP() public: virtual BOOL OnInitDialog(); protected: virtual void OnOK(); public: afx_msg void OnChangeConfidence(); afx_msg void OnChangeSmooth(); afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); afx_msg void OnBnClickedCheckNiteSmooth(); afx_msg void OnBnClickedCheckMvavSmooth(); };