0026787: Do not declare redundant macros WNT, LIN, WIN32, WIN64 within samples projec...
[occt.git] / samples / mfc / standard / 06_Ocaf / 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 !defined(AFX_STDAFX_H__49324D76_7836_11D4_8D45_00AA00D10994__INCLUDED_)
7 #define AFX_STDAFX_H__49324D76_7836_11D4_8D45_00AA00D10994__INCLUDED_
8
9 #if _MSC_VER >= 1000
10 #pragma once
11 #endif // _MSC_VER >= 1000
12
13 #define VC_EXTRALEAN            // Exclude rarely-used stuff from Windows headers
14
15 #include <afxwin.h>         // MFC core and standard components
16 #include <afxext.h>         // MFC extensions
17 #include <afxdisp.h>        // MFC OLE automation classes
18 #ifndef _AFX_NO_AFXCMN_SUPPORT
19 #include <afxcmn.h>                     // MFC support for Windows Common Controls
20 #endif // _AFX_NO_AFXCMN_SUPPORT
21
22
23
24 // CasCade :
25
26 #ifdef MAINWIN
27 # define false FALSE
28 # define true TRUE
29 #endif
30
31 #pragma warning(  disable : 4244 )        // Issue warning 4244
32 #include <Standard_ShortReal.hxx>
33 #pragma warning(  default : 4244 )        // Issue warning 4244
34
35 #include <AIS_InteractiveContext.hxx>
36 #include <AIS_InteractiveObject.hxx>
37 #include <AIS_Shape.hxx>
38 #include <AIS_SequenceOfInteractive.hxx>
39 #include <AIS_Trihedron.hxx>
40
41 #include <Aspect_Background.hxx>
42 #include <Aspect_TypeOfLine.hxx>
43 #include <Aspect_WidthOfLine.hxx>
44 #include <Bnd_Box2d.hxx>
45 #include <BndLib_Add2dCurve.hxx>
46 #include <BRep_Builder.hxx>
47 #include <BRep_Tool.hxx>
48
49
50 #include <BRepBuilderAPI.hxx>
51 #include <BRepAlgo.hxx>
52
53 #include <BRepTools.hxx>
54 #include <Standard_DefineHandle.hxx> 
55 #include <DsgPrs_LengthPresentation.hxx>
56 #include <GCE2d_MakeSegment.hxx>
57 #include <GCPnts_TangentialDeflection.hxx>
58 #include <Geom_Axis2Placement.hxx>
59 #include <Geom_CartesianPoint.hxx>
60 #include <Geom_Line.hxx>
61 #include <Geom_Surface.hxx>
62 #include <Geom2d_BezierCurve.hxx>
63 #include <Geom2d_BSplineCurve.hxx>
64 #include <Geom2d_Curve.hxx>
65 #include <Geom2d_TrimmedCurve.hxx>
66 #include <Geom2dAdaptor_Curve.hxx>
67 #include <GeomAbs_CurveType.hxx>
68 #include <GeomAdaptor_Curve.hxx>
69 #include <GeomTools_Curve2dSet.hxx>
70 #include <gp_Ax2d.hxx>
71 #include <gp_Circ2d.hxx>
72 #include <gp_Dir2d.hxx>
73 #include <gp_Lin2d.hxx>
74 #include <gp_Pnt2d.hxx>
75 #include <gp_Vec.hxx>
76 #include <gp_Vec2d.hxx>
77 #include <Graphic3d_NameOfMaterial.hxx>
78 #include <MMgt_TShared.hxx>
79 #include <OSD_Environment.hxx>
80 #include <Precision.hxx>
81 #include <Prs3d_Drawer.hxx>
82 #include <Prs3d_IsoAspect.hxx>
83 #include <Prs3d_LineAspect.hxx>
84 #include <Prs3d_Projector.hxx>
85 #include <Prs3d_Text.hxx>
86 #include <Quantity_Factor.hxx>
87 #include <Quantity_Length.hxx>
88 #include <Quantity_NameOfColor.hxx>
89 #include <Quantity_PhysicalQuantity.hxx>
90 #include <Quantity_PlaneAngle.hxx>
91 #include <Quantity_TypeOfColor.hxx>
92 #include <SelectMgr_EntityOwner.hxx>
93 #include <SelectMgr_SelectableObject.hxx>
94 #include <SelectMgr_Selection.hxx>
95 #include <SelectMgr_SelectionManager.hxx>
96 #include <Standard_Boolean.hxx>
97 #include <Standard_CString.hxx>
98 #include <Standard_ErrorHandler.hxx>
99 #include <Standard_Integer.hxx>
100 #include <Standard_IStream.hxx>
101 #include <Standard_Macro.hxx>
102 #include <Standard_NotImplemented.hxx>
103 #include <Standard_OStream.hxx>
104 #include <Standard_Real.hxx>
105 #include <StdPrs_Curve.hxx>
106 #include <StdPrs_Point.hxx>
107 #include <StdPrs_PoleCurve.hxx>
108 #include <TCollection_AsciiString.hxx>
109 #include <TColgp_Array1OfPnt2d.hxx>
110 #include <TColgp_HArray1OfPnt2d.hxx>
111 #include <TCollection_AsciiString.hxx>
112 #include <TColStd_HSequenceOfTransient.hxx>
113 #include <TColStd_MapIteratorOfMapOfTransient.hxx>
114 #include <TColStd_MapOfTransient.hxx>
115 #include <TopExp_Explorer.hxx>
116 #include <TopoDS.hxx>
117 #include <TopoDS_Compound.hxx>
118 #include <TopoDS_ListIteratorOfListOfShape.hxx>
119 #include <TopoDS_Shape.hxx>
120 #include <TopoDS_Solid.hxx>
121 #include <TopoDS_Vertex.hxx>
122 #include <TopExp.hxx>
123 #include <TopTools_ListIteratorOfListOfShape.hxx>
124 #include <TopTools_HSequenceOfShape.hxx>
125 #include <UnitsAPI.hxx>
126 #include <V3d_View.hxx>
127 #include <V3d_Viewer.hxx>
128 #include <WNT_Window.hxx>
129 #include <BRepPrimAPI_MakeBox.hxx>
130 #include <BRepPrimAPI_MakeCylinder.hxx>
131
132 // OCAF
133 #include <TDocStd_Document.hxx>
134 #include <TPrsStd_AISViewer.hxx>
135 #include <TDF_Label.hxx>
136 #include <TDF_Reference.hxx>
137 #include <TDF_ChildIterator.hxx>
138 #include <TNaming_NamedShape.hxx>
139 #include <TNaming_Builder.hxx>
140 #include <TDataStd_Real.hxx>
141 #include <TFunction_Logbook.hxx>
142 #include <TPrsStd_AISPresentation.hxx>
143 #include <TDataStd_Name.hxx>
144 #include <TFunction_DriverTable.hxx>
145 #include <TFunction_Function.hxx>
146 #include <TDataStd_Integer.hxx>
147
148 // Ocaf
149 #include <TOcaf_Commands.hxx>
150 #include <TOcafFunction_BoxDriver.hxx>
151 #include <TOcafFunction_CylDriver.hxx>
152 #include <TOcafFunction_CutDriver.hxx>
153
154 //End CasCade
155
156 #include <res\resource.h>
157
158
159 //{{AFX_INSERT_LOCATION}}
160 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
161
162 #endif // !defined(AFX_STDAFX_H__49324D76_7836_11D4_8D45_00AA00D10994__INCLUDED_)