155de32b213873f420ac365a8a56edf37cd4420a
[occt.git] / samples / mfc / standard / Common / 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 #include <Standard_PrimitiveTypes.hxx>
29
30 #include <AIS_InteractiveContext.hxx>
31 #include <AIS_Line.hxx>
32 #include <AIS_Shape.hxx>
33 #include <AIS_Drawer.hxx>
34 #include <AIS_Point.hxx>
35 #include <AIS_TexturedShape.hxx>
36 #include <Aspect_Grid.hxx>
37 #include <Aspect_PolygonOffsetMode.hxx>
38 #include <Aspect_TypeOfText.hxx>
39 #include <Aspect_DisplayConnection.hxx>
40 #include <Aspect_AspectMarker.hxx>
41
42 #include <BRep_Tool.hxx>
43 #include <BRepTools.hxx>
44 #include <BRepBuilderAPI_NurbsConvert.hxx>
45 #include <BRepPrimAPI_MakeCylinder.hxx>
46 #include <BRepBuilderAPI_MakeEdge.hxx>
47 #include <BRepBuilderAPI_MakeWire.hxx>
48 #include <BRepBuilderAPI_MakeFace.hxx>
49 #include <BRepBndLib.hxx>
50 #include <BRepAdaptor_HArray1OfCurve.hxx>
51 #include <BRepAdaptor_Curve2d.hxx>
52 #include <BRepBuilderAPI_MakeVertex.hxx>
53
54
55 #include <GCPnts_QuasiUniformDeflection.hxx>
56 #include <Geom2d_TrimmedCurve.hxx>
57 #include <GeomLib.hxx>
58 #include <Geom_Surface.hxx>
59 #include <Geom_Curve.hxx>
60 #include <Geom_Plane.hxx>
61 #include <Geom_CartesianPoint.hxx>
62 #include <Graphic3d_Group.hxx>
63 #include <Graphic3d_HorizontalTextAlignment.hxx>
64 #include <Graphic3d_VerticalTextAlignment.hxx>
65 #include <Graphic3d_Array1OfVertex.hxx>
66 #include <Graphic3d_ArrayOfPolylines.hxx>
67 #include <Graphic3d.hxx>
68 #include <Graphic3d_ExportFormat.hxx>
69 #include <Graphic3d_ArrayOfPolylines.hxx>
70 #include <Graphic3d_AspectFillArea3d.hxx>
71 #include <Graphic3d_AspectText3d.hxx>
72 #include <Graphic3d_AspectLine3d.hxx>
73 #include <Graphic3d_AspectMarker3d.hxx>
74 #include <Graphic3d_Texture1Dsegment.hxx>
75 #include <gp_Pln.hxx>
76 #include <gp.hxx>
77 #include <gp_Pnt2d.hxx>
78
79 #include <OpenGl_GraphicDriver.hxx>
80 #include <Prs3d_Root.hxx>
81 #include <Prs3d_Drawer.hxx>
82 #include <Prs3d_IsoAspect.hxx>
83 #include <Prs3d_ShadingAspect.hxx>
84 #include <Prs3d_Presentation.hxx>
85 #include <PrsMgr_PresentationManager3d.hxx>
86 #include <Prs3d_TextAspect.hxx>
87 #include <Prs3d_Text.hxx>
88
89 #include <Select3D_ListOfSensitive.hxx>
90 #include <Select3D_SensitiveBox.hxx>
91 #include <Select3D_SensitiveCurve.hxx>
92 #include <Select3D_SensitiveGroup.hxx>
93 #include <SelectMgr_Selection.hxx>
94 #include <SelectMgr_SequenceOfOwner.hxx>
95 #include <SelectMgr_EntityOwner.hxx>
96 #include <ShapeBuild_Edge.hxx>
97 #include <StdSelect_ViewerSelector3d.hxx>
98 #include <StdPrs_ShadedShape.hxx>
99 #include <StdPrs_HLRPolyShape.hxx>
100 #include <StdSelect_BRepSelectionTool.hxx>
101 #include <StdPrs_WFDeflectionShape.hxx>
102 #include <StdPrs_WFShape.hxx>
103 #include <StdPrs_ToolRFace.hxx>
104 #include <StdSelect.hxx>
105 #include <StdSelect_BRepOwner.hxx>
106 #include <StdSelect_BRepSelectionTool.hxx>
107
108 #include <TCollection_AsciiString.hxx>
109 #include "TopExp.hxx"
110 #include <TopExp_Explorer.hxx>
111 #include <TopoDS.hxx>
112 #include <TopoDS_Builder.hxx>
113 #include <TopoDS_Compound.hxx>
114 #include <TopoDS_ListOfShape.hxx>
115 #include <TopoDS_ListIteratorOfListOfShape.hxx>
116 #include <TopoDS_Iterator.hxx>
117 #include "TopoDS_Edge.hxx"
118 #include "TopoDS_Vertex.hxx"
119 #include <TopTools_HSequenceOfShape.hxx>
120 #include <TopTools_IndexedMapOfShape.hxx>
121
122 #include <Visual3d_View.hxx>
123 #include <V3d_Viewer.hxx>
124 #include <V3d_View.hxx>
125 #include <WNT_Window.hxx>
126
127 //{{AFX_INSERT_LOCATION}}
128 // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
129