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

  • 大小: 1.87MB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發布日期: 2023-09-29
  • 語言: C/C++
  • 標簽: B樣條??VC++??

資源簡介

這是一個用VC++實現的b樣條曲線的生成程序,雙擊左鍵選擇控制點,可以通過拖動控制點來改變曲線的形狀。

資源截圖

代碼片段和文件信息

//?bezier.cpp?:?Defines?the?class?behaviors?for?the?application.
//

#include?“stdafx.h“
#include?“bezier.h“

#include?“MainFrm.h“
#include?“bezierDoc.h“
#include?“bezierView.h“

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

/////////////////////////////////////////////////////////////////////////////
//?CBezierApp

BEGIN_MESSAGE_MAP(CBezierApp?CWinApp)
//{{AFX_MSG_MAP(CBezierApp)
ON_COMMAND(ID_APP_ABOUT?OnAppAbout)
//?NOTE?-?the?ClassWizard?will?add?and?remove?mapping?macros?here.
//????DO?NOT?EDIT?what?you?see?in?these?blocks?of?generated?code!
//}}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()

/////////////////////////////////////////////////////////////////////////////
//?CBezierApp?construction

CBezierApp::CBezierApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}

/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CBezierApp?object

CBezierApp?theApp;

/////////////////////////////////////////////////////////////////////////////
//?CBezierApp?initialization

BOOL?CBezierApp::InitInstance()
{
AfxEnableControlContainer();

//?Standard?initialization
//?If?you?are?not?using?these?features?and?wish?to?reduce?the?size
//??of?your?final?executable?you?should?remove?from?the?following
//??the?specific?initialization?routines?you?do?not?need.

#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.
//?TODO:?You?should?modify?this?string?to?be?something?appropriate
//?such?as?the?name?of?your?company?or?organization.
SetRegistryKey(_T(“Local?AppWizard-Generated?Applications“));

LoadStdProfileSettings();??//?Load?standard?INI?file?options?(including?MRU)

//?Register?the?application‘s?document?templates.??Document?templates
//??serve?as?the?connection?between?documents?frame?windows?and?views.

CSingleDocTemplate*?pDocTemplate;
pDocTemplate?=?new?CSingleDocTemplate(
IDR_MAINframe
RUNTIME_CLASS(CBezierDoc)
RUNTIME_CLASS(CMainframe)???????//?main?SDI?frame?window
RUNTIME_CLASS(CBezierView));
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;

//?The?one?and?only?window?has?been?initialized?so?show?and?update?it.
m_pMainWnd->ShowWindow(SW_SHOW);
m_pMainWnd->UpdateWindow();

return?TRUE;

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件??????28552??2009-05-21?22:42??B樣條\bezier.aps

?????文件???????2274??2009-05-21?22:43??B樣條\bezier.clw

?????文件???????4209??2008-05-27?14:27??B樣條\bezier.cpp

?????文件???????4555??2008-05-27?14:27??B樣條\bezier.dsp

?????文件????????535??2008-05-27?14:27??B樣條\bezier.dsw

?????文件???????1356??2008-05-27?14:27??B樣條\bezier.h

?????文件??????58368??2009-05-21?22:47??B樣條\bezier.ncb

?????文件??????53760??2009-05-21?22:47??B樣條\bezier.opt

?????文件???????1168??2009-05-21?22:45??B樣條\bezier.plg

?????文件??????10553??2008-05-27?14:27??B樣條\bezier.rc

?????文件???????1742??2008-05-27?14:27??B樣條\bezierDoc.cpp

?????文件???????1475??2008-05-27?14:27??B樣條\bezierDoc.h

?????文件???????6946??2009-05-21?22:45??B樣條\bezierView.cpp

?????文件???????2047??2009-05-21?22:44??B樣條\bezierView.h

?????文件?????122926??2008-05-27?15:05??B樣條\B樣條.exe

?????文件?????122936??2009-05-21?22:45??B樣條\Debug\bezier.exe

?????文件?????377968??2009-05-21?22:45??B樣條\Debug\bezier.ilk

?????文件??????22782??2009-05-21?22:45??B樣條\Debug\bezier.obj

?????文件????5513416??2009-05-18?21:44??B樣條\Debug\bezier.pch

?????文件?????467968??2009-05-21?22:45??B樣條\Debug\bezier.pdb

?????文件???????7276??2009-05-18?21:44??B樣條\Debug\bezier.res

?????文件??????14573??2009-05-18?21:44??B樣條\Debug\bezierDoc.obj

?????文件??????33523??2009-05-21?22:45??B樣條\Debug\bezierView.obj

?????文件??????19753??2009-05-18?21:44??B樣條\Debug\MainFrm.obj

?????文件?????105539??2009-05-18?21:44??B樣條\Debug\StdAfx.obj

?????文件?????222208??2009-05-21?22:45??B樣條\Debug\vc60.idb

?????文件?????364544??2009-05-21?22:45??B樣條\Debug\vc60.pdb

?????文件???????2507??2008-05-27?14:27??B樣條\MainFrm.cpp

?????文件???????1581??2008-05-27?14:27??B樣條\MainFrm.h

?????文件???????4311??2008-05-27?14:27??B樣條\ReadMe.txt

............此處省略13個文件信息

評論

共有 條評論