0026787: Do not declare redundant macros WNT, LIN, WIN32, WIN64 within samples projec...
[occt.git] / samples / mfc / standard / 02_Modeling / 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
25 #include <AIS_InteractiveContext.hxx>
26 #include <AIS_Shape.hxx>
27 #include <V3d_Viewer.hxx>
28 #include <V3d_View.hxx>
29 #include <WNT_Window.hxx>
30 #include <Prs3d_Drawer.hxx>
31 #include <Standard_ErrorHandler.hxx>
32 #include <BRepPrimAPI_MakeWedge.hxx>
33 #include <gp_Vec.hxx>
34 #include <gp_Trsf.hxx>
35 #include <gp_Circ.hxx>
36 #include <gp_Circ2d.hxx>
37 #include <gp_Pln.hxx>
38 #include <gp_Elips.hxx>
39 #include <gp_Sphere.hxx>
40 #include <AIS_Axis.hxx>
41 #include <BRepBuilderAPI_Transform.hxx>
42 #include <AIS_Point.hxx>
43 #include <AIS_Plane.hxx>
44 #include <AIS_Line.hxx>
45 #include <GProp_GProps.hxx>
46 #include <AIS_ConnectedInteractive.hxx>
47 #include <Geom_CartesianPoint.hxx>
48 #include <Geom_BSplineSurface.hxx>
49 #include <Geom_Axis1Placement.hxx>
50 #include <Geom_BezierCurve.hxx>
51 #include <Geom_RectangularTrimmedSurface.hxx>
52 #include <Geom_Line.hxx>
53 #include <Geom_Circle.hxx>
54 #include <Geom_Transformation.hxx>
55 #include <Geom_CylindricalSurface.hxx>
56 #include <Graphic3d_ArrayOfSegments.hxx>
57 #include <Graphic3d_Group.hxx>
58 #include <BRepBuilderAPI_GTransform.hxx>
59 #include <BRepPrimAPI_MakeBox.hxx>
60 #include <BRepPrimAPI_MakeCone.hxx>
61 #include <BRepPrimAPI_MakeSphere.hxx>
62 #include <BRepPrimAPI_MakePrism.hxx>
63 #include <BRepPrimAPI_MakeTorus.hxx>
64 #include <BRepBuilderAPI_MakeVertex.hxx>
65 #include <BRepBuilderAPI_MakeFace.hxx>
66 #include <BRepBuilderAPI_MakeEdge.hxx>
67 #include <BRepBuilderAPI_MakeWire.hxx>
68 #include <BRepBuilderAPI_MakePolygon.hxx>
69 #include <BRepBuilderAPI_MakeShell.hxx>
70 #include <BRepPrimAPI_MakeRevol.hxx>
71 #include <BRepOffsetAPI_MakePipe.hxx>
72 #include <BRepOffsetAPI_ThruSections.hxx>
73 #include <BRepOffsetAPI_MakeEvolved.hxx>
74 #include <BRepOffsetAPI_DraftAngle.hxx>
75 #include <BRepOffsetAPI_Sewing.hxx>
76 #include <BRepGProp.hxx>
77 #include <BRepAlgo.hxx>
78 #include <BRepAlgoAPI_Cut.hxx>
79 #include <BRepAlgoAPI_Fuse.hxx>
80 #include <BRepAlgoAPI_Common.hxx>
81 #include <BRepAlgoAPI_Section.hxx>
82 #include <BRepFilletAPI_MakeFillet.hxx>
83 #include <BRepFilletAPI_MakeChamfer.hxx>
84 #include <TColgp_Array1OfPnt.hxx>
85 #include <TopOpeBRepTool.hxx>
86 #include <TColgp_Array1OfPnt2d.hxx>
87 #include <TColgp_Array2OfPnt.hxx>
88 #include <TColStd_Array1OfReal.hxx>
89 #include <TColStd_Array1OfInteger.hxx>
90 #include <TopExp.hxx>
91 #include <GCE2d_MakeLine.hxx>
92 #include <BRepLib.hxx>
93 #include <BRepFeat_MakePrism.hxx>
94 #include <BRepFeat_MakeDPrism.hxx>
95 #include <BRepFeat_MakeRevol.hxx>
96 #include <BRepFeat_Gluer.hxx>
97 #include <BRepFeat_MakePipe.hxx>
98 #include <BRepFeat_MakeLinearForm.hxx>
99 #include <BRepFeat_SplitShape.hxx>
100 #include <BRepOffsetAPI_MakeThickSolid.hxx>
101 #include <Geom2d_Curve.hxx>
102 #include <Geom2d_Circle.hxx>
103 #include <Geom2d_Line.hxx>
104 #include <GeomAPI_PointsToBSplineSurface.hxx>
105 #include <GeomAPI_PointsToBSpline.hxx>
106 #include <Geom_BSplineCurve.hxx>
107 #include <GeomFill_BSplineCurves.hxx>
108 #include <LocOpe_FindEdges.hxx>
109 #include <TopoDS_Compound.hxx>
110 #include <TopoDS_Solid.hxx>
111 #include <GeomPlate_HArray1OfHCurveOnSurface.hxx>
112 #include <TColStd_HArray1OfInteger.hxx>
113 #include <BRepAdaptor_Surface.hxx>
114 #include <GeomAdaptor_HSurface.hxx>
115 #include <BRepAdaptor_HCurve2d.hxx>
116 #include <GeomPlate_BuildPlateSurface.hxx>
117 #include <GeomPlate_MakeApprox.hxx>
118 #include <TopTools_Array1OfShape.hxx>
119 #include <TColGeom2d_HArray1OfCurve.hxx>
120 #include <BRepTopAdaptor_FClass2d.hxx>
121 #include <BRepAdaptor_Curve.hxx>
122 #include <TColgp_HArray1OfPnt.hxx>
123 #include <GeomPlate_BuildAveragePlane.hxx>
124 #include <Plate_PinpointConstraint.hxx>
125 #include <Plate_D1.hxx>
126 #include <Plate_GtoCConstraint.hxx>
127 #include <Prs3d_Arrow.hxx>
128 #include <Prs3d_LineAspect.hxx>
129 #include <Prs3d_Root.hxx>
130 #include <GeomPlate_Surface.hxx>
131 #include <GeomProjLib.hxx>
132 #include <GCE2d_MakeSegment.hxx>
133 #include <Geom2d_TrimmedCurve.hxx>
134 #include "ISession_Direction.h"
135
136 #include <UnitsAPI.hxx>
137 //{{AFX_INSERT_LOCATION}}
138 // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
139