0031866: Documentation - add description to Graphic3d_NameOfMaterial enumeration...
[occt.git] / samples / mfc / standard / 09_Animation / 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__79840E80_1001_11D2_B8C1_0000F87A77C1__INCLUDED_)
7#define AFX_STDAFX_H__79840E80_1001_11D2_B8C1_0000F87A77C1__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
7fd59977 26enum CurrentAction3d {
27 CurAction3d_Nothing,
28 CurAction3d_DynamicZooming,
29 CurAction3d_WindowZooming,
30 CurAction3d_DynamicPanning,
31 CurAction3d_GlobalPanning,
32 CurAction3d_DynamicRotation
33};
34
35
36#define DEFAULT_DEVIATIONCOEFFICIENT 0.001
37#define DEFAULT_DCBIG 0.005
38#define DEFAULT_DCVBIG 0.01
39#define DEFAULT_DCSMALL 0.0002
40#define DEFAULT_DCVSMALL 0.00004
41#define DEFAULT_COLOR Quantity_NOC_CYAN1
a966542b 42#define DEFAULT_MATERIAL Graphic3d_NameOfMaterial_Plastered
7fd59977 43#define DEFAULT_BACKGROUNDCOLOR Quantity_NOC_MATRAGRAY
44#define DEFAULT_HILIGHTCOLOR Quantity_NOC_YELLOW
45
46#pragma warning( disable : 4244 ) // Issue warning 4244
47#include <Standard_ShortReal.hxx>
48#pragma warning( default : 4244 ) // Issue warning 4244
49
50#include <Standard.hxx>
51/*
52#ifndef Version15B
53# ifndef Version15D
54# ifndef Version20
55# define Version15B
56# endif // Version20
57# endif // Version15D
58#endif // Version15B
59
60#pragma message ("=============================")
61#ifdef Version15B
62# pragma message ("Set the libs for version 1.5B")
63#endif // Version15B
64
65#ifdef Version15D
66# pragma message ("Set the libs for version 1.5D")
67#endif // Version15D
68
69#ifdef Version20
70# pragma message ("Set the libs for version 2.0 ")
71#endif // Version20
72#pragma message ("=============================")
73
74#ifdef Version15B
75# pragma comment (lib,"TKTop.lib")
76# pragma comment (lib,"TShort.lib")
77# pragma comment (lib,"TColQuantity.lib")
78#endif
79
80#ifdef Version15D
81# pragma comment (lib,"TKTop.lib")
82#endif
83
84#ifdef Version20
85# pragma comment (lib,"TKTop1.lib")
86# pragma comment (lib,"TKTop2.lib")
87#endif
88
89#pragma message ("Set the specific libs for the application")
90# pragma comment (lib,"TKPrs.lib")
91# pragma comment (lib,"TKGeom.lib")
92# pragma comment (lib,"TKGlt.lib")
93# pragma comment (lib,"TKGraphic.lib")
94# pragma comment (lib,"TKPrsMgr.lib")
95# pragma comment (lib,"TKViewers.lib")
96# pragma comment (lib,"TKSession.lib")
97# pragma comment (lib,"gp.lib")
98# pragma comment (lib,"TKernel.lib")
99# pragma comment (lib,"UnitsAPI.lib")
100# pragma comment (lib,"PTColStd.lib")
101# pragma comment (lib,"TKMgtShape.lib")
102# pragma comment (lib,"TKPShape.lib")
103# pragma comment (lib,"ShapeSchema.lib")
104# pragma comment (lib,"FSD.lib")
105# pragma comment (lib,"OSDriver.lib")
106# pragma comment (lib,"ObjMgt.lib")
107# pragma comment (lib,"TKXSBase.lib")
108# pragma comment (lib,"TKXSIGES.lib")
109# pragma comment (lib,"TKXS214.lib")
110*/
111
112
7fd59977 113#include <AIS_InteractiveContext.hxx>
114#include <AIS_InteractiveObject.hxx>
115#include <AIS_Shape.hxx>
116#include <AIS_Trihedron.hxx>
117
118#include <Aspect_Background.hxx>
119#include <Aspect_TypeOfline.hxx>
7fd59977 120#include <Aspect_WidthOfline.hxx>
7fd59977 121#include <Bnd_Box2d.hxx>
122#include <BndLib_Add2dCurve.hxx>
123#include <BRep_Builder.hxx>
124#include <BRepBuilderAPI.hxx>
125#include <BRepTools.hxx>
126#include <Standard_DefineHandle.hxx>
127#include <DsgPrs_LengthPresentation.hxx>
128#include <GCE2d_MakeSegment.hxx>
129#include <GCPnts_TangentialDeflection.hxx>
130#include <Geom_CartesianPoint.hxx>
131#include <Geom_Axis2Placement.hxx>
132#include <Geom2d_BezierCurve.hxx>
133#include <Geom2d_BSplineCurve.hxx>
134#include <Geom2d_Curve.hxx>
135#include <Geom2d_TrimmedCurve.hxx>
136#include <Geom2dAdaptor_Curve.hxx>
137#include <GeomAbs_CurveType.hxx>
138#include <GeomAdaptor_Curve.hxx>
139#include <GeomTools_Curve2dSet.hxx>
140#include <gp_Ax2d.hxx>
141#include <gp_Circ2d.hxx>
142#include <gp_Dir2d.hxx>
143#include <gp_Lin2d.hxx>
144#include <gp_Pnt2d.hxx>
145#include <gp_Vec.hxx>
146#include <gp_Vec2d.hxx>
7fd59977 147#include <MMgt_TShared.hxx>
148#include <OSD_Environment.hxx>
149#include <Precision.hxx>
6262338c 150#include <Prs3d_Drawer.hxx>
7fd59977 151#include <Prs3d_IsoAspect.hxx>
152#include <Prs3d_LineAspect.hxx>
153#include <Prs3d_Text.hxx>
7fd59977 154#include <Quantity_Factor.hxx>
155#include <Quantity_Length.hxx>
156#include <Quantity_NameOfColor.hxx>
157#include <Quantity_PhysicalQuantity.hxx>
158#include <Quantity_PlaneAngle.hxx>
159#include <Quantity_TypeOfColor.hxx>
7fd59977 160#include <SelectMgr_EntityOwner.hxx>
161#include <SelectMgr_SelectableObject.hxx>
162#include <SelectMgr_Selection.hxx>
163#include <SelectMgr_SelectionManager.hxx>
164// had for opencascade
165//#include <Session_Selection.hxx>
166//#include <Session_Session.hxx>
167//#include <ShapeSchema.hxx>
168
169#include <Standard_Boolean.hxx>
170#include <Standard_CString.hxx>
171#include <Standard_ErrorHandler.hxx>
172#include <Standard_Integer.hxx>
173#include <Standard_IStream.hxx>
174#include <Standard_Macro.hxx>
175#include <Standard_NotImplemented.hxx>
176#include <Standard_OStream.hxx>
177#include <Standard_Real.hxx>
178#include <StdPrs_Curve.hxx>
179#include <StdPrs_Point.hxx>
180#include <StdPrs_PoleCurve.hxx>
7fd59977 181#include <TCollection_AsciiString.hxx>
182#include <TColgp_Array1OfPnt2d.hxx>
183#include <TColgp_HArray1OfPnt2d.hxx>
184#include <TCollection_AsciiString.hxx>
185#include <TColStd_HSequenceOfTransient.hxx>
186#include <TColStd_MapIteratorOfMapOfTransient.hxx>
187#include <TColStd_MapOfTransient.hxx>
188#include <TopExp_Explorer.hxx>
189#include <TopoDS.hxx>
190#include <TopoDS_Compound.hxx>
191#include <TopoDS_ListIteratorOfListOfShape.hxx>
192#include <TopoDS_Shape.hxx>
193#include <TopoDS_Solid.hxx>
194#include <TopTools_HSequenceOfShape.hxx>
195#include <UnitsAPI.hxx>
7fd59977 196#include <V3d_View.hxx>
197#include <V3d_Viewer.hxx>
7fd59977 198#include <WNT_Window.hxx>
199#include "HLRAlgo_Projector.hxx"
7fd59977 200
7fd59977 201#include <Geom_BSplineSurface.hxx>
202#include <TopoDS_Face.hxx>
203#include <TopoDS_Solid.hxx>
204#include <GeomAdaptor_Surface.hxx>
205#include <BndLib_AddSurface.hxx>
206#include <BRepPrimAPI_MakeBox.hxx>
207#include <BRepBuilderAPI_MakeFace.hxx>
208#include <BRepBndLib.hxx>
209
210#include "..\res\resource.h"
211
212//End CasCade
213
214
215
216//{{AFX_INSERT_LOCATION}}
217// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
218
219#endif // !defined(AFX_STDAFX_H__79840E80_1001_11D2_B8C1_0000F87A77C1__INCLUDED_)