Integration of OCCT 6.5.0 from SVN
[occt.git] / samples / mfc / standard / 07_Triangulation / src / StdAfx.h
CommitLineData
7fd59977 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 <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>
88
89#include "TopoDS_Shape.hxx"
90#include "BRepPrimAPI_MakeBox.hxx"
91#include "BRepPrimAPI_MakeSphere.hxx"
92#include "gp_Pnt.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"
112
113#include <UnitsAPI.hxx>
114
115#include <res\resource.h>
116//{{AFX_INSERT_LOCATION}}
117// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
118