STL文件读取代码
代码说明:
// STLViewerView.h : interface of the CSTLViewerView class // ///////////////////////////////////////////////////////////////////////////// #if !defined(AFX_STLVIEWERVIEW_H__D5F8FC2E_373C_442E_AAF5_D321322B1658__INCLUDED_) #define AFX_STLVIEWERVIEW_H__D5F8FC2E_373C_442E_AAF5_D321322B1658__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 #include "..incGeomCalcCadBase.h" #include "..incglContextopenGLDC.h" #include "FenCengDlg.h" class CP3d : public CObject { public: CPoint3D a1,a2,a3; }; class CSTLViewerView : public CGLView { protected: // create from serialization only CSTLViewerView(); DECLARE_DYNCREATE(CSTLViewerView) // Attributes public: CSTLViewerDoc* GetDocument(); CTypedPtrArray
下载说明:请别用迅雷下载,失败请重下,重下不扣分!