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
8 #endif // _MSC_VER >= 1000
10 #define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
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
20 #error WNT precompiler directive is mandatory for CasCade
23 #pragma warning( disable : 4244 ) // Issue warning 4244
24 #include "Standard_ShortReal.hxx"
25 #pragma warning( default : 4244 ) // Issue warning 4244
27 #include <Standard.hxx>
37 #pragma message ("=============================")
39 # pragma message ("Set the libs for version 1.5B")
43 # pragma message ("Set the libs for version 1.5D")
47 # pragma message ("Set the libs for version 2.0 ")
49 #pragma message ("=============================")
52 # pragma comment (lib,"TKTop.lib")
53 # pragma comment (lib,"TShort.lib")
54 # pragma comment (lib,"TColQuantity.lib")
58 # pragma comment (lib,"TKTop.lib")
62 # pragma comment (lib,"TKTop1.lib")
63 # pragma comment (lib,"TKTop2.lib")
66 #pragma message ("Set the specific libs for the application")
67 # pragma comment (lib,"TKPrs.lib")
68 # pragma comment (lib,"TKGeom.lib")
69 # pragma comment (lib,"TKGlt.lib")
70 # pragma comment (lib,"TKGraphic.lib")
71 # pragma comment (lib,"TKPrsMgr.lib")
72 # pragma comment (lib,"TKViewers.lib")
73 # pragma comment (lib,"TKSession.lib")
74 # pragma comment (lib,"Bnd.lib")
75 # pragma comment (lib,"gp.lib")
76 # pragma comment (lib,"TColgp.lib")
77 # pragma comment (lib,"TKernel.lib")
78 # pragma comment (lib,"TKXSBase.lib")
79 # pragma comment (lib,"TKXSIGES.lib")
80 # pragma comment (lib,"TKXS214.lib")
81 # pragma comment (lib,"UnitsAPI.lib")
84 #include <AIS_InteractiveContext.hxx>
85 #include <AIS_Shape.hxx>
86 //#include <AIS_Trihedron.hxx>
87 #include <BRepAlgo.hxx>
88 #include <BRep_Builder.hxx>
89 #include <BRepTools.hxx>
90 #include <Graphic3d_WNTGraphicDevice.hxx>
91 #include <TopExp_Explorer.hxx>
92 #include <TopoDS_Compound.hxx>
93 #include <TopoDS_Shape.hxx>
94 #include <TopoDS_Solid.hxx>
96 #include <V3d_Viewer.hxx>
97 #include <V3d_View.hxx>
98 #include <WNT_Window.hxx>
101 #include <Standard_ErrorHandler.hxx>
102 #include <TopoDS_Shape.hxx>
103 #include <TopoDS_Solid.hxx>
104 #include <TopoDS.hxx>
105 #include <TopExp_Explorer.hxx>
106 //#include <ShapeTool_Face.hxx>
107 //#include <ShapeTool_PCurves.hxx>
108 //#include <ShapeTool_Reshape.hxx>
109 //#include <ShapeTool_ShellSolid.hxx>
110 #include <TopoDS_ListIteratorOfListOfShape.hxx>
112 #include "WNT_WDriver.hxx"
113 #include "V2d_View.hxx"
114 #include "V2d_Viewer.hxx"
117 //#include "UnitsAPI.hxx"
120 #include "GProp_PEquation.hxx"
122 #include "TColgp_Array1OfPnt.hxx"
123 #include "Geom2d_Circle.hxx"
124 #include "gp_Vec2d.hxx"
125 #include "Geom2d_Circle.hxx"
126 #include "Geom2dLProp_Curve2dTool.hxx"
128 #include "Geom2dLProp_CLProps2d.hxx"
129 #include "gp_Dir.hxx"
130 #include "Precision.hxx"
131 #include "GCPnts_AbscissaPoint.hxx"
132 #include "Geom2dAdaptor_Curve.hxx"
133 #include "GCPnts_UniformAbscissa.hxx"
134 #include "Geom_SphericalSurface.hxx"
135 #include "Geom_Circle.hxx"
136 #include "GC_MakeTranslation.hxx"
137 #include "Geom_Transformation.hxx"
138 #include "GC_MakeCircle.hxx"
139 #include "gp_Mat.hxx"
140 #include "GeomAPI_IntCS.hxx"
141 #include "GC_MakeSegment.hxx"
142 #include "GC_MakeConicalSurface.hxx"
143 #include "gp_Lin.hxx"
144 #include "Geom2d_Ellipse.hxx"
145 #include "GCE2d_MakeEllipse.hxx"
146 #include "GCE2d_MakeArcOfEllipse.hxx"
147 #include "TColgp_HArray1OfPnt.hxx"
148 #include "Geom_BSplineCurve.hxx"
149 #include "GeomAPI_PointsToBSpline.hxx"
150 #include "GeomAPI_Interpolate.hxx"
151 #include "GccEnt_QualifiedLin.hxx"
152 #include "GccAna_Circ2d2TanRad.hxx"
153 #include "gce_MakeCirc2d.hxx"
154 #include "GccEnt.hxx"
155 #include "GccAna_Lin2d2Tan.hxx"
156 #include "GccEnt_QualifiedCirc.hxx"
157 #include "gce_MakeLin2d.hxx"
158 #include "Geom2d_OffsetCurve.hxx"
159 #include "Geom2dAPI_InterCurveCurve.hxx"
160 #include "Geom2dAPI_ExtremaCurveCurve.hxx"
161 #include "GeomAPI.hxx"
162 #include "Geom2d_TrimmedCurve.hxx"
163 #include "GCE2d_MakeSegment.hxx"
164 #include "Geom2dConvert.hxx"
165 #include "TColgp_Array1OfPnt2d.hxx"
166 #include "TColgp_HArray1OfPnt2d.hxx"
167 #include "gp_Parab2d.hxx"
168 #include "gp_Trsf.hxx"
169 #include "gp_Pln.hxx"
170 #include "gp_Elips.hxx"
171 #include "IntAna_IntConicQuad.hxx"
172 #include "GeomAPI_ProjectPointOnSurf.hxx"
173 #include "GeomAPI_ProjectPointOnCurve.hxx"
174 #include "Geom2dAPI_PointsToBSpline.hxx"
175 #include "Geom2dAPI_Interpolate.hxx"
176 #include "GccAna_Pnt2dBisec.hxx"
177 #include "BRepBuilderAPI_MakeVertex.hxx"
178 #include "BRepBuilderAPI_MakeFace.hxx"
180 //////////////////////////////////////////////////////////////////////
181 // Construction/Destruction
182 //////////////////////////////////////////////////////////////////////
183 #include "GeomTools.hxx"
185 #include "TColgp_SequenceOfPnt2d.hxx"
186 #include "GC_MakePlane.hxx"
187 #include "GC_MakeEllipse.hxx"
188 #include "Geom_Plane.hxx"
189 #include "Geom2d_Line.hxx"
190 #include "Geom_Circle.hxx"
191 #include "AIS_Drawer.hxx"
192 #include "Prs3d_IsoAspect.hxx"
193 #include "GCE2d_MakeArcOfCircle.hxx"
194 #include "Geom_Line.hxx"
195 #include "Geom2d_BSplineCurve.hxx"
196 #include "TColgp_Array2OfPnt2d.hxx"
197 #include "Geom_RectangularTrimmedSurface.hxx"
198 #include "GeomFill_FillingStyle.hxx"
199 #include "GeomFill_BSplineCurves.hxx"
200 #include "TopoDS_Vertex.hxx"
201 #include "TopoDS_Shape.hxx"
202 #include "TopoDS_Face.hxx"
204 #include "GeomAdaptor_HCurve.hxx"
205 #include "GeomFill_SimpleBound.hxx"
206 #include "GeomFill_Pipe.hxx"
207 #include "GeomConvert.hxx"
208 #include "TColgp_Array2OfPnt.hxx"
209 #include "Geom_BezierSurface.hxx"
210 #include "TColGeom_Array2OfBezierSurface.hxx"
211 #include "GeomConvert_CompBezierSurfacesToBSplineSurface.hxx"
212 #include "TColStd_HArray1OfInteger.hxx"
213 #include "Geom_OffsetSurface.hxx"
214 #include "Geom_SurfaceOfLinearExtrusion.hxx"
215 #include "Geom_SurfaceOfRevolution.hxx"
216 #include "GeomLib.hxx"
217 #include "Geom_BSplineSurface.hxx"
218 #include "Geom2d_Parabola.hxx"
219 #include "GCE2d_MakeParabola.hxx"
220 #include "Geom_TrimmedCurve.hxx"
221 #include "GeomFill_ConstrainedFilling.hxx"
223 #include "Geom_Curve.hxx"
224 #include "Geom_Surface.hxx"
225 #include "BndLib_Add2dCurve.hxx"
226 #include "BndLib.hxx"
227 #include "FairCurve_Batten.hxx"
228 #include "FairCurve_MinimalVariation.hxx"
229 #include "Geom2d_Parabola.hxx"
230 #include "GCE2d_MakeParabola.hxx"
231 #include "Geom_TrimmedCurve.hxx"
232 #include "GeomFill_ConstrainedFilling.hxx"
233 #include <GeomAPI_ExtremaSurfaceSurface.hxx>
234 #include <TColgp_Array2OfPnt.hxx>
235 #include <GeomAPI_PointsToBSplineSurface.hxx>
236 #include <GeomAdaptor_Surface.hxx>
237 #include <BndLib_AddSurface.hxx>
238 #include <BndLib_Add3dCurve.hxx>
239 #include "Prs3d_TextAspect.hxx"
240 #include "Prs3d_ArrowAspect.hxx"
241 #include "Prs3d_PointAspect.hxx"
242 #include <BRepMesh.hxx>
243 #include <TColgp_SequenceOfPnt.hxx>
244 #include <BRep_Tool.hxx>
245 #include <Poly_Triangulation.hxx>
246 #include <GeomPlate_BuildPlateSurface.hxx>
247 #include <GeomPlate_PointConstraint.hxx>
248 #include <GeomPlate_MakeApprox.hxx>
249 #include <ShapeAnalysis_FreeBounds.hxx>
250 #include <TopTools_IndexedMapOfShape.hxx>
251 #include <TopExp.hxx>
252 #include <TopoDS_Wire.hxx>
253 #include <TopoDS_Builder.hxx>
254 #include <ShapeFix_Shape.hxx>
255 #include <AIS_Point.hxx>
256 #include <Geom_CartesianPoint.hxx>
258 #include "ISession2D_Curve.h"
259 #include "ISession_Direction.h"
260 #include "ISession2D_InteractiveContext.h"
261 #include "ISession_Curve.h"
262 #include "ISession_Surface.h"
263 #include "ISession_Text.h"
264 #include "ISession_Point.h"
266 #include <UnitsAPI.hxx>
267 #include "..\res\resource.h"
270 //{{AFX_INSERT_LOCATION}}
271 // Microsoft Developer Studio will insert additional declarations immediately before the previous line.