qt_3d_extras 0.2.3

Bindings for Qt3DExtras C++ library (generated automatically with cpp_to_rust project)
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
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
/// C++ type: <span style='color: green;'>```Qt3DExtras::QConeGeometry```</span>
///
/// <a href="http://doc.qt.io/qt-5/qt3dextras-qconegeometry.html">C++ documentation:</a> <div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>The <a href="http://doc.qt.io/qt-5/qt3dextras-qconegeometry.html">QConeGeometry</a> class allows creation of a cone in 3D space.</p>
/// <p>The <a href="http://doc.qt.io/qt-5/qt3dextras-qconegeometry.html">QConeGeometry</a> class is most commonly used internally by the <a href="http://doc.qt.io/qt-5/qt3dextras-qconemesh.html">QConeMesh</a> but can also be used in custom <a href="http://doc.qt.io/qt-5/qt3drender-qgeometryrenderer.html">Qt3DRender::QGeometryRenderer</a> subclasses. The class allows for creation of both a cone and a truncated cone.</p></div>
#[repr(C)]
pub struct ConeGeometry(u8);

impl ConeGeometry {
  /// C++ method: <span style='color: green;'>```float Qt3DExtras::QConeGeometry::bottomRadius() const```</span>
  ///
  /// <a href="http://doc.qt.io/qt-5/qt3dextras-qconegeometry.html#bottomRadius-prop">C++ documentation:</a> <div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>Holds the bottom radius of the cone.</p>
  /// <p><b>Access functions:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> float </td><td class="memItemRight bottomAlign"><span class="name"><b>bottomRadius</b></span>() const</td></tr>
  /// <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setBottomRadius</b></span>(float <i>bottomRadius</i>)</td></tr>
  /// </tbody></table></div>
  /// <p><b>Notifier signal:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>bottomRadiusChanged</b></span>(float <i>bottomRadius</i>)</td></tr>
  /// </tbody></table></div></div>
  pub fn bottom_radius(&self) -> ::libc::c_float {
    unsafe { ::ffi::qt_3d_extras_c_Qt3DExtras_QConeGeometry_bottomRadius(self as *const ::cone_geometry::ConeGeometry) }
  }

  /// C++ method: <span style='color: green;'>```bool Qt3DExtras::QConeGeometry::hasBottomEndcap() const```</span>
  ///
  /// <a href="http://doc.qt.io/qt-5/qt3dextras-qconegeometry.html#hasBottomEndcap-prop">C++ documentation:</a> <div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>Determines if the cone bottom is capped or open.</p>
  /// <p><b>Access functions:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> bool </td><td class="memItemRight bottomAlign"><span class="name"><b>hasBottomEndcap</b></span>() const</td></tr>
  /// <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setHasBottomEndcap</b></span>(bool <i>hasBottomEndcap</i>)</td></tr>
  /// </tbody></table></div>
  /// <p><b>Notifier signal:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>hasBottomEndcapChanged</b></span>(bool <i>hasBottomEndcap</i>)</td></tr>
  /// </tbody></table></div></div>
  pub fn has_bottom_endcap(&self) -> bool {
    unsafe {
      ::ffi::qt_3d_extras_c_Qt3DExtras_QConeGeometry_hasBottomEndcap(self as *const ::cone_geometry::ConeGeometry)
    }
  }

  /// C++ method: <span style='color: green;'>```bool Qt3DExtras::QConeGeometry::hasTopEndcap() const```</span>
  ///
  /// <a href="http://doc.qt.io/qt-5/qt3dextras-qconegeometry.html#hasTopEndcap-prop">C++ documentation:</a> <div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>Determines if the cone top is capped or open.</p>
  /// <p><b>Access functions:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> bool </td><td class="memItemRight bottomAlign"><span class="name"><b>hasTopEndcap</b></span>() const</td></tr>
  /// <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setHasTopEndcap</b></span>(bool <i>hasTopEndcap</i>)</td></tr>
  /// </tbody></table></div>
  /// <p><b>Notifier signal:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>hasTopEndcapChanged</b></span>(bool <i>hasTopEndcap</i>)</td></tr>
  /// </tbody></table></div></div>
  pub fn has_top_endcap(&self) -> bool {
    unsafe { ::ffi::qt_3d_extras_c_Qt3DExtras_QConeGeometry_hasTopEndcap(self as *const ::cone_geometry::ConeGeometry) }
  }

  /// C++ method: <span style='color: green;'>```Qt3DRender::QAttribute* Qt3DExtras::QConeGeometry::indexAttribute() const```</span>
  ///
  /// <a href="http://doc.qt.io/qt-5/qt3dextras-qconegeometry.html#indexAttribute-prop">C++ documentation:</a> <div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>Holds the geometry index attribute.</p>
  /// <p><b>Access functions:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> Qt3DRender::QAttribute *</td><td class="memItemRight bottomAlign"><span class="name"><b>indexAttribute</b></span>() const</td></tr>
  /// </tbody></table></div></div>
  pub fn index_attribute(&self) -> *mut ::qt_3d_render::attribute::Attribute {
    unsafe {
      ::ffi::qt_3d_extras_c_Qt3DExtras_QConeGeometry_indexAttribute(self as *const ::cone_geometry::ConeGeometry)
    }
  }

  /// C++ method: <span style='color: green;'>```float Qt3DExtras::QConeGeometry::length() const```</span>
  ///
  /// <a href="http://doc.qt.io/qt-5/qt3dextras-qconegeometry.html#length-prop">C++ documentation:</a> <div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>Holds the length of the cone.</p>
  /// <p><b>Access functions:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> float </td><td class="memItemRight bottomAlign"><span class="name"><b>length</b></span>() const</td></tr>
  /// <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setLength</b></span>(float <i>length</i>)</td></tr>
  /// </tbody></table></div>
  /// <p><b>Notifier signal:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>lengthChanged</b></span>(float <i>length</i>)</td></tr>
  /// </tbody></table></div></div>
  pub fn length(&self) -> ::libc::c_float {
    unsafe { ::ffi::qt_3d_extras_c_Qt3DExtras_QConeGeometry_length(self as *const ::cone_geometry::ConeGeometry) }
  }

  /// C++ method: <span style='color: green;'>```virtual const QMetaObject* Qt3DExtras::QConeGeometry::metaObject() const```</span>
  ///
  ///
  pub fn meta_object(&self) -> *const ::qt_core::meta_object::MetaObject {
    unsafe { ::ffi::qt_3d_extras_c_Qt3DExtras_QConeGeometry_metaObject(self as *const ::cone_geometry::ConeGeometry) }
  }

  /// C++ method: <span style='color: green;'>```[constructor] void Qt3DExtras::QConeGeometry::QConeGeometry()```</span>
  ///
  /// <a href="http://doc.qt.io/qt-5/qt3dextras-qconegeometry.html#QConeGeometry">C++ documentation:</a> <div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>Default constructs an instance of QConeGeometry.</p></div>
  pub fn new() -> ::cpp_utils::CppBox<::cone_geometry::ConeGeometry> {
    let ffi_result = unsafe { ::ffi::qt_3d_extras_c_Qt3DExtras_QConeGeometry_new_no_args() };
    unsafe { ::cpp_utils::CppBox::new(ffi_result) }
  }

  /// C++ method: <span style='color: green;'>```[constructor] void Qt3DExtras::QConeGeometry::QConeGeometry(Qt3DCore::QNode* parent = ?)```</span>
  ///
  /// <a href="http://doc.qt.io/qt-5/qt3dextras-qconegeometry.html#QConeGeometry">C++ documentation:</a> <div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>Default constructs an instance of QConeGeometry.</p></div>
  pub unsafe fn new_unsafe(parent: *mut ::qt_3d_core::node::Node)
                           -> ::cpp_utils::CppBox<::cone_geometry::ConeGeometry> {
    let ffi_result = ::ffi::qt_3d_extras_c_Qt3DExtras_QConeGeometry_new_parent(parent);
    ::cpp_utils::CppBox::new(ffi_result)
  }

  /// C++ method: <span style='color: green;'>```Qt3DRender::QAttribute* Qt3DExtras::QConeGeometry::normalAttribute() const```</span>
  ///
  /// <a href="http://doc.qt.io/qt-5/qt3dextras-qconegeometry.html#normalAttribute-prop">C++ documentation:</a> <div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>Holds the geometry normal attribute.</p>
  /// <p><b>Access functions:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> Qt3DRender::QAttribute *</td><td class="memItemRight bottomAlign"><span class="name"><b>normalAttribute</b></span>() const</td></tr>
  /// </tbody></table></div></div>
  pub fn normal_attribute(&self) -> *mut ::qt_3d_render::attribute::Attribute {
    unsafe {
      ::ffi::qt_3d_extras_c_Qt3DExtras_QConeGeometry_normalAttribute(self as *const ::cone_geometry::ConeGeometry)
    }
  }

  /// C++ method: <span style='color: green;'>```Qt3DRender::QAttribute* Qt3DExtras::QConeGeometry::positionAttribute() const```</span>
  ///
  /// <a href="http://doc.qt.io/qt-5/qt3dextras-qconegeometry.html#positionAttribute-prop">C++ documentation:</a> <div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>Holds the geometry position attribute.</p>
  /// <p><b>Access functions:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> Qt3DRender::QAttribute *</td><td class="memItemRight bottomAlign"><span class="name"><b>positionAttribute</b></span>() const</td></tr>
  /// </tbody></table></div></div>
  pub fn position_attribute(&self) -> *mut ::qt_3d_render::attribute::Attribute {
    unsafe {
      ::ffi::qt_3d_extras_c_Qt3DExtras_QConeGeometry_positionAttribute(self as *const ::cone_geometry::ConeGeometry)
    }
  }

  /// C++ method: <span style='color: green;'>```virtual int Qt3DExtras::QConeGeometry::qt_metacall(QMetaObject::Call arg1, int arg2, void** arg3)```</span>
  ///
  ///
  pub unsafe fn qt_metacall(&mut self,
                            arg1: ::qt_core::meta_object::Call,
                            arg2: ::libc::c_int,
                            arg3: *mut *mut ::libc::c_void)
                            -> ::libc::c_int {
    ::ffi::qt_3d_extras_c_Qt3DExtras_QConeGeometry_qt_metacall(self as *mut ::cone_geometry::ConeGeometry,
                                                               arg1,
                                                               arg2,
                                                               arg3)
  }

  /// C++ method: <span style='color: green;'>```virtual void* Qt3DExtras::QConeGeometry::qt_metacast(const char* arg1)```</span>
  ///
  ///
  pub unsafe fn qt_metacast(&mut self, arg1: *const ::libc::c_char) -> *mut ::libc::c_void {
    ::ffi::qt_3d_extras_c_Qt3DExtras_QConeGeometry_qt_metacast(self as *mut ::cone_geometry::ConeGeometry, arg1)
  }

  /// C++ method: <span style='color: green;'>```int Qt3DExtras::QConeGeometry::rings() const```</span>
  ///
  /// <a href="http://doc.qt.io/qt-5/qt3dextras-qconegeometry.html#rings-prop">C++ documentation:</a> <div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>Holds the number of rings in the geometry.</p>
  /// <p><b>Access functions:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> int </td><td class="memItemRight bottomAlign"><span class="name"><b>rings</b></span>() const</td></tr>
  /// <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setRings</b></span>(int <i>rings</i>)</td></tr>
  /// </tbody></table></div>
  /// <p><b>Notifier signal:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>ringsChanged</b></span>(int <i>rings</i>)</td></tr>
  /// </tbody></table></div></div>
  pub fn rings(&self) -> ::libc::c_int {
    unsafe { ::ffi::qt_3d_extras_c_Qt3DExtras_QConeGeometry_rings(self as *const ::cone_geometry::ConeGeometry) }
  }

  /// C++ method: <span style='color: green;'>```[slot] void Qt3DExtras::QConeGeometry::setBottomRadius(float bottomRadius)```</span>
  ///
  /// <a href="http://doc.qt.io/qt-5/qt3dextras-qconegeometry.html#bottomRadius-prop">C++ documentation:</a> <div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>Holds the bottom radius of the cone.</p>
  /// <p><b>Access functions:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> float </td><td class="memItemRight bottomAlign"><span class="name"><b>bottomRadius</b></span>() const</td></tr>
  /// <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setBottomRadius</b></span>(float <i>bottomRadius</i>)</td></tr>
  /// </tbody></table></div>
  /// <p><b>Notifier signal:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>bottomRadiusChanged</b></span>(float <i>bottomRadius</i>)</td></tr>
  /// </tbody></table></div></div>
  pub fn set_bottom_radius(&mut self, bottom_radius: ::libc::c_float) {
    unsafe {
      ::ffi::qt_3d_extras_c_Qt3DExtras_QConeGeometry_setBottomRadius(self as *mut ::cone_geometry::ConeGeometry,
                                                                     bottom_radius)
    }
  }

  /// C++ method: <span style='color: green;'>```[slot] void Qt3DExtras::QConeGeometry::setHasBottomEndcap(bool hasBottomEndcap)```</span>
  ///
  /// <a href="http://doc.qt.io/qt-5/qt3dextras-qconegeometry.html#hasBottomEndcap-prop">C++ documentation:</a> <div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>Determines if the cone bottom is capped or open.</p>
  /// <p><b>Access functions:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> bool </td><td class="memItemRight bottomAlign"><span class="name"><b>hasBottomEndcap</b></span>() const</td></tr>
  /// <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setHasBottomEndcap</b></span>(bool <i>hasBottomEndcap</i>)</td></tr>
  /// </tbody></table></div>
  /// <p><b>Notifier signal:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>hasBottomEndcapChanged</b></span>(bool <i>hasBottomEndcap</i>)</td></tr>
  /// </tbody></table></div></div>
  pub fn set_has_bottom_endcap(&mut self, has_bottom_endcap: bool) {
    unsafe {
      ::ffi::qt_3d_extras_c_Qt3DExtras_QConeGeometry_setHasBottomEndcap(self as *mut ::cone_geometry::ConeGeometry,
                                                                        has_bottom_endcap)
    }
  }

  /// C++ method: <span style='color: green;'>```[slot] void Qt3DExtras::QConeGeometry::setHasTopEndcap(bool hasTopEndcap)```</span>
  ///
  /// <a href="http://doc.qt.io/qt-5/qt3dextras-qconegeometry.html#hasTopEndcap-prop">C++ documentation:</a> <div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>Determines if the cone top is capped or open.</p>
  /// <p><b>Access functions:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> bool </td><td class="memItemRight bottomAlign"><span class="name"><b>hasTopEndcap</b></span>() const</td></tr>
  /// <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setHasTopEndcap</b></span>(bool <i>hasTopEndcap</i>)</td></tr>
  /// </tbody></table></div>
  /// <p><b>Notifier signal:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>hasTopEndcapChanged</b></span>(bool <i>hasTopEndcap</i>)</td></tr>
  /// </tbody></table></div></div>
  pub fn set_has_top_endcap(&mut self, has_top_endcap: bool) {
    unsafe {
      ::ffi::qt_3d_extras_c_Qt3DExtras_QConeGeometry_setHasTopEndcap(self as *mut ::cone_geometry::ConeGeometry,
                                                                     has_top_endcap)
    }
  }

  /// C++ method: <span style='color: green;'>```[slot] void Qt3DExtras::QConeGeometry::setLength(float length)```</span>
  ///
  /// <a href="http://doc.qt.io/qt-5/qt3dextras-qconegeometry.html#length-prop">C++ documentation:</a> <div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>Holds the length of the cone.</p>
  /// <p><b>Access functions:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> float </td><td class="memItemRight bottomAlign"><span class="name"><b>length</b></span>() const</td></tr>
  /// <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setLength</b></span>(float <i>length</i>)</td></tr>
  /// </tbody></table></div>
  /// <p><b>Notifier signal:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>lengthChanged</b></span>(float <i>length</i>)</td></tr>
  /// </tbody></table></div></div>
  pub fn set_length(&mut self, length: ::libc::c_float) {
    unsafe {
      ::ffi::qt_3d_extras_c_Qt3DExtras_QConeGeometry_setLength(self as *mut ::cone_geometry::ConeGeometry, length)
    }
  }

  /// C++ method: <span style='color: green;'>```[slot] void Qt3DExtras::QConeGeometry::setRings(int rings)```</span>
  ///
  /// <a href="http://doc.qt.io/qt-5/qt3dextras-qconegeometry.html#rings-prop">C++ documentation:</a> <div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>Holds the number of rings in the geometry.</p>
  /// <p><b>Access functions:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> int </td><td class="memItemRight bottomAlign"><span class="name"><b>rings</b></span>() const</td></tr>
  /// <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setRings</b></span>(int <i>rings</i>)</td></tr>
  /// </tbody></table></div>
  /// <p><b>Notifier signal:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>ringsChanged</b></span>(int <i>rings</i>)</td></tr>
  /// </tbody></table></div></div>
  pub fn set_rings(&mut self, rings: ::libc::c_int) {
    unsafe {
      ::ffi::qt_3d_extras_c_Qt3DExtras_QConeGeometry_setRings(self as *mut ::cone_geometry::ConeGeometry, rings)
    }
  }

  /// C++ method: <span style='color: green;'>```[slot] void Qt3DExtras::QConeGeometry::setSlices(int slices)```</span>
  ///
  /// <a href="http://doc.qt.io/qt-5/qt3dextras-qconegeometry.html#slices-prop">C++ documentation:</a> <div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>Holds the number of slices in the geometry.</p>
  /// <p><b>Access functions:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> int </td><td class="memItemRight bottomAlign"><span class="name"><b>slices</b></span>() const</td></tr>
  /// <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setSlices</b></span>(int <i>slices</i>)</td></tr>
  /// </tbody></table></div>
  /// <p><b>Notifier signal:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>slicesChanged</b></span>(int <i>slices</i>)</td></tr>
  /// </tbody></table></div></div>
  pub fn set_slices(&mut self, slices: ::libc::c_int) {
    unsafe {
      ::ffi::qt_3d_extras_c_Qt3DExtras_QConeGeometry_setSlices(self as *mut ::cone_geometry::ConeGeometry, slices)
    }
  }

  /// C++ method: <span style='color: green;'>```[slot] void Qt3DExtras::QConeGeometry::setTopRadius(float topRadius)```</span>
  ///
  /// <a href="http://doc.qt.io/qt-5/qt3dextras-qconegeometry.html#topRadius-prop">C++ documentation:</a> <div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>Holds the top radius of the cone.</p>
  /// <p><b>Access functions:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> float </td><td class="memItemRight bottomAlign"><span class="name"><b>topRadius</b></span>() const</td></tr>
  /// <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setTopRadius</b></span>(float <i>topRadius</i>)</td></tr>
  /// </tbody></table></div>
  /// <p><b>Notifier signal:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>topRadiusChanged</b></span>(float <i>topRadius</i>)</td></tr>
  /// </tbody></table></div></div>
  pub fn set_top_radius(&mut self, top_radius: ::libc::c_float) {
    unsafe {
      ::ffi::qt_3d_extras_c_Qt3DExtras_QConeGeometry_setTopRadius(self as *mut ::cone_geometry::ConeGeometry,
                                                                  top_radius)
    }
  }

  /// C++ method: <span style='color: green;'>```int Qt3DExtras::QConeGeometry::slices() const```</span>
  ///
  /// <a href="http://doc.qt.io/qt-5/qt3dextras-qconegeometry.html#slices-prop">C++ documentation:</a> <div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>Holds the number of slices in the geometry.</p>
  /// <p><b>Access functions:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> int </td><td class="memItemRight bottomAlign"><span class="name"><b>slices</b></span>() const</td></tr>
  /// <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setSlices</b></span>(int <i>slices</i>)</td></tr>
  /// </tbody></table></div>
  /// <p><b>Notifier signal:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>slicesChanged</b></span>(int <i>slices</i>)</td></tr>
  /// </tbody></table></div></div>
  pub fn slices(&self) -> ::libc::c_int {
    unsafe { ::ffi::qt_3d_extras_c_Qt3DExtras_QConeGeometry_slices(self as *const ::cone_geometry::ConeGeometry) }
  }

  /// C++ method: <span style='color: green;'>```Qt3DRender::QAttribute* Qt3DExtras::QConeGeometry::texCoordAttribute() const```</span>
  ///
  /// <a href="http://doc.qt.io/qt-5/qt3dextras-qconegeometry.html#texCoordAttribute-prop">C++ documentation:</a> <div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>Holds the geometry texture coordinate attribute.</p>
  /// <p><b>Access functions:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> Qt3DRender::QAttribute *</td><td class="memItemRight bottomAlign"><span class="name"><b>texCoordAttribute</b></span>() const</td></tr>
  /// </tbody></table></div></div>
  pub fn tex_coord_attribute(&self) -> *mut ::qt_3d_render::attribute::Attribute {
    unsafe {
      ::ffi::qt_3d_extras_c_Qt3DExtras_QConeGeometry_texCoordAttribute(self as *const ::cone_geometry::ConeGeometry)
    }
  }

  /// C++ method: <span style='color: green;'>```float Qt3DExtras::QConeGeometry::topRadius() const```</span>
  ///
  /// <a href="http://doc.qt.io/qt-5/qt3dextras-qconegeometry.html#topRadius-prop">C++ documentation:</a> <div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>Holds the top radius of the cone.</p>
  /// <p><b>Access functions:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> float </td><td class="memItemRight bottomAlign"><span class="name"><b>topRadius</b></span>() const</td></tr>
  /// <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setTopRadius</b></span>(float <i>topRadius</i>)</td></tr>
  /// </tbody></table></div>
  /// <p><b>Notifier signal:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>topRadiusChanged</b></span>(float <i>topRadius</i>)</td></tr>
  /// </tbody></table></div></div>
  pub fn top_radius(&self) -> ::libc::c_float {
    unsafe { ::ffi::qt_3d_extras_c_Qt3DExtras_QConeGeometry_topRadius(self as *const ::cone_geometry::ConeGeometry) }
  }

  /// C++ method: <span style='color: green;'>```static QString Qt3DExtras::QConeGeometry::tr(const char* s, const char* c, int n)```</span>
  ///
  ///
  pub unsafe fn tr(s: *const ::libc::c_char, c: *const ::libc::c_char, n: ::libc::c_int) -> ::qt_core::string::String {
    {
      let mut object: ::qt_core::string::String =
        ::cpp_utils::new_uninitialized::NewUninitialized::new_uninitialized();
      ::ffi::qt_3d_extras_c_Qt3DExtras_QConeGeometry_tr_to_output(s, c, n, &mut object);
      object
    }
  }

  /// C++ method: <span style='color: green;'>```static QString Qt3DExtras::QConeGeometry::trUtf8(const char* s, const char* c, int n)```</span>
  ///
  ///
  pub unsafe fn tr_utf8(s: *const ::libc::c_char,
                        c: *const ::libc::c_char,
                        n: ::libc::c_int)
                        -> ::qt_core::string::String {
    {
      let mut object: ::qt_core::string::String =
        ::cpp_utils::new_uninitialized::NewUninitialized::new_uninitialized();
      ::ffi::qt_3d_extras_c_Qt3DExtras_QConeGeometry_trUtf8_to_output(s, c, n, &mut object);
      object
    }
  }

  /// C++ method: <span style='color: green;'>```void Qt3DExtras::QConeGeometry::updateIndices()```</span>
  ///
  /// <a href="http://doc.qt.io/qt-5/qt3dextras-qconegeometry.html#updateIndices">C++ documentation:</a> <div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>Updates indices based on geometry properties.</p></div>
  pub fn update_indices(&mut self) {
    unsafe { ::ffi::qt_3d_extras_c_Qt3DExtras_QConeGeometry_updateIndices(self as *mut ::cone_geometry::ConeGeometry) }
  }

  /// C++ method: <span style='color: green;'>```void Qt3DExtras::QConeGeometry::updateVertices()```</span>
  ///
  /// <a href="http://doc.qt.io/qt-5/qt3dextras-qconegeometry.html#updateVertices">C++ documentation:</a> <div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>Updates vertices based on geometry properties.</p></div>
  pub fn update_vertices(&mut self) {
    unsafe { ::ffi::qt_3d_extras_c_Qt3DExtras_QConeGeometry_updateVertices(self as *mut ::cone_geometry::ConeGeometry) }
  }
}

impl ::cpp_utils::CppDeletable for ::cone_geometry::ConeGeometry {
  fn deleter() -> ::cpp_utils::Deleter<Self> {
    ::ffi::qt_3d_extras_c_Qt3DExtras_QConeGeometry_delete
  }
}

/// Types for accessing built-in Qt signals and slots present in this module
pub mod connection {
  use ::cpp_utils::StaticCast;
  /// Provides access to built-in Qt signals of `ConeGeometry`.
  pub struct Signals<'a>(&'a ::cone_geometry::ConeGeometry);
  /// Represents a built-in Qt signal `Qt3DExtras::QConeGeometry::ringsChanged`.
  ///
  /// An object of this type can be created from `ConeGeometry` with `object.signals().rings_changed()` and used for creating Qt connections using `qt_core::connection` API. After the connection is made, the object can (should) be dropped. The connection will remain active until sender or receiver are destroyed or until a manual disconnection is made.
  ///
  /// An object of this type contains a reference to the original `ConeGeometry` object.
  pub struct RingsChanged<'a>(&'a ::cone_geometry::ConeGeometry);
  impl<'a> ::qt_core::connection::Receiver for RingsChanged<'a> {
    type Arguments = (::libc::c_int,);
    fn object(&self) -> &::qt_core::object::Object {
      self.0.static_cast()
    }
    fn receiver_id() -> &'static [u8] {
      b"2ringsChanged(int)\0"
    }
  }
  impl<'a> ::qt_core::connection::Signal for RingsChanged<'a> {}
  /// Represents a built-in Qt signal `Qt3DExtras::QConeGeometry::slicesChanged`.
  ///
  /// An object of this type can be created from `ConeGeometry` with `object.signals().slices_changed()` and used for creating Qt connections using `qt_core::connection` API. After the connection is made, the object can (should) be dropped. The connection will remain active until sender or receiver are destroyed or until a manual disconnection is made.
  ///
  /// An object of this type contains a reference to the original `ConeGeometry` object.
  pub struct SlicesChanged<'a>(&'a ::cone_geometry::ConeGeometry);
  impl<'a> ::qt_core::connection::Receiver for SlicesChanged<'a> {
    type Arguments = (::libc::c_int,);
    fn object(&self) -> &::qt_core::object::Object {
      self.0.static_cast()
    }
    fn receiver_id() -> &'static [u8] {
      b"2slicesChanged(int)\0"
    }
  }
  impl<'a> ::qt_core::connection::Signal for SlicesChanged<'a> {}
  /// Represents a built-in Qt signal `Qt3DExtras::QConeGeometry::hasTopEndcapChanged`.
  ///
  /// An object of this type can be created from `ConeGeometry` with `object.signals().has_top_endcap_changed()` and used for creating Qt connections using `qt_core::connection` API. After the connection is made, the object can (should) be dropped. The connection will remain active until sender or receiver are destroyed or until a manual disconnection is made.
  ///
  /// An object of this type contains a reference to the original `ConeGeometry` object.
  pub struct HasTopEndcapChanged<'a>(&'a ::cone_geometry::ConeGeometry);
  impl<'a> ::qt_core::connection::Receiver for HasTopEndcapChanged<'a> {
    type Arguments = (bool,);
    fn object(&self) -> &::qt_core::object::Object {
      self.0.static_cast()
    }
    fn receiver_id() -> &'static [u8] {
      b"2hasTopEndcapChanged(bool)\0"
    }
  }
  impl<'a> ::qt_core::connection::Signal for HasTopEndcapChanged<'a> {}
  /// Represents a built-in Qt signal `Qt3DExtras::QConeGeometry::hasBottomEndcapChanged`.
  ///
  /// An object of this type can be created from `ConeGeometry` with `object.signals().has_bottom_endcap_changed()` and used for creating Qt connections using `qt_core::connection` API. After the connection is made, the object can (should) be dropped. The connection will remain active until sender or receiver are destroyed or until a manual disconnection is made.
  ///
  /// An object of this type contains a reference to the original `ConeGeometry` object.
  pub struct HasBottomEndcapChanged<'a>(&'a ::cone_geometry::ConeGeometry);
  impl<'a> ::qt_core::connection::Receiver for HasBottomEndcapChanged<'a> {
    type Arguments = (bool,);
    fn object(&self) -> &::qt_core::object::Object {
      self.0.static_cast()
    }
    fn receiver_id() -> &'static [u8] {
      b"2hasBottomEndcapChanged(bool)\0"
    }
  }
  impl<'a> ::qt_core::connection::Signal for HasBottomEndcapChanged<'a> {}
  /// Represents a built-in Qt signal `Qt3DExtras::QConeGeometry::topRadiusChanged`.
  ///
  /// An object of this type can be created from `ConeGeometry` with `object.signals().top_radius_changed()` and used for creating Qt connections using `qt_core::connection` API. After the connection is made, the object can (should) be dropped. The connection will remain active until sender or receiver are destroyed or until a manual disconnection is made.
  ///
  /// An object of this type contains a reference to the original `ConeGeometry` object.
  pub struct TopRadiusChanged<'a>(&'a ::cone_geometry::ConeGeometry);
  impl<'a> ::qt_core::connection::Receiver for TopRadiusChanged<'a> {
    type Arguments = (::libc::c_float,);
    fn object(&self) -> &::qt_core::object::Object {
      self.0.static_cast()
    }
    fn receiver_id() -> &'static [u8] {
      b"2topRadiusChanged(float)\0"
    }
  }
  impl<'a> ::qt_core::connection::Signal for TopRadiusChanged<'a> {}
  /// Represents a built-in Qt signal `Qt3DExtras::QConeGeometry::boundingVolumePositionAttributeChanged`.
  ///
  /// An object of this type can be created from `ConeGeometry` with `object.signals().bounding_volume_position_attribute_changed()` and used for creating Qt connections using `qt_core::connection` API. After the connection is made, the object can (should) be dropped. The connection will remain active until sender or receiver are destroyed or until a manual disconnection is made.
  ///
  /// An object of this type contains a reference to the original `ConeGeometry` object.
  pub struct BoundingVolumePositionAttributeChanged<'a>(&'a ::cone_geometry::ConeGeometry);
  impl<'a> ::qt_core::connection::Receiver for BoundingVolumePositionAttributeChanged<'a> {
    type Arguments = (*mut ::qt_3d_render::attribute::Attribute,);
    fn object(&self) -> &::qt_core::object::Object {
      self.0.static_cast()
    }
    fn receiver_id() -> &'static [u8] {
      b"2boundingVolumePositionAttributeChanged(Qt3DRender::QAttribute*)\0"
    }
  }
  impl<'a> ::qt_core::connection::Signal for BoundingVolumePositionAttributeChanged<'a> {}
  /// Represents a built-in Qt signal `Qt3DExtras::QConeGeometry::bottomRadiusChanged`.
  ///
  /// An object of this type can be created from `ConeGeometry` with `object.signals().bottom_radius_changed()` and used for creating Qt connections using `qt_core::connection` API. After the connection is made, the object can (should) be dropped. The connection will remain active until sender or receiver are destroyed or until a manual disconnection is made.
  ///
  /// An object of this type contains a reference to the original `ConeGeometry` object.
  pub struct BottomRadiusChanged<'a>(&'a ::cone_geometry::ConeGeometry);
  impl<'a> ::qt_core::connection::Receiver for BottomRadiusChanged<'a> {
    type Arguments = (::libc::c_float,);
    fn object(&self) -> &::qt_core::object::Object {
      self.0.static_cast()
    }
    fn receiver_id() -> &'static [u8] {
      b"2bottomRadiusChanged(float)\0"
    }
  }
  impl<'a> ::qt_core::connection::Signal for BottomRadiusChanged<'a> {}
  /// Represents a built-in Qt signal `Qt3DExtras::QConeGeometry::lengthChanged`.
  ///
  /// An object of this type can be created from `ConeGeometry` with `object.signals().length_changed()` and used for creating Qt connections using `qt_core::connection` API. After the connection is made, the object can (should) be dropped. The connection will remain active until sender or receiver are destroyed or until a manual disconnection is made.
  ///
  /// An object of this type contains a reference to the original `ConeGeometry` object.
  pub struct LengthChanged<'a>(&'a ::cone_geometry::ConeGeometry);
  impl<'a> ::qt_core::connection::Receiver for LengthChanged<'a> {
    type Arguments = (::libc::c_float,);
    fn object(&self) -> &::qt_core::object::Object {
      self.0.static_cast()
    }
    fn receiver_id() -> &'static [u8] {
      b"2lengthChanged(float)\0"
    }
  }
  impl<'a> ::qt_core::connection::Signal for LengthChanged<'a> {}
  impl<'a> Signals<'a> {
    /// Returns an object representing a built-in Qt signal `Qt3DExtras::QConeGeometry::ringsChanged`.
    ///
    /// Return value of this function can be used for creating Qt connections using `qt_core::connection` API.
    pub fn rings_changed(&self) -> RingsChanged {
      RingsChanged(self.0)
    }
    /// Returns an object representing a built-in Qt signal `Qt3DExtras::QConeGeometry::slicesChanged`.
    ///
    /// Return value of this function can be used for creating Qt connections using `qt_core::connection` API.
    pub fn slices_changed(&self) -> SlicesChanged {
      SlicesChanged(self.0)
    }
    /// Returns an object representing a built-in Qt signal `Qt3DExtras::QConeGeometry::hasTopEndcapChanged`.
    ///
    /// Return value of this function can be used for creating Qt connections using `qt_core::connection` API.
    pub fn has_top_endcap_changed(&self) -> HasTopEndcapChanged {
      HasTopEndcapChanged(self.0)
    }
    /// Returns an object representing a built-in Qt signal `Qt3DExtras::QConeGeometry::hasBottomEndcapChanged`.
    ///
    /// Return value of this function can be used for creating Qt connections using `qt_core::connection` API.
    pub fn has_bottom_endcap_changed(&self) -> HasBottomEndcapChanged {
      HasBottomEndcapChanged(self.0)
    }
    /// Returns an object representing a built-in Qt signal `Qt3DExtras::QConeGeometry::topRadiusChanged`.
    ///
    /// Return value of this function can be used for creating Qt connections using `qt_core::connection` API.
    pub fn top_radius_changed(&self) -> TopRadiusChanged {
      TopRadiusChanged(self.0)
    }
    /// Returns an object representing a built-in Qt signal `Qt3DExtras::QConeGeometry::boundingVolumePositionAttributeChanged`.
    ///
    /// Return value of this function can be used for creating Qt connections using `qt_core::connection` API.
    pub fn bounding_volume_position_attribute_changed(&self) -> BoundingVolumePositionAttributeChanged {
      BoundingVolumePositionAttributeChanged(self.0)
    }
    /// Returns an object representing a built-in Qt signal `Qt3DExtras::QConeGeometry::bottomRadiusChanged`.
    ///
    /// Return value of this function can be used for creating Qt connections using `qt_core::connection` API.
    pub fn bottom_radius_changed(&self) -> BottomRadiusChanged {
      BottomRadiusChanged(self.0)
    }
    /// Returns an object representing a built-in Qt signal `Qt3DExtras::QConeGeometry::lengthChanged`.
    ///
    /// Return value of this function can be used for creating Qt connections using `qt_core::connection` API.
    pub fn length_changed(&self) -> LengthChanged {
      LengthChanged(self.0)
    }
  }
  /// Provides access to built-in Qt slots of `ConeGeometry`.
  pub struct Slots<'a>(&'a ::cone_geometry::ConeGeometry);
  /// Represents a built-in Qt slot `Qt3DExtras::QConeGeometry::setTopRadius`.
  ///
  /// An object of this type can be created from `ConeGeometry` with `object.slots().set_top_radius()` and used for creating Qt connections using `qt_core::connection` API. After the connection is made, the object can (should) be dropped. The connection will remain active until sender or receiver are destroyed or until a manual disconnection is made.
  ///
  /// An object of this type contains a reference to the original `ConeGeometry` object.
  pub struct SetTopRadius<'a>(&'a ::cone_geometry::ConeGeometry);
  impl<'a> ::qt_core::connection::Receiver for SetTopRadius<'a> {
    type Arguments = (::libc::c_float,);
    fn object(&self) -> &::qt_core::object::Object {
      self.0.static_cast()
    }
    fn receiver_id() -> &'static [u8] {
      b"1setTopRadius(float)\0"
    }
  }
  /// Represents a built-in Qt slot `Qt3DExtras::QConeGeometry::setLength`.
  ///
  /// An object of this type can be created from `ConeGeometry` with `object.slots().set_length()` and used for creating Qt connections using `qt_core::connection` API. After the connection is made, the object can (should) be dropped. The connection will remain active until sender or receiver are destroyed or until a manual disconnection is made.
  ///
  /// An object of this type contains a reference to the original `ConeGeometry` object.
  pub struct SetLength<'a>(&'a ::cone_geometry::ConeGeometry);
  impl<'a> ::qt_core::connection::Receiver for SetLength<'a> {
    type Arguments = (::libc::c_float,);
    fn object(&self) -> &::qt_core::object::Object {
      self.0.static_cast()
    }
    fn receiver_id() -> &'static [u8] {
      b"1setLength(float)\0"
    }
  }
  /// Represents a built-in Qt slot `Qt3DExtras::QConeGeometry::setBoundingVolumePositionAttribute`.
  ///
  /// An object of this type can be created from `ConeGeometry` with `object.slots().set_bounding_volume_position_attribute()` and used for creating Qt connections using `qt_core::connection` API. After the connection is made, the object can (should) be dropped. The connection will remain active until sender or receiver are destroyed or until a manual disconnection is made.
  ///
  /// An object of this type contains a reference to the original `ConeGeometry` object.
  pub struct SetBoundingVolumePositionAttribute<'a>(&'a ::cone_geometry::ConeGeometry);
  impl<'a> ::qt_core::connection::Receiver for SetBoundingVolumePositionAttribute<'a> {
    type Arguments = (*mut ::qt_3d_render::attribute::Attribute,);
    fn object(&self) -> &::qt_core::object::Object {
      self.0.static_cast()
    }
    fn receiver_id() -> &'static [u8] {
      b"1setBoundingVolumePositionAttribute(Qt3DRender::QAttribute*)\0"
    }
  }
  /// Represents a built-in Qt slot `Qt3DExtras::QConeGeometry::setHasTopEndcap`.
  ///
  /// An object of this type can be created from `ConeGeometry` with `object.slots().set_has_top_endcap()` and used for creating Qt connections using `qt_core::connection` API. After the connection is made, the object can (should) be dropped. The connection will remain active until sender or receiver are destroyed or until a manual disconnection is made.
  ///
  /// An object of this type contains a reference to the original `ConeGeometry` object.
  pub struct SetHasTopEndcap<'a>(&'a ::cone_geometry::ConeGeometry);
  impl<'a> ::qt_core::connection::Receiver for SetHasTopEndcap<'a> {
    type Arguments = (bool,);
    fn object(&self) -> &::qt_core::object::Object {
      self.0.static_cast()
    }
    fn receiver_id() -> &'static [u8] {
      b"1setHasTopEndcap(bool)\0"
    }
  }
  /// Represents a built-in Qt slot `Qt3DExtras::QConeGeometry::setSlices`.
  ///
  /// An object of this type can be created from `ConeGeometry` with `object.slots().set_slices()` and used for creating Qt connections using `qt_core::connection` API. After the connection is made, the object can (should) be dropped. The connection will remain active until sender or receiver are destroyed or until a manual disconnection is made.
  ///
  /// An object of this type contains a reference to the original `ConeGeometry` object.
  pub struct SetSlices<'a>(&'a ::cone_geometry::ConeGeometry);
  impl<'a> ::qt_core::connection::Receiver for SetSlices<'a> {
    type Arguments = (::libc::c_int,);
    fn object(&self) -> &::qt_core::object::Object {
      self.0.static_cast()
    }
    fn receiver_id() -> &'static [u8] {
      b"1setSlices(int)\0"
    }
  }
  /// Represents a built-in Qt slot `Qt3DExtras::QConeGeometry::setRings`.
  ///
  /// An object of this type can be created from `ConeGeometry` with `object.slots().set_rings()` and used for creating Qt connections using `qt_core::connection` API. After the connection is made, the object can (should) be dropped. The connection will remain active until sender or receiver are destroyed or until a manual disconnection is made.
  ///
  /// An object of this type contains a reference to the original `ConeGeometry` object.
  pub struct SetRings<'a>(&'a ::cone_geometry::ConeGeometry);
  impl<'a> ::qt_core::connection::Receiver for SetRings<'a> {
    type Arguments = (::libc::c_int,);
    fn object(&self) -> &::qt_core::object::Object {
      self.0.static_cast()
    }
    fn receiver_id() -> &'static [u8] {
      b"1setRings(int)\0"
    }
  }
  /// Represents a built-in Qt slot `Qt3DExtras::QConeGeometry::setBottomRadius`.
  ///
  /// An object of this type can be created from `ConeGeometry` with `object.slots().set_bottom_radius()` and used for creating Qt connections using `qt_core::connection` API. After the connection is made, the object can (should) be dropped. The connection will remain active until sender or receiver are destroyed or until a manual disconnection is made.
  ///
  /// An object of this type contains a reference to the original `ConeGeometry` object.
  pub struct SetBottomRadius<'a>(&'a ::cone_geometry::ConeGeometry);
  impl<'a> ::qt_core::connection::Receiver for SetBottomRadius<'a> {
    type Arguments = (::libc::c_float,);
    fn object(&self) -> &::qt_core::object::Object {
      self.0.static_cast()
    }
    fn receiver_id() -> &'static [u8] {
      b"1setBottomRadius(float)\0"
    }
  }
  /// Represents a built-in Qt slot `Qt3DExtras::QConeGeometry::setHasBottomEndcap`.
  ///
  /// An object of this type can be created from `ConeGeometry` with `object.slots().set_has_bottom_endcap()` and used for creating Qt connections using `qt_core::connection` API. After the connection is made, the object can (should) be dropped. The connection will remain active until sender or receiver are destroyed or until a manual disconnection is made.
  ///
  /// An object of this type contains a reference to the original `ConeGeometry` object.
  pub struct SetHasBottomEndcap<'a>(&'a ::cone_geometry::ConeGeometry);
  impl<'a> ::qt_core::connection::Receiver for SetHasBottomEndcap<'a> {
    type Arguments = (bool,);
    fn object(&self) -> &::qt_core::object::Object {
      self.0.static_cast()
    }
    fn receiver_id() -> &'static [u8] {
      b"1setHasBottomEndcap(bool)\0"
    }
  }
  impl<'a> Slots<'a> {
    /// Returns an object representing a built-in Qt slot `Qt3DExtras::QConeGeometry::setTopRadius`.
    ///
    /// Return value of this function can be used for creating Qt connections using `qt_core::connection` API.
    pub fn set_top_radius(&self) -> SetTopRadius {
      SetTopRadius(self.0)
    }
    /// Returns an object representing a built-in Qt slot `Qt3DExtras::QConeGeometry::setLength`.
    ///
    /// Return value of this function can be used for creating Qt connections using `qt_core::connection` API.
    pub fn set_length(&self) -> SetLength {
      SetLength(self.0)
    }
    /// Returns an object representing a built-in Qt slot `Qt3DExtras::QConeGeometry::setBoundingVolumePositionAttribute`.
    ///
    /// Return value of this function can be used for creating Qt connections using `qt_core::connection` API.
    pub fn set_bounding_volume_position_attribute(&self) -> SetBoundingVolumePositionAttribute {
      SetBoundingVolumePositionAttribute(self.0)
    }
    /// Returns an object representing a built-in Qt slot `Qt3DExtras::QConeGeometry::setHasTopEndcap`.
    ///
    /// Return value of this function can be used for creating Qt connections using `qt_core::connection` API.
    pub fn set_has_top_endcap(&self) -> SetHasTopEndcap {
      SetHasTopEndcap(self.0)
    }
    /// Returns an object representing a built-in Qt slot `Qt3DExtras::QConeGeometry::setSlices`.
    ///
    /// Return value of this function can be used for creating Qt connections using `qt_core::connection` API.
    pub fn set_slices(&self) -> SetSlices {
      SetSlices(self.0)
    }
    /// Returns an object representing a built-in Qt slot `Qt3DExtras::QConeGeometry::setRings`.
    ///
    /// Return value of this function can be used for creating Qt connections using `qt_core::connection` API.
    pub fn set_rings(&self) -> SetRings {
      SetRings(self.0)
    }
    /// Returns an object representing a built-in Qt slot `Qt3DExtras::QConeGeometry::setBottomRadius`.
    ///
    /// Return value of this function can be used for creating Qt connections using `qt_core::connection` API.
    pub fn set_bottom_radius(&self) -> SetBottomRadius {
      SetBottomRadius(self.0)
    }
    /// Returns an object representing a built-in Qt slot `Qt3DExtras::QConeGeometry::setHasBottomEndcap`.
    ///
    /// Return value of this function can be used for creating Qt connections using `qt_core::connection` API.
    pub fn set_has_bottom_endcap(&self) -> SetHasBottomEndcap {
      SetHasBottomEndcap(self.0)
    }
  }
  impl ::cone_geometry::ConeGeometry {
    /// Provides access to built-in Qt signals of this type
    pub fn signals(&self) -> Signals {
      Signals(self)
    }
    /// Provides access to built-in Qt slots of this type
    pub fn slots(&self) -> Slots {
      Slots(self)
    }
  }

}

impl ::cpp_utils::StaticCast<::qt_3d_core::node::Node> for ::cone_geometry::ConeGeometry {
  fn static_cast_mut(&mut self) -> &mut ::qt_3d_core::node::Node {
    let ffi_result =
      unsafe {
        ::ffi::qt_3d_extras_c_QConeGeometry_G_static_cast_Qt3DCore_QNode_ptr(self as *mut ::cone_geometry::ConeGeometry)
      };
    unsafe { ffi_result.as_mut() }.expect("Attempted to convert null pointer to reference")
  }

  fn static_cast(&self) -> &::qt_3d_core::node::Node {
    let ffi_result = unsafe { ::ffi::qt_3d_extras_c_QConeGeometry_G_static_cast_Qt3DCore_QNode_ptr(self as *const ::cone_geometry::ConeGeometry as *mut ::cone_geometry::ConeGeometry) };
    unsafe { ffi_result.as_ref() }.expect("Attempted to convert null pointer to reference")
  }
}

impl ::cpp_utils::StaticCast<::qt_3d_render::geometry::Geometry> for ::cone_geometry::ConeGeometry {
  fn static_cast_mut(&mut self) -> &mut ::qt_3d_render::geometry::Geometry {
    let ffi_result = unsafe { ::ffi::qt_3d_extras_c_QConeGeometry_G_static_cast_Qt3DRender_QGeometry_ptr(self as *mut ::cone_geometry::ConeGeometry) };
    unsafe { ffi_result.as_mut() }.expect("Attempted to convert null pointer to reference")
  }

  fn static_cast(&self) -> &::qt_3d_render::geometry::Geometry {
    let ffi_result = unsafe { ::ffi::qt_3d_extras_c_QConeGeometry_G_static_cast_Qt3DRender_QGeometry_ptr(self as *const ::cone_geometry::ConeGeometry as *mut ::cone_geometry::ConeGeometry) };
    unsafe { ffi_result.as_ref() }.expect("Attempted to convert null pointer to reference")
  }
}

impl ::cpp_utils::StaticCast<::qt_core::object::Object> for ::cone_geometry::ConeGeometry {
  fn static_cast_mut(&mut self) -> &mut ::qt_core::object::Object {
    let ffi_result =
      unsafe {
        ::ffi::qt_3d_extras_c_QConeGeometry_G_static_cast_QObject_ptr(self as *mut ::cone_geometry::ConeGeometry)
      };
    unsafe { ffi_result.as_mut() }.expect("Attempted to convert null pointer to reference")
  }

  fn static_cast(&self) -> &::qt_core::object::Object {
    let ffi_result = unsafe { ::ffi::qt_3d_extras_c_QConeGeometry_G_static_cast_QObject_ptr(self as *const ::cone_geometry::ConeGeometry as *mut ::cone_geometry::ConeGeometry) };
    unsafe { ffi_result.as_ref() }.expect("Attempted to convert null pointer to reference")
  }
}

impl ::cpp_utils::UnsafeStaticCast<::cone_geometry::ConeGeometry> for ::qt_core::object::Object {
  unsafe fn static_cast_mut(&mut self) -> &mut ::cone_geometry::ConeGeometry {
    let ffi_result = ::ffi::qt_3d_extras_c_QConeGeometry_G_static_cast_Qt3DExtras_QConeGeometry_ptr_QObject(self as *mut ::qt_core::object::Object);
    ffi_result.as_mut().expect("Attempted to convert null pointer to reference")
  }

  unsafe fn static_cast(&self) -> &::cone_geometry::ConeGeometry {
    let ffi_result = ::ffi::qt_3d_extras_c_QConeGeometry_G_static_cast_Qt3DExtras_QConeGeometry_ptr_QObject(self as *const ::qt_core::object::Object as *mut ::qt_core::object::Object);
    ffi_result.as_ref().expect("Attempted to convert null pointer to reference")
  }
}

impl ::cpp_utils::UnsafeStaticCast<::cone_geometry::ConeGeometry> for ::qt_3d_core::node::Node {
  unsafe fn static_cast_mut(&mut self) -> &mut ::cone_geometry::ConeGeometry {
    let ffi_result = ::ffi::qt_3d_extras_c_QConeGeometry_G_static_cast_Qt3DExtras_QConeGeometry_ptr_Qt3DCore_QNode(self as *mut ::qt_3d_core::node::Node);
    ffi_result.as_mut().expect("Attempted to convert null pointer to reference")
  }

  unsafe fn static_cast(&self) -> &::cone_geometry::ConeGeometry {
    let ffi_result = ::ffi::qt_3d_extras_c_QConeGeometry_G_static_cast_Qt3DExtras_QConeGeometry_ptr_Qt3DCore_QNode(self as *const ::qt_3d_core::node::Node as *mut ::qt_3d_core::node::Node);
    ffi_result.as_ref().expect("Attempted to convert null pointer to reference")
  }
}

impl ::cpp_utils::UnsafeStaticCast<::cone_geometry::ConeGeometry> for ::qt_3d_render::geometry::Geometry {
  unsafe fn static_cast_mut(&mut self) -> &mut ::cone_geometry::ConeGeometry {
    let ffi_result = ::ffi::qt_3d_extras_c_QConeGeometry_G_static_cast_Qt3DExtras_QConeGeometry_ptr_Qt3DRender_QGeometry(self as *mut ::qt_3d_render::geometry::Geometry);
    ffi_result.as_mut().expect("Attempted to convert null pointer to reference")
  }

  unsafe fn static_cast(&self) -> &::cone_geometry::ConeGeometry {
    let ffi_result = ::ffi::qt_3d_extras_c_QConeGeometry_G_static_cast_Qt3DExtras_QConeGeometry_ptr_Qt3DRender_QGeometry(self as *const ::qt_3d_render::geometry::Geometry as *mut ::qt_3d_render::geometry::Geometry);
    ffi_result.as_ref().expect("Attempted to convert null pointer to reference")
  }
}

impl ::std::ops::Deref for ::cone_geometry::ConeGeometry {
  type Target = ::qt_3d_render::geometry::Geometry;
  fn deref(&self) -> &::qt_3d_render::geometry::Geometry {
    let ffi_result = unsafe { ::ffi::qt_3d_extras_c_QConeGeometry_G_static_cast_Qt3DRender_QGeometry_ptr(self as *const ::cone_geometry::ConeGeometry as *mut ::cone_geometry::ConeGeometry) };
    unsafe { ffi_result.as_ref() }.expect("Attempted to convert null pointer to reference")
  }
}

impl ::std::ops::DerefMut for ::cone_geometry::ConeGeometry {
  fn deref_mut(&mut self) -> &mut ::qt_3d_render::geometry::Geometry {
    let ffi_result = unsafe { ::ffi::qt_3d_extras_c_QConeGeometry_G_static_cast_Qt3DRender_QGeometry_ptr(self as *mut ::cone_geometry::ConeGeometry) };
    unsafe { ffi_result.as_mut() }.expect("Attempted to convert null pointer to reference")
  }
}