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,"TKPrs.lib") |
64 | # pragma comment (lib,"TKGeom.lib") |
65 | # pragma comment (lib,"TKGlt.lib") |
66 | # pragma comment (lib,"TKGraphic.lib") |
67 | # pragma comment (lib,"TKPrsMgr.lib") |
68 | # pragma comment (lib,"TKViewers.lib") |
69 | # pragma comment (lib,"TKSession.lib") |
70 | # pragma comment (lib,"Bnd.lib") |
71 | # pragma comment (lib,"gp.lib") |
72 | # pragma comment (lib,"TColgp.lib") |
73 | # pragma comment (lib,"TKernel.lib") |
74 | # pragma comment (lib,"TKXSBase.lib") |
75 | # pragma comment (lib,"TKXSIGES.lib") |
76 | # pragma comment (lib,"TKXS214.lib") |
77 | # pragma comment (lib,"UnitsAPI.lib") |
78 | */ |
79 | |
80 | #include <AIS_InteractiveContext.hxx> |
81 | #include <AIS_Shape.hxx> |
5c1f974e |
82 | #include <AIS_Point.hxx> |
0e5ef926 |
83 | #include <AIS_TextLabel.hxx> |
5c1f974e |
84 | #include <Aspect_Grid.hxx> |
85 | #include <Aspect_Window.hxx> |
86 | #include <Aspect_Background.hxx> |
87 | |
9a148b08 |
88 | #include <BRepMesh_IncrementalMesh.hxx> |
7fd59977 |
89 | #include <BRepAlgo.hxx> |
90 | #include <BRep_Builder.hxx> |
5c1f974e |
91 | #include <BRepBuilderAPI_MakeVertex.hxx> |
92 | #include <BRepBuilderAPI_MakeFace.hxx> |
7fd59977 |
93 | #include <BRepTools.hxx> |
5c1f974e |
94 | #include <Bnd_Box2d.hxx> |
95 | #include <BndLib.hxx> |
96 | #include <BndLib_Add2dCurve.hxx> |
97 | #include <BndLib_Add3dCurve.hxx> |
98 | #include <BndLib_AddSurface.hxx> |
99 | #include <BRep_Tool.hxx> |
7fd59977 |
100 | |
5c1f974e |
101 | #include <DsgPrs_LengthPresentation.hxx> |
102 | #include <FairCurve_Batten.hxx> |
103 | #include <FairCurve_MinimalVariation.hxx> |
7fd59977 |
104 | |
5c1f974e |
105 | #include <GC_MakeCircle.hxx> |
106 | #include <GC_MakeTranslation.hxx> |
107 | #include <GC_MakeSegment.hxx> |
108 | #include <GC_MakeConicalSurface.hxx> |
9e3ca93a |
109 | #include <Geom_ConicalSurface.hxx> |
5c1f974e |
110 | #include <GC_MakePlane.hxx> |
111 | #include <GC_MakeEllipse.hxx> |
9e3ca93a |
112 | #include <Geom_Ellipse.hxx> |
5c1f974e |
113 | #include <GccAna_Circ2d2TanRad.hxx> |
114 | #include <GccAna_Lin2d2Tan.hxx> |
115 | #include <GccAna_Pnt2dBisec.hxx> |
116 | #include <GccEnt.hxx> |
117 | #include <GccEnt_QualifiedCirc.hxx> |
118 | #include <GccEnt_QualifiedLin.hxx> |
119 | #include <gce_MakeCirc2d.hxx> |
120 | #include <gce_MakeLin2d.hxx> |
121 | #include <GCE2d_MakeSegment.hxx> |
122 | #include <GCE2d_MakeParabola.hxx> |
123 | #include <GCE2d_MakeEllipse.hxx> |
124 | #include <GCE2d_MakeArcOfCircle.hxx> |
125 | #include <GCE2d_MakeArcOfEllipse.hxx> |
126 | #include <GCPnts_AbscissaPoint.hxx> |
127 | #include <GCPnts_QuasiUniformDeflection.hxx> |
128 | #include <GCPnts_TangentialDeflection.hxx> |
129 | #include <GCPnts_UniformAbscissa.hxx> |
130 | #include <Geom_BezierSurface.hxx> |
5c1f974e |
131 | #include <Geom_BSplineSurface.hxx> |
132 | #include <Geom_CartesianPoint.hxx> |
133 | #include <Geom_Circle.hxx> |
134 | #include <Geom_Curve.hxx> |
135 | #include <Geom_Line.hxx> |
136 | #include <Geom_Plane.hxx> |
137 | #include <Geom_RectangularTrimmedSurface.hxx> |
138 | #include <Geom_Surface.hxx> |
139 | #include <Geom_SphericalSurface.hxx> |
140 | #include <Geom_Transformation.hxx> |
141 | #include <Geom_TrimmedCurve.hxx> |
142 | #include <Geom_OffsetSurface.hxx> |
143 | #include <Geom_SurfaceOfLinearExtrusion.hxx> |
144 | #include <Geom_SurfaceOfRevolution.hxx> |
145 | #include <Geom2dAPI_ExtremaCurveCurve.hxx> |
146 | #include <Geom2dAPI_InterCurveCurve.hxx> |
147 | #include <Geom2dAPI_Interpolate.hxx> |
148 | #include <Geom2dAPI_PointsToBSpline.hxx> |
149 | #include <Geom2d_OffsetCurve.hxx> |
150 | #include <Geom2d_Circle.hxx> |
151 | #include <Geom2d_Curve.hxx> |
152 | #include <Geom2d_Ellipse.hxx> |
153 | #include <Geom2d_Line.hxx> |
154 | #include <Geom2d_TrimmedCurve.hxx> |
155 | #include <Geom2d_BezierCurve.hxx> |
156 | #include <Geom2d_BSplineCurve.hxx> |
157 | #include <Geom2d_Parabola.hxx> |
158 | #include <Geom2dAdaptor_Curve.hxx> |
159 | #include <Geom2dConvert.hxx> |
160 | #include <Geom2dLProp_Curve2dTool.hxx> |
161 | #include <Geom2dLProp_CLProps2d.hxx> |
162 | #include <GeomAbs_CurveType.hxx> |
163 | #include <GeomAdaptor_Curve.hxx> |
5c1f974e |
164 | #include <GeomAdaptor_Surface.hxx> |
5c1f974e |
165 | #include <GeomAPI.hxx> |
166 | #include <GeomAPI_ExtremaSurfaceSurface.hxx> |
167 | #include <GeomAPI_IntCS.hxx> |
168 | #include <GeomAPI_PointsToBSplineSurface.hxx> |
169 | #include <GeomAPI_PointsToBSpline.hxx> |
9e3ca93a |
170 | #include <Geom_BSplineCurve.hxx> |
5c1f974e |
171 | #include <GeomAPI_ProjectPointOnSurf.hxx> |
172 | #include <GeomAPI_ProjectPointOnCurve.hxx> |
173 | #include <GeomAPI_Interpolate.hxx> |
174 | #include <GeomConvert.hxx> |
175 | #include <GeomConvert_CompBezierSurfacesToBSplineSurface.hxx> |
176 | #include <GeomFill_ConstrainedFilling.hxx> |
177 | #include <GeomFill_SimpleBound.hxx> |
178 | #include <GeomFill_FillingStyle.hxx> |
179 | #include <GeomFill_BSplineCurves.hxx> |
180 | #include <GeomFill_Pipe.hxx> |
181 | #include <GeomLib.hxx> |
182 | #include <GeomPlate_BuildPlateSurface.hxx> |
183 | #include <GeomPlate_PointConstraint.hxx> |
184 | #include <GeomPlate_MakeApprox.hxx> |
185 | #include <GeomTools.hxx> |
186 | #include <GeomTools_Curve2dSet.hxx> |
187 | #include <Graphic3d_Group.hxx> |
5c1f974e |
188 | #include <Graphic3d_ArrayOfPolylines.hxx> |
e5b32824 |
189 | #include <Graphic3d_ArrayOfSegments.hxx> |
5c1f974e |
190 | #include <GProp_PEquation.hxx> |
191 | #include <gp.hxx> |
192 | #include <gp_Ax2d.hxx> |
193 | #include <gp_Circ2d.hxx> |
194 | #include <gp_Dir2d.hxx> |
195 | #include <gp_Dir.hxx> |
196 | #include <gp_Elips.hxx> |
197 | #include <gp_Lin.hxx> |
198 | #include <gp_Lin2d.hxx> |
199 | #include <gp_Mat.hxx> |
200 | #include <gp_Parab2d.hxx> |
201 | #include <gp_Pln.hxx> |
202 | #include <gp_Pnt2d.hxx> |
203 | #include <gp_Trsf.hxx> |
204 | #include <gp_Vec2d.hxx> |
7fd59977 |
205 | |
5c1f974e |
206 | #include <IntAna_IntConicQuad.hxx> |
7fd59977 |
207 | |
5c1f974e |
208 | #include <OSD_Environment.hxx> |
65993a95 |
209 | #include <OpenGl_GraphicDriver.hxx> |
7fd59977 |
210 | |
5c1f974e |
211 | #include <Poly_Triangulation.hxx> |
212 | #include <Precision.hxx> |
e5b32824 |
213 | #include <Prs3d_Arrow.hxx> |
6262338c |
214 | #include <Prs3d_Drawer.hxx> |
5c1f974e |
215 | #include <Prs3d_Text.hxx> |
216 | #include <Prs3d_ArrowAspect.hxx> |
217 | #include <Prs3d_IsoAspect.hxx> |
decbff0d |
218 | #include <PrsMgr_PresentationManager.hxx> |
5c1f974e |
219 | #include <Prs3d_IsoAspect.hxx> |
220 | #include <Prs3d_TextAspect.hxx> |
221 | #include <Prs3d_PointAspect.hxx> |
7fd59977 |
222 | |
5c1f974e |
223 | #include <SelectMgr_EntityOwner.hxx> |
224 | #include <SelectMgr_SelectableObject.hxx> |
225 | #include <SelectMgr_Selection.hxx> |
226 | #include <SelectMgr_SelectionManager.hxx> |
5c1f974e |
227 | #include <ShapeAnalysis_FreeBounds.hxx> |
228 | #include <ShapeFix_Shape.hxx> |
229 | #include <StdSelect_ViewerSelector3d.hxx> |
5c1f974e |
230 | #include <StdPrs_ShadedSurface.hxx> |
231 | #include <StdPrs_Point.hxx> |
232 | #include <StdPrs_WFSurface.hxx> |
233 | #include <StdPrs_WFPoleSurface.hxx> |
234 | #include <StdPrs_Curve.hxx> |
235 | #include <StdPrs_PoleCurve.hxx> |
236 | #include <Standard_ErrorHandler.hxx> |
7fd59977 |
237 | |
5c1f974e |
238 | #include <TColStd_MapIteratorOfMapOfTransient.hxx> |
239 | #include <TColgp_Array1OfPnt.hxx> |
7fd59977 |
240 | #include <TColgp_Array2OfPnt.hxx> |
5c1f974e |
241 | #include <TColgp_Array1OfPnt2d.hxx> |
242 | #include <TColgp_Array2OfPnt2d.hxx> |
243 | #include <TColgp_HArray1OfPnt.hxx> |
244 | #include <TColgp_HArray1OfPnt2d.hxx> |
7fd59977 |
245 | #include <TColgp_SequenceOfPnt.hxx> |
5c1f974e |
246 | #include <TColgp_SequenceOfPnt2d.hxx> |
247 | #include <TColGeom_Array2OfBezierSurface.hxx> |
248 | #include <TColStd_HArray1OfInteger.hxx> |
249 | #include <TopoDS_Shape.hxx> |
250 | #include <TopoDS_Solid.hxx> |
251 | #include <TopoDS.hxx> |
252 | #include <TopoDS_ListIteratorOfListOfShape.hxx> |
7fd59977 |
253 | #include <TopExp.hxx> |
5c1f974e |
254 | #include <TopExp_Explorer.hxx> |
255 | #include <TopoDS_Compound.hxx> |
7fd59977 |
256 | #include <TopoDS_Wire.hxx> |
257 | #include <TopoDS_Builder.hxx> |
5c1f974e |
258 | #include <TopoDS_Vertex.hxx> |
259 | #include <TopoDS_Shape.hxx> |
260 | #include <TopoDS_Face.hxx> |
261 | #include <TopTools_IndexedMapOfShape.hxx> |
262 | |
263 | #include <V3d_Viewer.hxx> |
264 | #include <V3d_View.hxx> |
265 | #include <WNT_Window.hxx> |
7fd59977 |
266 | |
267 | #include "ISession2D_Curve.h" |
268 | #include "ISession_Direction.h" |
7fd59977 |
269 | #include "ISession_Curve.h" |
270 | #include "ISession_Surface.h" |
7fd59977 |
271 | #include "ISession_Point.h" |
272 | |
273 | #include <UnitsAPI.hxx> |
274 | #include "..\res\resource.h" |
275 | |
276 | |
277 | //{{AFX_INSERT_LOCATION}} |
278 | // Microsoft Developer Studio will insert additional declarations immediately before the previous line. |
279 | |