91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

資源簡介

基于柵格算法,以歐氏距離變換為基礎,實現了點、線、面等任意圖形的加權voronoi圖生成。相關論文地址 http://www.cnki.com.cn/Article/CJFDTOTAL-LZTX201201025.htm

資源截圖

代碼片段和文件信息

//?MainFrm.cpp?:?implementation?of?the?CMainframe?class
//

#include?“stdafx.h“
#include?“Map.h“

#include?“MainFrm.h“

#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
//?CMainframe

IMPLEMENT_DYNCREATE(CMainframe?CframeWnd)

BEGIN_MESSAGE_MAP(CMainframe?CframeWnd)
//{{AFX_MSG_MAP(CMainframe)
//?NOTE?-?the?ClassWizard?will?add?and?remove?mapping?macros?here.
//????DO?NOT?EDIT?what?you?see?in?these?blocks?of?generated?code?!
ON_WM_CREATE()
//}}AFX_MSG_MAP
END_MESSAGE_MAP()

static?UINT?indicators[]?=
{
/*ID_SEPARATOR???????????//?status?line?indicator
ID_INDICATOR_CAPS
ID_INDICATOR_NUM
ID_INDICATOR_SCRL*/

ID_SEPARATOR??????????? //?第一個信息行窗格
ID_RGB??????????? //?第二個信息行窗格
ID_LEFT //?第三個窗格
ID_RIGHT //?第四個窗格

};

/////////////////////////////////////////////////////////////////////////////
//?CMainframe?construction/destruction

CMainframe::CMainframe()
{
//?TODO:?add?member?initialization?code?here

}

CMainframe::~CMainframe()
{
}

int?CMainframe::OnCreate(LPCREATESTRUCT?lpCreateStruct)
{
if?(CframeWnd::OnCreate(lpCreateStruct)?==?-1)
return?-1;

if?(!m_wndToolBar.CreateEx(this?TBstyle_FLAT?WS_CHILD?|?WS_VISIBLE?|?CBRS_TOP
|?CBRS_GRIPPER?|?CBRS_TOOLTIPS?|?CBRS_FLYBY?|?CBRS_SIZE_DYNAMIC)?||
!m_wndToolBar.LoadToolBar(IDR_MAINframe))
{
TRACE0(“Failed?to?create?toolbar\n“);
return?-1;??????//?fail?to?create
}

if?(!m_wndStatusBar.Create(this)?||
!m_wndStatusBar.SetIndicators(indicators
??sizeof(indicators)/sizeof(UINT)))
{
TRACE0(“Failed?to?create?status?bar\n“);
return?-1;??????//?fail?to?create
}

//?TODO:?Delete?these?three?lines?if?you?don‘t?want?the?toolbar?to
//??be?dockable
m_wndToolBar.EnableDocking(CBRS_ALIGN_ANY);
EnableDocking(CBRS_ALIGN_ANY);
DockControlBar(&m_wndToolBar);

return?0;
}

BOOL?CMainframe::PreCreateWindow(CREATESTRUCT&?cs)
{
if(?!CframeWnd::PreCreateWindow(cs)?)
return?FALSE;
//?TODO:?Modify?the?Window?class?or?styles?here?by?modifying
//??the?CREATESTRUCT?cs

return?TRUE;
}

/////////////////////////////////////////////////////////////////////////////
//?CMainframe?diagnostics

#ifdef?_DEBUG
void?CMainframe::AssertValid()?const
{
CframeWnd::AssertValid();
}

void?CMainframe::Dump(CDumpContext&?dc)?const
{
CframeWnd::Dump(dc);
}

#endif?//_DEBUG

/////////////////////////////////////////////////////////////////////////////
//?CMainframe?message?handlers


?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2012-07-11?14:15??Map\
?????文件????????2318??2011-03-06?22:52??Map\DIB.CPP
?????文件?????????780??2003-11-05?22:47??Map\DIB.H
?????目錄???????????0??2012-02-15?11:50??Map\Debug\
?????文件???????11905??2011-11-14?09:07??Map\Debug\DIB.obj
?????文件???????20202??2011-11-14?09:07??Map\Debug\MainFrm.obj
?????文件??????163912??2011-11-14?09:10??Map\Debug\Map.exe
?????文件??????366800??2011-11-14?09:10??Map\Debug\Map.ilk
?????文件???????23111??2011-11-14?09:07??Map\Debug\Map.obj
?????文件?????5493084??2011-11-14?09:07??Map\Debug\Map.pch
?????文件??????476160??2011-11-14?09:10??Map\Debug\Map.pdb
?????文件????????7404??2011-11-14?09:07??Map\Debug\Map.res
?????文件???????14855??2011-11-14?09:07??Map\Debug\MapDoc.obj
?????文件???????77029??2011-11-14?09:10??Map\Debug\MapView.obj
?????文件??????105909??2011-11-14?09:07??Map\Debug\StdAfx.obj
?????文件??????222208??2011-11-14?09:23??Map\Debug\vc60.idb
?????文件??????380928??2011-11-14?09:10??Map\Debug\vc60.pdb
?????文件????????2657??2011-03-09?20:57??Map\MainFrm.cpp
?????文件????????1590??2011-03-09?20:38??Map\MainFrm.h
?????文件???????29172??2011-08-03?09:43??Map\Map.aps
?????文件????????2401??2011-11-14?09:36??Map\Map.clw
?????文件????????4155??2011-03-06?22:46??Map\Map.cpp
?????文件????????4610??2011-03-06?22:47??Map\Map.dsp
?????文件?????????512??2011-03-06?22:47??Map\Map.dsw
?????文件????????1323??2011-03-06?22:46??Map\Map.h
?????文件??????140288??2011-11-14?09:36??Map\Map.ncb
?????文件???????74752??2011-11-14?09:36??Map\Map.opt
?????文件????????1153??2011-11-14?09:10??Map\Map.plg
?????文件???????12266??2011-03-25?00:17??Map\Map.rc
?????文件????????1682??2011-03-06?22:46??Map\MapDoc.cpp
?????文件????????1442??2011-03-06?22:46??Map\MapDoc.h
............此處省略16個文件信息

評論

共有 條評論