欢迎来到天天文库
浏览记录
ID:33196964
大小:146.00 KB
页数:25页
时间:2019-02-22
《三维激光扫描机扫描点云处理系统软件v》由会员上传分享,免费在线阅读,更多相关内容在应用文档-天天文库。
1、测量数据格式转化系统软件V1.0MDTS源程序测量数据格式转化系统软件V1.0源程序24源程序(摘选)//CloudDataProcessView.h:interfaceoftheCCloudDataProcessViewclass///////////////////////////////////////////////////////////////////////////////#if!defined(AFX_CLOUDDATAPROCESSVIEW_H__8ED208CB_CD2A_4A1E_B086_2D3832BCB615__INCLUDED_)#defineAFX_CLO
2、UDDATAPROCESSVIEW_H__8ED208CB_CD2A_4A1E_B086_2D3832BCB615__INCLUDED_#if_MSC_VER>1000#pragmaonce#endif//_MSC_VER>1000#include#include"ChToIGES.h"#include"ChToDXF.h"#include"ComDAT.h"classCPointGenerateDlg;typedefCArraypoint;classCCloudDataProcessView:publicCView{protected:
3、//createfromserializationonlyCCloudDataProcessView();DECLARE_DYNCREATE(CCloudDataProcessView)//Attributespublic://CCloudDataProcessDoc*GetDocument();//Operationspublic://Overrides//ClassWizardgeneratedvirtualfunctionoverrides//{{AFX_VIRTUAL(CCloudDataProcessView)public:virtualvoidOnDraw(CDC*pDC);
4、//overriddentodrawthisviewvirtualBOOLPreCreateWindow(CREATESTRUCT&cs);protected:virtualBOOLOnPreparePrinting(CPrintInfo*pInfo);virtualvoidOnBeginPrinting(CDC*pDC,CPrintInfo*pInfo);virtualvoidOnEndPrinting(CDC*pDC,CPrintInfo*pInfo);//}}AFX_VIRTUAL测量数据格式转化系统软件V1.0源程序24//Implementationpublic:voidRig
5、htProbeSampling();voidEqualDisSampling(floatmin,floatmax,intnFunNum);floatCurveFunction(floatx,intnFunNum);voidXYZCoordinateBegin();voidXYZCoordinateClear();voidFunction1(floatmin,floatmax,intnFunNum);voidFileSave();CStringm_strDocPathName;BOOLbIsChange;floatZwidth;inlinevoidMaxMinCenter();inline
6、voidReadData(CStringPathName);CDC*m_pDC;HPALETTEm_hPalette;HGLRCm_hRC;BOOLInitializeOpenGL(CDC*pDC);voidSetLogicalPalette(void);BOOLSetupPixelFormat();BOOLRenderScene();virtual~CCloudDataProcessView();#ifdef_DEBUGvirtualvoidAssertValid()const;virtualvoidDump(CDumpContext&dc)const;#endifprotected:
7、//Generatedmessagemapfunctionsprotected:intYDotNum;intXDotNum;inlinevoidDeleteChosenDot();intm_nStep;pointXDot,YDot;//任意多边形删除点的时候记录多边形的点pointXDotReal,YDotReal;BOOLbfirsttime;//BOOLbRectFinished;BOOLbCenMReady;voidDrawO
此文档下载收益归作者所有