File: IGESCAFControl.cpp

package info (click to toggle)
python-ocp 7.8.1.2-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 64,720 kB
  • sloc: cpp: 362,337; pascal: 33; python: 23; makefile: 4
file content (415 lines) | stat: -rw-r--r-- 29,321 bytes parent folder | download | duplicates (2)
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
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415

// std lib related includes
#include <tuple>

// pybind 11 related includes
#include <pybind11/pybind11.h>
#include <pybind11/stl.h>

namespace py = pybind11;

// Standard Handle
#include <Standard_Handle.hxx>


// includes to resolve forward declarations
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Quantity_Color.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <XSControl_WorkSession.hxx>
#include <TDocStd_Document.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <XSControl_WorkSession.hxx>
#include <TDocStd_Document.hxx>

// module includes
#include <IGESCAFControl.hxx>
#include <IGESCAFControl_ConfigurationNode.hxx>
#include <IGESCAFControl_Provider.hxx>
#include <IGESCAFControl_Reader.hxx>
#include <IGESCAFControl_Writer.hxx>

// template related includes


// user-defined pre
#include "OCP_specific.inc"

// user-defined inclusion per module
#include <DE_ConfigurationContext.hxx>

// Module definiiton
void register_IGESCAFControl(py::module &main_module) {


py::module m = static_cast<py::module>(main_module.attr("IGESCAFControl"));
py::object klass;

//Python trampoline classes

// classes

    // Class IGESCAFControl from ./opencascade/IGESCAFControl.hxx
    klass = m.attr("IGESCAFControl");

    // default constructor
    register_default_constructor<IGESCAFControl , shared_ptr<IGESCAFControl>>(m,"IGESCAFControl");

    // nested enums

    static_cast<py::class_<IGESCAFControl , shared_ptr<IGESCAFControl>  >>(klass)
    // constructors
    // custom constructors
    // methods
    // methods using call by reference i.s.o. return
    // static methods
        .def_static("DecodeColor_s",
                    (Quantity_Color (*)( const Standard_Integer  ) ) static_cast<Quantity_Color (*)( const Standard_Integer  ) >(&IGESCAFControl::DecodeColor),
                    R"#(Provides a tool for writing IGES file Converts IGES color index to CASCADE color)#"  , py::arg("col")
          )
        .def_static("EncodeColor_s",
                    (Standard_Integer (*)( const Quantity_Color &  ) ) static_cast<Standard_Integer (*)( const Quantity_Color &  ) >(&IGESCAFControl::EncodeColor),
                    R"#(Tries to Convert CASCADE color to IGES color index If no corresponding color defined in IGES, returns 0)#"  , py::arg("col")
          )
    // static methods using call by reference i.s.o. return
    // operators
    // additional methods and static methods
    // properties
    // methods returning by ref wrapped as properties
;

    // Class IGESCAFControl_ConfigurationNode from ./opencascade/IGESCAFControl_ConfigurationNode.hxx
    klass = m.attr("IGESCAFControl_ConfigurationNode");


    // nested enums
        py::enum_<IGESCAFControl_ConfigurationNode::ReadMode_BSplineContinuity>(klass, "ReadMode_BSplineContinuity_e", R"#(None)#")
            .value("ReadMode_BSplineContinuity_C0", IGESCAFControl_ConfigurationNode::ReadMode_BSplineContinuity::ReadMode_BSplineContinuity_C0)
            .value("ReadMode_BSplineContinuity_C1", IGESCAFControl_ConfigurationNode::ReadMode_BSplineContinuity::ReadMode_BSplineContinuity_C1)
            .value("ReadMode_BSplineContinuity_C2", IGESCAFControl_ConfigurationNode::ReadMode_BSplineContinuity::ReadMode_BSplineContinuity_C2).export_values();
        py::enum_<IGESCAFControl_ConfigurationNode::ReadMode_Precision>(klass, "ReadMode_Precision_e", R"#(None)#")
            .value("ReadMode_Precision_File", IGESCAFControl_ConfigurationNode::ReadMode_Precision::ReadMode_Precision_File)
            .value("ReadMode_Precision_User", IGESCAFControl_ConfigurationNode::ReadMode_Precision::ReadMode_Precision_User).export_values();
        py::enum_<IGESCAFControl_ConfigurationNode::ReadMode_MaxPrecision>(klass, "ReadMode_MaxPrecision_e", R"#(None)#")
            .value("ReadMode_MaxPrecision_Preferred", IGESCAFControl_ConfigurationNode::ReadMode_MaxPrecision::ReadMode_MaxPrecision_Preferred)
            .value("ReadMode_MaxPrecision_Forced", IGESCAFControl_ConfigurationNode::ReadMode_MaxPrecision::ReadMode_MaxPrecision_Forced).export_values();
        py::enum_<IGESCAFControl_ConfigurationNode::ReadMode_SurfaceCurve>(klass, "ReadMode_SurfaceCurve_e", R"#(None)#")
            .value("ReadMode_SurfaceCurve_Default", IGESCAFControl_ConfigurationNode::ReadMode_SurfaceCurve::ReadMode_SurfaceCurve_Default)
            .value("ReadMode_SurfaceCurve_2DUse_Preferred", IGESCAFControl_ConfigurationNode::ReadMode_SurfaceCurve::ReadMode_SurfaceCurve_2DUse_Preferred)
            .value("ReadMode_SurfaceCurve_2DUse_Forced", IGESCAFControl_ConfigurationNode::ReadMode_SurfaceCurve::ReadMode_SurfaceCurve_2DUse_Forced)
            .value("ReadMode_SurfaceCurve_3DUse_Preferred", IGESCAFControl_ConfigurationNode::ReadMode_SurfaceCurve::ReadMode_SurfaceCurve_3DUse_Preferred)
            .value("ReadMode_SurfaceCurve_3DUse_Forced", IGESCAFControl_ConfigurationNode::ReadMode_SurfaceCurve::ReadMode_SurfaceCurve_3DUse_Forced).export_values();
        py::enum_<IGESCAFControl_ConfigurationNode::WriteMode_BRep>(klass, "WriteMode_BRep_e", R"#(None)#")
            .value("WriteMode_BRep_Faces", IGESCAFControl_ConfigurationNode::WriteMode_BRep::WriteMode_BRep_Faces)
            .value("WriteMode_BRep_BRep", IGESCAFControl_ConfigurationNode::WriteMode_BRep::WriteMode_BRep_BRep).export_values();
        py::enum_<IGESCAFControl_ConfigurationNode::WriteMode_ConvertSurface>(klass, "WriteMode_ConvertSurface_e", R"#(None)#")
            .value("WriteMode_ConvertSurface_Off", IGESCAFControl_ConfigurationNode::WriteMode_ConvertSurface::WriteMode_ConvertSurface_Off)
            .value("WriteMode_ConvertSurface_On", IGESCAFControl_ConfigurationNode::WriteMode_ConvertSurface::WriteMode_ConvertSurface_On).export_values();
        py::enum_<IGESCAFControl_ConfigurationNode::WriteMode_PrecisionMode>(klass, "WriteMode_PrecisionMode_e", R"#(None)#")
            .value("WriteMode_PrecisionMode_Least", IGESCAFControl_ConfigurationNode::WriteMode_PrecisionMode::WriteMode_PrecisionMode_Least)
            .value("WriteMode_PrecisionMode_Average", IGESCAFControl_ConfigurationNode::WriteMode_PrecisionMode::WriteMode_PrecisionMode_Average)
            .value("WriteMode_PrecisionMode_Greatest", IGESCAFControl_ConfigurationNode::WriteMode_PrecisionMode::WriteMode_PrecisionMode_Greatest)
            .value("WriteMode_PrecisionMode_Session", IGESCAFControl_ConfigurationNode::WriteMode_PrecisionMode::WriteMode_PrecisionMode_Session).export_values();
        py::enum_<IGESCAFControl_ConfigurationNode::WriteMode_PlaneMode>(klass, "WriteMode_PlaneMode_e", R"#(None)#")
            .value("WriteMode_PlaneMode_Plane", IGESCAFControl_ConfigurationNode::WriteMode_PlaneMode::WriteMode_PlaneMode_Plane)
            .value("WriteMode_PlaneMode_BSpline", IGESCAFControl_ConfigurationNode::WriteMode_PlaneMode::WriteMode_PlaneMode_BSpline).export_values();

    static_cast<py::class_<IGESCAFControl_ConfigurationNode ,opencascade::handle<IGESCAFControl_ConfigurationNode>  , DE_ConfigurationNode >>(klass)
    // constructors
        .def(py::init<  >()  )
        .def(py::init< const opencascade::handle<IGESCAFControl_ConfigurationNode> & >()  , py::arg("theNode") )
    // custom constructors
    // methods
        .def("Load",
             (bool (IGESCAFControl_ConfigurationNode::*)( const opencascade::handle<DE_ConfigurationContext> &  ) ) static_cast<bool (IGESCAFControl_ConfigurationNode::*)( const opencascade::handle<DE_ConfigurationContext> &  ) >(&IGESCAFControl_ConfigurationNode::Load),
             R"#(Updates values according the resource)#"  , py::arg("theResource")
          )
        .def("Save",
             (TCollection_AsciiString (IGESCAFControl_ConfigurationNode::*)() const) static_cast<TCollection_AsciiString (IGESCAFControl_ConfigurationNode::*)() const>(&IGESCAFControl_ConfigurationNode::Save),
             R"#(Writes configuration to the string)#" 
          )
        .def("Copy",
             (opencascade::handle<DE_ConfigurationNode> (IGESCAFControl_ConfigurationNode::*)() const) static_cast<opencascade::handle<DE_ConfigurationNode> (IGESCAFControl_ConfigurationNode::*)() const>(&IGESCAFControl_ConfigurationNode::Copy),
             R"#(Copies values of all fields)#" 
          )
        .def("BuildProvider",
             (opencascade::handle<DE_Provider> (IGESCAFControl_ConfigurationNode::*)() ) static_cast<opencascade::handle<DE_Provider> (IGESCAFControl_ConfigurationNode::*)() >(&IGESCAFControl_ConfigurationNode::BuildProvider),
             R"#(Creates new provider for the own format)#" 
          )
        .def("IsImportSupported",
             (bool (IGESCAFControl_ConfigurationNode::*)() const) static_cast<bool (IGESCAFControl_ConfigurationNode::*)() const>(&IGESCAFControl_ConfigurationNode::IsImportSupported),
             R"#(Checks the import supporting)#" 
          )
        .def("IsExportSupported",
             (bool (IGESCAFControl_ConfigurationNode::*)() const) static_cast<bool (IGESCAFControl_ConfigurationNode::*)() const>(&IGESCAFControl_ConfigurationNode::IsExportSupported),
             R"#(Checks the export supporting)#" 
          )
        .def("GetFormat",
             (TCollection_AsciiString (IGESCAFControl_ConfigurationNode::*)() const) static_cast<TCollection_AsciiString (IGESCAFControl_ConfigurationNode::*)() const>(&IGESCAFControl_ConfigurationNode::GetFormat),
             R"#(Gets CAD format name of associated provider)#" 
          )
        .def("GetVendor",
             (TCollection_AsciiString (IGESCAFControl_ConfigurationNode::*)() const) static_cast<TCollection_AsciiString (IGESCAFControl_ConfigurationNode::*)() const>(&IGESCAFControl_ConfigurationNode::GetVendor),
             R"#(Gets provider's vendor name of associated provider)#" 
          )
        .def("GetExtensions",
             (TColStd_ListOfAsciiString (IGESCAFControl_ConfigurationNode::*)() const) static_cast<TColStd_ListOfAsciiString (IGESCAFControl_ConfigurationNode::*)() const>(&IGESCAFControl_ConfigurationNode::GetExtensions),
             R"#(Gets list of supported file extensions)#" 
          )
        .def("CheckContent",
             (bool (IGESCAFControl_ConfigurationNode::*)( const opencascade::handle<NCollection_Buffer> &  ) const) static_cast<bool (IGESCAFControl_ConfigurationNode::*)( const opencascade::handle<NCollection_Buffer> &  ) const>(&IGESCAFControl_ConfigurationNode::CheckContent),
             R"#(Checks the file content to verify a format)#"  , py::arg("theBuffer")
          )
    // methods using call by reference i.s.o. return
    // static methods
        .def_static("get_type_name_s",
                    (const char * (*)() ) static_cast<const char * (*)() >(&IGESCAFControl_ConfigurationNode::get_type_name),
                    R"#(None)#" 
          )
        .def_static("get_type_descriptor_s",
                    (const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&IGESCAFControl_ConfigurationNode::get_type_descriptor),
                    R"#(None)#" 
          )
    // static methods using call by reference i.s.o. return
    // operators
    // additional methods and static methods
    // properties
    // methods returning by ref wrapped as properties
       .def("DynamicType",
             (const opencascade::handle<Standard_Type> & (IGESCAFControl_ConfigurationNode::*)() const) static_cast<const opencascade::handle<Standard_Type> & (IGESCAFControl_ConfigurationNode::*)() const>(&IGESCAFControl_ConfigurationNode::DynamicType),
             R"#(None)#"
             
         )
;

    // Class IGESCAFControl_Provider from ./opencascade/IGESCAFControl_Provider.hxx
    klass = m.attr("IGESCAFControl_Provider");


    // nested enums

    static_cast<py::class_<IGESCAFControl_Provider ,opencascade::handle<IGESCAFControl_Provider>  , DE_Provider >>(klass)
    // constructors
        .def(py::init<  >()  )
        .def(py::init< const opencascade::handle<DE_ConfigurationNode> & >()  , py::arg("theNode") )
    // custom constructors
    // methods
        .def("Read",
             (bool (IGESCAFControl_Provider::*)( const TCollection_AsciiString & ,  const opencascade::handle<TDocStd_Document> & ,  opencascade::handle<XSControl_WorkSession> & ,  const Message_ProgressRange &  ) ) static_cast<bool (IGESCAFControl_Provider::*)( const TCollection_AsciiString & ,  const opencascade::handle<TDocStd_Document> & ,  opencascade::handle<XSControl_WorkSession> & ,  const Message_ProgressRange &  ) >(&IGESCAFControl_Provider::Read),
             R"#(Reads a CAD file, according internal configuration)#"  , py::arg("thePath"),  py::arg("theDocument"),  py::arg("theWS"),  py::arg("theProgress")=static_cast<const Message_ProgressRange &>(Message_ProgressRange ( ))
          )
        .def("Write",
             (bool (IGESCAFControl_Provider::*)( const TCollection_AsciiString & ,  const opencascade::handle<TDocStd_Document> & ,  opencascade::handle<XSControl_WorkSession> & ,  const Message_ProgressRange &  ) ) static_cast<bool (IGESCAFControl_Provider::*)( const TCollection_AsciiString & ,  const opencascade::handle<TDocStd_Document> & ,  opencascade::handle<XSControl_WorkSession> & ,  const Message_ProgressRange &  ) >(&IGESCAFControl_Provider::Write),
             R"#(Writes a CAD file, according internal configuration)#"  , py::arg("thePath"),  py::arg("theDocument"),  py::arg("theWS"),  py::arg("theProgress")=static_cast<const Message_ProgressRange &>(Message_ProgressRange ( ))
          )
        .def("Read",
             (bool (IGESCAFControl_Provider::*)( const TCollection_AsciiString & ,  const opencascade::handle<TDocStd_Document> & ,  const Message_ProgressRange &  ) ) static_cast<bool (IGESCAFControl_Provider::*)( const TCollection_AsciiString & ,  const opencascade::handle<TDocStd_Document> & ,  const Message_ProgressRange &  ) >(&IGESCAFControl_Provider::Read),
             R"#(Reads a CAD file, according internal configuration)#"  , py::arg("thePath"),  py::arg("theDocument"),  py::arg("theProgress")=static_cast<const Message_ProgressRange &>(Message_ProgressRange ( ))
          )
        .def("Write",
             (bool (IGESCAFControl_Provider::*)( const TCollection_AsciiString & ,  const opencascade::handle<TDocStd_Document> & ,  const Message_ProgressRange &  ) ) static_cast<bool (IGESCAFControl_Provider::*)( const TCollection_AsciiString & ,  const opencascade::handle<TDocStd_Document> & ,  const Message_ProgressRange &  ) >(&IGESCAFControl_Provider::Write),
             R"#(Writes a CAD file, according internal configuration)#"  , py::arg("thePath"),  py::arg("theDocument"),  py::arg("theProgress")=static_cast<const Message_ProgressRange &>(Message_ProgressRange ( ))
          )
        .def("Read",
             (bool (IGESCAFControl_Provider::*)( const TCollection_AsciiString & ,  TopoDS_Shape & ,  opencascade::handle<XSControl_WorkSession> & ,  const Message_ProgressRange &  ) ) static_cast<bool (IGESCAFControl_Provider::*)( const TCollection_AsciiString & ,  TopoDS_Shape & ,  opencascade::handle<XSControl_WorkSession> & ,  const Message_ProgressRange &  ) >(&IGESCAFControl_Provider::Read),
             R"#(Reads a CAD file, according internal configuration)#"  , py::arg("thePath"),  py::arg("theShape"),  py::arg("theWS"),  py::arg("theProgress")=static_cast<const Message_ProgressRange &>(Message_ProgressRange ( ))
          )
        .def("Write",
             (bool (IGESCAFControl_Provider::*)( const TCollection_AsciiString & ,  const TopoDS_Shape & ,  opencascade::handle<XSControl_WorkSession> & ,  const Message_ProgressRange &  ) ) static_cast<bool (IGESCAFControl_Provider::*)( const TCollection_AsciiString & ,  const TopoDS_Shape & ,  opencascade::handle<XSControl_WorkSession> & ,  const Message_ProgressRange &  ) >(&IGESCAFControl_Provider::Write),
             R"#(Writes a CAD file, according internal configuration)#"  , py::arg("thePath"),  py::arg("theShape"),  py::arg("theWS"),  py::arg("theProgress")=static_cast<const Message_ProgressRange &>(Message_ProgressRange ( ))
          )
        .def("Read",
             (bool (IGESCAFControl_Provider::*)( const TCollection_AsciiString & ,  TopoDS_Shape & ,  const Message_ProgressRange &  ) ) static_cast<bool (IGESCAFControl_Provider::*)( const TCollection_AsciiString & ,  TopoDS_Shape & ,  const Message_ProgressRange &  ) >(&IGESCAFControl_Provider::Read),
             R"#(Reads a CAD file, according internal configuration)#"  , py::arg("thePath"),  py::arg("theShape"),  py::arg("theProgress")=static_cast<const Message_ProgressRange &>(Message_ProgressRange ( ))
          )
        .def("Write",
             (bool (IGESCAFControl_Provider::*)( const TCollection_AsciiString & ,  const TopoDS_Shape & ,  const Message_ProgressRange &  ) ) static_cast<bool (IGESCAFControl_Provider::*)( const TCollection_AsciiString & ,  const TopoDS_Shape & ,  const Message_ProgressRange &  ) >(&IGESCAFControl_Provider::Write),
             R"#(Writes a CAD file, according internal configuration)#"  , py::arg("thePath"),  py::arg("theShape"),  py::arg("theProgress")=static_cast<const Message_ProgressRange &>(Message_ProgressRange ( ))
          )
        .def("GetFormat",
             (TCollection_AsciiString (IGESCAFControl_Provider::*)() const) static_cast<TCollection_AsciiString (IGESCAFControl_Provider::*)() const>(&IGESCAFControl_Provider::GetFormat),
             R"#(Gets CAD format name of associated provider)#" 
          )
        .def("GetVendor",
             (TCollection_AsciiString (IGESCAFControl_Provider::*)() const) static_cast<TCollection_AsciiString (IGESCAFControl_Provider::*)() const>(&IGESCAFControl_Provider::GetVendor),
             R"#(Gets provider's vendor name of associated provider)#" 
          )
    // methods using call by reference i.s.o. return
    // static methods
        .def_static("get_type_name_s",
                    (const char * (*)() ) static_cast<const char * (*)() >(&IGESCAFControl_Provider::get_type_name),
                    R"#(None)#" 
          )
        .def_static("get_type_descriptor_s",
                    (const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&IGESCAFControl_Provider::get_type_descriptor),
                    R"#(None)#" 
          )
    // static methods using call by reference i.s.o. return
    // operators
    // additional methods and static methods
    // properties
    // methods returning by ref wrapped as properties
       .def("DynamicType",
             (const opencascade::handle<Standard_Type> & (IGESCAFControl_Provider::*)() const) static_cast<const opencascade::handle<Standard_Type> & (IGESCAFControl_Provider::*)() const>(&IGESCAFControl_Provider::DynamicType),
             R"#(None)#"
             
         )
;

    // Class IGESCAFControl_Reader from ./opencascade/IGESCAFControl_Reader.hxx
    klass = m.attr("IGESCAFControl_Reader");


    // nested enums

    static_cast<py::class_<IGESCAFControl_Reader , shared_ptr<IGESCAFControl_Reader>  , IGESControl_Reader >>(klass)
    // constructors
        .def(py::init<  >()  )
        .def(py::init< const opencascade::handle<XSControl_WorkSession> &,const Standard_Boolean >()  , py::arg("theWS"),  py::arg("FromScratch")=static_cast<const Standard_Boolean>(Standard_True) )
    // custom constructors
    // methods
        .def("Transfer",
             (Standard_Boolean (IGESCAFControl_Reader::*)( const opencascade::handle<TDocStd_Document> & ,  const Message_ProgressRange &  ) ) static_cast<Standard_Boolean (IGESCAFControl_Reader::*)( const opencascade::handle<TDocStd_Document> & ,  const Message_ProgressRange &  ) >(&IGESCAFControl_Reader::Transfer),
             R"#(Translates currently loaded IGES file into the document Returns True if succeeded, and False in case of fail)#"  , py::arg("theDoc"),  py::arg("theProgress")=static_cast<const Message_ProgressRange &>(Message_ProgressRange ( ))
          )
        .def("Perform",
             (Standard_Boolean (IGESCAFControl_Reader::*)( const TCollection_AsciiString & ,  const opencascade::handle<TDocStd_Document> & ,  const Message_ProgressRange &  ) ) static_cast<Standard_Boolean (IGESCAFControl_Reader::*)( const TCollection_AsciiString & ,  const opencascade::handle<TDocStd_Document> & ,  const Message_ProgressRange &  ) >(&IGESCAFControl_Reader::Perform),
             R"#(None)#"  , py::arg("theFileName"),  py::arg("theDoc"),  py::arg("theProgress")=static_cast<const Message_ProgressRange &>(Message_ProgressRange ( ))
          )
        .def("Perform",
             (Standard_Boolean (IGESCAFControl_Reader::*)( const Standard_CString ,  const opencascade::handle<TDocStd_Document> & ,  const Message_ProgressRange &  ) ) static_cast<Standard_Boolean (IGESCAFControl_Reader::*)( const Standard_CString ,  const opencascade::handle<TDocStd_Document> & ,  const Message_ProgressRange &  ) >(&IGESCAFControl_Reader::Perform),
             R"#(Translate IGES file given by filename into the document Return True if succeeded, and False in case of fail)#"  , py::arg("theFileName"),  py::arg("theDoc"),  py::arg("theProgress")=static_cast<const Message_ProgressRange &>(Message_ProgressRange ( ))
          )
        .def("SetColorMode",
             (void (IGESCAFControl_Reader::*)( const Standard_Boolean  ) ) static_cast<void (IGESCAFControl_Reader::*)( const Standard_Boolean  ) >(&IGESCAFControl_Reader::SetColorMode),
             R"#(Set ColorMode for indicate read Colors or not.)#"  , py::arg("theMode")
          )
        .def("GetColorMode",
             (Standard_Boolean (IGESCAFControl_Reader::*)() const) static_cast<Standard_Boolean (IGESCAFControl_Reader::*)() const>(&IGESCAFControl_Reader::GetColorMode),
             R"#(None)#" 
          )
        .def("SetNameMode",
             (void (IGESCAFControl_Reader::*)( const Standard_Boolean  ) ) static_cast<void (IGESCAFControl_Reader::*)( const Standard_Boolean  ) >(&IGESCAFControl_Reader::SetNameMode),
             R"#(Set NameMode for indicate read Name or not.)#"  , py::arg("theMode")
          )
        .def("GetNameMode",
             (Standard_Boolean (IGESCAFControl_Reader::*)() const) static_cast<Standard_Boolean (IGESCAFControl_Reader::*)() const>(&IGESCAFControl_Reader::GetNameMode),
             R"#(None)#" 
          )
        .def("SetLayerMode",
             (void (IGESCAFControl_Reader::*)( const Standard_Boolean  ) ) static_cast<void (IGESCAFControl_Reader::*)( const Standard_Boolean  ) >(&IGESCAFControl_Reader::SetLayerMode),
             R"#(Set LayerMode for indicate read Layers or not.)#"  , py::arg("theMode")
          )
        .def("GetLayerMode",
             (Standard_Boolean (IGESCAFControl_Reader::*)() const) static_cast<Standard_Boolean (IGESCAFControl_Reader::*)() const>(&IGESCAFControl_Reader::GetLayerMode),
             R"#(None)#" 
          )
    // methods using call by reference i.s.o. return
    // static methods
    // static methods using call by reference i.s.o. return
    // operators
    // additional methods and static methods
    // properties
    // methods returning by ref wrapped as properties
;

    // Class IGESCAFControl_Writer from ./opencascade/IGESCAFControl_Writer.hxx
    klass = m.attr("IGESCAFControl_Writer");


    // nested enums

    static_cast<py::class_<IGESCAFControl_Writer , shared_ptr<IGESCAFControl_Writer>  , IGESControl_Writer >>(klass)
    // constructors
        .def(py::init<  >()  )
        .def(py::init< const opencascade::handle<XSControl_WorkSession> &,const Standard_Boolean >()  , py::arg("WS"),  py::arg("scratch")=static_cast<const Standard_Boolean>(Standard_True) )
    // custom constructors
    // methods
        .def("Transfer",
             (Standard_Boolean (IGESCAFControl_Writer::*)( const opencascade::handle<TDocStd_Document> & ,  const Message_ProgressRange &  ) ) static_cast<Standard_Boolean (IGESCAFControl_Writer::*)( const opencascade::handle<TDocStd_Document> & ,  const Message_ProgressRange &  ) >(&IGESCAFControl_Writer::Transfer),
             R"#(Transfers a document to a IGES model Returns True if translation is OK)#"  , py::arg("doc"),  py::arg("theProgress")=static_cast<const Message_ProgressRange &>(Message_ProgressRange ( ))
          )
        .def("Transfer",
             (Standard_Boolean (IGESCAFControl_Writer::*)(  const NCollection_Sequence<TDF_Label> & ,  const Message_ProgressRange &  ) ) static_cast<Standard_Boolean (IGESCAFControl_Writer::*)(  const NCollection_Sequence<TDF_Label> & ,  const Message_ProgressRange &  ) >(&IGESCAFControl_Writer::Transfer),
             R"#(Transfers labels to a IGES model Returns True if translation is OK)#"  , py::arg("labels"),  py::arg("theProgress")=static_cast<const Message_ProgressRange &>(Message_ProgressRange ( ))
          )
        .def("Transfer",
             (Standard_Boolean (IGESCAFControl_Writer::*)( const TDF_Label & ,  const Message_ProgressRange &  ) ) static_cast<Standard_Boolean (IGESCAFControl_Writer::*)( const TDF_Label & ,  const Message_ProgressRange &  ) >(&IGESCAFControl_Writer::Transfer),
             R"#(Transfers label to a IGES model Returns True if translation is OK)#"  , py::arg("label"),  py::arg("theProgress")=static_cast<const Message_ProgressRange &>(Message_ProgressRange ( ))
          )
        .def("Perform",
             (Standard_Boolean (IGESCAFControl_Writer::*)( const opencascade::handle<TDocStd_Document> & ,  const TCollection_AsciiString & ,  const Message_ProgressRange &  ) ) static_cast<Standard_Boolean (IGESCAFControl_Writer::*)( const opencascade::handle<TDocStd_Document> & ,  const TCollection_AsciiString & ,  const Message_ProgressRange &  ) >(&IGESCAFControl_Writer::Perform),
             R"#(None)#"  , py::arg("doc"),  py::arg("filename"),  py::arg("theProgress")=static_cast<const Message_ProgressRange &>(Message_ProgressRange ( ))
          )
        .def("Perform",
             (Standard_Boolean (IGESCAFControl_Writer::*)( const opencascade::handle<TDocStd_Document> & ,  const Standard_CString ,  const Message_ProgressRange &  ) ) static_cast<Standard_Boolean (IGESCAFControl_Writer::*)( const opencascade::handle<TDocStd_Document> & ,  const Standard_CString ,  const Message_ProgressRange &  ) >(&IGESCAFControl_Writer::Perform),
             R"#(Transfers a document and writes it to a IGES file Returns True if translation is OK)#"  , py::arg("doc"),  py::arg("filename"),  py::arg("theProgress")=static_cast<const Message_ProgressRange &>(Message_ProgressRange ( ))
          )
        .def("SetColorMode",
             (void (IGESCAFControl_Writer::*)( const Standard_Boolean  ) ) static_cast<void (IGESCAFControl_Writer::*)( const Standard_Boolean  ) >(&IGESCAFControl_Writer::SetColorMode),
             R"#(Set ColorMode for indicate write Colors or not.)#"  , py::arg("colormode")
          )
        .def("GetColorMode",
             (Standard_Boolean (IGESCAFControl_Writer::*)() const) static_cast<Standard_Boolean (IGESCAFControl_Writer::*)() const>(&IGESCAFControl_Writer::GetColorMode),
             R"#(None)#" 
          )
        .def("SetNameMode",
             (void (IGESCAFControl_Writer::*)( const Standard_Boolean  ) ) static_cast<void (IGESCAFControl_Writer::*)( const Standard_Boolean  ) >(&IGESCAFControl_Writer::SetNameMode),
             R"#(Set NameMode for indicate write Name or not.)#"  , py::arg("namemode")
          )
        .def("GetNameMode",
             (Standard_Boolean (IGESCAFControl_Writer::*)() const) static_cast<Standard_Boolean (IGESCAFControl_Writer::*)() const>(&IGESCAFControl_Writer::GetNameMode),
             R"#(None)#" 
          )
        .def("SetLayerMode",
             (void (IGESCAFControl_Writer::*)( const Standard_Boolean  ) ) static_cast<void (IGESCAFControl_Writer::*)( const Standard_Boolean  ) >(&IGESCAFControl_Writer::SetLayerMode),
             R"#(Set LayerMode for indicate write Layers or not.)#"  , py::arg("layermode")
          )
        .def("GetLayerMode",
             (Standard_Boolean (IGESCAFControl_Writer::*)() const) static_cast<Standard_Boolean (IGESCAFControl_Writer::*)() const>(&IGESCAFControl_Writer::GetLayerMode),
             R"#(None)#" 
          )
    // methods using call by reference i.s.o. return
    // static methods
    // static methods using call by reference i.s.o. return
    // operators
    // additional methods and static methods
    // properties
    // methods returning by ref wrapped as properties
;

// functions
// ./opencascade/IGESCAFControl.hxx
// ./opencascade/IGESCAFControl_ConfigurationNode.hxx
// ./opencascade/IGESCAFControl_Provider.hxx
// ./opencascade/IGESCAFControl_Reader.hxx
// ./opencascade/IGESCAFControl_Writer.hxx

// Additional functions

// operators

// register typdefs


// exceptions

// user-defined post-inclusion per module in the body

};

// user-defined post-inclusion per module

// user-defined post