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

📄 mysdopengldoc.cpp

📁 机器人运动学动力学及控制的一个小程序,供有兴趣的人参考
💻 CPP
字号:
// MySDOpenGLDoc.cpp : implementation of the CMySDOpenGLDoc class
//

#include "stdafx.h"
#include "MySDOpenGL.h"

#include "MySDOpenGLDoc.h"

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

/////////////////////////////////////////////////////////////////////////////
// CMySDOpenGLDoc

IMPLEMENT_DYNCREATE(CMySDOpenGLDoc, CDocument)

BEGIN_MESSAGE_MAP(CMySDOpenGLDoc, CDocument)
	//{{AFX_MSG_MAP(CMySDOpenGLDoc)
		// 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()

/////////////////////////////////////////////////////////////////////////////
// CMySDOpenGLDoc construction/destruction

CMySDOpenGLDoc::CMySDOpenGLDoc()
{
	// TODO: add one-time construction code here
     inputAngle1=0.0;
     inputAngle2=0.0;
     inputAngle3=0.0;
     inputAngle4=0.0;
	 F=false;
	 IKStart=false;
     Dynamics=false;
     Reset=false;
}

CMySDOpenGLDoc::~CMySDOpenGLDoc()
{
}

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

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

	return TRUE;
}



/////////////////////////////////////////////////////////////////////////////
// CMySDOpenGLDoc serialization

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

/////////////////////////////////////////////////////////////////////////////
// CMySDOpenGLDoc diagnostics

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

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

/////////////////////////////////////////////////////////////////////////////
// CMySDOpenGLDoc commands

⌨️ 快捷键说明

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