Добавил:
korayakov
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз:
Предмет:
Файл:Лабы / igs (супер 2001) / Spline_3d / ChildView
.h// ChildView.h : interface of the CChildView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_CHILDVIEW_H__B8620A3B_5630_4B5E_8FC4_95F7CECE5770__INCLUDED_)
#define AFX_CHILDVIEW_H__B8620A3B_5630_4B5E_8FC4_95F7CECE5770__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "spline.h"
#include "Quality.h"
/////////////////////////////////////////////////////////////////////////////
// CChildView window
class CChildView : public CWnd
{
// Construction
public:
CChildView();
// Attributes
public:
int FunNum, Quality;
int ShowCarcas, ShowSpline, ShowLine, RButtonDown, LButtonDown;
double a, b, d;
CPoint Center, OldMousePoint;
CSpline *Spline;
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CChildView)
protected:
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CChildView();
// Generated message map functions
protected:
//{{AFX_MSG(CChildView)
afx_msg void OnPaint();
afx_msg void OnEditFunction1();
afx_msg void OnEditFunction2();
afx_msg void OnEditFunction3();
afx_msg void OnEditFunction4();
afx_msg void OnEditFunction5();
afx_msg void OnShowCarcas();
afx_msg void OnUpdateShowCarcas(CCmdUI* pCmdUI);
afx_msg void OnShowSpline();
afx_msg void OnUpdateShowSpline(CCmdUI* pCmdUI);
afx_msg void OnChar(UINT nChar, UINT nRepCnt, UINT nFlags);
afx_msg void OnMouseMove(UINT nFlags, CPoint point);
afx_msg BOOL OnMouseWheel(UINT nFlags, short zDelta, CPoint pt);
afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
afx_msg void OnRButtonUp(UINT nFlags, CPoint point);
afx_msg void OnChangeQuality();
afx_msg void OnShowLine();
afx_msg void OnUpdateShowLine(CCmdUI* pCmdUI);
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_CHILDVIEW_H__B8620A3B_5630_4B5E_8FC4_95F7CECE5770__INCLUDED_)
Соседние файлы в папке Spline_3d