mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-05-16 10:54:53 +03:00
Redundant macros were removed. Defines _WIN32, __linux__ and LININTEL were removed from qt samples *.pro files
165 lines
4.6 KiB
C++
Executable File
165 lines
4.6 KiB
C++
Executable File
// stdafx.h : include file for standard system include files,
|
|
// or project specific include files that are used frequently, but
|
|
// are changed infrequently
|
|
//
|
|
|
|
#if _MSC_VER >= 1000
|
|
#pragma once
|
|
#endif // _MSC_VER >= 1000
|
|
|
|
#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
|
|
|
|
#include <afxwin.h> // MFC core and standard components
|
|
#include <afxext.h> // MFC extensions
|
|
#include <afxdisp.h> // MFC OLE automation classes
|
|
#ifndef _AFX_NO_AFXCMN_SUPPORT
|
|
#include <afxcmn.h> // MFC support for Windows Common Controls
|
|
#endif // _AFX_NO_AFXCMN_SUPPORT
|
|
|
|
#pragma warning( disable : 4244 ) // Issue warning 4244
|
|
#include "Standard_ShortReal.hxx"
|
|
#pragma warning( default : 4244 ) // Issue warning 4244
|
|
|
|
#include <Standard.hxx>
|
|
/*
|
|
#ifndef Version15B
|
|
# ifndef Version15D
|
|
# ifndef Version20
|
|
# define Version15B
|
|
# endif // Version20
|
|
# endif // Version15D
|
|
#endif // Version15B
|
|
|
|
#pragma message ("=============================")
|
|
#ifdef Version15B
|
|
# pragma message ("Set the libs for version 1.5B")
|
|
#endif // Version15B
|
|
|
|
#ifdef Version15D
|
|
# pragma message ("Set the libs for version 1.5D")
|
|
#endif // Version15D
|
|
|
|
#ifdef Version20
|
|
# pragma message ("Set the libs for version 2.0 ")
|
|
#endif // Version20
|
|
#pragma message ("=============================")
|
|
|
|
#ifdef Version15B
|
|
# pragma comment (lib,"TKTop.lib")
|
|
# pragma comment (lib,"TShort.lib")
|
|
# pragma comment (lib,"TColQuantity.lib")
|
|
#endif
|
|
|
|
#ifdef Version15D
|
|
# pragma comment (lib,"TKTop.lib")
|
|
#endif
|
|
|
|
#ifdef Version20
|
|
# pragma comment (lib,"TKTop1.lib")
|
|
# pragma comment (lib,"TKTop2.lib")
|
|
#endif
|
|
|
|
#pragma message ("Set the specific libs for the application")
|
|
# pragma comment (lib,"TKGeom.lib")
|
|
# pragma comment (lib,"TKGlt.lib")
|
|
# pragma comment (lib,"TKGraphic.lib")
|
|
# pragma comment (lib,"TKPrsMgr.lib")
|
|
# pragma comment (lib,"TKViewers.lib")
|
|
# pragma comment (lib,"gp.lib")
|
|
# pragma comment (lib,"TKernel.lib")
|
|
*/
|
|
|
|
#include <AIS_Circle.hxx>
|
|
#include <AIS_Line.hxx>
|
|
#include <AIS_InteractiveContext.hxx>
|
|
#include <AIS_InteractiveObject.hxx>
|
|
#include <AIS_LocalContext.hxx>
|
|
#include <AIS_TexturedShape.hxx>
|
|
|
|
#include <Aspect_TypeOfline.hxx>
|
|
#include <Aspect_WidthOfline.hxx>
|
|
#include <Aspect_Background.hxx>
|
|
|
|
#include <BRepPrimAPI_MakeBox.hxx>
|
|
#include <BRep_Builder.hxx>
|
|
#include <BRepBuilderAPI_MakeEdge.hxx>
|
|
#include <BRepBuilderAPI_MakeWire.hxx>
|
|
#include <BRepBuilderAPI_MakeFace.hxx>
|
|
#include <BRepTools.hxx>
|
|
#include <Bnd_Box2d.hxx>
|
|
#include <BndLib_Add2dCurve.hxx>
|
|
|
|
#include <GCE2d_MakeSegment.hxx>
|
|
#include <GCPnts_TangentialDeflection.hxx>
|
|
#include <Geom2d_Curve.hxx>
|
|
#include <Geom_CartesianPoint.hxx>
|
|
#include <Geom_Circle.hxx>
|
|
#include <Geom_Curve.hxx>
|
|
#include <Geom_Line.hxx>
|
|
#include <Geom2d_Curve.hxx>
|
|
#include <Geom2d_TrimmedCurve.hxx>
|
|
#include <Geom2dAdaptor_Curve.hxx>
|
|
#include <GeomTools_Curve2dSet.hxx>
|
|
#include <Graphic3d_AspectText3d.hxx>
|
|
#include <Graphic3d_Group.hxx>
|
|
#include <Graphic3d_AspectMarker3d.hxx>
|
|
#include <Graphic3d_StructureManager.hxx>
|
|
#include <Graphic3d_Texture1Dsegment.hxx>
|
|
#include <gp_Ax2d.hxx>
|
|
#include <gp_Circ.hxx>
|
|
#include <gp_Circ2d.hxx>
|
|
#include <gp_Dir2d.hxx>
|
|
#include <gp_Lin2d.hxx>
|
|
#include <gp_Pln.hxx>
|
|
#include <gp_Pnt2d.hxx>
|
|
#include <gp_Vec2d.hxx>
|
|
#include <HLRAlgo_Projector.hxx>
|
|
#include <MMgt_TShared.hxx>
|
|
#include <OSD_Environment.hxx>
|
|
#include <Precision.hxx>
|
|
#include <Prs3d_Drawer.hxx>
|
|
#include <Prs3d_LineAspect.hxx>
|
|
#include <Prs3d_PlaneAspect.hxx>
|
|
#include <Prs3d_Presentation.hxx>
|
|
#include <Quantity_Factor.hxx>
|
|
#include <Quantity_Length.hxx>
|
|
#include <Quantity_PlaneAngle.hxx>
|
|
#include <SelectMgr_EntityOwner.hxx>
|
|
#include <SelectMgr_Selection.hxx>
|
|
#include <SelectMgr_SelectableObject.hxx>
|
|
#include <SelectMgr_SelectionManager.hxx>
|
|
#include <Standard_ErrorHandler.hxx>
|
|
#include <Standard_Real.hxx>
|
|
#include <Standard_Integer.hxx>
|
|
#include <SelectMgr_Selection.hxx>
|
|
#include <Standard_OStream.hxx>
|
|
#include <Standard_IStream.hxx>
|
|
#include <Standard_CString.hxx>
|
|
#include <Standard_Boolean.hxx>
|
|
#include <Standard_Real.hxx>
|
|
#include <Standard_OStream.hxx>
|
|
#include <Standard_IStream.hxx>
|
|
#include <Standard_CString.hxx>
|
|
#include <TCollection_AsciiString.hxx>
|
|
#include <TColgp_Array1OfPnt2d.hxx>
|
|
#include <TColgp_HArray1OfPnt2d.hxx>
|
|
#include <TopoDS_Shape.hxx>
|
|
#include <TopoDS.hxx>
|
|
#include <V3d_View.hxx>
|
|
#include <V3d_Viewer.hxx>
|
|
#include <WNT_Window.hxx>
|
|
|
|
#include <..\res\resource.h>
|
|
|
|
class ISession2D_InteractiveObject;
|
|
|
|
class V3d_Viewer;
|
|
class SelectMgr_SelectableObject;
|
|
class TCollection_AsciiString;
|
|
class SelectBasics_EntityOwner;
|
|
class gp_Pnt2d;
|
|
|
|
//{{AFX_INSERT_LOCATION}}
|
|
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
|
|
|