0025546: Visualization - remove unused methods and classes from package Aspect
[occt.git] / samples / mfc / standard / 03_Viewer2d / 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 _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 #pragma warning(  disable : 4244 )        // Issue warning 4244
23 #include "Standard_ShortReal.hxx"
24 #pragma warning(  default : 4244 )        // Issue warning 4244
25
26 #include <Standard.hxx>
27 /*
28 #ifndef Version15B
29 # ifndef Version15D
30 #  ifndef Version20
31 #   define Version15B
32 #  endif // Version20
33 # endif // Version15D
34 #endif // Version15B
35
36 #pragma message ("=============================")
37 #ifdef Version15B
38 # pragma message ("Set the libs for version 1.5B")
39 #endif // Version15B
40
41 #ifdef Version15D
42 # pragma message ("Set the libs for version 1.5D")
43 #endif // Version15D
44
45 #ifdef Version20
46 # pragma message ("Set the libs for version 2.0 ")
47 #endif // Version20
48 #pragma message ("=============================")
49
50 #ifdef Version15B
51 # pragma comment (lib,"TKTop.lib")
52 # pragma comment (lib,"TShort.lib")
53 # pragma comment (lib,"TColQuantity.lib")
54 #endif
55
56 #ifdef Version15D
57 # pragma comment (lib,"TKTop.lib")
58 #endif
59
60 #ifdef Version20
61 # pragma comment (lib,"TKTop1.lib")
62 # pragma comment (lib,"TKTop2.lib")
63 #endif
64
65 #pragma message ("Set the specific libs for the application")
66 # pragma comment (lib,"TKGeom.lib")
67 # pragma comment (lib,"TKGlt.lib")
68 # pragma comment (lib,"TKGraphic.lib")
69 # pragma comment (lib,"TKPrsMgr.lib")
70 # pragma comment (lib,"TKViewers.lib")
71 # pragma comment (lib,"gp.lib")
72 # pragma comment (lib,"TKernel.lib")
73 */
74
75 #include <AIS_Drawer.hxx>
76 #include <AIS_Circle.hxx>
77 #include <AIS_Line.hxx>
78 #include <AIS_InteractiveContext.hxx>
79 #include <AIS_InteractiveObject.hxx>
80 #include <AIS_LocalContext.hxx>
81 #include <AIS_TexturedShape.hxx>
82
83 #include <Aspect_TypeOfline.hxx>
84 #include <Aspect_WidthOfline.hxx>
85 #include <Aspect_Background.hxx>
86
87 #include <BRepPrimAPI_MakeBox.hxx>
88 #include <BRep_Builder.hxx>
89 #include <BRepBuilderAPI_MakeEdge.hxx>
90 #include <BRepBuilderAPI_MakeWire.hxx>
91 #include <BRepBuilderAPI_MakeFace.hxx>
92 #include <BRepTools.hxx>
93 #include <Bnd_Box2d.hxx>
94 #include <BndLib_Add2dCurve.hxx>
95
96 #include <GCE2d_MakeSegment.hxx>
97 #include <GCPnts_TangentialDeflection.hxx>
98 #include <Geom2d_Curve.hxx>
99 #include <Geom_CartesianPoint.hxx>
100 #include <Geom_Circle.hxx>
101 #include <Geom_Curve.hxx>
102 #include <Geom_Line.hxx>
103 #include <Geom2d_Curve.hxx>
104 #include <Geom2d_TrimmedCurve.hxx>
105 #include <Geom2dAdaptor_Curve.hxx>
106 #include <GeomTools_Curve2dSet.hxx>
107 #include <Graphic3d_AspectText3d.hxx>
108 #include <Graphic3d_Group.hxx>
109 #include <Graphic3d_AspectMarker3d.hxx>
110 #include <Graphic3d_StructureManager.hxx>
111 #include <Graphic3d_Texture1Dsegment.hxx>
112 #include <gp_Ax2d.hxx>
113 #include <gp_Circ.hxx>
114 #include <gp_Circ2d.hxx>
115 #include <gp_Dir2d.hxx>
116 #include <gp_Lin2d.hxx>
117 #include <gp_Pln.hxx>
118 #include <gp_Pnt2d.hxx>
119 #include <gp_Vec2d.hxx>
120 #include <HLRAlgo_Projector.hxx>
121 #include <MMgt_TShared.hxx>
122 #include <OSD_Environment.hxx>
123 #include <Precision.hxx>
124 #include <Prs3d_LineAspect.hxx>
125 #include <Prs3d_PlaneAspect.hxx>
126 #include <Prs3d_Presentation.hxx>
127 #include <Quantity_Factor.hxx>
128 #include <Quantity_Length.hxx>
129 #include <Quantity_PlaneAngle.hxx>
130 #include <SelectBasics_ListOfBox2d.hxx>
131 #include <SelectBasics_BasicTool.hxx>
132 #include <SelectMgr_EntityOwner.hxx>
133 #include <SelectMgr_Selection.hxx>
134 #include <SelectMgr_SelectableObject.hxx>
135 #include <SelectMgr_SelectionManager.hxx>
136 #include <Standard_ErrorHandler.hxx>
137 #include <Standard_Real.hxx>
138 #include <Standard_Integer.hxx>
139 #include <SelectMgr_Selection.hxx>
140 #include <Standard_OStream.hxx>
141 #include <Standard_IStream.hxx>
142 #include <Standard_CString.hxx>
143 #include <Standard_Boolean.hxx>
144 #include <Standard_Real.hxx>
145 #include <Standard_OStream.hxx>
146 #include <Standard_IStream.hxx>
147 #include <Standard_CString.hxx>
148 #include <TCollection_AsciiString.hxx>
149 #include <TColgp_Array1OfPnt2d.hxx>
150 #include <TColgp_HArray1OfPnt2d.hxx>
151 #include <TopoDS_Shape.hxx>
152 #include <TopoDS.hxx>
153 #include <Visual3d_ViewManager.hxx>
154 #include <V3d_View.hxx>
155 #include <V3d_Viewer.hxx>
156 #include <WNT_Window.hxx>
157
158 #include <..\res\resource.h>
159
160 class ISession2D_InteractiveObject;
161
162 class V3d_Viewer;
163 class SelectMgr_SelectableObject;
164 class TCollection_AsciiString;
165 class SelectBasics_EntityOwner;
166 class gp_Pnt2d;
167
168 //{{AFX_INSERT_LOCATION}}
169 // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
170