-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathObjectEditorView.h
More file actions
executable file
·97 lines (86 loc) · 2.85 KB
/
Copy pathObjectEditorView.h
File metadata and controls
executable file
·97 lines (86 loc) · 2.85 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
// ObjectEditorView.h : interface of the CObjectEditorView class
//
/////////////////////////////////////////////////////////////////////////////
#include "OpenGLView.h"
class CObjectEditorView : public COpenGLView
{
protected: // create from serialization only
CObjectEditorView();
DECLARE_DYNCREATE(CObjectEditorView)
// Attributes
public:
CObjectEditorDoc* GetDocument();
void OpenGLDrawScene(HDC hdc);
void DrawObjectModel();
BOOL showPointNumbers;
BOOL showVertexNumbers;
BOOL showPolygonNumbers;
BOOL showPoints;
BOOL showAxis;
BOOL showFilled;
BOOL showCulling;
BOOL showTextures;
BOOL showLines;
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CObjectEditorView)
public:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CObjectEditorView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CObjectEditorView)
afx_msg void OnZoomin();
afx_msg void OnZoomout();
afx_msg void OnShowpointsnumbers();
afx_msg void OnUpdateShowpointsnumbers(CCmdUI* pCmdUI);
afx_msg void OnShowpoylgonnumbers();
afx_msg void OnUpdateShowpoylgonnumbers(CCmdUI* pCmdUI);
afx_msg void OnShowverticiesnumbers();
afx_msg void OnUpdateShowverticiesnumbers(CCmdUI* pCmdUI);
afx_msg void OnShowpoints();
afx_msg void OnUpdateShowpoints(CCmdUI* pCmdUI);
afx_msg void OnShowaxis();
afx_msg void OnUpdateShowaxis(CCmdUI* pCmdUI);
afx_msg void OnShowbackface();
afx_msg void OnUpdateShowbackface(CCmdUI* pCmdUI);
afx_msg void OnShowfilled();
afx_msg void OnUpdateShowfilled(CCmdUI* pCmdUI);
afx_msg void OnShowtextures();
afx_msg void OnUpdateShowtextures(CCmdUI* pCmdUI);
afx_msg void OnDrawlines();
afx_msg void OnUpdateDrawlines(CCmdUI* pCmdUI);
afx_msg void OnAddNewscale();
afx_msg void OnAddNewpoint();
afx_msg void OnAddNewtexture();
afx_msg void OnAddNewvertex();
afx_msg void OnEditRefresh();
afx_msg void OnAddNewtexture3sides();
afx_msg void OnAddNewtexture4sides();
afx_msg void OnAddNewtexture5sides();
afx_msg void OnAddNewtexture6sides();
afx_msg void OnAddNewtexture7sides();
afx_msg void OnAddNewjamfile();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in ObjectEditorView.cpp
inline CObjectEditorDoc* CObjectEditorView::GetDocument()
{ return (CObjectEditorDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////