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