-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathEditorFS_MODEL.h
122 lines (104 loc) · 3.07 KB
/
EditorFS_MODEL.h
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
#if !defined(AFX_EDITORFS_MODEL_H__D1D98711_30DD_4EDF_B681_093800E6B460__INCLUDED_)
#define AFX_EDITORFS_MODEL_H__D1D98711_30DD_4EDF_B681_093800E6B460__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// EditorFS_MODEL.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CEditorFS_MODEL form view
#ifndef __AFXEXT_H__
#include <afxext.h>
#endif
#include "MODVIEW32Doc.h"
#include "MODVIEW32View.h"
#include "mainfrm.h"
class CEditorFS_MODEL : public CFormView
{
protected:
CEditorFS_MODEL(); // protected constructor used by dynamic creation
DECLARE_DYNCREATE(CEditorFS_MODEL)
CMODVIEW32View * GetMainView();
CMainFrame * GetMainFrame();
CMODVIEW32Doc * GetDocument();
CToolBar m_TBCrossSections,m_TBLights,m_TBApplyer;
// Form Data
public:
//{{AFX_DATA(CEditorFS_MODEL)
enum { IDD = IDD_EDITORFS_MODEL };
CEdit m_Lights_Type;
CEdit m_Lights_Position_Z;
CEdit m_Lights_Position_Y;
CEdit m_Lights_Position_X;
CListCtrl m_List_Lights;
CEdit m_MassCenter_Z;
CEdit m_MassCenter_Y;
CEdit m_MassCenter_X;
CEdit m_Mass;
CEdit m_ACenPoint_Z;
CEdit m_ACenPoint_Y;
CEdit m_ACenPoint_X;
CEdit m_Eye_Position_Z;
CEdit m_Eye_Position_Y;
CEdit m_Eye_Position_X;
CEdit m_Eye_Normal_Z;
CEdit m_Eye_Normal_Y;
CEdit m_Eye_Normal_X;
CComboBox m_Eye_Submodel;
//}}AFX_DATA
// Attributes
public:
// Operations
public:
void ChangeFSMode();
BOOL FinishPendingEditing();
void DoDiscard();
void DoApply();
void DoCopyLight();
void DoDeleteLight();
void DoNewLight();
void UpdateEditorDisplay();
void FillInfo();
afx_msg void OnApplyerBarClick(UINT nID);
afx_msg void OnEditor2BarClick(UINT nID);
afx_msg void OnEditorBarClick(UINT nID);
int GetCurrentLightSelection();
void OnSelchangeLights();
BOOL UnInit();
void Init();
BOOL m_DataLocked;
BOOL m_AmEditing;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CEditorFS_MODEL)
public:
virtual void OnInitialUpdate();
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
virtual ~CEditorFS_MODEL();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
// Generated message map functions
//{{AFX_MSG(CEditorFS_MODEL)
afx_msg void OnSelchangeEditorfsModelEyepointSubmodel();
afx_msg void OnChangeData();
afx_msg void OnItemchangedEditorfsModelLights(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnButtonMomentOfInertia();
afx_msg void OnButtonTextureNames();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_EDITORFS_MODEL_H__D1D98711_30DD_4EDF_B681_093800E6B460__INCLUDED_)
/*
CListCtrl m_List_CrossSections;
CEdit m_CrossSections_Depth;
CEdit m_CrossSections_Radius;
*/