stdafx.h

来自「Wrapper Class For SWT Opencascade」· C头文件 代码 · 共 194 行

H
194
字号
// stdafx.h : Include-Datei f黵 Standard-System-Include-Dateien,
//  oder projektspezifische Include-Dateien, die h鋟fig benutzt, aber
//      in unregelm溥igen Abst鋘den ge鋘dert werden.
//

#if !defined(AFX_STDAFX_H__5B0ED0B5_BB57_4DA7_9371_4DA6240CA244__INCLUDED_)
#define AFX_STDAFX_H__5B0ED0B5_BB57_4DA7_9371_4DA6240CA244__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#define VC_EXTRALEAN		// Selten verwendete Teile der Windows-Header nicht einbinden



enum CurrentAction3d { 
  CurAction3d_Nothing,
  CurAction3d_DynamicZooming,
  CurAction3d_WindowZooming,
  CurAction3d_DynamicPanning,
  CurAction3d_GlobalPanning,
  CurAction3d_DynamicRotation
};


// CasCade :

#if !defined(WNT)
   #error WNT precompiler directive is mandatory for CasCade 
#endif
#if !defined(CSFDB)
   #error CSFDB precompiler directive is mandatory for CasCade 
#endif

//#pragma warning(  disable : 4244 )        // Issue warning 4244
#include <Standard_ShortReal.hxx>
//#pragma warning(  default : 4244 )        // Issue warning 4244

#include <Standard.hxx>
/*
#  pragma message ("============== Set libs for CasCade 4.0") 

#pragma comment (lib , "TKOpenGl.lib") 
#pragma comment (lib , "PTKernel.lib")
#pragma comment (lib , "TKBool.lib") 
#pragma comment (lib , "TKBRep.lib") 
#pragma comment (lib , "TKCAF.lib") 
#pragma comment (lib , "TKCDF.lib") 
#pragma comment (lib , "TKDraw.lib") 
#pragma comment (lib , "TKernel.lib") 
#pragma comment (lib , "TKFeat.lib") 
#pragma comment (lib , "TKG2d.lib") 
#pragma comment (lib , "TKG3d.lib") 
#pragma comment (lib , "TKGeomAlgo.lib") 
#pragma comment (lib , "TKGeomBase.lib") 
#pragma comment (lib , "TKMath.lib") 
#pragma comment (lib , "TKOffset.lib") 
#pragma comment (lib , "TKPCAF.lib") 
#pragma comment (lib , "TKPrim.lib") 
#pragma comment (lib , "TKPShape.lib") 
#pragma comment (lib , "TKService.lib") 
#pragma comment (lib , "TKShHealing.lib") 
#pragma comment (lib , "TKTopAlgo.lib") 
#pragma comment (lib , "TKV3d.lib") 
#pragma comment (lib , "TKXSBase.lib") 
//#pragma comment (lib , "ShapeSchema.lib") 
*/
#include <Adaptor3d_HSurface.hxx>
#include <AIS_Drawer.hxx>
#include <AIS_InteractiveContext.hxx>
#include <AIS_InteractiveObject.hxx>
#include <AIS_ListOfInteractive.hxx>
#include <AIS_ListIteratorOfListOfInteractive.hxx>
#include <AIS_Point.hxx>
#include <AIS_Shape.hxx>
#include <AIS_Trihedron.hxx>
#include <Aspect_Background.hxx>
#include <Aspect_TypeOfline.hxx>
#include <Aspect_TypeOfText.hxx>
#include <Aspect_WidthOfline.hxx>
#include <Aspect_Window.hxx>
#include <BndLib_Add2dCurve.hxx>
#include <BRep_Builder.hxx>
#include <BRep_Tool.hxx>
#include <BRepAdaptor_Curve.hxx>
#include <BRepAdaptor_Curve2d.hxx>
#include <BRepAdaptor_Surface.hxx>
#include <BRepBuilderAPI.hxx> 
#include <BRepBuilderAPI_Transform.hxx>
#include <BRepAlgo.hxx> 
#include <BRepAlgoAPI_Fuse.hxx>
#include <BRepLProp_SLProps.hxx>
#include <BRepPrimAPI_MakeCylinder.hxx>
#include <BRepPrimAPI_MakeSphere.hxx>
#include <BRepTools.hxx>
#include <BRepPrimAPI_MakeBox.hxx>
#include <Standard_DefineHandle.hxx>
#include <gce_MakeTranslation.hxx>
#include <gce_MakeRotation.hxx>
#include <Geom_CartesianPoint.hxx>
#include <Geom_Axis2Placement.hxx>
#include <Geom_CartesianPoint.hxx>
#include <Geom_Line.hxx>
#include <Geom_Surface.hxx>
#include <GeomAbs_CurveType.hxx>
#include <GeomAdaptor_Curve.hxx>
#include <Geom2dAdaptor_Curve.hxx>
#include <GeomAdaptor_Surface.hxx>
#include <GeomTools_Curve2dSet.hxx>
#include <Graphic3d_WNTGraphicDevice.hxx>
#include <gp.hxx>
#include <gp_Ax2d.hxx>
#include <gp_Dir.hxx>
#include <gp_Pnt.hxx>
#include <gp_Pnt2d.hxx>
#include <gp_Trsf.hxx>
#include <gp_Vec.hxx>
#include <Graphic3d_WNTGraphicDevice.hxx>
#include <math_Matrix.hxx>
#include <math_Vector.hxx>
#include <math_SVD.hxx>
#include <MMgt_TShared.hxx>
#include <OSD_Environment.hxx>
#include <Precision.hxx>
#include <Prs3d_IsoAspect.hxx>
#include <Prs3d_LineAspect.hxx>
#include <Prs3d_ShadingAspect.hxx>
#include <Prs3d_Text.hxx>
#include <PrsMgr_PresentationManager2d.hxx>
#include <Quantity_Factor.hxx>
#include <Quantity_Length.hxx>
#include <Quantity_NameOfColor.hxx>
#include <Quantity_PhysicalQuantity.hxx>
#include <Quantity_PlaneAngle.hxx>
#include <Quantity_TypeOfColor.hxx>
#include <SelectBasics_BasicTool.hxx>
#include <SelectBasics_ListOfBox2d.hxx>
#include <SelectMgr_EntityOwner.hxx>
#include <SelectMgr_SelectableObject.hxx>
#include <SelectMgr_Selection.hxx>
#include <SelectMgr_SelectionManager.hxx>
#include <ShapeSchema.hxx>
#include <Standard_Boolean.hxx>
#include <Standard_CString.hxx>
#include <Standard_ErrorHandler.hxx>
#include <Standard_Integer.hxx>
#include <Standard_IStream.hxx>
#include <Standard_Macro.hxx>
#include <Standard_NotImplemented.hxx>
#include <Standard_OStream.hxx>
#include <Standard_Real.hxx>
#include <Standard_Version.hxx>
#include <StdPrs_Curve.hxx>
#include <StdPrs_Point.hxx>
#include <StdPrs_PoleCurve.hxx>
#include <StdPrs_ShadedShape.hxx>
#include <StdPrs_WFDeflectionShape.hxx>
#include <StdSelect_BRepSelectionTool.hxx>
#include <StdSelect_SensitiveText2d.hxx>
#include <StdSelect_TextProjector2d.hxx>
#include <StdSelect_ViewerSelector2d.hxx>
#include <TCollection_AsciiString.hxx>
#include <TColStd_ListIteratorOfListOfInteger.hxx>
#include <TCollection_AsciiString.hxx>
#include <TColStd_HSequenceOfTransient.hxx>
#include <TColStd_MapIteratorOfMapOfTransient.hxx>
#include <TColStd_MapOfTransient.hxx>
#include <TColStd_ListOfInteger.hxx>
#include <TopExp_Explorer.hxx>
#include <TopoDS.hxx>
#include <TopoDS_Compound.hxx>
#include <TopoDS_ListIteratorOfListOfShape.hxx>
#include <TopoDS_Shape.hxx>
#include <TopoDS_Face.hxx>
#include <TopoDS_Solid.hxx>
#include <TopoDS_Vertex.hxx>
#include <TopoDS_Wire.hxx>
#include <TopExp.hxx>
#include <TopTools_ListIteratorOfListOfShape.hxx>
#include <TopTools_HSequenceOfShape.hxx>
#include <UnitsAPI.hxx>
#include <V3d_View.hxx>
#include <V3d_Viewer.hxx>
#include <WNT_WDriver.hxx>
#include <WNT_Window.hxx>

//End CasCade

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ f黦t unmittelbar vor der vorhergehenden Zeile zus鋞zliche Deklarationen ein.

#endif // !defined(AFX_STDAFX_H__5B0ED0B5_BB57_4DA7_9371_4DA6240CA244__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?