资源简介
武汉大学遥感专业必修课之GPS应用技术
解算GPS卫星空间位置

代码片段和文件信息
// GPSCoordinate.cpp : Defines the class behaviors for the application.
//
#include “stdafx.h“
#include “GPSCoordinate.h“
#include “MainFrm.h“
#include “GPSCoordinateDoc.h“
#include “GPSCoordinateView.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CGPSCoordinateApp
BEGIN_MESSAGE_MAP(CGPSCoordinateApp CWinApp)
//{{AFX_MSG_MAP(CGPSCoordinateApp)
ON_COMMAND(ID_APP_ABOUT OnAppAbout)
//}}AFX_MSG_MAP
// Standard file based document commands
ON_COMMAND(ID_FILE_NEW CWinApp::OnFileNew)
ON_COMMAND(ID_FILE_OPEN CWinApp::OnFileOpen)
// Standard print setup command
ON_COMMAND(ID_FILE_PRINT_SETUP CWinApp::OnFilePrintSetup)
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CGPSCoordinateApp construction
CGPSCoordinateApp::CGPSCoordinateApp()
{
}
/////////////////////////////////////////////////////////////////////////////
// The one and only CGPSCoordinateApp object
CGPSCoordinateApp theApp;
/////////////////////////////////////////////////////////////////////////////
// CGPSCoordinateApp initialization
BOOL CGPSCoordinateApp::InitInstance()
{
AfxEnableControlContainer();
// Standard initialization
#ifdef _AFXDLL
Enable3dControls(); // Call this when using MFC in a shared DLL
#else
Enable3dControlsStatic(); // Call this when linking to MFC statically
#endif
// Change the registry key under which our settings are stored.
SetRegistryKey(_T(“Local AppWizard-Generated Applications“));
LoadStdProfileSettings(); // Load standard INI file options (including MRU)
// Register document templates
CSingleDocTemplate* pDocTemplate;
pDocTemplate = new CSingleDocTemplate(
IDR_MAINframe
RUNTIME_CLASS(CGPSCoordinateDoc)
RUNTIME_CLASS(CMainframe) // main SDI frame window
RUNTIME_CLASS(CGPSCoordinateView));
AddDocTemplate(pDocTemplate);
// Parse command line for standard shell commands DDE file open
CCommandLineInfo cmdInfo;
ParseCommandLine(cmdInfo);
// Dispatch commands specified on the command line
if (!ProcessShellCommand(cmdInfo))
return FALSE;
m_pMainWnd->ShowWindow(SW_SHOW);
m_pMainWnd->UpdateWindow();
m_pMainWnd->SetWindowText(“GPS卫星位置计算.... \t BY: 卢 昊“);
return TRUE;
}
/////////////////////////////////////////////////////////////////////////////
// CAboutDlg dialog used for App About
class CAboutDlg : public CDialog
{
public:
CAboutDlg();
// Dialog Data
//{{AFX_DATA(CAboutDlg)
enum { IDD = IDD_ABOUTBOX };
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CAboutDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
//{{AFX_MSG(CAboutDlg)
// No message handlers
//}}AFX_MSG
DECLARE_ME
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 548864 2010-05-28 03:48 GPSCoordinate.exe
----------- --------- ---------- ----- ----
548864 1
- 上一篇:hspice中文教程
- 下一篇:计算图像之间的偏差指数
相关资源
- 松下FP-XH手册位置功能篇
- 在大图中查找小图显示位置
- 武汉大学 科傻GPS 静态后处理软件
- 开源的nmealib
- 相干与非相干实现捕获与跟踪GPS
- 天文钟GPS对时程序
- 用切比雪夫多项式标准化GPS卫星轨道
- 起算点点位不同对GPS-RTK测高的影响
- GPS-RTK技术在公婆泉矿区详查中的应用
- 电动车用霍耳位置传感器芯片的使用
- 全国移动联通电信基站数据含经度,
-
A web-ba
sed interview platform with geospat - 根据GPS数据计算航向公式
- Excel在GPS坐标转换计算中的应用
- 以鼠标位置为中心的滑轮放大功能d
- GPS-RTK技术及EPSW全息测绘软件在沉陷治
- 基于GPS数据的露天矿道路网自动提取
- 基于模糊PI的低速表贴式永磁同步电机
- 基于GPS-RTK与全站仪的城市道路改扩建
- GPS-RTK、全站仪联合作业在化石沟铜矿
- 基于GPS一机多天线技术的尾矿坝全自
- GPS技术在山区边坡监测中的应用
- GPS-RTK与全站仪联合作业在山谷型采石
- 论变形监测技术的现状与发展趋势
- GPS技术在大采深采区建筑物变形监测
- 探讨GPS技术在地形复杂矿山变形监测
- 全球地名地址及GPS坐标数据库
- 工作/生活照片归档管理/Exif查看器/
- gps程序、算法
- STM32+陀螺仪+GPS代码
评论
共有 条评论