File indexing completed on 2025-01-18 10:05:15
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _StepToTopoDS_Builder_HeaderFile
0018 #define _StepToTopoDS_Builder_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_DefineAlloc.hxx>
0022 #include <Standard_Handle.hxx>
0023
0024 #include <StepToTopoDS_BuilderError.hxx>
0025 #include <TopoDS_Shape.hxx>
0026 #include <StepToTopoDS_Root.hxx>
0027 #include <Message_ProgressRange.hxx>
0028
0029 class StepShape_ManifoldSolidBrep;
0030 class Transfer_TransientProcess;
0031 class StepShape_BrepWithVoids;
0032 class StepShape_FacetedBrep;
0033 class StepShape_FacetedBrepAndBrepWithVoids;
0034 class StepShape_ShellBasedSurfaceModel;
0035 class StepToTopoDS_NMTool;
0036 class StepShape_GeometricSet;
0037 class StepShape_EdgeBasedWireframeModel;
0038 class StepShape_FaceBasedSurfaceModel;
0039 class StepVisual_TessellatedFace;
0040 class StepVisual_TessellatedShell;
0041 class StepVisual_TessellatedSolid;
0042 class StepVisual_TessellatedSurfaceSet;
0043 class Transfer_ActorOfTransientProcess;
0044
0045
0046
0047 class StepToTopoDS_Builder : public StepToTopoDS_Root
0048 {
0049 public:
0050
0051 DEFINE_STANDARD_ALLOC
0052
0053
0054 Standard_EXPORT StepToTopoDS_Builder();
0055
0056 Standard_EXPORT void Init (const Handle(StepShape_ManifoldSolidBrep)& theManifoldSolid,
0057 const Handle(Transfer_TransientProcess)& theTP,
0058 const StepData_Factors& theLocalFactors,
0059 const Message_ProgressRange& theProgress = Message_ProgressRange());
0060
0061 Standard_EXPORT void Init (const Handle(StepShape_BrepWithVoids)& theBRepWithVoids,
0062 const Handle(Transfer_TransientProcess)& theTP,
0063 const StepData_Factors& theLocalFactors,
0064 const Message_ProgressRange& theProgress = Message_ProgressRange());
0065
0066 Standard_EXPORT void Init (const Handle(StepShape_FacetedBrep)& theFB,
0067 const Handle(Transfer_TransientProcess)& theTP,
0068 const StepData_Factors& theLocalFactors,
0069 const Message_ProgressRange& theProgress = Message_ProgressRange());
0070
0071 Standard_EXPORT void Init (const Handle(StepShape_FacetedBrepAndBrepWithVoids)& theFBABWV,
0072 const Handle(Transfer_TransientProcess)& theTP,
0073 const StepData_Factors& theLocalFactors,
0074 const Message_ProgressRange& theProgress = Message_ProgressRange());
0075
0076 Standard_EXPORT void Init (const Handle(StepShape_ShellBasedSurfaceModel)& S,
0077 const Handle(Transfer_TransientProcess)& TP,
0078 StepToTopoDS_NMTool& NMTool,
0079 const StepData_Factors& theLocalFactors,
0080 const Message_ProgressRange& theProgress = Message_ProgressRange());
0081
0082 Standard_EXPORT void Init (const Handle(StepShape_EdgeBasedWireframeModel)& S,
0083 const Handle(Transfer_TransientProcess)& TP,
0084 const StepData_Factors& theLocalFactors);
0085
0086 Standard_EXPORT void Init (const Handle(StepShape_FaceBasedSurfaceModel)& S,
0087 const Handle(Transfer_TransientProcess)& TP,
0088 const StepData_Factors& theLocalFactors);
0089
0090 Standard_EXPORT void Init (const Handle(StepShape_GeometricSet)& S,
0091 const Handle(Transfer_TransientProcess)& TP,
0092 const StepData_Factors& theLocalFactors,
0093 const Handle(Transfer_ActorOfTransientProcess)& RA = NULL,
0094 const Standard_Boolean isManifold = Standard_False,
0095 const Message_ProgressRange& theProgress = Message_ProgressRange());
0096
0097 Standard_EXPORT void Init (const Handle(StepVisual_TessellatedSolid)& theTSo,
0098 const Handle(Transfer_TransientProcess)& theTP,
0099 const Standard_Boolean theReadTessellatedWhenNoBRepOnly,
0100 Standard_Boolean& theHasGeom,
0101 const StepData_Factors& theLocalFactors,
0102 const Message_ProgressRange& theProgress = Message_ProgressRange());
0103
0104 Standard_EXPORT void Init (const Handle(StepVisual_TessellatedShell)& theTSh,
0105 const Handle(Transfer_TransientProcess)& theTP,
0106 const Standard_Boolean theReadTessellatedWhenNoBRepOnly,
0107 Standard_Boolean& theHasGeom,
0108 const StepData_Factors& theLocalFactors,
0109 const Message_ProgressRange& theProgress = Message_ProgressRange());
0110
0111 Standard_EXPORT void Init (const Handle(StepVisual_TessellatedFace)& theTF,
0112 const Handle(Transfer_TransientProcess)& theTP,
0113 const Standard_Boolean theReadTessellatedWhenNoBRepOnly,
0114 Standard_Boolean& theHasGeom,
0115 const StepData_Factors& theLocalFactors);
0116
0117 Standard_EXPORT void Init (const Handle(StepVisual_TessellatedSurfaceSet)& theTSS,
0118 const Handle(Transfer_TransientProcess)& theTP,
0119 const StepData_Factors& theLocalFactors,
0120 Standard_Boolean& theHasGeom);
0121
0122 Standard_EXPORT const TopoDS_Shape& Value() const;
0123
0124 Standard_EXPORT StepToTopoDS_BuilderError Error() const;
0125
0126
0127
0128
0129 protected:
0130
0131
0132
0133
0134
0135 private:
0136
0137
0138
0139 StepToTopoDS_BuilderError myError;
0140 TopoDS_Shape myResult;
0141
0142
0143 };
0144
0145
0146
0147
0148
0149
0150
0151 #endif