File: PrsMgr.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 (752 lines) | stat: -rw-r--r-- 61,510 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
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752

// 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 <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <PrsMgr_PresentableObject.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 <PrsMgr_PresentationManager.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <PrsMgr_PresentationManager.hxx>
#include <PrsMgr_PresentableObject.hxx>
#include <Prs3d_Drawer.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 <Prs3d_Drawer.hxx>
#include <PrsMgr_Presentation.hxx>
#include <PrsMgr_PresentableObject.hxx>
#include <V3d_Viewer.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 <PrsMgr_Presentation.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>

// module includes
#include <PrsMgr_DisplayStatus.hxx>
#include <PrsMgr_ListOfPresentableObjects.hxx>
#include <PrsMgr_ListOfPresentations.hxx>
#include <PrsMgr_PresentableObject.hxx>
#include <PrsMgr_Presentation.hxx>
#include <PrsMgr_Presentation3d.hxx>
#include <PrsMgr_PresentationManager.hxx>
#include <PrsMgr_PresentationManager3d.hxx>
#include <PrsMgr_Presentations.hxx>
#include <PrsMgr_TypeOfPresentation3d.hxx>

// template related includes

// ./opencascade/PrsMgr_ListOfPresentableObjects.hxx
#include "NCollection_tmpl.hxx"

// ./opencascade/PrsMgr_ListOfPresentableObjects.hxx
#include "NCollection_tmpl.hxx"

// ./opencascade/PrsMgr_ListOfPresentations.hxx
#include "NCollection_tmpl.hxx"

// ./opencascade/PrsMgr_Presentations.hxx
#include "NCollection_tmpl.hxx"


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

// user-defined inclusion per module

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


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

//Python trampoline classes
    class Py_PrsMgr_PresentableObject : public PrsMgr_PresentableObject{
    public:
        using PrsMgr_PresentableObject::PrsMgr_PresentableObject;


        // public pure virtual


        // protected pure virtual
        void Compute(const opencascade::handle<PrsMgr_PresentationManager> & thePrsMgr,const opencascade::handle<Prs3d_Presentation> & thePrs,const Standard_Integer theMode) override { PYBIND11_OVERLOAD_PURE(void,PrsMgr_PresentableObject,Compute,thePrsMgr,thePrs,theMode) };


        // private pure virtual

    };

// classes

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


    // nested enums

    static_cast<py::class_<PrsMgr_PresentableObject ,opencascade::handle<PrsMgr_PresentableObject> ,Py_PrsMgr_PresentableObject , Standard_Transient >>(klass)
    // constructors
    // custom constructors
    // methods
        .def("ZLayer",
             (Graphic3d_ZLayerId (PrsMgr_PresentableObject::*)() const) static_cast<Graphic3d_ZLayerId (PrsMgr_PresentableObject::*)() const>(&PrsMgr_PresentableObject::ZLayer),
             R"#(Get ID of Z layer for main presentation.)#" 
          )
        .def("SetZLayer",
             (void (PrsMgr_PresentableObject::*)( const Graphic3d_ZLayerId  ) ) static_cast<void (PrsMgr_PresentableObject::*)( const Graphic3d_ZLayerId  ) >(&PrsMgr_PresentableObject::SetZLayer),
             R"#(Set Z layer ID and update all presentations of the presentable object. The layers mechanism allows drawing objects in higher layers in overlay of objects in lower layers.)#"  , py::arg("theLayerId")
          )
        .def("IsMutable",
             (Standard_Boolean (PrsMgr_PresentableObject::*)() const) static_cast<Standard_Boolean (PrsMgr_PresentableObject::*)() const>(&PrsMgr_PresentableObject::IsMutable),
             R"#(Returns true if object has mutable nature (content or location are be changed regularly). Mutable object will be managed in different way than static onces (another optimizations).)#" 
          )
        .def("SetMutable",
             (void (PrsMgr_PresentableObject::*)( const Standard_Boolean  ) ) static_cast<void (PrsMgr_PresentableObject::*)( const Standard_Boolean  ) >(&PrsMgr_PresentableObject::SetMutable),
             R"#(Sets if the object has mutable nature (content or location will be changed regularly). This method should be called before object displaying to take effect.)#"  , py::arg("theIsMutable")
          )
        .def("HasDisplayMode",
             (Standard_Boolean (PrsMgr_PresentableObject::*)() const) static_cast<Standard_Boolean (PrsMgr_PresentableObject::*)() const>(&PrsMgr_PresentableObject::HasDisplayMode),
             R"#(Returns true if the Interactive Object has display mode setting overriding global setting (within Interactive Context).)#" 
          )
        .def("DisplayMode",
             (Standard_Integer (PrsMgr_PresentableObject::*)() const) static_cast<Standard_Integer (PrsMgr_PresentableObject::*)() const>(&PrsMgr_PresentableObject::DisplayMode),
             R"#(Returns the display mode setting of the Interactive Object. The range of supported display mode indexes should be specified within object definition and filtered by AccepDisplayMode().)#" 
          )
        .def("SetDisplayMode",
             (void (PrsMgr_PresentableObject::*)( const Standard_Integer  ) ) static_cast<void (PrsMgr_PresentableObject::*)( const Standard_Integer  ) >(&PrsMgr_PresentableObject::SetDisplayMode),
             R"#(Sets the display mode for the interactive object. An object can have its own temporary display mode, which is different from that proposed by the interactive context.)#"  , py::arg("theMode")
          )
        .def("UnsetDisplayMode",
             (void (PrsMgr_PresentableObject::*)() ) static_cast<void (PrsMgr_PresentableObject::*)() >(&PrsMgr_PresentableObject::UnsetDisplayMode),
             R"#(Removes display mode settings from the interactive object.)#" 
          )
        .def("HasHilightMode",
             (Standard_Boolean (PrsMgr_PresentableObject::*)() const) static_cast<Standard_Boolean (PrsMgr_PresentableObject::*)() const>(&PrsMgr_PresentableObject::HasHilightMode),
             R"#(Returns true if the Interactive Object is in highlight mode.)#" 
          )
        .def("HilightMode",
             (Standard_Integer (PrsMgr_PresentableObject::*)() const) static_cast<Standard_Integer (PrsMgr_PresentableObject::*)() const>(&PrsMgr_PresentableObject::HilightMode),
             R"#(Returns highlight display mode. This is obsolete method for backward compatibility - use ::HilightAttributes() and ::DynamicHilightAttributes() instead.)#" 
          )
        .def("SetHilightMode",
             (void (PrsMgr_PresentableObject::*)( const Standard_Integer  ) ) static_cast<void (PrsMgr_PresentableObject::*)( const Standard_Integer  ) >(&PrsMgr_PresentableObject::SetHilightMode),
             R"#(Sets highlight display mode. This is obsolete method for backward compatibility - use ::HilightAttributes() and ::DynamicHilightAttributes() instead.)#"  , py::arg("theMode")
          )
        .def("UnsetHilightMode",
             (void (PrsMgr_PresentableObject::*)() ) static_cast<void (PrsMgr_PresentableObject::*)() >(&PrsMgr_PresentableObject::UnsetHilightMode),
             R"#(Unsets highlight display mode.)#" 
          )
        .def("AcceptDisplayMode",
             (Standard_Boolean (PrsMgr_PresentableObject::*)( const Standard_Integer  ) const) static_cast<Standard_Boolean (PrsMgr_PresentableObject::*)( const Standard_Integer  ) const>(&PrsMgr_PresentableObject::AcceptDisplayMode),
             R"#(Returns true if the class of objects accepts specified display mode index. The interactive context can have a default mode of representation for the set of Interactive Objects. This mode may not be accepted by a given class of objects. Consequently, this virtual method allowing us to get information about the class in question must be implemented. At least one display mode index should be accepted by this method. Although subclass can leave default implementation, it is highly desired defining exact list of supported modes instead, which is usually an enumeration for one object or objects class sharing similar list of display modes.)#"  , py::arg("theMode")
          )
        .def("DefaultDisplayMode",
             (Standard_Integer (PrsMgr_PresentableObject::*)() const) static_cast<Standard_Integer (PrsMgr_PresentableObject::*)() const>(&PrsMgr_PresentableObject::DefaultDisplayMode),
             R"#(Returns the default display mode.)#" 
          )
        .def("ToBeUpdated",
             (Standard_Boolean (PrsMgr_PresentableObject::*)( Standard_Boolean  ) const) static_cast<Standard_Boolean (PrsMgr_PresentableObject::*)( Standard_Boolean  ) const>(&PrsMgr_PresentableObject::ToBeUpdated),
             R"#(Returns TRUE if any active presentation has invalidation flag.)#"  , py::arg("theToIncludeHidden")=static_cast<Standard_Boolean>(Standard_False)
          )
        .def("SetToUpdate",
             (void (PrsMgr_PresentableObject::*)( Standard_Integer  ) ) static_cast<void (PrsMgr_PresentableObject::*)( Standard_Integer  ) >(&PrsMgr_PresentableObject::SetToUpdate),
             R"#(Flags presentation to be updated; UpdatePresentations() will recompute these presentations.)#"  , py::arg("theMode")
          )
        .def("SetToUpdate",
             (void (PrsMgr_PresentableObject::*)() ) static_cast<void (PrsMgr_PresentableObject::*)() >(&PrsMgr_PresentableObject::SetToUpdate),
             R"#(flags all the Presentations to be Updated.)#" 
          )
        .def("IsInfinite",
             (Standard_Boolean (PrsMgr_PresentableObject::*)() const) static_cast<Standard_Boolean (PrsMgr_PresentableObject::*)() const>(&PrsMgr_PresentableObject::IsInfinite),
             R"#(Returns true if the interactive object is infinite; FALSE by default. This flag affects various operations operating on bounding box of graphic presentations of this object. For instance, infinite objects are not taken in account for View FitAll. This does not necessarily means that object is actually infinite, auxiliary objects might be also marked with this flag to achieve desired behavior.)#" 
          )
        .def("SetInfiniteState",
             (void (PrsMgr_PresentableObject::*)( const Standard_Boolean  ) ) static_cast<void (PrsMgr_PresentableObject::*)( const Standard_Boolean  ) >(&PrsMgr_PresentableObject::SetInfiniteState),
             R"#(Sets if object should be considered as infinite.)#"  , py::arg("theFlag")=static_cast<const Standard_Boolean>(Standard_True)
          )
        .def("TypeOfPresentation3d",
             (PrsMgr_TypeOfPresentation3d (PrsMgr_PresentableObject::*)() const) static_cast<PrsMgr_TypeOfPresentation3d (PrsMgr_PresentableObject::*)() const>(&PrsMgr_PresentableObject::TypeOfPresentation3d),
             R"#(Returns information on whether the object accepts display in HLR mode or not.)#" 
          )
        .def("SetTypeOfPresentation",
             (void (PrsMgr_PresentableObject::*)( const PrsMgr_TypeOfPresentation3d  ) ) static_cast<void (PrsMgr_PresentableObject::*)( const PrsMgr_TypeOfPresentation3d  ) >(&PrsMgr_PresentableObject::SetTypeOfPresentation),
             R"#(Set type of presentation.)#"  , py::arg("theType")
          )
        .def("DisplayStatus",
             (PrsMgr_DisplayStatus (PrsMgr_PresentableObject::*)() const) static_cast<PrsMgr_DisplayStatus (PrsMgr_PresentableObject::*)() const>(&PrsMgr_PresentableObject::DisplayStatus),
             R"#(Return presentation display status; PrsMgr_DisplayStatus_None by default.)#" 
          )
        .def("SetAttributes",
             (void (PrsMgr_PresentableObject::*)( const opencascade::handle<Prs3d_Drawer> &  ) ) static_cast<void (PrsMgr_PresentableObject::*)( const opencascade::handle<Prs3d_Drawer> &  ) >(&PrsMgr_PresentableObject::SetAttributes),
             R"#(Initializes the drawing tool theDrawer.)#"  , py::arg("theDrawer")
          )
        .def("SetHilightAttributes",
             (void (PrsMgr_PresentableObject::*)( const opencascade::handle<Prs3d_Drawer> &  ) ) static_cast<void (PrsMgr_PresentableObject::*)( const opencascade::handle<Prs3d_Drawer> &  ) >(&PrsMgr_PresentableObject::SetHilightAttributes),
             R"#(Initializes the hilight drawing tool theDrawer.)#"  , py::arg("theDrawer")
          )
        .def("SetDynamicHilightAttributes",
             (void (PrsMgr_PresentableObject::*)( const opencascade::handle<Prs3d_Drawer> &  ) ) static_cast<void (PrsMgr_PresentableObject::*)( const opencascade::handle<Prs3d_Drawer> &  ) >(&PrsMgr_PresentableObject::SetDynamicHilightAttributes),
             R"#(Initializes the dynamic hilight drawing tool.)#"  , py::arg("theDrawer")
          )
        .def("UnsetHilightAttributes",
             (void (PrsMgr_PresentableObject::*)() ) static_cast<void (PrsMgr_PresentableObject::*)() >(&PrsMgr_PresentableObject::UnsetHilightAttributes),
             R"#(Clears settings provided by the hilight drawing tool theDrawer.)#" 
          )
        .def("SynchronizeAspects",
             (void (PrsMgr_PresentableObject::*)() ) static_cast<void (PrsMgr_PresentableObject::*)() >(&PrsMgr_PresentableObject::SynchronizeAspects),
             R"#(Synchronize presentation aspects after their modification.)#" 
          )
        .def("SetTransformPersistence",
             (void (PrsMgr_PresentableObject::*)( const opencascade::handle<Graphic3d_TransformPers> &  ) ) static_cast<void (PrsMgr_PresentableObject::*)( const opencascade::handle<Graphic3d_TransformPers> &  ) >(&PrsMgr_PresentableObject::SetTransformPersistence),
             R"#(Sets up Transform Persistence defining a special Local Coordinate system where this object should be located. Note that management of Transform Persistence object is more expensive than of the normal one, because it requires its position being recomputed basing on camera position within each draw call / traverse.)#"  , py::arg("theTrsfPers")
          )
        .def("SetLocalTransformation",
             (void (PrsMgr_PresentableObject::*)( const gp_Trsf &  ) ) static_cast<void (PrsMgr_PresentableObject::*)( const gp_Trsf &  ) >(&PrsMgr_PresentableObject::SetLocalTransformation),
             R"#(Sets local transformation to theTransformation. Note that the local transformation of the object having Transformation Persistence is applied within Local Coordinate system defined by this Persistence.)#"  , py::arg("theTrsf")
          )
        .def("SetLocalTransformation",
             (void (PrsMgr_PresentableObject::*)( const opencascade::handle<TopLoc_Datum3D> &  ) ) static_cast<void (PrsMgr_PresentableObject::*)( const opencascade::handle<TopLoc_Datum3D> &  ) >(&PrsMgr_PresentableObject::SetLocalTransformation),
             R"#(Sets local transformation to theTransformation. Note that the local transformation of the object having Transformation Persistence is applied within Local Coordinate system defined by this Persistence.)#"  , py::arg("theTrsf")
          )
        .def("HasTransformation",
             (Standard_Boolean (PrsMgr_PresentableObject::*)() const) static_cast<Standard_Boolean (PrsMgr_PresentableObject::*)() const>(&PrsMgr_PresentableObject::HasTransformation),
             R"#(Returns true if object has a transformation that is different from the identity.)#" 
          )
        .def("ResetTransformation",
             (void (PrsMgr_PresentableObject::*)() ) static_cast<void (PrsMgr_PresentableObject::*)() >(&PrsMgr_PresentableObject::ResetTransformation),
             R"#(resets local transformation to identity.)#" 
          )
        .def("UpdateTransformation",
             (void (PrsMgr_PresentableObject::*)() ) static_cast<void (PrsMgr_PresentableObject::*)() >(&PrsMgr_PresentableObject::UpdateTransformation),
             R"#(Updates final transformation (parent + local) of presentable object and its presentations.)#" 
          )
        .def("SetClipPlanes",
             (void (PrsMgr_PresentableObject::*)( const opencascade::handle<Graphic3d_SequenceOfHClipPlane> &  ) ) static_cast<void (PrsMgr_PresentableObject::*)( const opencascade::handle<Graphic3d_SequenceOfHClipPlane> &  ) >(&PrsMgr_PresentableObject::SetClipPlanes),
             R"#(Set clip planes for graphical clipping for all display mode presentations. The composition of clip planes truncates the rendering space to convex volume. Please be aware that number of supported clip plane is limited. The planes which exceed the limit are ignored. Besides of this, some planes can be already set in view where the object is shown: the number of these planes should be subtracted from limit to predict the maximum possible number of object clipping planes.)#"  , py::arg("thePlanes")
          )
        .def("AddClipPlane",
             (void (PrsMgr_PresentableObject::*)( const opencascade::handle<Graphic3d_ClipPlane> &  ) ) static_cast<void (PrsMgr_PresentableObject::*)( const opencascade::handle<Graphic3d_ClipPlane> &  ) >(&PrsMgr_PresentableObject::AddClipPlane),
             R"#(Adds clip plane for graphical clipping for all display mode presentations. The composition of clip planes truncates the rendering space to convex volume. Please be aware that number of supported clip plane is limited. The planes which exceed the limit are ignored. Besides of this, some planes can be already set in view where the object is shown: the number of these planes should be subtracted from limit to predict the maximum possible number of object clipping planes.)#"  , py::arg("thePlane")
          )
        .def("RemoveClipPlane",
             (void (PrsMgr_PresentableObject::*)( const opencascade::handle<Graphic3d_ClipPlane> &  ) ) static_cast<void (PrsMgr_PresentableObject::*)( const opencascade::handle<Graphic3d_ClipPlane> &  ) >(&PrsMgr_PresentableObject::RemoveClipPlane),
             R"#(Removes previously added clip plane.)#"  , py::arg("thePlane")
          )
        .def("Parent",
             (PrsMgr_PresentableObject * (PrsMgr_PresentableObject::*)() const) static_cast<PrsMgr_PresentableObject * (PrsMgr_PresentableObject::*)() const>(&PrsMgr_PresentableObject::Parent),
             R"#(Returns parent of current object in scene hierarchy.)#" 
          )
        .def("AddChild",
             (void (PrsMgr_PresentableObject::*)( const opencascade::handle<PrsMgr_PresentableObject> &  ) ) static_cast<void (PrsMgr_PresentableObject::*)( const opencascade::handle<PrsMgr_PresentableObject> &  ) >(&PrsMgr_PresentableObject::AddChild),
             R"#(Makes theObject child of current object in scene hierarchy.)#"  , py::arg("theObject")
          )
        .def("AddChildWithCurrentTransformation",
             (void (PrsMgr_PresentableObject::*)( const opencascade::handle<PrsMgr_PresentableObject> &  ) ) static_cast<void (PrsMgr_PresentableObject::*)( const opencascade::handle<PrsMgr_PresentableObject> &  ) >(&PrsMgr_PresentableObject::AddChildWithCurrentTransformation),
             R"#(Makes theObject child of current object in scene hierarchy with keeping the current global transformation So the object keeps the same position/orientation in the global CS.)#"  , py::arg("theObject")
          )
        .def("RemoveChild",
             (void (PrsMgr_PresentableObject::*)( const opencascade::handle<PrsMgr_PresentableObject> &  ) ) static_cast<void (PrsMgr_PresentableObject::*)( const opencascade::handle<PrsMgr_PresentableObject> &  ) >(&PrsMgr_PresentableObject::RemoveChild),
             R"#(Removes theObject from children of current object in scene hierarchy.)#"  , py::arg("theObject")
          )
        .def("RemoveChildWithRestoreTransformation",
             (void (PrsMgr_PresentableObject::*)( const opencascade::handle<PrsMgr_PresentableObject> &  ) ) static_cast<void (PrsMgr_PresentableObject::*)( const opencascade::handle<PrsMgr_PresentableObject> &  ) >(&PrsMgr_PresentableObject::RemoveChildWithRestoreTransformation),
             R"#(Removes theObject from children of current object in scene hierarchy with keeping the current global transformation. So the object keeps the same position/orientation in the global CS.)#"  , py::arg("theObject")
          )
        .def("HasOwnPresentations",
             (Standard_Boolean (PrsMgr_PresentableObject::*)() const) static_cast<Standard_Boolean (PrsMgr_PresentableObject::*)() const>(&PrsMgr_PresentableObject::HasOwnPresentations),
             R"#(Returns true if object should have own presentations.)#" 
          )
        .def("BoundingBox",
             (void (PrsMgr_PresentableObject::*)( Bnd_Box &  ) ) static_cast<void (PrsMgr_PresentableObject::*)( Bnd_Box &  ) >(&PrsMgr_PresentableObject::BoundingBox),
             R"#(Returns bounding box of object correspondingly to its current display mode. This method requires presentation to be already computed, since it relies on bounding box of presentation structures, which are supposed to be same/close amongst different display modes of this object.)#"  , py::arg("theBndBox")
          )
        .def("SetIsoOnTriangulation",
             (void (PrsMgr_PresentableObject::*)( const Standard_Boolean  ) ) static_cast<void (PrsMgr_PresentableObject::*)( const Standard_Boolean  ) >(&PrsMgr_PresentableObject::SetIsoOnTriangulation),
             R"#(Enables or disables on-triangulation build of isolines according to the flag given.)#"  , py::arg("theIsEnabled")
          )
        .def("CurrentFacingModel",
             (Aspect_TypeOfFacingModel (PrsMgr_PresentableObject::*)() const) static_cast<Aspect_TypeOfFacingModel (PrsMgr_PresentableObject::*)() const>(&PrsMgr_PresentableObject::CurrentFacingModel),
             R"#(Returns the current facing model which is in effect.)#" 
          )
        .def("SetCurrentFacingModel",
             (void (PrsMgr_PresentableObject::*)( const Aspect_TypeOfFacingModel  ) ) static_cast<void (PrsMgr_PresentableObject::*)( const Aspect_TypeOfFacingModel  ) >(&PrsMgr_PresentableObject::SetCurrentFacingModel),
             R"#(change the current facing model apply on polygons for SetColor(), SetTransparency(), SetMaterial() methods default facing model is Aspect_TOFM_TWO_SIDE. This mean that attributes is applying both on the front and back face.)#"  , py::arg("theModel")=static_cast<const Aspect_TypeOfFacingModel>(Aspect_TOFM_BOTH_SIDE)
          )
        .def("HasColor",
             (Standard_Boolean (PrsMgr_PresentableObject::*)() const) static_cast<Standard_Boolean (PrsMgr_PresentableObject::*)() const>(&PrsMgr_PresentableObject::HasColor),
             R"#(Returns true if the Interactive Object has color.)#" 
          )
        .def("Color",
             (void (PrsMgr_PresentableObject::*)( Quantity_Color &  ) const) static_cast<void (PrsMgr_PresentableObject::*)( Quantity_Color &  ) const>(&PrsMgr_PresentableObject::Color),
             R"#(Returns the color setting of the Interactive Object.)#"  , py::arg("theColor")
          )
        .def("SetColor",
             (void (PrsMgr_PresentableObject::*)( const Quantity_Color &  ) ) static_cast<void (PrsMgr_PresentableObject::*)( const Quantity_Color &  ) >(&PrsMgr_PresentableObject::SetColor),
             R"#(Only the interactive object knowns which Drawer attribute is affected by the color, if any (ex: for a wire,it's the wireaspect field of the drawer, but for a vertex, only the point aspect field is affected by the color). WARNING : Do not forget to set the corresponding fields here (hasOwnColor and myDrawer->SetColor()))#"  , py::arg("theColor")
          )
        .def("UnsetColor",
             (void (PrsMgr_PresentableObject::*)() ) static_cast<void (PrsMgr_PresentableObject::*)() >(&PrsMgr_PresentableObject::UnsetColor),
             R"#(Removes color settings. Only the Interactive Object knows which Drawer attribute is affected by the color setting. For a wire, for example, wire aspect is the attribute affected. For a vertex, however, only point aspect is affected by the color setting.)#" 
          )
        .def("HasWidth",
             (Standard_Boolean (PrsMgr_PresentableObject::*)() const) static_cast<Standard_Boolean (PrsMgr_PresentableObject::*)() const>(&PrsMgr_PresentableObject::HasWidth),
             R"#(Returns true if the Interactive Object has width.)#" 
          )
        .def("Width",
             (Standard_Real (PrsMgr_PresentableObject::*)() const) static_cast<Standard_Real (PrsMgr_PresentableObject::*)() const>(&PrsMgr_PresentableObject::Width),
             R"#(Returns the width setting of the Interactive Object.)#" 
          )
        .def("SetWidth",
             (void (PrsMgr_PresentableObject::*)( const Standard_Real  ) ) static_cast<void (PrsMgr_PresentableObject::*)( const Standard_Real  ) >(&PrsMgr_PresentableObject::SetWidth),
             R"#(Allows you to provide the setting aValue for width. Only the Interactive Object knows which Drawer attribute is affected by the width setting.)#"  , py::arg("theWidth")
          )
        .def("UnsetWidth",
             (void (PrsMgr_PresentableObject::*)() ) static_cast<void (PrsMgr_PresentableObject::*)() >(&PrsMgr_PresentableObject::UnsetWidth),
             R"#(Reset width to default value.)#" 
          )
        .def("HasMaterial",
             (Standard_Boolean (PrsMgr_PresentableObject::*)() const) static_cast<Standard_Boolean (PrsMgr_PresentableObject::*)() const>(&PrsMgr_PresentableObject::HasMaterial),
             R"#(Returns true if the Interactive Object has a setting for material.)#" 
          )
        .def("Material",
             (Graphic3d_NameOfMaterial (PrsMgr_PresentableObject::*)() const) static_cast<Graphic3d_NameOfMaterial (PrsMgr_PresentableObject::*)() const>(&PrsMgr_PresentableObject::Material),
             R"#(Returns the current material setting as enumeration value.)#" 
          )
        .def("SetMaterial",
             (void (PrsMgr_PresentableObject::*)( const Graphic3d_MaterialAspect &  ) ) static_cast<void (PrsMgr_PresentableObject::*)( const Graphic3d_MaterialAspect &  ) >(&PrsMgr_PresentableObject::SetMaterial),
             R"#(Sets the material aMat defining this display attribute for the interactive object. Material aspect determines shading aspect, color and transparency of visible entities.)#"  , py::arg("aName")
          )
        .def("UnsetMaterial",
             (void (PrsMgr_PresentableObject::*)() ) static_cast<void (PrsMgr_PresentableObject::*)() >(&PrsMgr_PresentableObject::UnsetMaterial),
             R"#(Removes the setting for material.)#" 
          )
        .def("IsTransparent",
             (Standard_Boolean (PrsMgr_PresentableObject::*)() const) static_cast<Standard_Boolean (PrsMgr_PresentableObject::*)() const>(&PrsMgr_PresentableObject::IsTransparent),
             R"#(Returns true if there is a transparency setting.)#" 
          )
        .def("Transparency",
             (Standard_Real (PrsMgr_PresentableObject::*)() const) static_cast<Standard_Real (PrsMgr_PresentableObject::*)() const>(&PrsMgr_PresentableObject::Transparency),
             R"#(Returns the transparency setting. This will be between 0.0 and 1.0. At 0.0 an object will be totally opaque, and at 1.0, fully transparent.)#" 
          )
        .def("SetTransparency",
             (void (PrsMgr_PresentableObject::*)( const Standard_Real  ) ) static_cast<void (PrsMgr_PresentableObject::*)( const Standard_Real  ) >(&PrsMgr_PresentableObject::SetTransparency),
             R"#(Attributes a setting aValue for transparency. The transparency value should be between 0.0 and 1.0. At 0.0 an object will be totally opaque, and at 1.0, fully transparent. Warning At a value of 1.0, there may be nothing visible.)#"  , py::arg("aValue")=static_cast<const Standard_Real>(0.6)
          )
        .def("UnsetTransparency",
             (void (PrsMgr_PresentableObject::*)() ) static_cast<void (PrsMgr_PresentableObject::*)() >(&PrsMgr_PresentableObject::UnsetTransparency),
             R"#(Removes the transparency setting. The object is opaque by default.)#" 
          )
        .def("HasPolygonOffsets",
             (Standard_Boolean (PrsMgr_PresentableObject::*)() const) static_cast<Standard_Boolean (PrsMgr_PresentableObject::*)() const>(&PrsMgr_PresentableObject::HasPolygonOffsets),
             R"#(Returns Standard_True if <myDrawer> has non-null shading aspect)#" 
          )
        .def("SetPolygonOffsets",
             (void (PrsMgr_PresentableObject::*)( const Standard_Integer ,  const Standard_ShortReal ,  const Standard_ShortReal  ) ) static_cast<void (PrsMgr_PresentableObject::*)( const Standard_Integer ,  const Standard_ShortReal ,  const Standard_ShortReal  ) >(&PrsMgr_PresentableObject::SetPolygonOffsets),
             R"#(Sets up polygon offsets for this object.)#"  , py::arg("aMode"),  py::arg("aFactor")=static_cast<const Standard_ShortReal>(1.0),  py::arg("aUnits")=static_cast<const Standard_ShortReal>(0.0)
          )
        .def("UnsetAttributes",
             (void (PrsMgr_PresentableObject::*)() ) static_cast<void (PrsMgr_PresentableObject::*)() >(&PrsMgr_PresentableObject::UnsetAttributes),
             R"#(Clears settings provided by the drawing tool aDrawer.)#" 
          )
        .def("DumpJson",
             (void (PrsMgr_PresentableObject::*)( std::ostream & ,  Standard_Integer  ) const) static_cast<void (PrsMgr_PresentableObject::*)( std::ostream & ,  Standard_Integer  ) const>(&PrsMgr_PresentableObject::DumpJson),
             R"#(Dumps the content of me into the stream)#"  , py::arg("theOStream"),  py::arg("theDepth")=static_cast<Standard_Integer>(- 1)
          )
        .def("ToBeUpdated",
             (void (PrsMgr_PresentableObject::*)( NCollection_List<Standard_Integer> &  ) const) static_cast<void (PrsMgr_PresentableObject::*)( NCollection_List<Standard_Integer> &  ) const>(&PrsMgr_PresentableObject::ToBeUpdated),
             R"#(gives the list of modes which are flagged "to be updated".)#"  , py::arg("ListOfMode")
          )
        .def("ToPropagateVisualState",
             (Standard_Boolean (PrsMgr_PresentableObject::*)() const) static_cast<Standard_Boolean (PrsMgr_PresentableObject::*)() const>(&PrsMgr_PresentableObject::ToPropagateVisualState),
             R"#(Get value of the flag "propagate visual state" It means that the display/erase/color visual state is propagated automatically to all children; by default, the flag is true)#" 
          )
        .def("SetPropagateVisualState",
             (void (PrsMgr_PresentableObject::*)( const Standard_Boolean  ) ) static_cast<void (PrsMgr_PresentableObject::*)( const Standard_Boolean  ) >(&PrsMgr_PresentableObject::SetPropagateVisualState),
             R"#(Change the value of the flag "propagate visual state")#"  , py::arg("theFlag")
          )
    // methods using call by reference i.s.o. return
        .def("PolygonOffsets",
             []( PrsMgr_PresentableObject &self , Standard_ShortReal & aFactor,Standard_ShortReal & aUnits ){
                 Standard_Integer  aMode;

                 self.PolygonOffsets(aMode,aFactor,aUnits);
                 
                 return std::make_tuple(aMode); },
             R"#(Retrieves current polygon offsets settings from <myDrawer>.)#"  , py::arg("aFactor"),  py::arg("aUnits")
          )
    // static methods
        .def_static("get_type_name_s",
                    (const char * (*)() ) static_cast<const char * (*)() >(&PrsMgr_PresentableObject::get_type_name),
                    R"#(None)#" 
          )
        .def_static("get_type_descriptor_s",
                    (const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&PrsMgr_PresentableObject::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> & (PrsMgr_PresentableObject::*)() const) static_cast<const opencascade::handle<Standard_Type> & (PrsMgr_PresentableObject::*)() const>(&PrsMgr_PresentableObject::DynamicType),
             R"#(None)#"
             
         )
       .def("Presentations",
             (PrsMgr_Presentations & (PrsMgr_PresentableObject::*)() ) static_cast<PrsMgr_Presentations & (PrsMgr_PresentableObject::*)() >(&PrsMgr_PresentableObject::Presentations),
             R"#(Return presentations.)#"
             
             , py::return_value_policy::reference_internal
         )
       .def("ViewAffinity",
             (const opencascade::handle<Graphic3d_ViewAffinity> & (PrsMgr_PresentableObject::*)() const) static_cast<const opencascade::handle<Graphic3d_ViewAffinity> & (PrsMgr_PresentableObject::*)() const>(&PrsMgr_PresentableObject::ViewAffinity),
             R"#(Return view affinity mask.)#"
             
         )
       .def("Attributes",
             (const opencascade::handle<Prs3d_Drawer> & (PrsMgr_PresentableObject::*)() const) static_cast<const opencascade::handle<Prs3d_Drawer> & (PrsMgr_PresentableObject::*)() const>(&PrsMgr_PresentableObject::Attributes),
             R"#(Returns the attributes settings.)#"
             
         )
       .def("HilightAttributes",
             (const opencascade::handle<Prs3d_Drawer> & (PrsMgr_PresentableObject::*)() const) static_cast<const opencascade::handle<Prs3d_Drawer> & (PrsMgr_PresentableObject::*)() const>(&PrsMgr_PresentableObject::HilightAttributes),
             R"#(Returns the hilight attributes settings. When not NULL, overrides both Prs3d_TypeOfHighlight_LocalSelected and Prs3d_TypeOfHighlight_Selected defined within AIS_InteractiveContext::HighlightStyle().)#"
             
         )
       .def("DynamicHilightAttributes",
             (const opencascade::handle<Prs3d_Drawer> & (PrsMgr_PresentableObject::*)() const) static_cast<const opencascade::handle<Prs3d_Drawer> & (PrsMgr_PresentableObject::*)() const>(&PrsMgr_PresentableObject::DynamicHilightAttributes),
             R"#(Returns the hilight attributes settings. When not NULL, overrides both Prs3d_TypeOfHighlight_LocalDynamic and Prs3d_TypeOfHighlight_Dynamic defined within AIS_InteractiveContext::HighlightStyle().)#"
             
         )
       .def("TransformPersistence",
             (const opencascade::handle<Graphic3d_TransformPers> & (PrsMgr_PresentableObject::*)() const) static_cast<const opencascade::handle<Graphic3d_TransformPers> & (PrsMgr_PresentableObject::*)() const>(&PrsMgr_PresentableObject::TransformPersistence),
             R"#(Returns Transformation Persistence defining a special Local Coordinate system where this presentable object is located or NULL handle if not defined. Position of the object having Transformation Persistence is mutable and depends on camera position. The same applies to a bounding box of the object.)#"
             
         )
       .def("LocalTransformationGeom",
             (const opencascade::handle<TopLoc_Datum3D> & (PrsMgr_PresentableObject::*)() const) static_cast<const opencascade::handle<TopLoc_Datum3D> & (PrsMgr_PresentableObject::*)() const>(&PrsMgr_PresentableObject::LocalTransformationGeom),
             R"#(Return the local transformation. Note that the local transformation of the object having Transformation Persistence is applied within Local Coordinate system defined by this Persistence.)#"
             
         )
       .def("TransformationGeom",
             (const opencascade::handle<TopLoc_Datum3D> & (PrsMgr_PresentableObject::*)() const) static_cast<const opencascade::handle<TopLoc_Datum3D> & (PrsMgr_PresentableObject::*)() const>(&PrsMgr_PresentableObject::TransformationGeom),
             R"#(Return the transformation taking into account transformation of parent object(s). Note that the local transformation of the object having Transformation Persistence is applied within Local Coordinate system defined by this Persistence.)#"
             
         )
       .def("LocalTransformation",
             (const gp_Trsf & (PrsMgr_PresentableObject::*)() const) static_cast<const gp_Trsf & (PrsMgr_PresentableObject::*)() const>(&PrsMgr_PresentableObject::LocalTransformation),
             R"#(Return the local transformation. Note that the local transformation of the object having Transformation Persistence is applied within Local Coordinate system defined by this Persistence.)#"
             
         )
       .def("Transformation",
             (const gp_Trsf & (PrsMgr_PresentableObject::*)() const) static_cast<const gp_Trsf & (PrsMgr_PresentableObject::*)() const>(&PrsMgr_PresentableObject::Transformation),
             R"#(Return the transformation taking into account transformation of parent object(s). Note that the local transformation of the object having Transformation Persistence is applied within Local Coordinate system defined by this Persistence.)#"
             
         )
       .def("InversedTransformation",
             (const gp_GTrsf & (PrsMgr_PresentableObject::*)() const) static_cast<const gp_GTrsf & (PrsMgr_PresentableObject::*)() const>(&PrsMgr_PresentableObject::InversedTransformation),
             R"#(Return inversed transformation.)#"
             
         )
       .def("CombinedParentTransformation",
             (const opencascade::handle<TopLoc_Datum3D> & (PrsMgr_PresentableObject::*)() const) static_cast<const opencascade::handle<TopLoc_Datum3D> & (PrsMgr_PresentableObject::*)() const>(&PrsMgr_PresentableObject::CombinedParentTransformation),
             R"#(Return combined parent transformation.)#"
             
         )
       .def("ClipPlanes",
             (const opencascade::handle<Graphic3d_SequenceOfHClipPlane> & (PrsMgr_PresentableObject::*)() const) static_cast<const opencascade::handle<Graphic3d_SequenceOfHClipPlane> & (PrsMgr_PresentableObject::*)() const>(&PrsMgr_PresentableObject::ClipPlanes),
             R"#(Get clip planes.)#"
             
         )
       .def("Children",
             (const PrsMgr_ListOfPresentableObjects & (PrsMgr_PresentableObject::*)() const) static_cast<const PrsMgr_ListOfPresentableObjects & (PrsMgr_PresentableObject::*)() const>(&PrsMgr_PresentableObject::Children),
             R"#(Returns children of the current object.)#"
             
         )
;

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


    // nested enums

    static_cast<py::class_<PrsMgr_Presentation ,opencascade::handle<PrsMgr_Presentation>  , Graphic3d_Structure >>(klass)
    // constructors
    // custom constructors
    // methods
        .def("Presentation",
             (Prs3d_Presentation * (PrsMgr_Presentation::*)() ) static_cast<Prs3d_Presentation * (PrsMgr_Presentation::*)() >(&PrsMgr_Presentation::Presentation),
             R"#(None)#" 
          )
        .def("SetUpdateStatus",
             (void (PrsMgr_Presentation::*)( const Standard_Boolean  ) ) static_cast<void (PrsMgr_Presentation::*)( const Standard_Boolean  ) >(&PrsMgr_Presentation::SetUpdateStatus),
             R"#(None)#"  , py::arg("theUpdateStatus")
          )
        .def("MustBeUpdated",
             (Standard_Boolean (PrsMgr_Presentation::*)() const) static_cast<Standard_Boolean (PrsMgr_Presentation::*)() const>(&PrsMgr_Presentation::MustBeUpdated),
             R"#(None)#" 
          )
        .def("Mode",
             (Standard_Integer (PrsMgr_Presentation::*)() const) static_cast<Standard_Integer (PrsMgr_Presentation::*)() const>(&PrsMgr_Presentation::Mode),
             R"#(Return display mode index.)#" 
          )
        .def("Display",
             (void (PrsMgr_Presentation::*)() ) static_cast<void (PrsMgr_Presentation::*)() >(&PrsMgr_Presentation::Display),
             R"#(Display structure.)#" 
          )
        .def("Erase",
             (void (PrsMgr_Presentation::*)() ) static_cast<void (PrsMgr_Presentation::*)() >(&PrsMgr_Presentation::Erase),
             R"#(Remove structure.)#" 
          )
        .def("Highlight",
             (void (PrsMgr_Presentation::*)( const opencascade::handle<Prs3d_Drawer> &  ) ) static_cast<void (PrsMgr_Presentation::*)( const opencascade::handle<Prs3d_Drawer> &  ) >(&PrsMgr_Presentation::Highlight),
             R"#(Highlight structure.)#"  , py::arg("theStyle")
          )
        .def("Unhighlight",
             (void (PrsMgr_Presentation::*)() ) static_cast<void (PrsMgr_Presentation::*)() >(&PrsMgr_Presentation::Unhighlight),
             R"#(Unhighlight structure.)#" 
          )
        .def("IsDisplayed",
             (Standard_Boolean (PrsMgr_Presentation::*)() const) static_cast<Standard_Boolean (PrsMgr_Presentation::*)() const>(&PrsMgr_Presentation::IsDisplayed),
             R"#(Return TRUE if structure has been displayed and in no hidden state.)#" 
          )
        .def("Clear",
             (void (PrsMgr_Presentation::*)( const Standard_Boolean  ) ) static_cast<void (PrsMgr_Presentation::*)( const Standard_Boolean  ) >(&PrsMgr_Presentation::Clear),
             R"#(removes the whole content of the presentation. Does not remove the other connected presentations.)#"  , py::arg("theWithDestruction")=static_cast<const Standard_Boolean>(Standard_True)
          )
        .def("Compute",
             (void (PrsMgr_Presentation::*)() ) static_cast<void (PrsMgr_Presentation::*)() >(&PrsMgr_Presentation::Compute),
             R"#(Compute structure using presentation manager.)#" 
          )
        .def("DumpJson",
             (void (PrsMgr_Presentation::*)( std::ostream & ,  Standard_Integer  ) const) static_cast<void (PrsMgr_Presentation::*)( std::ostream & ,  Standard_Integer  ) const>(&PrsMgr_Presentation::DumpJson),
             R"#(Dumps the content of me into the stream)#"  , py::arg("theOStream"),  py::arg("theDepth")=static_cast<Standard_Integer>(- 1)
          )
    // methods using call by reference i.s.o. return
    // static methods
        .def_static("get_type_name_s",
                    (const char * (*)() ) static_cast<const char * (*)() >(&PrsMgr_Presentation::get_type_name),
                    R"#(None)#" 
          )
        .def_static("get_type_descriptor_s",
                    (const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&PrsMgr_Presentation::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> & (PrsMgr_Presentation::*)() const) static_cast<const opencascade::handle<Standard_Type> & (PrsMgr_Presentation::*)() const>(&PrsMgr_Presentation::DynamicType),
             R"#(None)#"
             
         )
       .def("PresentationManager",
             (const opencascade::handle<PrsMgr_PresentationManager> & (PrsMgr_Presentation::*)() const) static_cast<const opencascade::handle<PrsMgr_PresentationManager> & (PrsMgr_Presentation::*)() const>(&PrsMgr_Presentation::PresentationManager),
             R"#(returns the PresentationManager in which the presentation has been created.)#"
             
         )
;

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


    // nested enums

    static_cast<py::class_<PrsMgr_PresentationManager ,opencascade::handle<PrsMgr_PresentationManager>  , Standard_Transient >>(klass)
    // constructors
        .def(py::init< const opencascade::handle<Graphic3d_StructureManager> & >()  , py::arg("theStructureManager") )
    // custom constructors
    // methods
        .def("Display",
             (void (PrsMgr_PresentationManager::*)( const opencascade::handle<PrsMgr_PresentableObject> & ,  const Standard_Integer  ) ) static_cast<void (PrsMgr_PresentationManager::*)( const opencascade::handle<PrsMgr_PresentableObject> & ,  const Standard_Integer  ) >(&PrsMgr_PresentationManager::Display),
             R"#(Displays the presentation of the object in the given Presentation manager with the given mode. The mode should be enumerated by the object which inherits PresentableObject.)#"  , py::arg("thePrsObject"),  py::arg("theMode")=static_cast<const Standard_Integer>(0)
          )
        .def("Erase",
             (void (PrsMgr_PresentationManager::*)( const opencascade::handle<PrsMgr_PresentableObject> & ,  const Standard_Integer  ) ) static_cast<void (PrsMgr_PresentationManager::*)( const opencascade::handle<PrsMgr_PresentableObject> & ,  const Standard_Integer  ) >(&PrsMgr_PresentationManager::Erase),
             R"#(erases the presentation of the object in the given Presentation manager with the given mode. If is -1, then erases all presentations of the object.)#"  , py::arg("thePrsObject"),  py::arg("theMode")=static_cast<const Standard_Integer>(0)
          )
        .def("Clear",
             (void (PrsMgr_PresentationManager::*)( const opencascade::handle<PrsMgr_PresentableObject> & ,  const Standard_Integer  ) ) static_cast<void (PrsMgr_PresentationManager::*)( const opencascade::handle<PrsMgr_PresentableObject> & ,  const Standard_Integer  ) >(&PrsMgr_PresentationManager::Clear),
             R"#(Clears the presentation of the presentable object thePrsObject in this framework with the display mode theMode.)#"  , py::arg("thePrsObject"),  py::arg("theMode")=static_cast<const Standard_Integer>(0)
          )
        .def("SetVisibility",
             (void (PrsMgr_PresentationManager::*)( const opencascade::handle<PrsMgr_PresentableObject> & ,  const Standard_Integer ,  const Standard_Boolean  ) ) static_cast<void (PrsMgr_PresentationManager::*)( const opencascade::handle<PrsMgr_PresentableObject> & ,  const Standard_Integer ,  const Standard_Boolean  ) >(&PrsMgr_PresentationManager::SetVisibility),
             R"#(Sets the visibility of presentable object.)#"  , py::arg("thePrsObject"),  py::arg("theMode"),  py::arg("theValue")
          )
        .def("Unhighlight",
             (void (PrsMgr_PresentationManager::*)( const opencascade::handle<PrsMgr_PresentableObject> &  ) ) static_cast<void (PrsMgr_PresentationManager::*)( const opencascade::handle<PrsMgr_PresentableObject> &  ) >(&PrsMgr_PresentationManager::Unhighlight),
             R"#(Removes highlighting from the presentation of the presentable object.)#"  , py::arg("thePrsObject")
          )
        .def("SetDisplayPriority",
             (void (PrsMgr_PresentationManager::*)( const opencascade::handle<PrsMgr_PresentableObject> & ,  const Standard_Integer ,  const Graphic3d_DisplayPriority  ) const) static_cast<void (PrsMgr_PresentationManager::*)( const opencascade::handle<PrsMgr_PresentableObject> & ,  const Standard_Integer ,  const Graphic3d_DisplayPriority  ) const>(&PrsMgr_PresentationManager::SetDisplayPriority),
             R"#(Sets the display priority theNewPrior of the presentable object thePrsObject in this framework with the display mode theMode.)#"  , py::arg("thePrsObject"),  py::arg("theMode"),  py::arg("theNewPrior")
          )
        .def("DisplayPriority",
             (Graphic3d_DisplayPriority (PrsMgr_PresentationManager::*)( const opencascade::handle<PrsMgr_PresentableObject> & ,  const Standard_Integer  ) const) static_cast<Graphic3d_DisplayPriority (PrsMgr_PresentationManager::*)( const opencascade::handle<PrsMgr_PresentableObject> & ,  const Standard_Integer  ) const>(&PrsMgr_PresentationManager::DisplayPriority),
             R"#(Returns the display priority of the presentable object thePrsObject in this framework with the display mode theMode.)#"  , py::arg("thePrsObject"),  py::arg("theMode")
          )
        .def("SetZLayer",
             (void (PrsMgr_PresentationManager::*)( const opencascade::handle<PrsMgr_PresentableObject> & ,  const Graphic3d_ZLayerId  ) ) static_cast<void (PrsMgr_PresentationManager::*)( const opencascade::handle<PrsMgr_PresentableObject> & ,  const Graphic3d_ZLayerId  ) >(&PrsMgr_PresentationManager::SetZLayer),
             R"#(Set Z layer ID for all presentations of the object.)#"  , py::arg("thePrsObject"),  py::arg("theLayerId")
          )
        .def("GetZLayer",
             (Graphic3d_ZLayerId (PrsMgr_PresentationManager::*)( const opencascade::handle<PrsMgr_PresentableObject> &  ) const) static_cast<Graphic3d_ZLayerId (PrsMgr_PresentationManager::*)( const opencascade::handle<PrsMgr_PresentableObject> &  ) const>(&PrsMgr_PresentationManager::GetZLayer),
             R"#(Get Z layer ID assigned to all presentations of the object. Method returns -1 value if object has no presentations and is impossible to get layer index.)#"  , py::arg("thePrsObject")
          )
        .def("IsDisplayed",
             (Standard_Boolean (PrsMgr_PresentationManager::*)( const opencascade::handle<PrsMgr_PresentableObject> & ,  const Standard_Integer  ) const) static_cast<Standard_Boolean (PrsMgr_PresentationManager::*)( const opencascade::handle<PrsMgr_PresentableObject> & ,  const Standard_Integer  ) const>(&PrsMgr_PresentationManager::IsDisplayed),
             R"#(None)#"  , py::arg("thePrsObject"),  py::arg("theMode")=static_cast<const Standard_Integer>(0)
          )
        .def("IsHighlighted",
             (Standard_Boolean (PrsMgr_PresentationManager::*)( const opencascade::handle<PrsMgr_PresentableObject> & ,  const Standard_Integer  ) const) static_cast<Standard_Boolean (PrsMgr_PresentationManager::*)( const opencascade::handle<PrsMgr_PresentableObject> & ,  const Standard_Integer  ) const>(&PrsMgr_PresentationManager::IsHighlighted),
             R"#(Returns true if the presentation of the presentable object thePrsObject in this framework with the display mode theMode is highlighted.)#"  , py::arg("thePrsObject"),  py::arg("theMode")=static_cast<const Standard_Integer>(0)
          )
        .def("Update",
             (void (PrsMgr_PresentationManager::*)( const opencascade::handle<PrsMgr_PresentableObject> & ,  const Standard_Integer  ) const) static_cast<void (PrsMgr_PresentationManager::*)( const opencascade::handle<PrsMgr_PresentableObject> & ,  const Standard_Integer  ) const>(&PrsMgr_PresentationManager::Update),
             R"#(Updates the presentation of the presentable object thePrsObject in this framework with the display mode theMode.)#"  , py::arg("thePrsObject"),  py::arg("theMode")=static_cast<const Standard_Integer>(0)
          )
        .def("BeginImmediateDraw",
             (void (PrsMgr_PresentationManager::*)() ) static_cast<void (PrsMgr_PresentationManager::*)() >(&PrsMgr_PresentationManager::BeginImmediateDraw),
             R"#(Resets the transient list of presentations previously displayed in immediate mode and begins accumulation of new list by following AddToImmediateList()/Color()/Highlight() calls.)#" 
          )
        .def("ClearImmediateDraw",
             (void (PrsMgr_PresentationManager::*)() ) static_cast<void (PrsMgr_PresentationManager::*)() >(&PrsMgr_PresentationManager::ClearImmediateDraw),
             R"#(Resets the transient list of presentations previously displayed in immediate mode.)#" 
          )
        .def("AddToImmediateList",
             (void (PrsMgr_PresentationManager::*)( const opencascade::handle<Prs3d_Presentation> &  ) ) static_cast<void (PrsMgr_PresentationManager::*)( const opencascade::handle<Prs3d_Presentation> &  ) >(&PrsMgr_PresentationManager::AddToImmediateList),
             R"#(Stores thePrs in the transient list of presentations to be displayed in immediate mode. Will be taken in account in EndImmediateDraw method.)#"  , py::arg("thePrs")
          )
        .def("EndImmediateDraw",
             (void (PrsMgr_PresentationManager::*)( const opencascade::handle<V3d_Viewer> &  ) ) static_cast<void (PrsMgr_PresentationManager::*)( const opencascade::handle<V3d_Viewer> &  ) >(&PrsMgr_PresentationManager::EndImmediateDraw),
             R"#(Allows rapid drawing of the each view in theViewer by avoiding an update of the whole background.)#"  , py::arg("theViewer")
          )
        .def("RedrawImmediate",
             (void (PrsMgr_PresentationManager::*)( const opencascade::handle<V3d_Viewer> &  ) ) static_cast<void (PrsMgr_PresentationManager::*)( const opencascade::handle<V3d_Viewer> &  ) >(&PrsMgr_PresentationManager::RedrawImmediate),
             R"#(Clears and redisplays immediate structures of the viewer taking into account its affinity.)#"  , py::arg("theViewer")
          )
        .def("IsImmediateModeOn",
             (Standard_Boolean (PrsMgr_PresentationManager::*)() const) static_cast<Standard_Boolean (PrsMgr_PresentationManager::*)() const>(&PrsMgr_PresentationManager::IsImmediateModeOn),
             R"#(Returns true if Presentation Manager is accumulating transient list of presentations to be displayed in immediate mode.)#" 
          )
        .def("Color",
             (void (PrsMgr_PresentationManager::*)( const opencascade::handle<PrsMgr_PresentableObject> & ,  const opencascade::handle<Prs3d_Drawer> & ,  const Standard_Integer ,  const opencascade::handle<PrsMgr_PresentableObject> & ,  const Graphic3d_ZLayerId  ) ) static_cast<void (PrsMgr_PresentationManager::*)( const opencascade::handle<PrsMgr_PresentableObject> & ,  const opencascade::handle<Prs3d_Drawer> & ,  const Standard_Integer ,  const opencascade::handle<PrsMgr_PresentableObject> & ,  const Graphic3d_ZLayerId  ) >(&PrsMgr_PresentationManager::Color),
             R"#(Highlights the graphic object thePrsObject in the color theColor. thePrsObject has the display mode theMode; this has the default value of 0, that is, the wireframe display mode.)#"  , py::arg("thePrsObject"),  py::arg("theStyle"),  py::arg("theMode")=static_cast<const Standard_Integer>(0),  py::arg("theSelObj")=static_cast<const opencascade::handle<PrsMgr_PresentableObject> &>(NULL),  py::arg("theImmediateStructLayerId")=static_cast<const Graphic3d_ZLayerId>(Graphic3d_ZLayerId_Topmost)
          )
        .def("Connect",
             (void (PrsMgr_PresentationManager::*)( const opencascade::handle<PrsMgr_PresentableObject> & ,  const opencascade::handle<PrsMgr_PresentableObject> & ,  const Standard_Integer ,  const Standard_Integer  ) ) static_cast<void (PrsMgr_PresentationManager::*)( const opencascade::handle<PrsMgr_PresentableObject> & ,  const opencascade::handle<PrsMgr_PresentableObject> & ,  const Standard_Integer ,  const Standard_Integer  ) >(&PrsMgr_PresentationManager::Connect),
             R"#(None)#"  , py::arg("thePrsObject"),  py::arg("theOtherObject"),  py::arg("theMode")=static_cast<const Standard_Integer>(0),  py::arg("theOtherMode")=static_cast<const Standard_Integer>(0)
          )
        .def("Transform",
             (void (PrsMgr_PresentationManager::*)( const opencascade::handle<PrsMgr_PresentableObject> & ,  const opencascade::handle<TopLoc_Datum3D> & ,  const Standard_Integer  ) ) static_cast<void (PrsMgr_PresentationManager::*)( const opencascade::handle<PrsMgr_PresentableObject> & ,  const opencascade::handle<TopLoc_Datum3D> & ,  const Standard_Integer  ) >(&PrsMgr_PresentationManager::Transform),
             R"#(Sets the transformation theTransformation for the presentable object thePrsObject. thePrsObject has the display mode theMode; this has the default value of 0, that is, the wireframe display mode.)#"  , py::arg("thePrsObject"),  py::arg("theTransformation"),  py::arg("theMode")=static_cast<const Standard_Integer>(0)
          )
        .def("HasPresentation",
             (Standard_Boolean (PrsMgr_PresentationManager::*)( const opencascade::handle<PrsMgr_PresentableObject> & ,  const Standard_Integer  ) const) static_cast<Standard_Boolean (PrsMgr_PresentationManager::*)( const opencascade::handle<PrsMgr_PresentableObject> & ,  const Standard_Integer  ) const>(&PrsMgr_PresentationManager::HasPresentation),
             R"#(Returns true if there is a presentation of the presentable object thePrsObject in this framework, thePrsObject having the display mode theMode.)#"  , py::arg("thePrsObject"),  py::arg("theMode")=static_cast<const Standard_Integer>(0)
          )
        .def("Presentation",
             (opencascade::handle<PrsMgr_Presentation> (PrsMgr_PresentationManager::*)( const opencascade::handle<PrsMgr_PresentableObject> & ,  const Standard_Integer ,  const Standard_Boolean ,  const opencascade::handle<PrsMgr_PresentableObject> &  ) const) static_cast<opencascade::handle<PrsMgr_Presentation> (PrsMgr_PresentationManager::*)( const opencascade::handle<PrsMgr_PresentableObject> & ,  const Standard_Integer ,  const Standard_Boolean ,  const opencascade::handle<PrsMgr_PresentableObject> &  ) const>(&PrsMgr_PresentationManager::Presentation),
             R"#(Returns the presentation Presentation of the presentable object thePrsObject in this framework. When theToCreate is true - automatically creates presentation for specified mode when not exist. Optional argument theSelObj specifies parent decomposed object to inherit its view affinity.)#"  , py::arg("thePrsObject"),  py::arg("theMode")=static_cast<const Standard_Integer>(0),  py::arg("theToCreate")=static_cast<const Standard_Boolean>(Standard_False),  py::arg("theSelObj")=static_cast<const opencascade::handle<PrsMgr_PresentableObject> &>(NULL)
          )
        .def("UpdateHighlightTrsf",
             (void (PrsMgr_PresentationManager::*)( const opencascade::handle<V3d_Viewer> & ,  const opencascade::handle<PrsMgr_PresentableObject> & ,  const Standard_Integer ,  const opencascade::handle<PrsMgr_PresentableObject> &  ) ) static_cast<void (PrsMgr_PresentationManager::*)( const opencascade::handle<V3d_Viewer> & ,  const opencascade::handle<PrsMgr_PresentableObject> & ,  const Standard_Integer ,  const opencascade::handle<PrsMgr_PresentableObject> &  ) >(&PrsMgr_PresentationManager::UpdateHighlightTrsf),
             R"#(Allows to apply location transformation to shadow highlight presentation immediately.)#"  , py::arg("theViewer"),  py::arg("theObj"),  py::arg("theMode")=static_cast<const Standard_Integer>(0),  py::arg("theSelObj")=static_cast<const opencascade::handle<PrsMgr_PresentableObject> &>(NULL)
          )
    // methods using call by reference i.s.o. return
    // static methods
        .def_static("get_type_name_s",
                    (const char * (*)() ) static_cast<const char * (*)() >(&PrsMgr_PresentationManager::get_type_name),
                    R"#(None)#" 
          )
        .def_static("get_type_descriptor_s",
                    (const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&PrsMgr_PresentationManager::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> & (PrsMgr_PresentationManager::*)() const) static_cast<const opencascade::handle<Standard_Type> & (PrsMgr_PresentationManager::*)() const>(&PrsMgr_PresentationManager::DynamicType),
             R"#(None)#"
             
         )
       .def("StructureManager",
             (const opencascade::handle<Graphic3d_StructureManager> & (PrsMgr_PresentationManager::*)() const) static_cast<const opencascade::handle<Graphic3d_StructureManager> & (PrsMgr_PresentationManager::*)() const>(&PrsMgr_PresentationManager::StructureManager),
             R"#(Returns the structure manager.)#"
             
         )
;

// functions
// ./opencascade/PrsMgr_DisplayStatus.hxx
// ./opencascade/PrsMgr_ListOfPresentableObjects.hxx
// ./opencascade/PrsMgr_ListOfPresentations.hxx
// ./opencascade/PrsMgr_PresentableObject.hxx
// ./opencascade/PrsMgr_Presentation.hxx
// ./opencascade/PrsMgr_Presentation3d.hxx
// ./opencascade/PrsMgr_PresentationManager.hxx
// ./opencascade/PrsMgr_PresentationManager3d.hxx
// ./opencascade/PrsMgr_Presentations.hxx
// ./opencascade/PrsMgr_TypeOfPresentation3d.hxx

// Additional functions

// operators

// register typdefs
    register_template_NCollection_List<opencascade::handle<PrsMgr_PresentableObject>>(m,"PrsMgr_ListOfPresentableObjects");
    register_template_NCollection_List<opencascade::handle<Prs3d_Presentation>>(m,"PrsMgr_ListOfPresentations");
    register_template_NCollection_Sequence<opencascade::handle<PrsMgr_Presentation>>(m,"PrsMgr_Presentations");


// exceptions

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

};

// user-defined post-inclusion per module

// user-defined post