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