|
|
|
|
|
#pragma once
|
|
|
|
|
|
#include "afxdlgs.h"
|
|
|
|
|
|
#include "PageInput.h"
|
|
|
|
|
|
#include "PageGrid.h"
|
|
|
|
|
|
#include "PagePrecision.h"
|
|
|
|
|
|
#include "PageSmooth.h"
|
|
|
|
|
|
#include "PageGridOutput.h"
|
|
|
|
|
|
|
|
|
|
|
|
class CFUISheet :
|
|
|
|
|
|
public CPropertySheet
|
|
|
|
|
|
{
|
|
|
|
|
|
DECLARE_DYNAMIC(CFUISheet)
|
|
|
|
|
|
// construction
|
|
|
|
|
|
public:
|
|
|
|
|
|
CFUISheet(UINT nIDCaption, CWnd* pParentWnd = NULL, UINT iSelectPage = 0);
|
|
|
|
|
|
CFUISheet(LPCTSTR pszCaption, CWnd* pParentWnd = NULL, UINT iSelectPage = 0);
|
|
|
|
|
|
virtual ~CFUISheet();
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
|
|
|
|
/** @brief<65><66><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>sheet*/
|
|
|
|
|
|
int Create(BOOL page_Input=TRUE , BOOL page_Grid=TRUE , BOOL page_Precision =TRUE,
|
|
|
|
|
|
BOOL page_Smooth =TRUE, BOOL page_Output=TRUE);
|
|
|
|
|
|
|
|
|
|
|
|
/** @brief <20><>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݳ<EFBFBD>ʼ<EFBFBD><CABC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Բ<EFBFBD><D4B2><EFBFBD> */
|
|
|
|
|
|
int Read(CString strInput = _T(""),CString strFlt = _T(""), CString strOutline = _T(""));
|
|
|
|
|
|
/** @brief <20><><EFBFBD><EFBFBD>ɢ<EFBFBD><C9A2>ָ<EFBFBD><D6B8>*/
|
|
|
|
|
|
void SetPointsPtr(CFPoints& points);
|
|
|
|
|
|
|
|
|
|
|
|
/** @brief <20>õ<EFBFBD><C3B5><EFBFBD><EFBFBD>ݵķ<DDB5>Χֵ*/
|
|
|
|
|
|
BOOL GetDataRange();
|
|
|
|
|
|
/** @brief <20>õ<EFBFBD><C3B5>߽緶Χֵ,<2C>粻<EFBFBD>ɹ<EFBFBD><C9B9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>FALSE*/
|
|
|
|
|
|
BOOL GetOutlineRange();
|
|
|
|
|
|
/** @brief <20>õ<EFBFBD><C3B5><EFBFBD><EFBFBD><EFBFBD>ֵ*/
|
|
|
|
|
|
double GetPrecision();
|
|
|
|
|
|
/** @brief <20>õ<EFBFBD>ƽ<EFBFBD><C6BD><EFBFBD><EFBFBD>*/
|
|
|
|
|
|
int GetSmooth();
|
|
|
|
|
|
/** @brief <20>Ƿ<EFBFBD><C7B7><EFBFBD>ʾ*/
|
|
|
|
|
|
BOOL IsDisplay();
|
|
|
|
|
|
/** @brief <20>õ<EFBFBD><C3B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Сѭ<D0A1><D1AD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>*/
|
|
|
|
|
|
bool GetLoop(int& loopmax, int& loopmin);
|
|
|
|
|
|
|
|
|
|
|
|
void GetGridParam(SGridParamEx& gp);
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
CPageInput pageInput;
|
|
|
|
|
|
CPageGrid pageGrid;
|
|
|
|
|
|
CPagePrecision pagePrec;
|
|
|
|
|
|
CPageSmooth pageSmooth;
|
|
|
|
|
|
CPageGridOutput pageOutput;
|
|
|
|
|
|
|
|
|
|
|
|
CFPoints* m_pPoints; ///< ɢ<><C9A2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
|
double m_range[6]; ///< <20><><EFBFBD>귶Χ[xmin,ymin,zmin,xmax,ymax,zmax]
|
|
|
|
|
|
};
|
|
|
|
|
|
|