0024927: Getting rid of "Persistent" functionality -- Samples and data
[occt.git] / samples / mfc / standard / 05_ImportExport / 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__88A21476_3B23_11D2_8E1E_0800369C8A03__INCLUDED_)
7 #define AFX_STDAFX_H__88A21476_3B23_11D2_8E1E_0800369C8A03__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 #if !defined(WNT)
24    #error WNT precompiler directive is mandatory for CasCade 
25 #endif
26
27 #define DEFAULT_DEVIATIONCOEFFICIENT 0.001
28 #define DEFAULT_DCBIG 0.005
29 #define DEFAULT_DCVBIG 0.01
30 #define DEFAULT_DCSMALL 0.0002
31 #define DEFAULT_DCVSMALL 0.00004
32 #define DEFAULT_COLOR Quantity_NOC_CYAN1
33 #define DEFAULT_MATERIAL Graphic3d_NOM_PLASTER
34 #define DEFAULT_BACKGROUNDCOLOR Quantity_NOC_MATRAGRAY
35 #define DEFAULT_HILIGHTCOLOR Quantity_NOC_YELLOW
36
37 #pragma warning(  disable : 4244 )        // Issue warning 4244
38 #include <Standard_ShortReal.hxx>
39 #pragma warning(  default : 4244 )        // Issue warning 4244
40
41 #include <AIS_InteractiveContext.hxx>
42 #include <AIS_InteractiveObject.hxx>
43 #include <AIS_ListOfInteractive.hxx>
44 #include <AIS_ListIteratorOfListOfInteractive.hxx>
45 #include <AIS_Shape.hxx>
46 #include <AIS_Trihedron.hxx>
47
48 #include <Aspect_Background.hxx>
49 #include <Aspect_TypeOfline.hxx>
50 #include <Aspect_WidthOfline.hxx>
51 #include <Aspect_Window.hxx>
52 #include <Bnd_Box2d.hxx>
53 #include <BndLib_Add2dCurve.hxx>
54 #include <BRep_Builder.hxx>
55 #include <BRep_Tool.hxx>
56
57 #include <BRepBuilderAPI.hxx> 
58 #include <BRepAlgo.hxx> 
59 #include <BRepTools.hxx>
60 #include <BRepPrimAPI_MakeBox.hxx>
61 #include <BRepPrimAPI_MakeCylinder.hxx>
62 #include <Standard_DefineHandle.hxx>
63 #include <DsgPrs_LengthPresentation.hxx>
64 #include <GCE2d_MakeSegment.hxx>
65 #include <GCPnts_TangentialDeflection.hxx>
66 #include <Geom_CartesianPoint.hxx>
67 #include <Geom_Axis2Placement.hxx>
68 #include <Geom_CartesianPoint.hxx>
69 #include <Geom_Line.hxx>
70 #include <Geom_Surface.hxx>
71 #include <Geom2d_BezierCurve.hxx>
72 #include <Geom2d_BSplineCurve.hxx>
73 #include <Geom2d_Curve.hxx>
74 #include <Geom2d_TrimmedCurve.hxx>
75 #include <Geom2dAdaptor_Curve.hxx>
76 #include <GeomAbs_CurveType.hxx>
77 #include <GeomAdaptor_Curve.hxx>
78 #include <GeomTools_Curve2dSet.hxx>
79 #include <gp_Ax2d.hxx>
80 #include <gp_Circ2d.hxx>
81 #include <gp_Dir2d.hxx>
82 #include <gp_Lin2d.hxx>
83 #include <gp_Pnt2d.hxx>
84 #include <gp_Vec.hxx>
85 #include <gp_Vec2d.hxx>
86 #include <MMgt_TShared.hxx>
87 #include <OSD_Environment.hxx>
88 #include <Precision.hxx>
89 #include <Prs3d_Drawer.hxx>
90 #include <Prs3d_IsoAspect.hxx>
91 #include <Prs3d_LineAspect.hxx>
92 #include <Prs3d_Text.hxx>
93 #include <Quantity_Factor.hxx>
94 #include <Quantity_Length.hxx>
95 #include <Quantity_NameOfColor.hxx>
96 #include <Quantity_PhysicalQuantity.hxx>
97 #include <Quantity_PlaneAngle.hxx>
98 #include <Quantity_TypeOfColor.hxx>
99 #include <SelectMgr_EntityOwner.hxx>
100 #include <SelectMgr_SelectableObject.hxx>
101 #include <SelectMgr_Selection.hxx>
102 #include <SelectMgr_SelectionManager.hxx>
103 #include <Standard_Boolean.hxx>
104 #include <Standard_CString.hxx>
105 #include <Standard_ErrorHandler.hxx>
106 #include <Standard_Integer.hxx>
107 #include <Standard_IStream.hxx>
108 #include <Standard_Macro.hxx>
109 #include <Standard_NotImplemented.hxx>
110 #include <Standard_OStream.hxx>
111 #include <Standard_Real.hxx>
112 #include <StdPrs_Curve.hxx>
113 #include <StdPrs_Point.hxx>
114 #include <StdPrs_PoleCurve.hxx>
115 #include <TCollection_AsciiString.hxx>
116 #include <TColgp_Array1OfPnt2d.hxx>
117 #include <TColgp_HArray1OfPnt2d.hxx>
118 #include <TCollection_AsciiString.hxx>
119 #include <TColStd_HSequenceOfTransient.hxx>
120 #include <TColStd_MapIteratorOfMapOfTransient.hxx>
121 #include <TColStd_MapOfTransient.hxx>
122 #include <TopExp_Explorer.hxx>
123 #include <TopoDS.hxx>
124 #include <TopoDS_Compound.hxx>
125 #include <TopoDS_ListIteratorOfListOfShape.hxx>
126 #include <TopoDS_Shape.hxx>
127 #include <TopoDS_Solid.hxx>
128 #include <TopoDS_Vertex.hxx>
129 #include <TopExp.hxx>
130 #include <TopTools_ListIteratorOfListOfShape.hxx>
131 #include <TopTools_HSequenceOfShape.hxx>
132 #include <TopTools_DataMapOfShapeInteger.hxx>
133 #include <UnitsAPI.hxx>
134 #include <V3d_View.hxx>
135 #include <V3d_Viewer.hxx>
136 #include <WNT_Window.hxx>
137
138 // specific STEP
139
140 #include <STEPControl_Controller.hxx>
141 #include <STEPControl_Reader.hxx>
142 #include <STEPControl_Writer.hxx>
143
144
145 // specific IGES
146 #include <Interface_InterfaceModel.hxx>
147 #include <Interface_Static.hxx>
148
149 #include <IGESControl_Controller.hxx>
150 #include <IGESControl_Writer.hxx>
151
152 #include <IGESToBRep_Actor.hxx>
153 #include <IGESToBRep_Reader.hxx>
154 #include <XSControl_WorkSession.hxx>
155
156 #include <STEPControl_StepModelType.hxx>
157
158 //#include <TransferBRep_Analyzer.hxx>
159
160 // specific STL VRML
161 #include "StlAPI_Writer.hxx"
162 #include "VrmlAPI_Writer.hxx"
163
164 //End CasCade
165
166
167
168 //{{AFX_INSERT_LOCATION}}
169 // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
170
171 #endif // !defined(AFX_STDAFX_H__88A21476_3B23_11D2_8E1E_0800369C8A03__INCLUDED_)