用VC++编写的一个动态效果的简单动画


该程序是用VC++编写的,运行时是一个球绕一个锥形物体旋转的动态视图,具有友好的界面,视觉效果较好~
资源截图
代码片段和文件信息
// ANIDoc.cpp : implementation of the CANIDoc class
// Download by http://www.codefans.net

#include “stdafx.h“
#include “ANIMATE.h“

#include “ANIDoc.h“

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

/////////////////////////////////////////////////////////////////////////////
// CANIDoc

IMPLEMENT_DYNCREATE(CANIDoc CDocument)

BEGIN_MESSAGE_MAP(CANIDoc CDocument)
//{{AFX_MSG_MAP(CANIDoc)
// 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
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CANIDoc construction/destruction

CANIDoc::CANIDoc()
{
// TODO: add one-time construction code here

}

CANIDoc::~CANIDoc()
{
}

BOOL CANIDoc::OnNewDocument()
{
if (!CDocument::OnNewDocument())
return FALSE;

// TODO: add reinitialization code here
// (SDI documents will reuse this document)

return TRUE;
}



/////////////////////////////////////////////////////////////////////////////
// CANIDoc serialization

void CANIDoc::Serialize(CArchive& ar)
{
if (ar.IsStoring())
{
// TODO: add storing code here
}
else
{
// TODO: add loading code here
}
}

/////////////////////////////////////////////////////////////////////////////
// CANIDoc diagnostics

#ifdef _DEBUG
void CANIDoc::AssertValid() const
{
CDocument::AssertValid();
}

void CANIDoc::Dump(CDumpContext& dc) const
{
CDocument::Dump(dc);
}
#endif //_DEBUG

/////////////////////////////////////////////////////////////////////////////
// CANIDoc commands

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       1722  2010-05-27 22:43  ANIMATEANIDoc.cpp

     文件       1450  1999-05-18 23:09  ANIMATEANIDoc.h

     文件       4134  2010-05-27 22:44  ANIMATEANIMATE.cpp

     文件       4546  1999-07-13 10:41  ANIMATEANIMATE.DSP

     文件        537  1999-07-13 10:41  ANIMATEAnimate.dsw

     文件       1377  1999-05-18 23:09  ANIMATEANIMATE.h

     文件   23292928  2010-12-21 16:44  ANIMATEAnimate.ncb

     文件       9841  1999-05-19 20:38  ANIMATEANIMATE.rc

     文件        879  2010-12-21 16:37  ANIMATEAnimate.sln

    ..A..H.      8704  2010-12-21 16:44  ANIMATEAnimate.suo

     文件       8267  2010-12-21 14:33  ANIMATEANIMATE.vcproj

     文件       1407  2010-12-21 16:44  ANIMATEANIMATE.vcproj.GM-PC.GM.user

     文件       7839  2010-05-27 22:44  ANIMATEANIView.cpp

     文件       2372  1999-05-19 22:44  ANIMATEANIView.h

     文件      20259  2010-12-21 14:34  ANIMATEDebugANIDoc.obj

     文件      65536  2010-12-21 14:34  ANIMATEDebugANIMATE.exe

     文件        920  2010-12-21 14:34  ANIMATEDebugANIMATE.exe.embed.manifest

     文件        984  2010-12-21 14:34  ANIMATEDebugANIMATE.exe.embed.manifest.res

     文件        861  2010-12-21 14:34  ANIMATEDebugANIMATE.exe.intermediate.manifest

     文件    1196912  2010-12-21 14:34  ANIMATEDebugANIMATE.ilk

     文件      34360  2010-12-21 14:34  ANIMATEDebugANIMATE.obj

     文件   24641536  2010-12-21 14:34  ANIMATEDebugANIMATE.pch

     文件    3419136  2010-12-21 14:34  ANIMATEDebugANIMATE.pdb

     文件       5592  2010-12-21 14:34  ANIMATEDebugANIMATE.res

     文件      46824  2010-12-21 14:34  ANIMATEDebugANIView.obj

     文件      12622  2010-12-21 14:34  ANIMATEDebugBuildLog.htm

     文件      24992  2010-12-21 14:34  ANIMATEDebugMainFrm.obj

     文件         65  2010-12-21 14:34  ANIMATEDebugmt.dep

     文件     464959  2010-12-21 14:34  ANIMATEDebugStdAfx.obj

     文件     912384  2010-12-21 14:34  ANIMATEDebugvc90.idb

............此处省略16个文件信息

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)