📄 neichaview.h
字号:
// NeiChaView.h : interface of the CNeiChaView class
//
/////////////////////////////////////////////////////////////////////////////
#include "InputP.h"
#include "MainFrm.h"
#include "math.h"
#if !defined(AFX_NEICHAVIEW_H__2298562F_E651_4229_A18E_A83A6AC065B7__INCLUDED_)
#define AFX_NEICHAVIEW_H__2298562F_E651_4229_A18E_A83A6AC065B7__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CNeiChaView : public CView
{
public:
double m_knowPX[10];
double m_knowPY[10];
double m_knowPZ[10];
double m_ppx[10];
double m_ppy[10];
double m_ppz[10];
double m_PX;
double m_PY;
double m_PZ;
double m_M[10][6];
double m_TM[6][10];
double m_ReM[6][6];
double m_P[10][10];
double m_MTP[6][10];
double m_MTPM[6][6];
double m_X[6];
InputP input;
void make_M(double arrX[10],double arrY[10],double arrZ[10]);
void Get_TM(double arr[10][6]);
void MultMTxP(double MT[6][10],double P[10][10]);
void MultMTPxM(double arr1[6][10],double arr2[10][6]);
void GetX();
void make_Re(int demsion,double matx[6][6]);
void computeP(double arr1[10],double arr2[10]);
protected: // create from serialization only
CNeiChaView();
DECLARE_DYNCREATE(CNeiChaView)
// Attributes
public:
CNeiChaDoc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CNeiChaView)
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 ~CNeiChaView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CNeiChaView)
afx_msg void OnSetcenter();
afx_msg void OnMouseMove(UINT nFlags, CPoint point);
afx_msg void OnCompute();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in NeiChaView.cpp
inline CNeiChaDoc* CNeiChaView::GetDocument()
{ return (CNeiChaDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_NEICHAVIEW_H__2298562F_E651_4229_A18E_A83A6AC065B7__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -