#pragma once #include "resource.h" #include "afxwin.h" #include "GsPreviewCtrl.h" #include "EarThwormDef.h" class AecDbX3dGroup; class CGLYCDlg : public CDialog { DECLARE_DYNAMIC(CGLYCDlg) public: CGLYCDlg(CWnd* pParent = NULL); virtual ~CGLYCDlg(); enum { IDD = IDD_GLYC_DLG }; void SetCrossSectionScr(LPCTSTR psz){ m_sCrossSectionScr = psz;m_sCrossSectionScr1 = psz; } int GetX3dSolidRecs( AecDbX3dGroup*& group); protected: virtual void DoDataExchange(CDataExchange* pDX); DECLARE_MESSAGE_MAP() public: virtual BOOL OnInitDialog(); afx_msg void OnBnClickedButton1(); afx_msg void OnBnClickedOk(); protected: void ShowEarthWorm(); void GetEWSize(LPCTSTR pszScr,AcGePoint2d& ptSize,AcGePoint2d& ptThick,AcArray& arRooms); public: double m_dL; double m_dX; double m_dB; double m_dC; double m_dH; int m_nPos; double m_dG; double m_dW; CString m_sCrossSectionScr; CString m_sCrossSectionScr1; public: CGsPreviewCtrl m_wndViewCtrl; int m_nPos2; };