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.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
# 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生成属性sheet*/
int Create ( BOOL page_Input = TRUE , BOOL page_Grid = TRUE , BOOL page_Precision = TRUE ,
BOOL page_Smooth = TRUE , BOOL page_Output = TRUE ) ;
/** @brief 读取输入数据初始化各属性参数 */
int Read ( CString strInput = _T ( " " ) , CString strFlt = _T ( " " ) , CString strOutline = _T ( " " ) ) ;
/** @brief 设置散点指针*/
void SetPointsPtr ( CFPoints & points ) ;
/** @brief 得到数据的范围值*/
BOOL GetDataRange ( ) ;
/** @brief 得到边界范围值,如不成功, 返回FALSE*/
BOOL GetOutlineRange ( ) ;
/** @brief 得到精度值*/
double GetPrecision ( ) ;
/** @brief 得到平滑度*/
int GetSmooth ( ) ;
/** @brief 是否显示*/
BOOL IsDisplay ( ) ;
/** @brief 得到最大最小循环次数*/
bool GetLoop ( int & loopmax , int & loopmin ) ;
void GetGridParam ( SGridParamEx & gp ) ;
public :
CPageInput pageInput ;
CPageGrid pageGrid ;
CPagePrecision pagePrec ;
CPageSmooth pageSmooth ;
CPageGridOutput pageOutput ;
CFPoints * m_pPoints ; ///< 散点类对象
double m_range [ 6 ] ; ///< 坐标范围[xmin,ymin,zmin,xmax,ymax,zmax]
} ;