1 // stdafx.h : include file for standard system include files, 2 // or project specific include files that are used frequently, but 3 // are changed infrequently 4 // 5 6 #if _MSC_VER >= 1000 7 #pragma once 8 #endif // _MSC_VER >= 1000 9 10 #define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers 11 12 #include <afxwin.h> // MFC core and standard components 13 #include <afxext.h> // MFC extensions 14 #include <afxdisp.h> // MFC OLE automation classes 15 #ifndef _AFX_NO_AFXCMN_SUPPORT 16 #include <afxcmn.h> // MFC support for Windows Common Controls 17 #endif // _AFX_NO_AFXCMN_SUPPORT 18 19 #pragma warning( disable : 4244 ) // Issue warning 4244 20 #include "Standard_ShortReal.hxx" 21 #pragma warning( default : 4244 ) // Issue warning 4244 22 23 #include <Standard.hxx> 24 /* 25 #ifndef Version15B 26 # ifndef Version15D 27 # ifndef Version20 28 # define Version15B 29 # endif // Version20 30 # endif // Version15D 31 #endif // Version15B 32 33 #pragma message ("=============================") 34 #ifdef Version15B 35 # pragma message ("Set the libs for version 1.5B") 36 #endif // Version15B 37 38 #ifdef Version15D 39 # pragma message ("Set the libs for version 1.5D") 40 #endif // Version15D 41 42 #ifdef Version20 43 # pragma message ("Set the libs for version 2.0 ") 44 #endif // Version20 45 #pragma message ("=============================") 46 47 #ifdef Version15B 48 # pragma comment (lib,"TKTop.lib") 49 # pragma comment (lib,"TShort.lib") 50 # pragma comment (lib,"TColQuantity.lib") 51 #endif 52 53 #ifdef Version15D 54 # pragma comment (lib,"TKTop.lib") 55 #endif 56 57 #ifdef Version20 58 # pragma comment (lib,"TKTop1.lib") 59 # pragma comment (lib,"TKTop2.lib") 60 #endif 61 62 #pragma message ("Set the specific libs for the application") 63 # pragma comment (lib,"TKPrs.lib") 64 # pragma comment (lib,"TKGeom.lib") 65 # pragma comment (lib,"TKGlt.lib") 66 # pragma comment (lib,"TKGraphic.lib") 67 # pragma comment (lib,"TKPrsMgr.lib") 68 # pragma comment (lib,"TKViewers.lib") 69 # pragma comment (lib,"TKSession.lib") 70 # pragma comment (lib,"TColgp.lib") 71 # pragma comment (lib,"TKernel.lib") 72 */ 73 74 75 #include <AIS_InteractiveContext.hxx> 76 #include <AIS_Shape.hxx> 77 #include <V3d_Viewer.hxx> 78 #include <V3d_View.hxx> 79 #include <WNT_Window.hxx> 80 #include <Standard_ErrorHandler.hxx> 81 #include <BRepPrimAPI_MakeBox.hxx> 82 #include <BRepPrimAPI_MakeCylinder.hxx> 83 84 #include "TopoDS_Shape.hxx" 85 #include "BRepPrimAPI_MakeBox.hxx" 86 #include "BRepPrimAPI_MakeSphere.hxx" 87 #include "gp_Pnt.hxx" 88 #include "BRepAlgoAPI_Cut.hxx" 89 #include "TopExp_Explorer.hxx" 90 #include "TopoDS_Face.hxx" 91 #include "TopLoc_Location.hxx" 92 #include "Poly_Triangulation.hxx" 93 #include "BRep_Tool.hxx" 94 #include "TopoDS.hxx" 95 #include "TColgp_Array1OfPnt.hxx" 96 #include "Poly_Array1OfTriangle.hxx" 97 #include "Poly_Triangle.hxx" 98 #include "gp_Pnt.hxx" 99 #include "BRepBuilderAPI_MakeEdge.hxx" 100 #include "BRep_Builder.hxx" 101 #include "TopoDS_Compound.hxx" 102 #include "BRepAlgoAPI_Fuse.hxx" 103 #include "BRepBuilderAPI_MakeVertex.hxx" 104 #include "TopoDS.hxx" 105 #include "BRepTools.hxx" 106 #include "BRepMesh_IncrementalMesh.hxx" 107 108 #include <UnitsAPI.hxx> 109 110 #include <res\resource.h> 111 //{{AFX_INSERT_LOCATION}} 112 // Microsoft Developer Studio will insert additional declarations immediately before the previous line. 113 114