VISDlg.h
资源名称:VIS.zip [点击查看]
上传用户:sdgangtie
上传日期:2020-03-07
资源大小:7324k
文件大小:2k
源码类别:
数值算法/人工智能
开发平台:
Visual C++
- // VISDlg.h : header file
- //
- #pragma once
- #include "afxcmn.h"
- #include "afxwin.h"
- #include "BtnST.h"
- #include "ListBox.h"
- #include "RunTrack.h"
- #include "ParamSetting.h"
- // CVISDlg dialog
- class CVISDlg : public CDialog
- {
- // Construction
- public:
- CVISDlg(CWnd* pParent = NULL); // standard constructor
- // Dialog Data
- enum { IDD = IDD_VIS_DIALOG };
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- // Implementation
- protected:
- HICON m_hIcon;
- // Generated message map functions
- virtual BOOL OnInitDialog();
- afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
- afx_msg void OnPaint();
- afx_msg HCURSOR OnQueryDragIcon();
- afx_msg void OnBnClickedAdd();
- afx_msg void OnBnClickedDelete();
- afx_msg void OnBnClickedOpen();
- afx_msg void OnBnClickedRun();
- afx_msg void OnBnClickedStop();
- afx_msg void OnStyleNormal();
- afx_msg void OnStyleTemped();
- afx_msg void OnStyleResult();
- afx_msg void OnLbnDblclkList();
- afx_msg void OnLbnSelchangeList();
- afx_msg void OnBnClickedSetting();
- afx_msg void OnRButtonUp(UINT nFlags, CPoint point);
- afx_msg void OnSize(UINT nType, int cx, int cy);
- afx_msg void OnExit();
- afx_msg void OnNMReleasedcaptureSlider(NMHDR *pNMHDR, LRESULT *pResult);
- afx_msg void OnTimer(UINT_PTR nIDEvent);
- DECLARE_MESSAGE_MAP()
- void DrawFrameToHDC(IplImage* pImage, UINT ID);
- void GetParamFromDlg();
- private:
- int m_FilePathIndex;
- int m_RunStyle;
- ListBox m_ListBoxCtrl;
- CMenu menu;
- CStringList m_FilePathList;
- CSliderCtrl m_SliderCtrl;
- CStatusBarCtrl* m_StatusBar;
- CParamSetting m_ParamDlg;
- CButtonST m_Add;
- CButtonST m_Del;
- CButtonST m_Mod;
- CButton m_Open;
- CButton m_Run;
- CButton m_Stop;
- CButtonST m_Setting;
- IplImage* m_pImage;
- CString m_FilePath;
- CString m_TimeValue;
- RunTrack m_pRunTrack;
- CvParamSet m_ParamSetDlg;
- };