summaryrefslogtreecommitdiff
path: root/inc/TopoDSToStep.hxx
blob: 246d70f106abc836a3a3149f64fbb377209221fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
// This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to 
// this header file considered to be the "object code" form of the original source.

#ifndef _TopoDSToStep_HeaderFile
#define _TopoDSToStep_HeaderFile

#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_Macro_HeaderFile
#include <Standard_Macro.hxx>
#endif

#ifndef _Handle_TCollection_HAsciiString_HeaderFile
#include <Handle_TCollection_HAsciiString.hxx>
#endif
#ifndef _TopoDSToStep_BuilderError_HeaderFile
#include <TopoDSToStep_BuilderError.hxx>
#endif
#ifndef _TopoDSToStep_MakeFaceError_HeaderFile
#include <TopoDSToStep_MakeFaceError.hxx>
#endif
#ifndef _TopoDSToStep_MakeWireError_HeaderFile
#include <TopoDSToStep_MakeWireError.hxx>
#endif
#ifndef _TopoDSToStep_MakeEdgeError_HeaderFile
#include <TopoDSToStep_MakeEdgeError.hxx>
#endif
#ifndef _TopoDSToStep_MakeVertexError_HeaderFile
#include <TopoDSToStep_MakeVertexError.hxx>
#endif
#ifndef _Handle_Transfer_FinderProcess_HeaderFile
#include <Handle_Transfer_FinderProcess.hxx>
#endif
#ifndef _Handle_Standard_Transient_HeaderFile
#include <Handle_Standard_Transient.hxx>
#endif
class TCollection_HAsciiString;
class Transfer_FinderProcess;
class TopoDS_Shape;
class Standard_Transient;
class TopoDSToStep_Tool;
class TopoDSToStep_Root;
class TopoDSToStep_MakeManifoldSolidBrep;
class TopoDSToStep_MakeBrepWithVoids;
class TopoDSToStep_MakeFacetedBrep;
class TopoDSToStep_MakeFacetedBrepAndBrepWithVoids;
class TopoDSToStep_MakeShellBasedSurfaceModel;
class TopoDSToStep_MakeGeometricCurveSet;
class TopoDSToStep_Builder;
class TopoDSToStep_WireframeBuilder;
class TopoDSToStep_Tool;
class TopoDSToStep_FacetedTool;
class TopoDSToStep_MakeStepFace;
class TopoDSToStep_MakeStepWire;
class TopoDSToStep_MakeStepEdge;
class TopoDSToStep_MakeStepVertex;


//! This package implements the mapping between CAS.CAD <br>
//!  Shape representation and AP214 Shape Representation. <br>
//!  The target schema is pms_c4 (a subset of AP214) <br>
//! <br>
//!  How to use this Package : <br>
//! <br>
//!  Entry point are context dependent. It can be : <br>
//!     MakeManifoldSolidBrep <br>
//!     MakeBrepWithVoids <br>
//!     MakeFacetedBrep <br>
//!     MakeFacetedBrepAndBrepWithVoids <br>
//!     MakeShellBasedSurfaceModel <br>
//!  Each of these classes call the Builder <br>
//!  The class tool centralizes some common informations. <br>
class TopoDSToStep  {
public:

  void* operator new(size_t,void* anAddress) 
  {
    return anAddress;
  }
  void* operator new(size_t size) 
  {
    return Standard::Allocate(size); 
  }
  void  operator delete(void *anAddress) 
  {
    if (anAddress) Standard::Free((Standard_Address&)anAddress); 
  }

  
  Standard_EXPORT   static  Handle_TCollection_HAsciiString DecodeBuilderError(const TopoDSToStep_BuilderError E) ;
  
  Standard_EXPORT   static  Handle_TCollection_HAsciiString DecodeFaceError(const TopoDSToStep_MakeFaceError E) ;
  
  Standard_EXPORT   static  Handle_TCollection_HAsciiString DecodeWireError(const TopoDSToStep_MakeWireError E) ;
  
  Standard_EXPORT   static  Handle_TCollection_HAsciiString DecodeEdgeError(const TopoDSToStep_MakeEdgeError E) ;
  //! Returns a new shape without undirect surfaces. <br>
  Standard_EXPORT   static  Handle_TCollection_HAsciiString DecodeVertexError(const TopoDSToStep_MakeVertexError E) ;
  //! Adds an entity into the list of results (binders) for <br>
//!          shape stored in FinderProcess <br>
  Standard_EXPORT   static  void AddResult(const Handle(Transfer_FinderProcess)& FP,const TopoDS_Shape& Shape,const Handle(Standard_Transient)& entity) ;
  //! Adds all entities recorded in Tool into the map of results <br>
//!          (binders) stored in FinderProcess <br>
  Standard_EXPORT   static  void AddResult(const Handle(Transfer_FinderProcess)& FP,const TopoDSToStep_Tool& Tool) ;





protected:





private:




friend class TopoDSToStep_Root;
friend class TopoDSToStep_MakeManifoldSolidBrep;
friend class TopoDSToStep_MakeBrepWithVoids;
friend class TopoDSToStep_MakeFacetedBrep;
friend class TopoDSToStep_MakeFacetedBrepAndBrepWithVoids;
friend class TopoDSToStep_MakeShellBasedSurfaceModel;
friend class TopoDSToStep_MakeGeometricCurveSet;
friend class TopoDSToStep_Builder;
friend class TopoDSToStep_WireframeBuilder;
friend class TopoDSToStep_Tool;
friend class TopoDSToStep_FacetedTool;
friend class TopoDSToStep_MakeStepFace;
friend class TopoDSToStep_MakeStepWire;
friend class TopoDSToStep_MakeStepEdge;
friend class TopoDSToStep_MakeStepVertex;

};





// other Inline functions and methods (like "C++: function call" methods)


#endif