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