Integration of OCCT 6.5.0 from SVN
[occt.git] / samples / mfc / standard / 06_Ocaf / 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__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#if !defined(WNT)
27 #error WNT precompiler directive is mandatory for CasCade
28#endif
29#if !defined(CSFDB)
30 #error CSFDB precompiler directive is mandatory for CasCade
31#endif
32
33#ifdef MAINWIN
34# define false FALSE
35# define true TRUE
36#endif
37
38#pragma warning( disable : 4244 ) // Issue warning 4244
39#include <Standard_ShortReal.hxx>
40#pragma warning( default : 4244 ) // Issue warning 4244
41
42#include <AIS_Drawer.hxx>
43#include <AIS_InteractiveContext.hxx>
44#include <AIS_InteractiveObject.hxx>
45#include <AIS_Shape.hxx>
46#include <AIS_SequenceOfInteractive.hxx>
47#include <AIS_Trihedron.hxx>
48
49#include <Aspect_Background.hxx>
50#include <Aspect_ColorMapEntry.hxx>
51#include <Aspect_GenericColorMap.hxx>
52#include <Aspect_LineStyle.hxx>
53#include <Aspect_MarkMap.hxx>
54#include <Aspect_TypeMap.hxx>
55#include <Aspect_TypeMapEntry.hxx>
56#include <Aspect_TypeOfLine.hxx>
57#include <Aspect_TypeOfText.hxx>
58#include <Aspect_WidthMapEntry.hxx>
59#include <Aspect_WidthOfLine.hxx>
60#include <Aspect_Window.hxx>
61#include <Bnd_Box2d.hxx>
62#include <BndLib_Add2dCurve.hxx>
63#include <BRep_Builder.hxx>
64#include <BRep_Tool.hxx>
65
66
67#include <BRepBuilderAPI.hxx>
68#include <BRepAlgo.hxx>
69
70#include <BRepTools.hxx>
71#include <Standard_DefineHandle.hxx>
72#include <DsgPrs_LengthPresentation.hxx>
73#include <GCE2d_MakeSegment.hxx>
74#include <GCPnts_TangentialDeflection.hxx>
75#include <Geom_Axis2Placement.hxx>
76#include <Geom_CartesianPoint.hxx>
77#include <Geom_Line.hxx>
78#include <Geom_Surface.hxx>
79#include <Geom2d_BezierCurve.hxx>
80#include <Geom2d_BSplineCurve.hxx>
81#include <Geom2d_Curve.hxx>
82#include <Geom2d_TrimmedCurve.hxx>
83#include <Geom2dAdaptor_Curve.hxx>
84#include <GeomAbs_CurveType.hxx>
85#include <GeomAdaptor_Curve.hxx>
86#include <GeomTools_Curve2dSet.hxx>
87#include <gp_Ax2d.hxx>
88#include <gp_Circ2d.hxx>
89#include <gp_Dir2d.hxx>
90#include <gp_Lin2d.hxx>
91#include <gp_Pnt2d.hxx>
92#include <gp_Vec.hxx>
93#include <gp_Vec2d.hxx>
94#include <Graphic3d_NameOfMaterial.hxx>
95#include <Graphic3d_WNTGraphicDevice.hxx>
96#include <MMgt_TShared.hxx>
97#include <OSD_Environment.hxx>
98#include <Precision.hxx>
99#include <Prs3d_IsoAspect.hxx>
100#include <Prs3d_LineAspect.hxx>
101#include <Prs3d_Projector.hxx>
102#include <Prs3d_Text.hxx>
103#include <PrsMgr_PresentationManager2d.hxx>
104#include <Quantity_Factor.hxx>
105#include <Quantity_Length.hxx>
106#include <Quantity_NameOfColor.hxx>
107#include <Quantity_PhysicalQuantity.hxx>
108#include <Quantity_PlaneAngle.hxx>
109#include <Quantity_TypeOfColor.hxx>
110#include <SelectBasics_BasicTool.hxx>
111#include <SelectBasics_ListOfBox2d.hxx>
112#include <SelectMgr_EntityOwner.hxx>
113#include <SelectMgr_SelectableObject.hxx>
114#include <SelectMgr_Selection.hxx>
115#include <SelectMgr_SelectionManager.hxx>
116#include <ShapeSchema.hxx>
117#include <Standard_Boolean.hxx>
118#include <Standard_CString.hxx>
119#include <Standard_ErrorHandler.hxx>
120#include <Standard_Integer.hxx>
121#include <Standard_IStream.hxx>
122#include <Standard_Macro.hxx>
123#include <Standard_NotImplemented.hxx>
124#include <Standard_OStream.hxx>
125#include <Standard_Real.hxx>
126#include <StdPrs_Curve.hxx>
127#include <StdPrs_Point.hxx>
128#include <StdPrs_PoleCurve.hxx>
129#include <StdSelect_SensitiveText2d.hxx>
130#include <StdSelect_TextProjector2d.hxx>
131#include <StdSelect_ViewerSelector2d.hxx>
132#include <TCollection_AsciiString.hxx>
133#include <TColgp_Array1OfPnt2d.hxx>
134#include <TColgp_HArray1OfPnt2d.hxx>
135#include <TCollection_AsciiString.hxx>
136#include <TColStd_HSequenceOfTransient.hxx>
137#include <TColStd_MapIteratorOfMapOfTransient.hxx>
138#include <TColStd_MapOfTransient.hxx>
139#include <TopExp_Explorer.hxx>
140#include <TopoDS.hxx>
141#include <TopoDS_Compound.hxx>
142#include <TopoDS_ListIteratorOfListOfShape.hxx>
143#include <TopoDS_Shape.hxx>
144#include <TopoDS_Solid.hxx>
145#include <TopoDS_Vertex.hxx>
146#include <TopExp.hxx>
147#include <TopTools_ListIteratorOfListOfShape.hxx>
148#include <TopTools_HSequenceOfShape.hxx>
149#include <UnitsAPI.hxx>
150#include <V3d_View.hxx>
151#include <V3d_Viewer.hxx>
152#include <WNT_WDriver.hxx>
153#include <WNT_Window.hxx>
154#include <BRepPrimAPI_MakeBox.hxx>
155#include <BRepPrimAPI_MakeCylinder.hxx>
156
157// OCAF
158#include <TDocStd_Document.hxx>
159#include <TPrsStd_AISViewer.hxx>
160#include <TDF_Label.hxx>
161#include <TDF_Reference.hxx>
162#include <TDF_ChildIterator.hxx>
163#include <TNaming_NamedShape.hxx>
164#include <TNaming_Builder.hxx>
165#include <TDataStd_Real.hxx>
166#include <TFunction_Logbook.hxx>
167#include <TPrsStd_AISPresentation.hxx>
168#include <TDataStd_Name.hxx>
169#include <TFunction_DriverTable.hxx>
170#include <TFunction_Function.hxx>
171#include <TDataStd_Integer.hxx>
172
173// Ocaf
174#include <TOcaf_Commands.hxx>
175#include <TOcafFunction_BoxDriver.hxx>
176#include <TOcafFunction_CylDriver.hxx>
177#include <TOcafFunction_CutDriver.hxx>
178
179//End CasCade
180
181#include <res\resource.h>
182
183
184//{{AFX_INSERT_LOCATION}}
185// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
186
187#endif // !defined(AFX_STDAFX_H__49324D76_7836_11D4_8D45_00AA00D10994__INCLUDED_)