This file is indexed.

/usr/share/gtk-doc/html/libgwydgets/Gwy3DView.html is in libgwyddion20-doc 2.34-3ubuntu1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  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
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Gwyddion Widgets Library Reference Manual: Gwy3DView</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="Gwyddion Widgets Library Reference Manual">
<link rel="up" href="Widgets3D.html" title="3D Widgets">
<link rel="prev" href="Widgets3D.html" title="3D Widgets">
<link rel="next" href="Gwy3DWindow.html" title="Gwy3DWindow">
<meta name="generator" content="GTK-Doc V1.19 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><tr valign="middle">
<td width="100%" align="left">
<a href="#" class="shortcut">Top</a>
                   | 
                  <a href="#Gwy3DView.description" class="shortcut">Description</a>
                   | 
                  <a href="#Gwy3DView.object-hierarchy" class="shortcut">Object Hierarchy</a>
                   | 
                  <a href="#Gwy3DView.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
                   | 
                  <a href="#Gwy3DView.properties" class="shortcut">Properties</a>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="Widgets3D.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="Widgets3D.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="Gwy3DWindow.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="Gwy3DView"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="Gwy3DView.top_of_page"></a>Gwy3DView</span></h2>
<p>Gwy3DView — OpenGL 3D data display</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="Gwy3DView.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
#include &lt;libgwydgets/gwydgets.h&gt;

struct              <a class="link" href="Gwy3DView.html#Gwy3DView-struct" title="struct Gwy3DView">Gwy3DView</a>;
struct              <a class="link" href="Gwy3DView.html#Gwy3DViewClass" title="struct Gwy3DViewClass">Gwy3DViewClass</a>;
<a href="http://developer.gnome.org/doc/API/2.0/gtk/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *         <a class="link" href="Gwy3DView.html#gwy-3d-view-new" title="gwy_3d_view_new ()">gwy_3d_view_new</a>                     (<em class="parameter"><code><a href="../libgwyddion/GwyContainer.html"><span class="type">GwyContainer</span></a> *data</code></em>);
const <a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       <a class="link" href="Gwy3DView.html#gwy-3d-view-get-setup-prefix" title="gwy_3d_view_get_setup_prefix ()">gwy_3d_view_get_setup_prefix</a>        (<em class="parameter"><code><a class="link" href="Gwy3DView.html" title="Gwy3DView"><span class="type">Gwy3DView</span></a> *gwy3dview</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="Gwy3DView.html#gwy-3d-view-set-setup-prefix" title="gwy_3d_view_set_setup_prefix ()">gwy_3d_view_set_setup_prefix</a>        (<em class="parameter"><code><a class="link" href="Gwy3DView.html" title="Gwy3DView"><span class="type">Gwy3DView</span></a> *gwy3dview</code></em>,
                                                         <em class="parameter"><code>const <a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>);
const <a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       <a class="link" href="Gwy3DView.html#gwy-3d-view-get-data-key" title="gwy_3d_view_get_data_key ()">gwy_3d_view_get_data_key</a>            (<em class="parameter"><code><a class="link" href="Gwy3DView.html" title="Gwy3DView"><span class="type">Gwy3DView</span></a> *gwy3dview</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="Gwy3DView.html#gwy-3d-view-set-data-key" title="gwy_3d_view_set_data_key ()">gwy_3d_view_set_data_key</a>            (<em class="parameter"><code><a class="link" href="Gwy3DView.html" title="Gwy3DView"><span class="type">Gwy3DView</span></a> *gwy3dview</code></em>,
                                                         <em class="parameter"><code>const <a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="Gwy3DView.html#gwy-3d-view-set-ovlay" title="gwy_3d_view_set_ovlay ()">gwy_3d_view_set_ovlay</a>               (<em class="parameter"><code><a class="link" href="Gwy3DView.html" title="Gwy3DView"><span class="type">Gwy3DView</span></a> *gwy3dview</code></em>,
                                                         <em class="parameter"><code><a class="link" href="GwyPixmapLayer.html" title="GwyPixmapLayer"><span class="type">GwyPixmapLayer</span></a> **ovlays</code></em>,
                                                         <em class="parameter"><code><a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> novlays</code></em>);
const <a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       <a class="link" href="Gwy3DView.html#gwy-3d-view-get-gradient-key" title="gwy_3d_view_get_gradient_key ()">gwy_3d_view_get_gradient_key</a>        (<em class="parameter"><code><a class="link" href="Gwy3DView.html" title="Gwy3DView"><span class="type">Gwy3DView</span></a> *gwy3dview</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="Gwy3DView.html#gwy-3d-view-set-gradient-key" title="gwy_3d_view_set_gradient_key ()">gwy_3d_view_set_gradient_key</a>        (<em class="parameter"><code><a class="link" href="Gwy3DView.html" title="Gwy3DView"><span class="type">Gwy3DView</span></a> *gwy3dview</code></em>,
                                                         <em class="parameter"><code>const <a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>);
const <a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       <a class="link" href="Gwy3DView.html#gwy-3d-view-get-material-key" title="gwy_3d_view_get_material_key ()">gwy_3d_view_get_material_key</a>        (<em class="parameter"><code><a class="link" href="Gwy3DView.html" title="Gwy3DView"><span class="type">Gwy3DView</span></a> *gwy3dview</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="Gwy3DView.html#gwy-3d-view-set-material-key" title="gwy_3d_view_set_material_key ()">gwy_3d_view_set_material_key</a>        (<em class="parameter"><code><a class="link" href="Gwy3DView.html" title="Gwy3DView"><span class="type">Gwy3DView</span></a> *gwy3dview</code></em>,
                                                         <em class="parameter"><code>const <a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>);
<a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>               <a class="link" href="Gwy3DView.html#gwy-3d-view-get-reduced-size" title="gwy_3d_view_get_reduced_size ()">gwy_3d_view_get_reduced_size</a>        (<em class="parameter"><code><a class="link" href="Gwy3DView.html" title="Gwy3DView"><span class="type">Gwy3DView</span></a> *gwy3dview</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="Gwy3DView.html#gwy-3d-view-set-reduced-size" title="gwy_3d_view_set_reduced_size ()">gwy_3d_view_set_reduced_size</a>        (<em class="parameter"><code><a class="link" href="Gwy3DView.html" title="Gwy3DView"><span class="type">Gwy3DView</span></a> *gwy3dview</code></em>,
                                                         <em class="parameter"><code><a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> reduced_size</code></em>);
<a class="link" href="libgwydgets-gwydgetenums.html#Gwy3DMovement" title="enum Gwy3DMovement"><span class="returnvalue">Gwy3DMovement</span></a>       <a class="link" href="Gwy3DView.html#gwy-3d-view-get-movement-type" title="gwy_3d_view_get_movement_type ()">gwy_3d_view_get_movement_type</a>       (<em class="parameter"><code><a class="link" href="Gwy3DView.html" title="Gwy3DView"><span class="type">Gwy3DView</span></a> *gwy3dview</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="Gwy3DView.html#gwy-3d-view-set-movement-type" title="gwy_3d_view_set_movement_type ()">gwy_3d_view_set_movement_type</a>       (<em class="parameter"><code><a class="link" href="Gwy3DView.html" title="Gwy3DView"><span class="type">Gwy3DView</span></a> *gwy3dview</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libgwydgets-gwydgetenums.html#Gwy3DMovement" title="enum Gwy3DMovement"><span class="type">Gwy3DMovement</span></a> movement</code></em>);
<a href="http://developer.gnome.org/doc/API/2.0/gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *         <a class="link" href="Gwy3DView.html#gwy-3d-view-get-pixbuf" title="gwy_3d_view_get_pixbuf ()">gwy_3d_view_get_pixbuf</a>              (<em class="parameter"><code><a class="link" href="Gwy3DView.html" title="Gwy3DView"><span class="type">Gwy3DView</span></a> *gwy3dview</code></em>);
<a class="link" href="Gwy3DLabel.html" title="Gwy3DLabel"><span class="returnvalue">Gwy3DLabel</span></a> *        <a class="link" href="Gwy3DView.html#gwy-3d-view-get-label" title="gwy_3d_view_get_label ()">gwy_3d_view_get_label</a>               (<em class="parameter"><code><a class="link" href="Gwy3DView.html" title="Gwy3DView"><span class="type">Gwy3DView</span></a> *gwy3dview</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libgwydgets-gwydgetenums.html#Gwy3DViewLabel" title="enum Gwy3DViewLabel"><span class="type">Gwy3DViewLabel</span></a> label</code></em>);
<a class="link" href="Gwy3DSetup.html" title="Gwy3DSetup"><span class="returnvalue">Gwy3DSetup</span></a> *        <a class="link" href="Gwy3DView.html#gwy-3d-view-get-setup" title="gwy_3d_view_get_setup ()">gwy_3d_view_get_setup</a>               (<em class="parameter"><code><a class="link" href="Gwy3DView.html" title="Gwy3DView"><span class="type">Gwy3DView</span></a> *gwy3dview</code></em>);
<a href="../libgwyddion/GwyContainer.html"><span class="returnvalue">GwyContainer</span></a> *      <a class="link" href="Gwy3DView.html#gwy-3d-view-get-data" title="gwy_3d_view_get_data ()">gwy_3d_view_get_data</a>                (<em class="parameter"><code><a class="link" href="Gwy3DView.html" title="Gwy3DView"><span class="type">Gwy3DView</span></a> *gwy3dview</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="Gwy3DView.html#gwy-3d-view-get-scale-range" title="gwy_3d_view_get_scale_range ()">gwy_3d_view_get_scale_range</a>         (<em class="parameter"><code><a class="link" href="Gwy3DView.html" title="Gwy3DView"><span class="type">Gwy3DView</span></a> *gwy3dview</code></em>,
                                                         <em class="parameter"><code><a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *min_scale</code></em>,
                                                         <em class="parameter"><code><a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *max_scale</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="Gwy3DView.html#gwy-3d-view-set-scale-range" title="gwy_3d_view_set_scale_range ()">gwy_3d_view_set_scale_range</a>         (<em class="parameter"><code><a class="link" href="Gwy3DView.html" title="Gwy3DView"><span class="type">Gwy3DView</span></a> *gwy3dview</code></em>,
                                                         <em class="parameter"><code><a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> min_scale</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> max_scale</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="Gwy3DView.html#gwy-3d-view-class-disable-axis-drawing" title="gwy_3d_view_class_disable_axis_drawing ()">gwy_3d_view_class_disable_axis_drawing</a>
                                                        (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> disable</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="Gwy3DView.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
  <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
   +----<a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
         +----<a href="/usr/share/gtk-doc/html/gtk2/GtkObject.html">GtkObject</a>
               +----<a href="/usr/share/gtk-doc/html/gtk3/GtkWidget.html">GtkWidget</a>
                     +----Gwy3DView
</pre>
</div>
<div class="refsect1">
<a name="Gwy3DView.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
Gwy3DView implements
 AtkImplementorIface and  <a href="/usr/share/gtk-doc/html/gtk3/GtkBuildable.html">GtkBuildable</a>.</p>
</div>
<div class="refsect1">
<a name="Gwy3DView.properties"></a><h2>Properties</h2>
<pre class="synopsis">
  "<a class="link" href="Gwy3DView.html#Gwy3DView--data-key" title='The "data-key" property'>data-key</a>"                 <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write
  "<a class="link" href="Gwy3DView.html#Gwy3DView--gradient-key" title='The "gradient-key" property'>gradient-key</a>"             <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write
  "<a class="link" href="Gwy3DView.html#Gwy3DView--material-key" title='The "material-key" property'>material-key</a>"             <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write
  "<a class="link" href="Gwy3DView.html#Gwy3DView--movement-type" title='The "movement-type" property'>movement-type</a>"            <a class="link" href="libgwydgets-gwydgetenums.html#Gwy3DMovement" title="enum Gwy3DMovement"><span class="type">Gwy3DMovement</span></a>         : Read / Write
  "<a class="link" href="Gwy3DView.html#Gwy3DView--reduced-size" title='The "reduced-size" property'>reduced-size</a>"             <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a>                 : Read / Write
  "<a class="link" href="Gwy3DView.html#Gwy3DView--setup-prefix" title='The "setup-prefix" property'>setup-prefix</a>"             <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write
</pre>
</div>
<div class="refsect1">
<a name="Gwy3DView.description"></a><h2>Description</h2>
<p>
<a class="link" href="Gwy3DView.html" title="Gwy3DView"><span class="type">Gwy3DView</span></a> displays a data field as a threedimensional heightfield using
OpenGL. You can create a new 3D view for a data container with
<a class="link" href="Gwy3DView.html#gwy-3d-view-new" title="gwy_3d_view_new ()"><code class="function">gwy_3d_view_new()</code></a>.  By default, it inherits properties like palette from
<a class="link" href="GwyDataView.html" title="GwyDataView">data view</a> settings, but supports separate
settings -- see <code class="function">gwy_3d_view_set_palette()</code> et al.
</p>
<p>
<a class="link" href="Gwy3DView.html" title="Gwy3DView"><span class="type">Gwy3DView</span></a> allows the user to interactively rotate, scale, z-scale the data
or move lights, depending on its <a class="link" href="libgwydgets-gwydgetenums.html#Gwy3DMovement" title="enum Gwy3DMovement">movement
state</a>. There are no controls provided for mode change, you have to
provide some yourself and set the movement mode with
<a class="link" href="Gwy3DView.html#gwy-3d-view-set-movement-type" title="gwy_3d_view_set_movement_type ()"><code class="function">gwy_3d_view_set_movement_type()</code></a>.
</p>
<p>
You have initialize GtkGLExt with <a href="/usr/share/gtk-doc/html/gtkglext/gtkglext-gtkglinit.html#gtk-gl-init-check"><code class="function">gtk_gl_init_check()</code></a> and then Gwyddion's
OpenGL with <a class="link" href="libgwydgets-gwydgets.html#gwy-widgets-gl-init" title="gwy_widgets_gl_init ()"><code class="function">gwy_widgets_gl_init()</code></a> before you can use <a class="link" href="Gwy3DView.html" title="Gwy3DView"><span class="type">Gwy3DView</span></a>.  These
functions may not always succeed, see their description for more.  If
OpenGL initialization fails (possibly because its support was not compiled
in) <a class="link" href="Gwy3DView.html" title="Gwy3DView"><span class="type">Gwy3DView</span></a> cannot be even instantiated.
</p>
</div>
<div class="refsect1">
<a name="Gwy3DView.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="Gwy3DView-struct"></a><h3>struct Gwy3DView</h3>
<pre class="programlisting">struct Gwy3DView;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="Gwy3DViewClass"></a><h3>struct Gwy3DViewClass</h3>
<pre class="programlisting">struct Gwy3DViewClass {
    GtkWidgetClass parent_class;

    gpointer list_pool;

    void (*reserved1)(void);
    void (*reserved2)(void);
    void (*reserved3)(void);
    void (*reserved4)(void);
    void (*reserved5)(void);
    void (*reserved6)(void);
};
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="gwy-3d-view-new"></a><h3>gwy_3d_view_new ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gtk3/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *         gwy_3d_view_new                     (<em class="parameter"><code><a href="../libgwyddion/GwyContainer.html"><span class="type">GwyContainer</span></a> *data</code></em>);</pre>
<p>
Creates a new threedimensional OpenGL display of <em class="parameter"><code>data</code></em>.
</p>
<p>
The widget is initialized from container <em class="parameter"><code>data</code></em>.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
<td>A <a href="../libgwyddion/GwyContainer.html"><span class="type">GwyContainer</span></a> containing the data to display.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The new OpenGL 3D widget as a <a href="/usr/share/gtk-doc/html/gtk3/GtkWidget.html"><span class="type">GtkWidget</span></a>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-3d-view-get-setup-prefix"></a><h3>gwy_3d_view_get_setup_prefix ()</h3>
<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       gwy_3d_view_get_setup_prefix        (<em class="parameter"><code><a class="link" href="Gwy3DView.html" title="Gwy3DView"><span class="type">Gwy3DView</span></a> *gwy3dview</code></em>);</pre>
<p>
Gets prefix identifying 3D view setup in the container.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>gwy3dview</code></em> :</span></p></td>
<td>A 3D data view widget.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The setup key prefix.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-3d-view-set-setup-prefix"></a><h3>gwy_3d_view_set_setup_prefix ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gwy_3d_view_set_setup_prefix        (<em class="parameter"><code><a class="link" href="Gwy3DView.html" title="Gwy3DView"><span class="type">Gwy3DView</span></a> *gwy3dview</code></em>,
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>);</pre>
<p>
Sets the prefix of 3D view parameters in the container.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>gwy3dview</code></em> :</span></p></td>
<td>A 3D data view widget.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
<td>Container string prefix for keys identifying the view setup
parameters.  The <a class="link" href="Gwy3DSetup.html" title="Gwy3DSetup"><span class="type">Gwy3DSetup</span></a> is stored at key
<code class="literal">"/setup"</code> under this prefix.  Label objects are
also stored under this prefix.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-3d-view-get-data-key"></a><h3>gwy_3d_view_get_data_key ()</h3>
<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       gwy_3d_view_get_data_key            (<em class="parameter"><code><a class="link" href="Gwy3DView.html" title="Gwy3DView"><span class="type">Gwy3DView</span></a> *gwy3dview</code></em>);</pre>
<p>
Gets the container key identifying the data field to visualize in a 3D view.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>gwy3dview</code></em> :</span></p></td>
<td>A 3D data view widget.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The string key, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if it isn't set.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-3d-view-set-data-key"></a><h3>gwy_3d_view_set_data_key ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gwy_3d_view_set_data_key            (<em class="parameter"><code><a class="link" href="Gwy3DView.html" title="Gwy3DView"><span class="type">Gwy3DView</span></a> *gwy3dview</code></em>,
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>);</pre>
<p>
Sets the container key identifying the data field to visualize in a 3D view.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>gwy3dview</code></em> :</span></p></td>
<td>A 3D data view widget.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
<td>Container string key identifying the data field to visualize.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-3d-view-set-ovlay"></a><h3>gwy_3d_view_set_ovlay ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gwy_3d_view_set_ovlay               (<em class="parameter"><code><a class="link" href="Gwy3DView.html" title="Gwy3DView"><span class="type">Gwy3DView</span></a> *gwy3dview</code></em>,
                                                         <em class="parameter"><code><a class="link" href="GwyPixmapLayer.html" title="GwyPixmapLayer"><span class="type">GwyPixmapLayer</span></a> **ovlays</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> novlays</code></em>);</pre>
<p>
Sets overlays for a 3D view.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>gwy3dview</code></em> :</span></p></td>
<td>A 3D data view widget.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>ovlays</code></em> :</span></p></td>
<td>List of <em class="parameter"><code>novlays</code></em> pixmap layers usable as overlays.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>novlays</code></em> :</span></p></td>
<td>Number of items in <em class="parameter"><code>ovlays</code></em>.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.26</p>
</div>
<hr>
<div class="refsect2">
<a name="gwy-3d-view-get-gradient-key"></a><h3>gwy_3d_view_get_gradient_key ()</h3>
<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       gwy_3d_view_get_gradient_key        (<em class="parameter"><code><a class="link" href="Gwy3DView.html" title="Gwy3DView"><span class="type">Gwy3DView</span></a> *gwy3dview</code></em>);</pre>
<p>
Gets the container key identifying the colour gradient used to visualize
data in a 3D view.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>gwy3dview</code></em> :</span></p></td>
<td>A 3D data view widget.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The string key, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if it isn't set.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-3d-view-set-gradient-key"></a><h3>gwy_3d_view_set_gradient_key ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gwy_3d_view_set_gradient_key        (<em class="parameter"><code><a class="link" href="Gwy3DView.html" title="Gwy3DView"><span class="type">Gwy3DView</span></a> *gwy3dview</code></em>,
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>);</pre>
<p>
Sets the container key identifying the color gradient to use to visualize
data in a 3D view.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>gwy3dview</code></em> :</span></p></td>
<td>A 3D data view widget.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
<td>Container string key identifying the color gradient to use for
gradient visualization mode.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-3d-view-get-material-key"></a><h3>gwy_3d_view_get_material_key ()</h3>
<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       gwy_3d_view_get_material_key        (<em class="parameter"><code><a class="link" href="Gwy3DView.html" title="Gwy3DView"><span class="type">Gwy3DView</span></a> *gwy3dview</code></em>);</pre>
<p>
Gets the key identifying the GL material used to visualize data in a 3D
view.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>gwy3dview</code></em> :</span></p></td>
<td>A 3D data view widget.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The string key, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if it isn't set.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-3d-view-set-material-key"></a><h3>gwy_3d_view_set_material_key ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gwy_3d_view_set_material_key        (<em class="parameter"><code><a class="link" href="Gwy3DView.html" title="Gwy3DView"><span class="type">Gwy3DView</span></a> *gwy3dview</code></em>,
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>);</pre>
<p>
Sets the container key of the GL material used to visualize data in a 3D
view.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>gwy3dview</code></em> :</span></p></td>
<td>A 3D data view widget.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
<td>Container string key identifying the color material to use for
material visualization mode.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-3d-view-get-reduced-size"></a><h3>gwy_3d_view_get_reduced_size ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>               gwy_3d_view_get_reduced_size        (<em class="parameter"><code><a class="link" href="Gwy3DView.html" title="Gwy3DView"><span class="type">Gwy3DView</span></a> *gwy3dview</code></em>);</pre>
<p>
Returns the reduced data size of a 3D view.
</p>
<p>
See <a class="link" href="Gwy3DView.html#gwy-3d-view-set-reduced-size" title="gwy_3d_view_set_reduced_size ()"><code class="function">gwy_3d_view_set_reduced_size()</code></a> for details.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>gwy3dview</code></em> :</span></p></td>
<td>A 3D data view widget.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The reduced data size.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-3d-view-set-reduced-size"></a><h3>gwy_3d_view_set_reduced_size ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gwy_3d_view_set_reduced_size        (<em class="parameter"><code><a class="link" href="Gwy3DView.html" title="Gwy3DView"><span class="type">Gwy3DView</span></a> *gwy3dview</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> reduced_size</code></em>);</pre>
<p>
Sets the reduced data size of a 3D view.
</p>
<p>
Data larger than reduced size are show downsampled during transforms and
other changes to speed up the rendering.  Final, full-size rendering is
then performed after a timeout.
</p>
<p>
In case of the original data are not square, the <em class="parameter"><code>reduced_size</code></em> is the
greater size of the downsampled data, the other dimension is proportional
to the original size.
</p>
<p>
Changes in reduced size do not cause immediate redraw when an operation
is pending and the view is shown in reduced size.  It only affects future
downsampling.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>gwy3dview</code></em> :</span></p></td>
<td>A 3D data view widget.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>reduced_size</code></em> :</span></p></td>
<td>New reduced data size.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-3d-view-get-movement-type"></a><h3>gwy_3d_view_get_movement_type ()</h3>
<pre class="programlisting"><a class="link" href="libgwydgets-gwydgetenums.html#Gwy3DMovement" title="enum Gwy3DMovement"><span class="returnvalue">Gwy3DMovement</span></a>       gwy_3d_view_get_movement_type       (<em class="parameter"><code><a class="link" href="Gwy3DView.html" title="Gwy3DView"><span class="type">Gwy3DView</span></a> *gwy3dview</code></em>);</pre>
<p>
Returns a movement type describing actual type of response on
the mouse motion event.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>gwy3dview</code></em> :</span></p></td>
<td>A 3D data view widget.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>Actual type of response on the mouse motion event</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-3d-view-set-movement-type"></a><h3>gwy_3d_view_set_movement_type ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gwy_3d_view_set_movement_type       (<em class="parameter"><code><a class="link" href="Gwy3DView.html" title="Gwy3DView"><span class="type">Gwy3DView</span></a> *gwy3dview</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libgwydgets-gwydgetenums.html#Gwy3DMovement" title="enum Gwy3DMovement"><span class="type">Gwy3DMovement</span></a> movement</code></em>);</pre>
<p>
Sets the type of widget response on the mouse motion event.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>gwy3dview</code></em> :</span></p></td>
<td>A 3D data view widget.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>movement</code></em> :</span></p></td>
<td>A new type of response on the mouse motion event.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-3d-view-get-pixbuf"></a><h3>gwy_3d_view_get_pixbuf ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *         gwy_3d_view_get_pixbuf              (<em class="parameter"><code><a class="link" href="Gwy3DView.html" title="Gwy3DView"><span class="type">Gwy3DView</span></a> *gwy3dview</code></em>);</pre>
<p>
Copies the contents of the framebuffer to the GdkPixbuf.
</p>
<p>
The size of the pixbuf is currently indentical with the size of the widget.
<em class="parameter"><code>xres</code></em> and <em class="parameter"><code>yres</code></em> will be implemented to set the resolution of the pixbuf.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>gwy3dview</code></em> :</span></p></td>
<td>A 3D data view widget.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A newly allocated GdkPixbuf with copy of the framebuffer.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-3d-view-get-label"></a><h3>gwy_3d_view_get_label ()</h3>
<pre class="programlisting"><a class="link" href="Gwy3DLabel.html" title="Gwy3DLabel"><span class="returnvalue">Gwy3DLabel</span></a> *        gwy_3d_view_get_label               (<em class="parameter"><code><a class="link" href="Gwy3DView.html" title="Gwy3DView"><span class="type">Gwy3DView</span></a> *gwy3dview</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libgwydgets-gwydgetenums.html#Gwy3DViewLabel" title="enum Gwy3DViewLabel"><span class="type">Gwy3DViewLabel</span></a> label</code></em>);</pre>
<p>
Gets requested 3D label object of a 3D view.
</p>
<p>
This is a convenience method that can be used instead of fetching the label
object from the data container.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>gwy3dview</code></em> :</span></p></td>
<td>A 3D data view widget.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>label</code></em> :</span></p></td>
<td>Label type to obtain.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The 3D label object representing <em class="parameter"><code>label</code></em> in <em class="parameter"><code>gwy3dview</code></em>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-3d-view-get-setup"></a><h3>gwy_3d_view_get_setup ()</h3>
<pre class="programlisting"><a class="link" href="Gwy3DSetup.html" title="Gwy3DSetup"><span class="returnvalue">Gwy3DSetup</span></a> *        gwy_3d_view_get_setup               (<em class="parameter"><code><a class="link" href="Gwy3DView.html" title="Gwy3DView"><span class="type">Gwy3DView</span></a> *gwy3dview</code></em>);</pre>
<p>
Gets the 3D setup object of a 3D view.
</p>
<p>
This is a convenience method that can be used instead of fetching the setup
object from the data container.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>gwy3dview</code></em> :</span></p></td>
<td>A 3D data view widget.</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-3d-view-get-data"></a><h3>gwy_3d_view_get_data ()</h3>
<pre class="programlisting"><a href="../libgwyddion/GwyContainer.html"><span class="returnvalue">GwyContainer</span></a> *      gwy_3d_view_get_data                (<em class="parameter"><code><a class="link" href="Gwy3DView.html" title="Gwy3DView"><span class="type">Gwy3DView</span></a> *gwy3dview</code></em>);</pre>
<p>
Returns the data container this 3D view displays.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>gwy3dview</code></em> :</span></p></td>
<td>A 3D data view widget.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The container as a <a href="../libgwyddion/GwyContainer.html"><span class="type">GwyContainer</span></a>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-3d-view-get-scale-range"></a><h3>gwy_3d_view_get_scale_range ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gwy_3d_view_get_scale_range         (<em class="parameter"><code><a class="link" href="Gwy3DView.html" title="Gwy3DView"><span class="type">Gwy3DView</span></a> *gwy3dview</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *min_scale</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *max_scale</code></em>);</pre>
<p>
Obtains the minimum and maximum zoom of a 3D data view
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>gwy3dview</code></em> :</span></p></td>
<td>A 3D data view widget.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>min_scale</code></em> :</span></p></td>
<td>Location to put minimum scale, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>max_scale</code></em> :</span></p></td>
<td>Location to put maximum scale, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-3d-view-set-scale-range"></a><h3>gwy_3d_view_set_scale_range ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gwy_3d_view_set_scale_range         (<em class="parameter"><code><a class="link" href="Gwy3DView.html" title="Gwy3DView"><span class="type">Gwy3DView</span></a> *gwy3dview</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> min_scale</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> max_scale</code></em>);</pre>
<p>
Sets the minimum and maximum zoom of a 3D data view.
</p>
<p>
Recommended zoom values are 0.5 - 5.0.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>gwy3dview</code></em> :</span></p></td>
<td>A 3D data view widget.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>min_scale</code></em> :</span></p></td>
<td>Minimum zoom of the 3D data view, pass 0.0 to keep the current
value.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>max_scale</code></em> :</span></p></td>
<td>Maximum zoom of the 3D data view, pass 0.0 to keep the current
value.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-3d-view-class-disable-axis-drawing"></a><h3>gwy_3d_view_class_disable_axis_drawing ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gwy_3d_view_class_disable_axis_drawing
                                                        (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> disable</code></em>);</pre>
<p>
Globally disables drawing of 3D view axes.
</p>
<p>
If axis drawing is disabled, axes are never drawn.  If it is not disabled,
their rendering depends on the 3D view setup.
</p>
<p>
This function is a hack and exists to work around various GL implementations
that crash on pixmap drawing operations.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>disable</code></em> :</span></p></td>
<td>
<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to disable 3D view axes globally, <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> to enable them.</td>
</tr></tbody>
</table></div>
<p class="since">Since 2.14</p>
</div>
</div>
<div class="refsect1">
<a name="Gwy3DView.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="Gwy3DView--data-key"></a><h3>The <code class="literal">"data-key"</code> property</h3>
<pre class="programlisting">  "data-key"                 <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write</pre>
<p>Key identifying data field in container.</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="Gwy3DView--gradient-key"></a><h3>The <code class="literal">"gradient-key"</code> property</h3>
<pre class="programlisting">  "gradient-key"             <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write</pre>
<p>Key identifying color gradient in container.</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="Gwy3DView--material-key"></a><h3>The <code class="literal">"material-key"</code> property</h3>
<pre class="programlisting">  "material-key"             <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write</pre>
<p>Key identifying GL material in container.</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="Gwy3DView--movement-type"></a><h3>The <code class="literal">"movement-type"</code> property</h3>
<pre class="programlisting">  "movement-type"            <a class="link" href="libgwydgets-gwydgetenums.html#Gwy3DMovement" title="enum Gwy3DMovement"><span class="type">Gwy3DMovement</span></a>         : Read / Write</pre>
<p>
The :movement-type property represents type of action on user pointer
drag.
</p>
<p>Default value: GWY_3D_MOVEMENT_NONE</p>
</div>
<hr>
<div class="refsect2">
<a name="Gwy3DView--reduced-size"></a><h3>The <code class="literal">"reduced-size"</code> property</h3>
<pre class="programlisting">  "reduced-size"             <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a>                 : Read / Write</pre>
<p>The size of downsampled data in quick view.</p>
<p>Allowed values: [2,G_MAXINT]</p>
<p>Default value: 96</p>
</div>
<hr>
<div class="refsect2">
<a name="Gwy3DView--setup-prefix"></a><h3>The <code class="literal">"setup-prefix"</code> property</h3>
<pre class="programlisting">  "setup-prefix"             <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write</pre>
<p>Key prefix identifying view settings and labels in container.</p>
<p>Default value: NULL</p>
</div>
</div>
<div class="refsect1">
<a name="Gwy3DView.see-also"></a><h2>See Also</h2>
<a class="link" href="Gwy3DWindow.html" title="Gwy3DWindow"><span class="type">Gwy3DWindow</span></a> -- window combining 3D view with controls,
           <a href="../libgwydraw/GwyGLMaterial.html"><span class="type">GwyGLMaterial</span></a> -- OpenGL materials,
           <a class="link" href="Gwy3DLabel.html" title="Gwy3DLabel"><span class="type">Gwy3DLabel</span></a> -- Labels on 3D view,
           <a class="link" href="Gwy3DSetup.html" title="Gwy3DSetup"><span class="type">Gwy3DSetup</span></a> -- 3D scene setup
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.19</div>
</body>
</html>