資源描述:
《三維激光掃描機掃描點云處理系統(tǒng)軟件v》由會員上傳分享,免費在線閱讀,更多相關(guān)內(nèi)容在應(yīng)用文檔-天天文庫。
1、測量數(shù)據(jù)格式轉(zhuǎn)化系統(tǒng)軟件V1.0MDTS源程序測量數(shù)據(jù)格式轉(zhuǎn)化系統(tǒng)軟件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測量數(shù)據(jù)格式轉(zhuǎn)化系統(tǒng)軟件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