You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
61 lines
1.5 KiB
C++
61 lines
1.5 KiB
C++
|
|
// TriangleDlgDlg.h : header file
|
|
//
|
|
|
|
#pragma once
|
|
|
|
|
|
// CTriangleDlgDlg dialog
|
|
class CTriangleDlgDlg : public CDialog
|
|
{
|
|
// Construction
|
|
public:
|
|
CTriangleDlgDlg(CWnd* pParent = NULL); // standard constructor
|
|
|
|
// Dialog Data
|
|
enum { IDD = IDD_TRIANGLEDLG_DIALOG };
|
|
|
|
protected:
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
|
|
|
|
|
// Implementation
|
|
protected:
|
|
HICON m_hIcon;
|
|
|
|
// Generated message map functions
|
|
virtual BOOL OnInitDialog();
|
|
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
|
|
afx_msg void OnPaint();
|
|
afx_msg HCURSOR OnQueryDragIcon();
|
|
DECLARE_MESSAGE_MAP()
|
|
public:
|
|
afx_msg void OnBnClickedOk();
|
|
afx_msg void OnBnClickedButton4();
|
|
afx_msg void OnBnClickedButton5();
|
|
afx_msg void OnEnChangeEdit4();
|
|
CString m_strInput1;
|
|
CString m_strInput2;
|
|
CString m_strTriangleOutput1;
|
|
CString m_strCrossOutput;
|
|
afx_msg void OnBnClickedPointInput();
|
|
afx_msg void OnBnClickedCurveInput();
|
|
afx_msg void OnBnClickedTriangleOutput();
|
|
afx_msg void OnBnClickedCrossOutput();
|
|
/*afx_msg void OnBnClickedExportTriangle();*/
|
|
BOOL m_bExtNet;
|
|
/*CString m_strTip;*/
|
|
|
|
///*afx_msg void OnStnClickedOutputTip();*/
|
|
afx_msg void OnBnClickedViewDataFile();
|
|
afx_msg void OnBnClickedViewCurveFile();
|
|
afx_msg void OnBnClickedViewTriangleFile();
|
|
afx_msg void OnBnClickedViewCrosslineFile();
|
|
int m_createType;
|
|
CString m_strTriangleOutput2;
|
|
afx_msg void OnBnClickedTriangleOutput2();
|
|
afx_msg void OnBnClickedViewTriangleFile2();
|
|
private:
|
|
BOOL CreateTriangulation(CTriangulation& triTest,CString filename);
|
|
};
|