File indexing completed on 2025-01-18 10:03:17
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _BRepToIGES_BREntity_HeaderFile
0018 #define _BRepToIGES_BREntity_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_DefineAlloc.hxx>
0022 #include <Standard_Handle.hxx>
0023
0024 #include <Standard_CString.hxx>
0025 #include <Message_ProgressRange.hxx>
0026
0027 class IGESData_IGESModel;
0028 class Transfer_FinderProcess;
0029 class IGESData_IGESEntity;
0030 class TopoDS_Shape;
0031 class Standard_Transient;
0032
0033
0034
0035 class BRepToIGES_BREntity
0036 {
0037 public:
0038
0039 DEFINE_STANDARD_ALLOC
0040
0041
0042
0043 Standard_EXPORT BRepToIGES_BREntity();
0044
0045
0046
0047 Standard_EXPORT void Init();
0048
0049
0050 Standard_EXPORT void SetModel (const Handle(IGESData_IGESModel)& model);
0051
0052
0053 Standard_EXPORT Handle(IGESData_IGESModel) GetModel() const;
0054
0055
0056
0057 Standard_EXPORT Standard_Real GetUnit() const;
0058
0059
0060 Standard_EXPORT void SetTransferProcess (const Handle(Transfer_FinderProcess)& TP);
0061
0062
0063 Standard_EXPORT Handle(Transfer_FinderProcess) GetTransferProcess() const;
0064
0065
0066
0067 Standard_EXPORT virtual Handle(IGESData_IGESEntity) TransferShape
0068 (const TopoDS_Shape& start,
0069 const Message_ProgressRange& theProgress = Message_ProgressRange());
0070
0071
0072 Standard_EXPORT void AddFail (const TopoDS_Shape& start, const Standard_CString amess);
0073
0074
0075 Standard_EXPORT void AddWarning (const TopoDS_Shape& start, const Standard_CString amess);
0076
0077
0078 Standard_EXPORT void AddFail (const Handle(Standard_Transient)& start, const Standard_CString amess);
0079
0080
0081 Standard_EXPORT void AddWarning (const Handle(Standard_Transient)& start, const Standard_CString amess);
0082
0083
0084
0085 Standard_EXPORT Standard_Boolean HasShapeResult (const TopoDS_Shape& start) const;
0086
0087
0088
0089 Standard_EXPORT Handle(Standard_Transient) GetShapeResult (const TopoDS_Shape& start) const;
0090
0091
0092 Standard_EXPORT void SetShapeResult (const TopoDS_Shape& start, const Handle(Standard_Transient)& result);
0093
0094
0095
0096 Standard_EXPORT Standard_Boolean HasShapeResult (const Handle(Standard_Transient)& start) const;
0097
0098
0099
0100 Standard_EXPORT Handle(Standard_Transient) GetShapeResult (const Handle(Standard_Transient)& start) const;
0101
0102
0103 Standard_EXPORT void SetShapeResult (const Handle(Standard_Transient)& start, const Handle(Standard_Transient)& result);
0104
0105
0106
0107 Standard_EXPORT Standard_Boolean GetConvertSurfaceMode() const;
0108
0109
0110
0111 Standard_EXPORT Standard_Boolean GetPCurveMode() const;
0112
0113 Standard_EXPORT virtual ~BRepToIGES_BREntity();
0114
0115 private:
0116 Handle(IGESData_IGESModel) TheModel;
0117 Standard_Real TheUnitFactor;
0118 Standard_Boolean myConvSurface;
0119 Standard_Boolean myPCurveMode;
0120 Handle(Transfer_FinderProcess) TheMap;
0121 };
0122
0123 #endif