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
8 #endif // _MSC_VER >= 1000
10 #define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
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
20 #error WNT precompiler directive is mandatory for CasCade
23 #pragma warning( disable : 4244 ) // Issue warning 4244
24 #include "Standard_ShortReal.hxx"
25 #pragma warning( default : 4244 ) // Issue warning 4244
27 #include <Standard.hxx>
37 #pragma message ("=============================")
39 # pragma message ("Set the libs for version 1.5B")
43 # pragma message ("Set the libs for version 1.5D")
47 # pragma message ("Set the libs for version 2.0 ")
49 #pragma message ("=============================")
52 # pragma comment (lib,"TKTop.lib")
53 # pragma comment (lib,"TShort.lib")
54 # pragma comment (lib,"TColQuantity.lib")
58 # pragma comment (lib,"TKTop.lib")
62 # pragma comment (lib,"TKTop1.lib")
63 # pragma comment (lib,"TKTop2.lib")
66 #pragma message ("Set the specific libs for the application")
67 # pragma comment (lib,"TKPrs.lib")
68 # pragma comment (lib,"TKGeom.lib")
69 # pragma comment (lib,"TKGlt.lib")
70 # pragma comment (lib,"TKGraphic.lib")
71 # pragma comment (lib,"TKPrsMgr.lib")
72 # pragma comment (lib,"TKViewers.lib")
73 # pragma comment (lib,"TKSession.lib")
74 # pragma comment (lib,"TColgp.lib")
75 # pragma comment (lib,"TKernel.lib")
79 #include <AIS_InteractiveContext.hxx>
80 #include <AIS_Shape.hxx>
81 #include <Graphic3d_WNTGraphicDevice.hxx>
82 #include <V3d_Viewer.hxx>
83 #include <V3d_View.hxx>
84 #include <WNT_Window.hxx>
85 #include <Standard_ErrorHandler.hxx>
86 #include <BRepPrimAPI_MakeBox.hxx>
87 #include <BRepPrimAPI_MakeCylinder.hxx>
89 #include "TopoDS_Shape.hxx"
90 #include "BRepPrimAPI_MakeBox.hxx"
91 #include "BRepPrimAPI_MakeSphere.hxx"
93 #include "BRepAlgoAPI_Cut.hxx"
94 #include "BRepMesh.hxx"
95 #include "TopExp_Explorer.hxx"
96 #include "TopoDS_Face.hxx"
97 #include "TopLoc_Location.hxx"
98 #include "Poly_Triangulation.hxx"
99 #include "BRep_Tool.hxx"
100 #include "TopoDS.hxx"
101 #include "TColgp_Array1OfPnt.hxx"
102 #include "Poly_Array1OfTriangle.hxx"
103 #include "Poly_Triangle.hxx"
104 #include "gp_Pnt.hxx"
105 #include "BRepBuilderAPI_MakeEdge.hxx"
106 #include "BRep_Builder.hxx"
107 #include "TopoDS_Compound.hxx"
108 #include "BRepAlgoAPI_Fuse.hxx"
109 #include "BRepBuilderAPI_MakeVertex.hxx"
110 #include "TopoDS.hxx"
111 #include "BRepTools.hxx"
113 #include <UnitsAPI.hxx>
115 #include <res\resource.h>
116 //{{AFX_INSERT_LOCATION}}
117 // Microsoft Developer Studio will insert additional declarations immediately before the previous line.