-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsogtk.spec
1456 lines (1149 loc) · 27.5 KB
/
sogtk.spec
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
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
;; /**************************************************************************\
;; * Copyright (c) Kongsberg Oil & Gas Technologies AS
;; * All rights reserved.
;; *
;; * Redistribution and use in source and binary forms, with or without
;; * modification, are permitted provided that the following conditions are
;; * met:
;; *
;; * Redistributions of source code must retain the above copyright notice,
;; * this list of conditions and the following disclaimer.
;; *
;; * Redistributions in binary form must reproduce the above copyright
;; * notice, this list of conditions and the following disclaimer in the
;; * documentation and/or other materials provided with the distribution.
;; *
;; * Neither the name of the copyright holder nor the names of its
;; * contributors may be used to endorse or promote products derived from
;; * this software without specific prior written permission.
;; *
;; * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
;; * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
;; * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
;; * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
;; * HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
;; * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
;; * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
;; * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
;; * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
;; * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
;; * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
;; \**************************************************************************/
(def-wrapped GtkWidget
(scm-wrap "")
(scm-unwrap ""))
(def-wrapped GdkEvent
(scm-wrap "")
(scm-unwrap ""))
(using Coin)
;; -- SoGtk ----------------------------------------------------------------
(def-cppclass SoGtk ()
(header "<Inventor/Gtk/SoGtk.h>")
(static #t))
(def-cppconst SoGtk SoGtkComponentAction
(CREATION
DESTRUCTION
CHANGE))
(def-cppmethod SoGtk init
(GtkWidget)
((string name)
(string class (= "\"SoGtk\"")))
(static #t))
(def-cppmethod SoGtk init
(GtkWidget)
((int argc)
(string argv)
(string name)
(string class (= "\"SoGtk\"")))
(static #t))
(def-cppmethod SoGtk init
none
((GtkWidget toplevel))
(static #t))
(def-cppmethod SoGtk mainLoop
none
()
(static #t))
(def-cppmethod SoGtk exitMainLoop
none
()
(static #t))
(def-cppmethod SoGtk getTopLevelWidget
(GtkWidget)
()
(static #t))
(def-cppmethod SoGtk getShellWidget
(GtkWidget)
((GtkWidget widget))
(static #t))
(def-cppmethod SoGtk show
none
((GtkWidget widget))
(static #t))
(def-cppmethod SoGtk hide
none
((GtkWidget widget))
(static #t))
(def-cppmethod SoGtk setWidgetSize
none
((GtkWidget widget)
(SbVec2s size))
(static #t))
(def-cppmethod SoGtk getWidgetSize
(SbVec2s)
((GtkWidget widget))
(static #t))
(def-cppmethod SoGtk createSimpleErrorDialog
none
((GtkWidget widget)
(string title)
(string string-1)
(string string-2 (= "NULL")))
(static #t))
(def-cppmethod SoGtk addComponentActionCallback
none
((callback proc))
(static #t))
(def-cppmethod SoGtk removeComponentActionCallback
none
((callback proc))
(static #t))
;; -- SoGtkTypedObject -----------------------------------------------------
(def-cppclass SoGtkTypedObject ()
(header "<Inventor/Gtk/SoGtkTypedObject.h>")
(abstract #t))
(def-cppmethod SoGtkTypedObject init
none
()
(static #t))
(def-cppmethod SoGtkTypedObject getClassTypeId
SoType
()
(static #t))
(def-cppmethod SoGtkTypedObject getTypeId
SoType
()
(virtual #t)
(abstract #t))
(def-cppmethod SoGtkTypedObject isOfType
boolean
((SoType type)))
;; -- SoGtkDevice ----------------------------------------------------------
(def-cppclass SoGtkDevice (SoGtkTypedObject)
(header "<Inventor/Gtk/devices/SoGtkDevice.h>")
(abstract #t))
(def-cppdestr SoGtkDevice)
(def-cppmethod SoGtkDevice initClasses
none
()
(static #t))
(def-cppmethod SoGtkDevice initClass
none
()
(static #t))
(def-cppmethod SoGtkDevice getClassTypeId
SoType
()
(static #t))
(def-cppmethod SoGtkDevice getTypeId
SoType
()
(virtual #t))
(def-cppmethod SoGtkDevice enable
none
((GtkWidget widget)
(callback proc))
(virtual #t)
(abstract #t))
(def-cppmethod SoGtkDevice disable
none
((GtkWidget widget)
(callback proc))
(virtual #t)
(abstract #t))
(def-cppmethod SoGtkDevice translateEvent
(SoEvent)
((GdkEvent event))
(virtual #t)
(abstract #t))
(def-cppmethod SoGtkDevice setWindowSize
none
((SbVec2s size)))
(def-cppmethod SoGtkDevice getWindowSize
(SbVec2s)
())
;; -- SoGtkMouse -----------------------------------------------------------
(def-cppclass SoGtkMouse (SoGtkDevice)
(header "<Inventor/Gtk/devices/SoGtkMouse.h>"))
(def-cppconst SoGtkMouse SoGtkMouseEventMask
(ButtonPressMask
ButtonReleaseMask
PointerMotionMask
ButtonMotionMask
SO_GTK_ALL_MOUSE_EVENTS))
(def-cppconstr SoGtkMouse
((int mask (= "SO_GTK_ALL_MOUSE_EVENTS") (mask SoGtkMouseEventMask))))
(def-cppdestr SoGtkMouse)
(def-cppmethod SoGtkMouse initClass
none
()
(static #t))
(def-cppmethod SoGtkMouse getClassTypeId
SoType
()
(static #t))
(def-cppmethod SoGtkMouse getTypeId
SoType
()
(virtual #t))
(def-cppmethod SoGtkMouse enable
none
((GtkWidget widget)
(callback proc))
(virtual #t))
(def-cppmethod SoGtkMouse disable
none
((GtkWidget widget)
(callback proc))
(virtual #t))
(def-cppmethod SoGtkMouse translateEvent
(SoEvent)
((GdkEvent event))
(virtual #t))
;; -- SoGtkKeyboard --------------------------------------------------------
(def-cppclass SoGtkKeyboard (SoGtkDevice)
(header "<Inventor/Gtk/devices/SoGtkKeyboard.h>"))
(def-cppconst SoGtkKeyboard SoGtkKeyboardEventMask
(KeyPressMask
KeyReleaseMask
SO_GTK_ALL_KEYBOARD_EVENTS))
(def-cppconstr SoGtkKeyboard
((int mask (= "SO_GTK_ALL_KEYBOARD_EVENTS") (mask SoGtkKeyboardEventMask))))
(def-cppdestr SoGtkKeyboard)
(def-cppmethod SoGtkKeyboard initClass
none
()
(static #t))
(def-cppmethod SoGtkKeyboard getClassTypeId
SoType
()
(static #t))
(def-cppmethod SoGtkKeyboard getTypeId
SoType
()
(virtual #t))
(def-cppmethod SoGtkKeyboard enable
none
((GtkWidget widget)
(callback proc))
(virtual #t))
(def-cppmethod SoGtkKeyboard disable
none
((GtkWidget widget)
(callback proc))
(virtual #t))
(def-cppmethod SoGtkKeyboard translateEvent
(SoEvent)
((GdkEvent event))
(virtual #t))
;; -- SoGtkInputFocus ------------------------------------------------------
(def-cppclass SoGtkInputFocus (SoGtkDevice)
(header "<Inventor/Gtk/devices/SoGtkInputFocus.h>"))
(def-cppconst SoGtkInputFocus SoGtkInputFocusEventMask
(EnterWindowMask
LeaveWindowMask
SOGTK_ALL_FOCUS_EVENTS))
(def-cppconstr SoGtkInputFocus
((int mask (= "SO_GTK_ALL_FOCUS_EVENTS"))))
(def-cppdestr SoGtkInputFocus)
(def-cppmethod SoGtkInputFocus initClass
none
()
(static #t))
(def-cppmethod SoGtkInputFocus getClassTypeId
SoType
()
(static #t))
(def-cppmethod SoGtkInputFocus getTypeId
SoType
()
(virtual #t))
(def-cppmethod SoGtkInputFocus enable
none
((GtkWidget widget)
(callback proc))
(virtual #t))
(def-cppmethod SoGtkInputFocus disable
none
((GtkWidget widget)
(callback proc))
(virtual #t))
(def-cppmethod SoGtkInputFocus translateEvent
(SoEvent)
((GdkEvent event))
(virtual #t))
;; -- SoGtkSpaceball -------------------------------------------------------
(def-cppclass SoGtkSpaceball (SoGtkDevice)
(header "<Inventor/Gtk/devices/SoGtkSpaceball.h>"))
(def-cppconst SoGtkSpaceball SoGtkSpaceballEventMask
(MOTION
PRESS
RELEASE
ALL))
(def-cppconstr SoGtkSpaceball
((int mask (= "SoGtkSpaceball::ALL"))))
(def-cppdestr SoGtkSpaceball)
(def-cppmethod SoGtkSpaceball initClass
none
()
(static #t))
(def-cppmethod SoGtkSpaceball getClassTypeId
SoType
()
(static #t))
(def-cppmethod SoGtkSpaceball getTypeId
SoType
()
(virtual #t))
(def-cppmethod SoGtkSpaceball enable
none
((GtkWidget widget)
(callback proc))
(virtual #t))
(def-cppmethod SoGtkSpaceball disable
none
((GtkWidget widget)
(callback proc))
(virtual #t))
(def-cppmethod SoGtkSpaceball translateEvent
(SoEvent)
((GdkEvent event))
(virtual #t))
(def-cppmethod SoGtkSpaceball setRotationFactor
none
((float factor)))
(def-cppmethod SoGtkSpaceball getRotationFactor
(float)
())
(def-cppmethod SoGtkSpaceball setTranslationFactor
none
((float factor)))
(def-cppmethod SoGtkSpaceball getTranslationFactor
(float)
())
(def-cppmethod SoGtkSpaceball exists
(boolean)
()
(scm-name "exists?")
(static #t))
(def-cppmethod SoGtkSpaceball setFocusToWindow
none
((boolean flag)))
(def-cppmethod SoGtkSpaceball isFocusToWindow
(boolean)
()
(scm-name "focus-to-window?"))
;; -- SoGtkComponent -------------------------------------------------------
(def-cppclass SoGtkComponent (SoGtkTypedObject)
(header "<Inventor/Gtk/SoGtkComponent.h>")
(abstract #t))
(def-cppmethod SoGtkComponent initClasses
none
()
(static #t))
(def-cppmethod SoGtkComponent initClass
none
()
(static #t))
(def-cppmethod SoGtkComponent getClassTypeId
SoType
()
(static #t))
(def-cppmethod SoGtkComponent getTypeId
SoType
()
(virtual #t))
(def-cppmethod SoGtkComponent show
none
()
(virtual #t))
(def-cppmethod SoGtkComponent hide
none
()
(virtual #t))
(def-cppmethod SoGtkComponent isVisible
(boolean)
()
(scm-name "visible?"))
(def-cppmethod SoGtkComponent getWidget
(GtkWidget)
()
(const #t))
(def-cppmethod SoGtkComponent baseWidget
(GtkWidget)
()
(const #t))
(def-cppmethod SoGtkComponent isTopLevelShell
(boolean)
()
(scm-name "top-level-shell?")
(const #t))
(def-cppmethod SoGtkComponent getShellWidget
(GtkWidget)
()
(const #t))
(def-cppmethod SoGtkComponent getParentWidget
(GtkWidget)
()
(const #t))
(def-cppmethod SoGtkComponent setSize
none
((SbVec2s size)))
(def-cppmethod SoGtkComponent getSize
(val SbVec2s)
()
(const #t))
(def-cppmethod SoGtkComponent setTitle
none
((string title)))
(def-cppmethod SoGtkComponent getTitle
(string)
())
(def-cppmethod SoGtkComponent setIconTitle
none
((string title)))
(def-cppmethod SoGtkComponent getIconTitle
(string)
())
(def-cppmethod SoGtkComponent setWindowCloseCallback
none
((callback proc)))
(def-cppmethod SoGtkComponent getWidgetName
(string)
()
(const #t))
(def-cppmethod SoGtkComponent getClassName
(string)
()
(const #t))
;; -- SoGtkGLWidget --------------------------------------------------------
(def-cppclass SoGtkGLWidget (SoGtkComponent)
(header "<Inventor/Gtk/SoGtkGLWidget.h>")
(abstract #t))
(def-cppconst SoGtkGLWidget glModes
(SO_GL_RGB
SO_GL_DOUBLE
SO_GL_ZBUFFER
SO_GL_OVERLAY
SO_GL_STEREO))
(def-cppmethod SoGtkGLWidget initClass
none
()
(static #t))
(def-cppmethod SoGtkGLWidget getClassTypeId
SoType
()
(static #t))
(def-cppmethod SoGtkGLWidget getTypeId
SoType
()
(virtual #t))
(def-cppmethod SoGtkGLWidget setBorder
none
((boolean border)))
(def-cppmethod SoGtkGLWidget isBorder
(boolean)
()
(scm-name "border?")
(const #t))
(def-cppmethod SoGtkGLWidget setDoubleBuffer
none
((boolean doublebuffer))
(virtual #t))
(def-cppmethod SoGtkGLWidget isDoubleBuffer
(boolean)
()
(scm-name "double-buffer?")
(const #t))
(def-cppmethod SoGtkGLWidget setDrawToFrontBufferEnable
none
((boolean enable)))
; name should change in SoGui libraries
(def-cppmethod SoGtkGLWidget isDrawToFrontBufferEnable
(boolean)
()
(scm-name "draw-to-front-buffer?")
(const #t))
;; -- SoGtkRenderArea ------------------------------------------------------
(def-cppclass SoGtkRenderArea (SoGtkGLWidget)
(header "<Inventor/Gtk/SoGtkRenderArea.h>"))
(def-cppconstr SoGtkRenderArea
((GtkWidget parent (= "NULL"))
(string name (= "NULL"))
(boolean embed (= "FALSE"))
(boolean mouse-input (= "TRUE"))
(boolean keyboard-input (= "TRUE")))
(scm-name "new-SoGtkRenderArea"))
(def-destr SoGtkRenderArea)
(def-cppmethod SoGtkRenderArea initClass
none
()
(static #t))
(def-cppmethod SoGtkRenderArea getClassTypeId
SoType
()
(static #t))
(def-cppmethod SoGtkRenderArea getTypeId
SoType
()
(virtual #t))
(def-cppmethod SoGtkRenderArea setSceneGraph
none
((SoNode scene))
(virtual #t))
(def-cppmethod SoGtkRenderArea getSceneGraph
(SoNode)
()
(virtual #t))
(def-cppmethod SoGtkRenderArea setOverlaySceneGraph
none
((SoNode scene)))
(def-cppmethod SoGtkRenderArea getOverlaySceneGraph
(SoNode)
())
(def-cppmethod SoGtkRenderArea registerDevice
none
((SoGtkDevice device)))
(def-cppmethod SoGtkRenderArea unregisterDevice
none
((SoGtkDevice device)))
(def-cppmethod SoGtkRenderArea setBackgroundColor
none
((SbColor color (ref #t))))
(def-cppmethod SoGtkRenderArea getBackgroundColor
(SbColor (ref #t))
()
(const #t))
(def-cppmethod SoGtkRenderArea setBackgroundIndex
none
((int index)))
(def-cppmethod SoGtkRenderArea getBackgroundIndex
(int)
()
(const #t))
(def-cppmethod SoGtkRenderArea setOverlayBackgroundIndex
none
((int index)))
(def-cppmethod SoGtkRenderArea getOverlayBackgroundIndex
(int)
()
(const #t))
(def-cppmethod SoGtkRenderArea setViewportRegion
none
((SbViewportRegion region (ref #t))))
(def-cppmethod SoGtkRenderArea getViewportRegion
(SbViewportRegion (ref #t))
()
(const #t))
(def-cppmethod SoGtkRenderArea setTransparencyType
none
((int type)))
(def-cppmethod SoGtkRenderArea getTransparencyType
(int)
()
(const #t))
(def-cppmethod SoGtkRenderArea setAntialiasing
none
((boolean smoothing)
(int passes)))
(def-cppmethod SoGtkRenderArea getAntialiasing
none
((boolean smoothing (ref #t) (out #t))
(int passes (ref #t) (out #t)))
(const #t))
(def-cppmethod SoGtkRenderArea setClearBeforeRender
none
((boolean enable)
(boolean zbEnable (= "TRUE"))))
(def-cppmethod SoGtkRenderArea isClearBeforeRender
(boolean)
()
(scm-name "clear-before-render?")
(const #t))
(def-cppmethod SoGtkRenderArea isClearZBufferBeforeRender
(boolean)
()
(scm-name "clear-zbuffer-before-render?")
(const #t))
(def-cppmethod SoGtkRenderArea setClearBeforeOverlayRender
none
((boolean enable)))
(def-cppmethod SoGtkRenderArea isClearBeforeOverlayRender
(boolean)
()
(scm-name "clear-before-overlay-render?")
(const #t))
(def-cppmethod SoGtkRenderArea setAutoRedraw
none
((boolean enable)))
(def-cppmethod SoGtkRenderArea isAutoRedraw
(boolean)
()
(scm-name "auto-redraw?")
(const #t))
(def-cppmethod SoGtkRenderArea setRedrawPriority
none
((int priority)))
(def-cppmethod SoGtkRenderArea getRedrawPriority
(int)
()
(const #t))
(def-cppmethod SoGtkRenderArea getDefaultRedrawPriority
(int)
()
(static #t))
(def-cppmethod SoGtkRenderArea render
none
())
(def-cppmethod SoGtkRenderArea renderOverlay
none
())
(def-cppmethod SoGtkRenderArea scheduleRedraw
none
())
(def-cppmethod SoGtkRenderArea scheduleOverlayRedraw
none
())
(def-cppmethod SoGtkRenderArea redrawOnSelectionChange
none
((SoSelection selection)))
(def-cppmethod SoGtkRenderArea redrawOnOverlaySelectionChange
none
((SoSelection selection)))
(def-cppmethod SoGtkRenderArea setEventCallback
none
((callback proc)))
(def-cppmethod SoGtkRenderArea setSceneManager
none
((SoSceneManager scenemanager)))
(def-cppmethod SoGtkRenderArea getSceneManager
(SoSceneManager)
()
(const #t))
(def-cppmethod SoGtkRenderArea setOverlaySceneManager
none
((SoSceneManager scenemanager)))
(def-cppmethod SoGtkRenderArea getOverlaySceneManager
(SoSceneManager)
()
(const #t))
(def-cppmethod SoGtkRenderArea setGLRenderAction
none
((SoGLRenderAction renderaction))
(scm-name "set-gl-render-action"))
(def-cppmethod SoGtkRenderArea getGLRenderAction
(SoGLRenderAction)
()
(scm-name "get-gl-render-action")
(const #t))
(def-cppmethod SoGtkRenderArea setOverlayGLRenderAction
none
((SoGLRenderAction renderaction))
(scm-name "set-overlay-gl-render-action"))
(def-cppmethod SoGtkRenderAction getOverlayGLRenderAction
(SoGLRenderAction)
()
(scm-name "get-overlay-gl-render-action")
(const #t))
;; -- SoGtkViewer ----------------------------------------------------------
(def-cppclass SoGtkViewer (SoGtkRenderArea)
(header "<Inventor/Gtk/viewers/SoGtkViewer.h>"))
(def-cppconst SoGtkViewer Type
(BROWSER
EDITOR))
(def-cppconst SoGtkViewer DecimationStrategy
(NORMAL
FIXED_NUM_TRIANGLES
FRAMES_PER_SECOND
FIXED_PERCENTAGE))
(def-cppconst SoGtkViewer DrawStyle
(VIEW_AS_IS
VIEW_HIDDEN_LINE
VIEW_NO_TEXTURE
VIEW_LOW_COMPLEXITY
VIEW_LINE
VIEW_POINT
VIEW_BBOX
VIEW_LOW_RES_LINE
VIEW_LOW_RES_POINT
VIEW_SAME_AS_STILL))
(def-cppconst SoGtkViewer DrawType
(STILL
INTERACTIVE))
(def-cppconst SoGtkViewer BufferType
(BUFFER_SINGLE
BUFFER_DOUBLE
BUFFER_INTERACTIVE))
(def-cppmethod SoGtkViewer initClass
none
()
(static #t))
(def-cppmethod SoGtkViewer getClassTypeId
SoType
()
(static #t))
(def-cppmethod SoGtkViewer getTypeId
SoType
()
(virtual #t))
(def-cppmethod SoGtkViewer setCamera
none
((SoCamera camera))
(virtual #t))
(def-cppmethod SoGtkViewer getCamera
(SoCamera)
()
(const #t))
(def-cppmethod SoGtkViewer setCameraType
none
((SoType type))
(virtual #t))
(def-cppmethod SoGtkViewer getCameraType
(SoType)
()
(const #t))
(def-cppmethod SoGtkViewer viewAll
none
()
(virtual #t))
(def-cppmethod SoGtkViewer saveHomePosition
none
()
(virtual #t))
(def-cppmethod SoGtkViewer resetToHomePosition
none
()
(virtual #t))
(def-cppmethod SoGtkViewer setHeadlight
none
((boolean enable))
(virtual #t))
(def-cppmethod SoGtkViewer isHeadlight
(boolean)
()
(scm-name "headlight?")
(const #t))
(def-cppmethod SoGtkViewer getHeadlight
(SoDirectionalLight)
()
(const #t))
(def-cppmethod SoGtkViewer setDrawStyle
none
((int type (choice DrawType))
(int style (choice DrawStyle)))
(virtual #t))
(def-cppmethod SoGtkViewer getDrawStyle
(int (choice DrawStyle))
((int type (choice DrawType)))
(const #t))
(def-cppmethod SoGtkViewer setBufferingType
none
((int type (choice BufferType)))
(virtual #t))
(def-cppmethod SoGtkViewer getBufferingType
(int (choice BufferType))
()
(const #t))
(def-cppmethod SoGtkViewer setViewing
none
((boolean enable))
(virtual))
(def-cppmethod SoGtkViewer isViewing
(boolean)
()
(scm-name "viewing?")
(const #t))
(def-cppmethod SoGtkViewer setCursorEnabled
none
((boolean enable))
(virtual #t))
(def-cppmethod SoGtkViewer isCursorEnabled
(boolean)
()
(scm-name "cursor-enabled?")
(const #t))
(def-cppmethod SoGtkViewer setAutoClipping
none
((boolean enable)))
(def-cppmethod SoGtkViewer isAutoClipping
(boolean)
()
(scm-name "auto-clipping?")
(const #t))
(def-cppmethod SoGtkViewer setStereoViewing
none
((boolean enable))
(virtual #t))
(def-cppmethod SoGtkViewer isStereoViewing
(boolean)
()
(scm-name "stereo-viewing?")
(const #t))
(def-cppmethod SoGtkViewer setStereoOffset
none