c0541da06e9245c22a1dbfee3630d96366158e7f
[occt.git] / samples / mfc / standard / 07_Triangulation / src / StdAfx.h
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 #if !defined(WNT)
20    #error WNT precompiler directive is mandatory for CasCade 
21 #endif
22
23 #pragma warning(  disable : 4244 )        // Issue warning 4244
24 #include "Standard_ShortReal.hxx"
25 #pragma warning(  default : 4244 )        // Issue warning 4244
26
27 #include <Standard.hxx>
28 /*
29 #ifndef Version15B
30 # ifndef Version15D
31 #  ifndef Version20
32 #   define Version15B
33 #  endif // Version20
34 # endif // Version15D
35 #endif // Version15B
36
37 #pragma message ("=============================")
38 #ifdef Version15B
39 # pragma message ("Set the libs for version 1.5B")
40 #endif // Version15B
41
42 #ifdef Version15D
43 # pragma message ("Set the libs for version 1.5D")
44 #endif // Version15D
45
46 #ifdef Version20
47 # pragma message ("Set the libs for version 2.0 ")
48 #endif // Version20
49 #pragma message ("=============================")
50
51 #ifdef Version15B
52 # pragma comment (lib,"TKTop.lib")
53 # pragma comment (lib,"TShort.lib")
54 # pragma comment (lib,"TColQuantity.lib")
55 #endif
56
57 #ifdef Version15D
58 # pragma comment (lib,"TKTop.lib")
59 #endif
60
61 #ifdef Version20
62 # pragma comment (lib,"TKTop1.lib")
63 # pragma comment (lib,"TKTop2.lib")
64 #endif
65
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")
76 */
77
78  
79 #include <AIS_InteractiveContext.hxx>
80 #include <AIS_Shape.hxx>
81 #include <V3d_Viewer.hxx>
82 #include <V3d_View.hxx>
83 #include <WNT_Window.hxx>
84 #include <Standard_ErrorHandler.hxx>
85 #include <BRepPrimAPI_MakeBox.hxx>
86 #include <BRepPrimAPI_MakeCylinder.hxx>
87
88 #include "TopoDS_Shape.hxx"
89 #include "BRepPrimAPI_MakeBox.hxx"
90 #include "BRepPrimAPI_MakeSphere.hxx"
91 #include "gp_Pnt.hxx"
92 #include "BRepAlgoAPI_Cut.hxx"
93 #include "BRepMesh.hxx"
94 #include "TopExp_Explorer.hxx"
95 #include "TopoDS_Face.hxx"
96 #include "TopLoc_Location.hxx"
97 #include "Poly_Triangulation.hxx"
98 #include "BRep_Tool.hxx"
99 #include "TopoDS.hxx"
100 #include "TColgp_Array1OfPnt.hxx"
101 #include "Poly_Array1OfTriangle.hxx"
102 #include "Poly_Triangle.hxx"
103 #include "gp_Pnt.hxx"
104 #include "BRepBuilderAPI_MakeEdge.hxx"
105 #include "BRep_Builder.hxx"
106 #include "TopoDS_Compound.hxx"
107 #include "BRepAlgoAPI_Fuse.hxx"
108 #include "BRepBuilderAPI_MakeVertex.hxx"
109 #include "TopoDS.hxx"
110 #include "BRepTools.hxx"
111
112 #include <UnitsAPI.hxx>
113
114 #include <res\resource.h>
115 //{{AFX_INSERT_LOCATION}}
116 // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
117