tvidlg.h

来自「该代码用于计算波段的TVI值,该代码来源于作业程序,属于实验程序」· C头文件 代码 · 共 58 行

H
58
字号
#if !defined(AFX_TVIDLG_H__33EF2E18_40BE_40F0_9FD5_C90EA48EE69B__INCLUDED_)
#define AFX_TVIDLG_H__33EF2E18_40BE_40F0_9FD5_C90EA48EE69B__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// TVIDlg.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CTVIDlg dialog

class CTVIDlg : public CDialog
{
// Construction
public:
	void GetBand(int nBand);
	CTVIDlg(CWnd* pParent = NULL);   // standard constructor
   	
// Dialog Data
	//{{AFX_DATA(CTVIDlg)
	enum { IDD = IDD_DIALOG1 };
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CTVIDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
	protected:
	int m_nBand;
	int m_redBand;
	int m_greenBand;
	int m_blueBand; 

	// Generated message map functions
	//{{AFX_MSG(CTVIDlg)
	afx_msg void OnRed();
	afx_msg void OnGreen();
	afx_msg void OnBlue();
	afx_msg void OnNir();
	afx_msg void OnButton1();
	afx_msg void OnButton2();
	afx_msg void OnButton3();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_TVIDLG_H__33EF2E18_40BE_40F0_9FD5_C90EA48EE69B__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?