⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pathanalystview.h

📁 Embedded vc++下开发的路经分析程序
💻 H
字号:
// PathAnalystView.h : interface of the CPathAnalystView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_PATHANALYSTVIEW_H__BAAE823E_1914_48C4_AE3E_CE179E6D5F12__INCLUDED_)
#define AFX_PATHANALYSTVIEW_H__BAAE823E_1914_48C4_AE3E_CE179E6D5F12__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000

#include "SePathAnalystEx.h"	// Added by ClassView

class CPathAnalystView : public CView
{
protected: // create from serialization only
	CPathAnalystView();
	DECLARE_DYNCREATE(CPathAnalystView)

// Attributes
public:
	CPathAnalystDoc* GetDocument();

// Operations
public:
	CSeMapWnd m_MapWnd;				//地图显示
	bool      m_bFileOpened;        //记录地图是否打开
	//路径分析时:
	CSePathAnalystEx m_PathAnalyst;	//路径分析类
	long m_nAction;					//用户动作,如路径分析
	int m_nAnalystMode;				//路径分析模式
	int m_nAnalystModel;			//路径分析模型
	CString m_strUnits;				//分析结果的单位
	BOOL m_bRuleParamSetted;		//是否已经设置了路径分析参数
	DWORD m_nFromNodeID;			//路径分析起始结点ID
	CPoint m_pntFromNode;			//路径分析起始结点坐标
	CPoint m_pntToNode;				//路径分析终止结点坐标

public:
	//突出显示选择的节点
	void DisplayNodePoint(CPoint point);

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CPathAnalystView)
	public:
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	virtual void OnInitialUpdate();
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CPathAnalystView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CPathAnalystView)
	afx_msg void OnFileOpen();
	afx_msg void OnFileAddLayer();
	afx_msg void OnFileClose();
	afx_msg void OnMapZoomin();
	afx_msg void OnMapZoomout();
	afx_msg void OnMapPan();
	afx_msg void OnMapPointSelect();
	afx_msg void OnMapViewEntire();
	afx_msg void OnMapRefresh();
	afx_msg void OnUpdateMapZoomin(CCmdUI* pCmdUI);
	afx_msg void OnUpdateMapZoomout(CCmdUI* pCmdUI);
	afx_msg void OnUpdateMapPan(CCmdUI* pCmdUI);
	afx_msg void OnUpdateMapPointSelect(CCmdUI* pCmdUI);
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
	afx_msg void OnAnalyseSetting();
	afx_msg void OnPathAnalyse();
	afx_msg void OnExportAdjacentMatrix();
	afx_msg void OnUpdatePathAnalyse(CCmdUI* pCmdUI);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in PathAnalystView.cpp
inline CPathAnalystDoc* CPathAnalystView::GetDocument()
   { return (CPathAnalystDoc*)m_pDocument; }
#endif

/////////////////////////////////////////////////////////////////////////////

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

#endif // !defined(AFX_PATHANALYSTVIEW_H__BAAE823E_1914_48C4_AE3E_CE179E6D5F12__INCLUDED_)

⌨️ 快捷键说明

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