📄 test6view.h
字号:
// test6View.h : interface of the Ctest6View class, derived from CHoopsView
// Adds application specific members such as a QueryDialog and UI update/message maps
#if !defined(AFX_Ctest6View_H__FCA603FB_1694_11D2_B736_00805F85736F__INCLUDED_)
#define AFX_Ctest6View_H__FCA603FB_1694_11D2_B736_00805F85736F__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// test6View.h : header file
//
#include "CHoopsView.h"
class Htest6View;
class HStreamFileToolkit;
////////////////////////////////////////////////////////////////////////////////
// Ctest6View view
class Ctest6View : public CHoopsView
{
protected:
Ctest6View(); // protected constructor used by dynamic creation
DECLARE_DYNCREATE(Ctest6View)
// Attributes
public:
// Operations
public:
Htest6View* GetSolidView() { return (Htest6View*)m_pHView; }
// set current operator
void LocalSetOperator(HBaseOperator *NewOperator);
void LoadFile( LPCTSTR csFilePathName );
bool SaveFile( LPCTSTR csFilePathName );
void CleanUp();
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(Ctest6View)
public:
virtual void OnInitialUpdate();
protected:
virtual void OnPrint(CDC* pDC, CPrintInfo* pInfo);
virtual void OnActivateView(BOOL bActivate, CView* pActivateView, CView* pDeactiveView);
//}}AFX_VIRTUAL
private:
// Implementation
protected:
virtual ~Ctest6View();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
int FindMenuItem(CMenu* Menu, LPCTSTR MenuString);
// Generated message map functions
protected:
//{{AFX_MSG(Ctest6View)
afx_msg void OnFileSaveAs();
afx_msg void OnZoom();
afx_msg void OnZoomToExtents();
afx_msg void OnZoomToWindow();
afx_msg void OnOrbit();
afx_msg void OnPan();
afx_msg void OnWindowSelect();
afx_msg void OnSelectionDeleteselection();
afx_msg void OnUpdateSelectionDeleteselection(CCmdUI* pCmdUI);
afx_msg void OnUpdateGouraud(CCmdUI* pCmdUI);
afx_msg void OnUpdateHiddenLine(CCmdUI* pCmdUI);
afx_msg void OnUpdateOrbit(CCmdUI* pCmdUI);
afx_msg void OnUpdatePan(CCmdUI* pCmdUI);
afx_msg void OnUpdateWindowSelect(CCmdUI* pCmdUI);
afx_msg void OnUpdateZoom(CCmdUI* pCmdUI);
afx_msg void OnUpdateZoomToWindow(CCmdUI* pCmdUI);
afx_msg void OnUpdateZoomToExtents(CCmdUI* pCmdUI);
afx_msg void OnToolsRendermodeGouraudshaded();
afx_msg void OnToolsRendermodeHiddenline();
afx_msg void OnToolsRendermodeWireframe();
afx_msg void OnUpdateToolsRendermodeWireframe(CCmdUI* pCmdUI);
afx_msg void OnUpdateToolsRendermodeGouraudshaded(CCmdUI* pCmdUI);
afx_msg void OnUpdateToolsRendermodeHiddenline(CCmdUI* pCmdUI);
afx_msg void OnCreateSphere();
afx_msg void OnUpdateCreateSphere(CCmdUI* pCmdUI);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
void load(const char * filename);
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_Ctest6View_H__FCA603FB_1694_11D2_B736_00805F85736F__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -