📄 geocorpage.h
字号:
#if !defined(AFX_GEOCORPAGE_H__A05F3700_81B3_11D3_8B6A_0000E83F643B__INCLUDED_)
#define AFX_GEOCORPAGE_H__A05F3700_81B3_11D3_8B6A_0000E83F643B__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "GisPoint.h"
#include "RSIPTic.h"
// GeoCorPage.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CGeoCorPage1 PropertyPage
class CGeoCorPage1 : public CPropertyPage
{
DECLARE_DYNCREATE(CGeoCorPage1);
// Construction
public:
CGeoCorPage1();
~CGeoCorPage1();
CRSIPTics m_Tics;
// Dialog Data
//{{AFX_DATA(CGeoCorPage1)
enum { IDD = IDD_GEOCORPAGE1 };
int m_nImageWidth;
int m_nImageHeight;
//}}AFX_DATA
public:
double m_dHorScale;
double m_dVerScale;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CGeoCorPage1)
public:
virtual BOOL OnKillActive();
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
public:
void CalculateEdge(double &dLeft,double &dTop,double &dRight,double &dBottom);
protected:
// Generated message map functions
//{{AFX_MSG(CGeoCorPage1)
afx_msg void OnBrowsefile();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
// CGeoCorPage2 PropertyPage
class CGeoCorPage2 : public CPropertyPage
{
DECLARE_DYNCREATE(CGeoCorPage2);
// Construction
public:
CGeoCorPage2();
~CGeoCorPage2();
// Dialog Data
//{{AFX_DATA(CGeoCorPage2)
enum { IDD = IDD_GEOCORPAGE2 };
BOOL m_bCut;
double m_dCutBottom;
double m_dCutLeft;
double m_dCutRight;
double m_dCutTop;
double m_dOriginBottom;
double m_dOriginLeft;
double m_dOriginRight;
double m_dOriginTop;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CGeoCorPage2)
public:
virtual BOOL OnKillActive();
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CGeoCorPage2)
afx_msg void OnCutCheck();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
// CGeoCorPage3 PropertyPage
class CGeoCorPage3 : public CPropertyPage
{
DECLARE_DYNCREATE(CGeoCorPage3);
// Construction
public:
CGeoCorPage3();
~CGeoCorPage3();
CRSIPTics m_Tics;
double m_pdInvertCoefficient[12];
double m_dOriX;
double m_dOriY;
double m_HScale;
double m_VScale;
// Dialog Data
//{{AFX_DATA(CGeoCorPage3)
enum { IDD = IDD_GEOCORPAGE3 };
double m_dOriginHeight;
double m_dOriginWidth;
int m_nResultHeight;
int m_nResultWidth;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CGeoCorPage3)
public:
virtual BOOL OnKillActive();
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
public:
void CalculateCoefficient();
protected:
BOOL m_bChangeText;
// Generated message map functions
//{{AFX_MSG(CGeoCorPage3)
// afx_msg void OnChangeResultheightPixel();
// afx_msg void OnChangeResultwidthPixel();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
// CGeoCorSheet
class CGeoCorSheet : public CPropertySheet
{
DECLARE_DYNAMIC(CGeoCorSheet)
// Construction
public:
CGeoCorSheet(UINT nIDCaption, CWnd* pParentWnd = NULL, UINT iSelectPage = 0);
CGeoCorSheet(LPCTSTR pszCaption, CWnd* pParentWnd = NULL, UINT iSelectPage = 0);
// Attributes
public:
CGeoCorPage1 m_step1Page;
CGeoCorPage2 m_step2Page;
CGeoCorPage3 m_step3Page;
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CGeoCorSheet)
public:
virtual BOOL OnInitDialog();
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CGeoCorSheet();
// Generated message map functions
protected:
//{{AFX_MSG(CGeoCorSheet)
// NOTE - the ClassWizard will add and remove member functions here.
afx_msg void OnNext();
afx_msg void OnBack();
afx_msg void OnFinish();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_GEOCORPAGE_H__A05F3700_81B3_11D3_8B6A_0000E83F643B__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -