0026787: Do not declare redundant macros WNT, LIN, WIN32, WIN64 within samples projec...
[occt.git] / samples / mfc / standard / 04_Viewer3d / 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 #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 #include <AIS_InteractiveContext.hxx>
25 #include <AIS_Shape.hxx>
26 #include <V3d_Viewer.hxx>
27 #include <V3d_View.hxx>
28 #include <WNT_Window.hxx>
29 #include <Standard_ErrorHandler.hxx>
30 #include <BRepPrimAPI_MakeBox.hxx>
31 #include <BRepPrimAPI_MakeCylinder.hxx>
32 #include <BRepPrimAPI_MakeSphere.hxx>
33 #include <BRepBuilderAPI_MakeVertex.hxx>
34 #include <BRepPrimAPI_MakeCone.hxx>
35 #include <BRepBuilderAPI_MakeEdge.hxx>
36 #include <BRepBuilderAPI_MakeFace.hxx>
37 #include <gp_Trsf.hxx>
38 #include <gp_Dir.hxx>
39 #include <gp_Pnt.hxx>
40 #include <gp_Ax2.hxx>
41 #include <ProjLib.hxx>
42 #include <ElSLib.hxx>
43 #include <gp_Pln.hxx>
44 #include <V3d_Plane.hxx>
45 #include <gp_Trsf.hxx>
46 #include <UnitsAPI.hxx>
47 #include <BRepBuilderAPI_NurbsConvert.hxx>
48 #include <Aspect_PolygonOffsetMode.hxx>
49 #include <AIS_ListOfInteractive.hxx>
50 #include <AIS_ListIteratorOfListOfInteractive.hxx>
51 #include <BRepFilletAPI_MakeFillet.hxx>
52 #include <Geom_Circle.hxx>
53 #include <AIS_Circle.hxx>
54 #include <AIS_Line.hxx>
55 #include <Geom_Line.hxx>
56 #include <Prs3d_Drawer.hxx>
57 #include <TopoDS.hxx>
58 #include <Prs3d_IsoAspect.hxx>
59 #include <Prs3d_ShadingAspect.hxx>
60 #include <Geom_Surface.hxx>
61 #include <Geom_Plane.hxx>
62 #include <BRep_Tool.hxx>
63
64 #include "State.h"
65
66 #include <..\res\resource.h>
67
68 //{{AFX_INSERT_LOCATION}}
69 // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
70