VC++三次样条插值&贝塞尔曲线&GDI+平滑曲线程序
标签:
•
文件类型: .rar
•
文件大小: 3.85MB
•
下载次数: 1
•
程序为MFC对话框程序
包括
三次样条插值的计算类,自己封的很好用。
贝塞尔曲线
GDI+平滑曲线
用这三种算法来平滑曲线,在程序中可以很值观的看出来,自己写的,给点辛苦钱吧。
代码片段和文件信息
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 4446 2009-02-05 14:29 Bezier.dsp
文件 1441 2009-02-05 10:23 Bezier.h
文件 82944 2009-02-04 20:15 Bezier.ncb
文件 51712 2009-02-04 20:15 Bezier.opt
文件 918 2009-02-05 14:29 Bezier.plg
文件 6888 2009-02-05 14:29 Bezier.rc
文件 9737 2009-02-05 14:15 BezierDlg.cpp
文件 2166 2009-02-05 14:18 BezierDlg.h
文件 535 2001-12-31 15:17 CubicSplineAndBezier.dsw
文件 82944 2009-02-05 14:29 CubicSplineAndBezier.ncb
文件 53760 2009-02-05 14:29 CubicSplineAndBezier.opt
文件 4159 2009-02-04 17:04 CubicSplineInterpolation.cpp
文件 2716 2009-02-04 18:24 CubicSplineInterpolation.h
文件 1006 2009-02-05 14:16 resource.h
文件 208 2001-12-31 15:17 StdAfx.cpp
文件 1216 2009-02-05 10:27 StdAfx.h
文件 122971 2009-02-05 14:29 DebugBezier.exe
文件 269376 2009-02-05 14:29 DebugBezier.ilk
文件 17417 2009-02-05 14:24 DebugBezier.obj
文件 6770228 2009-02-05 11:10 DebugBezier.pch
文件 361472 2009-02-05 14:29 DebugBezier.pdb
文件 3080 2009-02-05 14:29 DebugBezier.res
文件 51274 2009-02-05 14:24 DebugBezierDlg.obj
文件 12808 2009-02-05 11:10 DebugCubicSplineInterpolation.obj
文件 134335 2009-02-05 11:10 DebugStdAfx.obj
文件 295936 2009-02-05 14:29 Debugvc60.idb
文件 462848 2009-02-05 14:28 Debugvc60.pdb
文件 1078 2001-12-31 15:17 resBezier.ico
文件 398 2001-12-31 15:17 resBezier.rc2
..A.SH. 3072 2003-07-12 10:07 resThumbs.db
............此处省略46个文件信息
// Bezier.cpp : Defines the class behaviors for the application.
//
#include “stdafx.h“
#include “Bezier.h“
#include “BezierDlg.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)
// NOTE - the ClassWizard will add and remove mapping macros here.
// DO NOT EDIT what you see in these blocks of generated code!
//}}AFX_MSG
ON_COMMAND(ID_HELP CWinApp::onhelp)
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.
GdiplusStartup(&gdiplusToken &gdiplusStartupInput NULL);
#ifdef _AFXDLL
Enable3dControls(); // Call this when using MFC in a shared DLL
#else
Enable3dControlsStatic(); // Call this when linking to MFC statically
#endif
CBezierDlg dlg;
m_pMainWnd = &dlg;
int nResponse = dlg.DoModal();
if (nResponse == IDOK)
{
// TODO: Place code here to handle when the dialog is
// dismissed with OK
}
else if (nResponse == IDCANCEL)
{
// TODO: Place code here to handle when the dialog is
// dismissed with Cancel
}
// Since the dialog has been closed return FALSE so that we exit the
// application rather than start the application‘s message pump.
return FALSE;
}
int CBezierApp::ExitInstance()
{
// TODO: Add your specialized code here and/or call the base class
GdiplusShutdown(gdiplusToken);
return CWinApp::ExitInstance();
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 4446 2009-02-05 14:29 Bezier.dsp
文件 1441 2009-02-05 10:23 Bezier.h
文件 82944 2009-02-04 20:15 Bezier.ncb
文件 51712 2009-02-04 20:15 Bezier.opt
文件 918 2009-02-05 14:29 Bezier.plg
文件 6888 2009-02-05 14:29 Bezier.rc
文件 9737 2009-02-05 14:15 BezierDlg.cpp
文件 2166 2009-02-05 14:18 BezierDlg.h
文件 535 2001-12-31 15:17 CubicSplineAndBezier.dsw
文件 82944 2009-02-05 14:29 CubicSplineAndBezier.ncb
文件 53760 2009-02-05 14:29 CubicSplineAndBezier.opt
文件 4159 2009-02-04 17:04 CubicSplineInterpolation.cpp
文件 2716 2009-02-04 18:24 CubicSplineInterpolation.h
文件 1006 2009-02-05 14:16 resource.h
文件 208 2001-12-31 15:17 StdAfx.cpp
文件 1216 2009-02-05 10:27 StdAfx.h
文件 122971 2009-02-05 14:29 DebugBezier.exe
文件 269376 2009-02-05 14:29 DebugBezier.ilk
文件 17417 2009-02-05 14:24 DebugBezier.obj
文件 6770228 2009-02-05 11:10 DebugBezier.pch
文件 361472 2009-02-05 14:29 DebugBezier.pdb
文件 3080 2009-02-05 14:29 DebugBezier.res
文件 51274 2009-02-05 14:24 DebugBezierDlg.obj
文件 12808 2009-02-05 11:10 DebugCubicSplineInterpolation.obj
文件 134335 2009-02-05 11:10 DebugStdAfx.obj
文件 295936 2009-02-05 14:29 Debugvc60.idb
文件 462848 2009-02-05 14:28 Debugvc60.pdb
文件 1078 2001-12-31 15:17 resBezier.ico
文件 398 2001-12-31 15:17 resBezier.rc2
..A.SH. 3072 2003-07-12 10:07 resThumbs.db
............此处省略46个文件信息
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。
评论列表(条)