File: v-sim-surfaces.html

package info (click to toggle)
v-sim 3.6.0-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 15,860 kB
  • sloc: ansic: 75,222; sh: 10,239; makefile: 580; python: 572; cpp: 353; xml: 130
file content (1155 lines) | stat: -rw-r--r-- 68,289 bytes parent folder | download
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
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>surfaces</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="index.html" title="V_Sim API - Reference Manual">
<link rel="up" href="ch06.html" title="Extra functionalities">
<link rel="prev" href="v-sim-isoline.html" title="isoline">
<link rel="next" href="v-sim-surfaces-points.html" title="surfaces_points">
<meta name="generator" content="GTK-Doc V1.14 (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="2">
<tr valign="middle">
<td><a accesskey="p" href="v-sim-isoline.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="ch06.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">V_Sim API - Reference Manual</th>
<td><a accesskey="n" href="v-sim-surfaces-points.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#v-sim-surfaces.synopsis" class="shortcut">Top</a>
                   | 
                  <a href="#v-sim-surfaces.description" class="shortcut">Description</a>
</td></tr>
</table>
<div class="refentry" title="surfaces">
<a name="v-sim-surfaces"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="v-sim-surfaces.top_of_page"></a>surfaces</span></h2>
<p>surfaces — Supports loading of .surf files and drawing of
surfaces through OpenGL.</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv" title="Synopsis">
<a name="v-sim-surfaces.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">                    <a class="link" href="v-sim-surfaces.html#Surfaces" title="Surfaces">Surfaces</a>;
struct              <a class="link" href="v-sim-surfaces.html#SurfacesOrder-struct" title="struct SurfacesOrder_struct">SurfacesOrder_struct</a>;
typedef             <a class="link" href="v-sim-surfaces.html#SurfacesOrder" title="SurfacesOrder">SurfacesOrder</a>;
#define             <a class="link" href="v-sim-surfaces.html#VISU-ERROR-ISOSURFACES:CAPS" title="VISU_ERROR_ISOSURFACES">VISU_ERROR_ISOSURFACES</a>
<a href="/usr/share/gtk-doc/html/glib/glib-Quarks.html#GQuark"><span class="returnvalue">GQuark</span></a>              <a class="link" href="v-sim-surfaces.html#isosurfacesGet-quark" title="isosurfacesGet_quark ()">isosurfacesGet_quark</a>                (<em class="parameter"><code><span class="type">void</span></code></em>);
#define             <a class="link" href="v-sim-surfaces.html#ISOSURFACES-PROPERTY-POTENTIAL:CAPS" title="ISOSURFACES_PROPERTY_POTENTIAL">ISOSURFACES_PROPERTY_POTENTIAL</a>
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="v-sim-surfaces.html#isosurfacesGet-drawIntra" title="isosurfacesGet_drawIntra ()">isosurfacesGet_drawIntra</a>            (<em class="parameter"><code><span class="type">void</span></code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="v-sim-surfaces.html#isosurfacesSet-drawIntra" title="isosurfacesSet_drawIntra ()">isosurfacesSet_drawIntra</a>            (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> status</code></em>);
<a class="link" href="v-sim-surfaces.html#Surfaces" title="Surfaces"><span class="returnvalue">Surfaces</span></a>*           <a class="link" href="v-sim-surfaces.html#isosurfacesNew" title="isosurfacesNew ()">isosurfacesNew</a>                      (<em class="parameter"><code><span class="type">int</span> bufferSize</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="v-sim-surfaces.html#isosurfacesAllocate" title="isosurfacesAllocate ()">isosurfacesAllocate</a>                 (<em class="parameter"><code><a class="link" href="v-sim-surfaces.html#Surfaces" title="Surfaces"><span class="type">Surfaces</span></a> *surf</code></em>,
                                                         <em class="parameter"><code><span class="type">int</span> nsurf</code></em>,
                                                         <em class="parameter"><code><span class="type">int</span> npolys</code></em>,
                                                         <em class="parameter"><code><span class="type">int</span> npoints</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="v-sim-surfaces.html#isosurfacesAddSurfaces" title="isosurfacesAddSurfaces ()">isosurfacesAddSurfaces</a>              (<em class="parameter"><code><a class="link" href="v-sim-surfaces.html#Surfaces" title="Surfaces"><span class="type">Surfaces</span></a> *surf</code></em>,
                                                         <em class="parameter"><code><span class="type">int</span> nsurf</code></em>,
                                                         <em class="parameter"><code><span class="type">int</span> npolys</code></em>,
                                                         <em class="parameter"><code><span class="type">int</span> npoints</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="v-sim-surfaces.html#isosurfacesFree" title="isosurfacesFree ()">isosurfacesFree</a>                     (<em class="parameter"><code><a class="link" href="v-sim-surfaces.html#Surfaces" title="Surfaces"><span class="type">Surfaces</span></a> *surf</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="v-sim-surfaces.html#isosurfacesLoad-file" title="isosurfacesLoad_file ()">isosurfacesLoad_file</a>                (<em class="parameter"><code>const <span class="type">char</span> *file</code></em>,
                                                         <em class="parameter"><code><a class="link" href="v-sim-surfaces.html#Surfaces" title="Surfaces"><span class="type">Surfaces</span></a> **surf</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="v-sim-surfaces.html#isoSurfacesSet-fitToBox" title="isoSurfacesSet_fitToBox ()">isoSurfacesSet_fitToBox</a>             (<em class="parameter"><code><a class="link" href="v-sim-visu-data.html#VisuData"><span class="type">VisuData</span></a> *data</code></em>,
                                                         <em class="parameter"><code><a class="link" href="v-sim-surfaces.html#Surfaces" title="Surfaces"><span class="type">Surfaces</span></a> *surf</code></em>);
<a class="link" href="v-sim-surfaces.html#SurfacesOrder" title="SurfacesOrder"><span class="returnvalue">SurfacesOrder</span></a>*      <a class="link" href="v-sim-surfaces.html#isosurfacesOrder-new" title="isosurfacesOrder_new ()">isosurfacesOrder_new</a>                (<em class="parameter"><code><span class="type">void</span></code></em>);
<span class="returnvalue">void</span>                <a class="link" href="v-sim-surfaces.html#isosurfacesOrder-free" title="isosurfacesOrder_free ()">isosurfacesOrder_free</a>               (<em class="parameter"><code><a class="link" href="v-sim-surfaces.html#SurfacesOrder" title="SurfacesOrder"><span class="type">SurfacesOrder</span></a> *order</code></em>);
<span class="returnvalue">int</span>                 <a class="link" href="v-sim-surfaces.html#isosurfacesGet-nbSurfaces" title="isosurfacesGet_nbSurfaces ()">isosurfacesGet_nbSurfaces</a>           (<em class="parameter"><code><a class="link" href="v-sim-surfaces.html#Surfaces" title="Surfaces"><span class="type">Surfaces</span></a> *surf</code></em>);
const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a>*        <a class="link" href="v-sim-surfaces.html#isosurfacesGet-surfaceName" title="isosurfacesGet_surfaceName ()">isosurfacesGet_surfaceName</a>          (<em class="parameter"><code><a class="link" href="v-sim-surfaces.html#Surfaces" title="Surfaces"><span class="type">Surfaces</span></a> *surf</code></em>,
                                                         <em class="parameter"><code><span class="type">int</span> surf_index</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="v-sim-surfaces.html#isosurfacesGet-surfaceRendered" title="isosurfacesGet_surfaceRendered ()">isosurfacesGet_surfaceRendered</a>      (<em class="parameter"><code><a class="link" href="v-sim-surfaces.html#Surfaces" title="Surfaces"><span class="type">Surfaces</span></a> *surf</code></em>,
                                                         <em class="parameter"><code><span class="type">int</span> surf_index</code></em>);
<a class="link" href="v-sim-surfaces-resources.html#VisuSurfacesResources" title="VisuSurfacesResources"><span class="returnvalue">VisuSurfacesResources</span></a>* <a class="link" href="v-sim-surfaces.html#isosurfacesGet-surfaceResource" title="isosurfacesGet_surfaceResource ()">isosurfacesGet_surfaceResource</a>   (<em class="parameter"><code><a class="link" href="v-sim-surfaces.html#Surfaces" title="Surfaces"><span class="type">Surfaces</span></a> *surf</code></em>,
                                                         <em class="parameter"><code><span class="type">int</span> surf_index</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="v-sim-surfaces.html#isosurfacesSet-surfaceResource" title="isosurfacesSet_surfaceResource ()">isosurfacesSet_surfaceResource</a>      (<em class="parameter"><code><a class="link" href="v-sim-surfaces.html#Surfaces" title="Surfaces"><span class="type">Surfaces</span></a> *surf</code></em>,
                                                         <em class="parameter"><code><span class="type">int</span> surf_index</code></em>,
                                                         <em class="parameter"><code><a class="link" href="v-sim-surfaces-resources.html#VisuSurfacesResources" title="VisuSurfacesResources"><span class="type">VisuSurfacesResources</span></a> *res</code></em>);
<span class="returnvalue">int</span>                 <a class="link" href="v-sim-surfaces.html#isosurfacesGet-surfaceId" title="isosurfacesGet_surfaceId ()">isosurfacesGet_surfaceId</a>            (<em class="parameter"><code><a class="link" href="v-sim-surfaces.html#Surfaces" title="Surfaces"><span class="type">Surfaces</span></a> *surf</code></em>,
                                                         <em class="parameter"><code><span class="type">int</span> i</code></em>);
<span class="returnvalue">int</span>*                <a class="link" href="v-sim-surfaces.html#isosurfacesGet-surfaceSortedById" title="isosurfacesGet_surfaceSortedById ()">isosurfacesGet_surfaceSortedById</a>    (<em class="parameter"><code><a class="link" href="v-sim-surfaces.html#Surfaces" title="Surfaces"><span class="type">Surfaces</span></a> *surf</code></em>);
<span class="returnvalue">int</span>                 <a class="link" href="v-sim-surfaces.html#isosurfacesGet-newId" title="isosurfacesGet_newId ()">isosurfacesGet_newId</a>                (<em class="parameter"><code><a class="link" href="v-sim-surfaces.html#Surfaces" title="Surfaces"><span class="type">Surfaces</span></a> *surf</code></em>);
<span class="returnvalue">int</span>                 <a class="link" href="v-sim-surfaces.html#isosurfacesGet-surfacePosition" title="isosurfacesGet_surfacePosition ()">isosurfacesGet_surfacePosition</a>      (<em class="parameter"><code><a class="link" href="v-sim-surfaces.html#Surfaces" title="Surfaces"><span class="type">Surfaces</span></a> *surf</code></em>,
                                                         <em class="parameter"><code><span class="type">int</span> id</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="v-sim-surfaces.html#isosurfacesOrder-polygons" title="isosurfacesOrder_polygons ()">isosurfacesOrder_polygons</a>           (<em class="parameter"><code><a class="link" href="v-sim-surfaces.html#SurfacesOrder" title="SurfacesOrder"><span class="type">SurfacesOrder</span></a> *order</code></em>,
                                                         <em class="parameter"><code><a class="link" href="v-sim-surfaces.html#Surfaces" title="Surfaces"><span class="type">Surfaces</span></a> *surf[]</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="v-sim-surfaces.html#isosurfacesDraw-surfaces" title="isosurfacesDraw_surfaces ()">isosurfacesDraw_surfaces</a>            (<em class="parameter"><code><span class="type">int</span> openGLId</code></em>,
                                                         <em class="parameter"><code><a class="link" href="v-sim-surfaces.html#Surfaces" title="Surfaces"><span class="type">Surfaces</span></a> *surf[]</code></em>,
                                                         <em class="parameter"><code><a class="link" href="v-sim-surfaces.html#SurfacesOrder" title="SurfacesOrder"><span class="type">SurfacesOrder</span></a> *order</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="v-sim-surfaces.html#isosurfacesDuplicate" title="isosurfacesDuplicate ()">isosurfacesDuplicate</a>                (<em class="parameter"><code><span class="type">int</span> totalList</code></em>,
                                                         <em class="parameter"><code><span class="type">int</span> simpleBlockList</code></em>,
                                                         <em class="parameter"><code><a class="link" href="v-sim-visu-data.html#VisuData"><span class="type">VisuData</span></a> *dataObj</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> reorder</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="v-sim-surfaces.html#isosurfacesSet-box" title="isosurfacesSet_box ()">isosurfacesSet_box</a>                  (<em class="parameter"><code><a class="link" href="v-sim-surfaces.html#Surfaces" title="Surfaces"><span class="type">Surfaces</span></a> *surf</code></em>,
                                                         <em class="parameter"><code><span class="type">double</span> box[6]</code></em>);
<span class="returnvalue">double</span>*             <a class="link" href="v-sim-surfaces.html#isosurfacesGet-box" title="isosurfacesGet_box ()">isosurfacesGet_box</a>                  (<em class="parameter"><code><a class="link" href="v-sim-surfaces.html#Surfaces" title="Surfaces"><span class="type">Surfaces</span></a> *surf</code></em>);
<span class="returnvalue">float</span>*              <a class="link" href="v-sim-surfaces.html#isosurfacesGet-floatProperty" title="isosurfacesGet_floatProperty ()">isosurfacesGet_floatProperty</a>        (<em class="parameter"><code><a class="link" href="v-sim-surfaces.html#Surfaces" title="Surfaces"><span class="type">Surfaces</span></a> *surf</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> *name</code></em>);
<span class="returnvalue">float</span>*              <a class="link" href="v-sim-surfaces.html#isosurfacesAdd-floatProperty" title="isosurfacesAdd_floatProperty ()">isosurfacesAdd_floatProperty</a>        (<em class="parameter"><code><a class="link" href="v-sim-surfaces.html#Surfaces" title="Surfaces"><span class="type">Surfaces</span></a> *surf</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> *name</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="v-sim-surfaces.html#isosurfacesGet-floatPropertyValue" title="isosurfacesGet_floatPropertyValue ()">isosurfacesGet_floatPropertyValue</a>   (<em class="parameter"><code><a class="link" href="v-sim-surfaces.html#Surfaces" title="Surfaces"><span class="type">Surfaces</span></a> *surf</code></em>,
                                                         <em class="parameter"><code><span class="type">int</span> idSurf</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> *name</code></em>,
                                                         <em class="parameter"><code><span class="type">float</span> *value</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="v-sim-surfaces.html#isosurfacesHide" title="isosurfacesHide ()">isosurfacesHide</a>                     (<em class="parameter"><code><a class="link" href="v-sim-surfaces.html#Surfaces" title="Surfaces"><span class="type">Surfaces</span></a> *surf</code></em>,
                                                         <em class="parameter"><code><a class="link" href="v-sim-plane.html#Plane"><span class="type">Plane</span></a> **planes</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="v-sim-surfaces.html#isosurfacesRemove" title="isosurfacesRemove ()">isosurfacesRemove</a>                   (<em class="parameter"><code><a class="link" href="v-sim-surfaces.html#Surfaces" title="Surfaces"><span class="type">Surfaces</span></a> *surf</code></em>,
                                                         <em class="parameter"><code><span class="type">int</span> idSurf</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="v-sim-surfaces.html#isosurfacesCheck-consistency" title="isosurfacesCheck_consistency ()">isosurfacesCheck_consistency</a>        (<em class="parameter"><code><a class="link" href="v-sim-surfaces.html#Surfaces" title="Surfaces"><span class="type">Surfaces</span></a> *surf</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="v-sim-surfaces.html#isosurfacesInit" title="isosurfacesInit ()">isosurfacesInit</a>                     (<em class="parameter"><code><span class="type">void</span></code></em>);
<span class="returnvalue">void</span>                <a class="link" href="v-sim-surfaces.html#isosurfacesSet-showAll" title="isosurfacesSet_showAll ()">isosurfacesSet_showAll</a>              (<em class="parameter"><code><a class="link" href="v-sim-surfaces.html#Surfaces" title="Surfaces"><span class="type">Surfaces</span></a> *surf</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> show</code></em>);
</pre>
</div>
<div class="refsect1" title="Description">
<a name="v-sim-surfaces.description"></a><h2>Description</h2>
<p>
</p>
<p>Originally written by Luc Billard for his Visualize program. This
module allows loading of .surf files to draw scalar fields on top of
the current display scene. .surf files are text files which specs are
the following :
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem"><p>
1st line is arbitrary
</p></li>
<li class="listitem"><p>
2nd line must contain 3 real (float) values: dxx dyx dyy
</p></li>
<li class="listitem"><p>
3rd line must contain 3 real (float) values: dzx dzy dzz
</p></li>
<li class="listitem"><p>
4th line must contain 3 positive integers which
represents respectively the number of surfaces, the total number of
polys, and the total number of points
</p></li>
<li class="listitem">
<p>
Then, for each of these surfaces :      
    
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="circle">
<li class="listitem"><p>
next line must contain the name of the surface : it is a
string which should match the pattern surface_*
</p></li>
<li class="listitem"><p>
next line must contain 2 positive integer values: the number of polys
(num_polys) and
the number of points (num_points) used by the surface
</p></li>
<li class="listitem"><p>
each of the following num_polys lines must match the pattern 
[n i_1 i_2 i_3 ... i_n] where n is the number of vertices in the poly (n &gt;= 3)
and [i_1 i_2 i_3 ... i_n] are the numbering of these vertices (vertices numbered from 1 to num_points)
</p></li>
<li class="listitem"><p>
each of the following num_points lines must contain 6 real values for the 
successive (1 to num_points) points : [x y z nx ny nz], where x y z are the coordinates of the point
and nx ny nz are the coordinates of the unit normal at the point
</p></li>
</ul></div>
<p>
</p>
<p>
</p>
</li>
</ul></div>
<p>
</p>
<p>
</p>
<p>
It is the responsibility of the user to guarantee that
dxx, dyx, dyy, dzx, dzy, dzz match the one currently loaded in V_Sim's
current context. Though if you use <a class="link" href="v-sim-panelSurfaces.html" title="panelSurfaces">panelSurfaces</a> you can ask
to resize the surfaces so that they fit in the current loaded box.
</p>
<p>
</p>
</div>
<div class="refsect1" title="Details">
<a name="v-sim-surfaces.details"></a><h2>Details</h2>
<div class="refsect2" title="Surfaces">
<a name="Surfaces"></a><h3>Surfaces</h3>
<pre class="programlisting">typedef struct {
  /* Number of different surfaces. */
  int nsurf;

  SurfacesPoints basePoints;
  SurfacesPoints volatilePlanes;

  /* The description of the box where surfaces are drawn. */
  double local_box[6];

  /* Resources for each surfaces. */
  VisuSurfacesResources **resources;

  /* Id for each surfaces. */
  int *ids;

  /* Table to add properties to surfaces. */
  GHashTable *properties;
} Surfaces;
</pre>
<p>
This structure stores surfaces. Several surfaces are stored in a single
structure for improved performences.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><span class="type">int</span> <em class="structfield"><code><a name="Surfaces.nsurf"></a>nsurf</code></em>;</span></p></td>
<td>number of surfaces encoded in this structure ;
</td>
</tr>
<tr>
<td><p><span class="term"><a class="link" href="v-sim-surfaces-points.html#SurfacesPoints" title="SurfacesPoints"><span class="type">SurfacesPoints</span></a> <em class="structfield"><code><a name="Surfaces.basePoints"></a>basePoints</code></em>;</span></p></td>
<td>the geometric description of surfaces.
</td>
</tr>
<tr>
<td><p><span class="term"><a class="link" href="v-sim-surfaces-points.html#SurfacesPoints" title="SurfacesPoints"><span class="type">SurfacesPoints</span></a> <em class="structfield"><code><a name="Surfaces.volatilePlanes"></a>volatilePlanes</code></em>;</span></p></td>
<td>a storage for volatile polygons, .
</td>
</tr>
<tr>
<td><p><span class="term"><span class="type">double</span> <em class="structfield"><code><a name="Surfaces.local-box"></a>local_box</code></em>[6];</span></p></td>
<td>the description of the box where surfaces are drawn ;
</td>
</tr>
<tr>
<td><p><span class="term"><a class="link" href="v-sim-surfaces-resources.html#VisuSurfacesResources" title="VisuSurfacesResources"><span class="type">VisuSurfacesResources</span></a> **<em class="structfield"><code><a name="Surfaces.resources"></a>resources</code></em>;</span></p></td>
<td>for each surface points on a <a class="link" href="v-sim-surfaces-resources.html#VisuSurfacesResources" title="VisuSurfacesResources"><span class="type">VisuSurfacesResources</span></a> ;
</td>
</tr>
<tr>
<td><p><span class="term"><span class="type">int</span> *<em class="structfield"><code><a name="Surfaces.ids"></a>ids</code></em>;</span></p></td>
<td>gives a list of ids used to index surfaces ;
</td>
</tr>
<tr>
<td><p><span class="term"><a href="/usr/share/gtk-doc/html/glib/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> *<em class="structfield"><code><a name="Surfaces.properties"></a>properties</code></em>;</span></p></td>
<td>an hashtable of properties.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="struct SurfacesOrder_struct">
<a name="SurfacesOrder-struct"></a><h3>struct SurfacesOrder_struct</h3>
<pre class="programlisting">struct SurfacesOrder_struct;</pre>
<p>
An opaque structure to store the order of drawn polygons when surfaces are involved.
</p>
</div>
<hr>
<div class="refsect2" title="SurfacesOrder">
<a name="SurfacesOrder"></a><h3>SurfacesOrder</h3>
<pre class="programlisting">typedef struct SurfacesOrder_struct SurfacesOrder;
</pre>
<p>
Short name to adress <a class="link" href="v-sim-surfaces.html#SurfacesOrder-struct" title="struct SurfacesOrder_struct"><span class="type">SurfacesOrder_struct</span></a> objects.
</p>
</div>
<hr>
<div class="refsect2" title="VISU_ERROR_ISOSURFACES">
<a name="VISU-ERROR-ISOSURFACES:CAPS"></a><h3>VISU_ERROR_ISOSURFACES</h3>
<pre class="programlisting">#define VISU_ERROR_ISOSURFACES isosurfacesGet_quark()
</pre>
</div>
<hr>
<div class="refsect2" title="isosurfacesGet_quark ()">
<a name="isosurfacesGet-quark"></a><h3>isosurfacesGet_quark ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Quarks.html#GQuark"><span class="returnvalue">GQuark</span></a>              isosurfacesGet_quark                (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>
Internal routine for error handling.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> the <a href="/usr/share/gtk-doc/html/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> associated to errors related to surface
files.
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="ISOSURFACES_PROPERTY_POTENTIAL">
<a name="ISOSURFACES-PROPERTY-POTENTIAL:CAPS"></a><h3>ISOSURFACES_PROPERTY_POTENTIAL</h3>
<pre class="programlisting">#define ISOSURFACES_PROPERTY_POTENTIAL "potential_values"
</pre>
<p>
Flag used in an ASCII surf file to give informations on the value
the surface is built from.
</p>
</div>
<hr>
<div class="refsect2" title="isosurfacesGet_drawIntra ()">
<a name="isosurfacesGet-drawIntra"></a><h3>isosurfacesGet_drawIntra ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            isosurfacesGet_drawIntra            (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>
Retrieve if the interiors of surfaces are drawn with a colour inverse or not.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> TRUE if the interior is painted in colour inverse.
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="isosurfacesSet_drawIntra ()">
<a name="isosurfacesSet-drawIntra"></a><h3>isosurfacesSet_drawIntra ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            isosurfacesSet_drawIntra            (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> status</code></em>);</pre>
<p>
Set if the interiors of surfaces are drawn with a colour inverse or not.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>status</code></em> :</span></p></td>
<td>a boolean.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> TRUE if calling routine should redraw the surfaces with
         <a class="link" href="v-sim-surfaces.html#isosurfacesDraw-surfaces" title="isosurfacesDraw_surfaces ()"><code class="function">isosurfacesDraw_surfaces()</code></a>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="isosurfacesNew ()">
<a name="isosurfacesNew"></a><h3>isosurfacesNew ()</h3>
<pre class="programlisting"><a class="link" href="v-sim-surfaces.html#Surfaces" title="Surfaces"><span class="returnvalue">Surfaces</span></a>*           isosurfacesNew                      (<em class="parameter"><code><span class="type">int</span> bufferSize</code></em>);</pre>
<p>
Create a new (with unallocated internal arrays) structure to store
surfaces. The buffer size is used to store other values than the position
and the normal on each point.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>bufferSize</code></em> :</span></p></td>
<td>an integer.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> a newly allocated <a class="link" href="v-sim-surfaces.html#Surfaces" title="Surfaces"><span class="type">Surfaces</span></a> structure.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="isosurfacesAllocate ()">
<a name="isosurfacesAllocate"></a><h3>isosurfacesAllocate ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                isosurfacesAllocate                 (<em class="parameter"><code><a class="link" href="v-sim-surfaces.html#Surfaces" title="Surfaces"><span class="type">Surfaces</span></a> *surf</code></em>,
                                                         <em class="parameter"><code><span class="type">int</span> nsurf</code></em>,
                                                         <em class="parameter"><code><span class="type">int</span> npolys</code></em>,
                                                         <em class="parameter"><code><span class="type">int</span> npoints</code></em>);</pre>
<p>
Allocate internal arrays to store surfaces having the given description.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>surf</code></em> :</span></p></td>
<td>a <a class="link" href="v-sim-surfaces.html#Surfaces" title="Surfaces"><span class="type">Surfaces</span></a> structure ;
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>nsurf</code></em> :</span></p></td>
<td>the number of surfaces to store ;
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>npolys</code></em> :</span></p></td>
<td>the number of polygons (in total) ;
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>npoints</code></em> :</span></p></td>
<td>the total number of vertices.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="isosurfacesAddSurfaces ()">
<a name="isosurfacesAddSurfaces"></a><h3>isosurfacesAddSurfaces ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                isosurfacesAddSurfaces              (<em class="parameter"><code><a class="link" href="v-sim-surfaces.html#Surfaces" title="Surfaces"><span class="type">Surfaces</span></a> *surf</code></em>,
                                                         <em class="parameter"><code><span class="type">int</span> nsurf</code></em>,
                                                         <em class="parameter"><code><span class="type">int</span> npolys</code></em>,
                                                         <em class="parameter"><code><span class="type">int</span> npoints</code></em>);</pre>
<p>
Change the allocation of internal arrays to store the additional surfaces
with the given description.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>surf</code></em> :</span></p></td>
<td>a <a class="link" href="v-sim-surfaces.html#Surfaces" title="Surfaces"><span class="type">Surfaces</span></a> structure ;
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>nsurf</code></em> :</span></p></td>
<td>the number of surfaces to add ;
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>npolys</code></em> :</span></p></td>
<td>the number of polygons to add ;
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>npoints</code></em> :</span></p></td>
<td>the number of vertices to add.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="isosurfacesFree ()">
<a name="isosurfacesFree"></a><h3>isosurfacesFree ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                isosurfacesFree                     (<em class="parameter"><code><a class="link" href="v-sim-surfaces.html#Surfaces" title="Surfaces"><span class="type">Surfaces</span></a> *surf</code></em>);</pre>
<p>
Free all memory associated to the given surfaces.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>surf</code></em> :</span></p></td>
<td>a <a class="link" href="v-sim-surfaces.html#Surfaces" title="Surfaces"><span class="type">Surfaces</span></a> structure.
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="isosurfacesLoad_file ()">
<a name="isosurfacesLoad-file"></a><h3>isosurfacesLoad_file ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            isosurfacesLoad_file                (<em class="parameter"><code>const <span class="type">char</span> *file</code></em>,
                                                         <em class="parameter"><code><a class="link" href="v-sim-surfaces.html#Surfaces" title="Surfaces"><span class="type">Surfaces</span></a> **surf</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<p>
This loads a surface file and set default material properties for it.
See surf file specifications.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>file</code></em> :</span></p></td>
<td>target file to load ;
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>surf</code></em> :</span></p></td>
<td>a set of surfaces (location) ;
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
<td>a location to store errors.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> TRUE in case of success, FALSE otherwise. Even in case of success
         <em class="parameter"><code>error</code></em> may have been set.

</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="isoSurfacesSet_fitToBox ()">
<a name="isoSurfacesSet-fitToBox"></a><h3>isoSurfacesSet_fitToBox ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                isoSurfacesSet_fitToBox             (<em class="parameter"><code><a class="link" href="v-sim-visu-data.html#VisuData"><span class="type">VisuData</span></a> *data</code></em>,
                                                         <em class="parameter"><code><a class="link" href="v-sim-surfaces.html#Surfaces" title="Surfaces"><span class="type">Surfaces</span></a> *surf</code></em>);</pre>
<p>
This method changes the position of all vertices in the structure
to match the box description given in <em class="parameter"><code>data</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
<td>a <a class="link" href="v-sim-visu-data.html#VisuData"><span class="type">VisuData</span></a> object ;
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>surf</code></em> :</span></p></td>
<td>a set of surfaces.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="isosurfacesOrder_new ()">
<a name="isosurfacesOrder-new"></a><h3>isosurfacesOrder_new ()</h3>
<pre class="programlisting"><a class="link" href="v-sim-surfaces.html#SurfacesOrder" title="SurfacesOrder"><span class="returnvalue">SurfacesOrder</span></a>*      isosurfacesOrder_new                (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>
Create an object to hold the order in which the surfaces must be
drawn. See <a class="link" href="v-sim-surfaces.html#isosurfacesOrder-polygons" title="isosurfacesOrder_polygons ()"><code class="function">isosurfacesOrder_polygons()</code></a> to set this object.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> a newly created <a class="link" href="v-sim-surfaces.html#SurfacesOrder" title="SurfacesOrder"><span class="type">SurfacesOrder</span></a> object without any values.
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="isosurfacesOrder_free ()">
<a name="isosurfacesOrder-free"></a><h3>isosurfacesOrder_free ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                isosurfacesOrder_free               (<em class="parameter"><code><a class="link" href="v-sim-surfaces.html#SurfacesOrder" title="SurfacesOrder"><span class="type">SurfacesOrder</span></a> *order</code></em>);</pre>
<p>
Free memory used by a <a class="link" href="v-sim-surfaces.html#SurfacesOrder" title="SurfacesOrder"><span class="type">SurfacesOrder</span></a> object.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>order</code></em> :</span></p></td>
<td>the object to be freed.
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="isosurfacesGet_nbSurfaces ()">
<a name="isosurfacesGet-nbSurfaces"></a><h3>isosurfacesGet_nbSurfaces ()</h3>
<pre class="programlisting"><span class="returnvalue">int</span>                 isosurfacesGet_nbSurfaces           (<em class="parameter"><code><a class="link" href="v-sim-surfaces.html#Surfaces" title="Surfaces"><span class="type">Surfaces</span></a> *surf</code></em>);</pre>
<p>
Retrieves th number of surfaces stired in a given <em class="parameter"><code>surf</code></em> object.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>surf</code></em> :</span></p></td>
<td>the surface object.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> number of surfaces.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="isosurfacesGet_surfaceName ()">
<a name="isosurfacesGet-surfaceName"></a><h3>isosurfacesGet_surfaceName ()</h3>
<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a>*        isosurfacesGet_surfaceName          (<em class="parameter"><code><a class="link" href="v-sim-surfaces.html#Surfaces" title="Surfaces"><span class="type">Surfaces</span></a> *surf</code></em>,
                                                         <em class="parameter"><code><span class="type">int</span> surf_index</code></em>);</pre>
<p>
This returns for the given <em class="parameter"><code>surf_index</code></em> its name 
(1 &lt;= surf_index &lt;= surfaces_number)
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>surf</code></em> :</span></p></td>
<td>the surface object ;
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>surf_index</code></em> :</span></p></td>
<td>the number of the surface.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> the name of the surface or empty name or NULL, if <em class="parameter"><code>surf_index</code></em> is invalid.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="isosurfacesGet_surfaceRendered ()">
<a name="isosurfacesGet-surfaceRendered"></a><h3>isosurfacesGet_surfaceRendered ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            isosurfacesGet_surfaceRendered      (<em class="parameter"><code><a class="link" href="v-sim-surfaces.html#Surfaces" title="Surfaces"><span class="type">Surfaces</span></a> *surf</code></em>,
                                                         <em class="parameter"><code><span class="type">int</span> surf_index</code></em>);</pre>
<p>
This returns for the given <em class="parameter"><code>surf_index</code></em> its visibility.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>surf</code></em> :</span></p></td>
<td>the surface object ;
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>surf_index</code></em> :</span></p></td>
<td>the number of the surface.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> the visibility of the surface or FALSE, if <em class="parameter"><code>surf_index</code></em> is invalid.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="isosurfacesGet_surfaceResource ()">
<a name="isosurfacesGet-surfaceResource"></a><h3>isosurfacesGet_surfaceResource ()</h3>
<pre class="programlisting"><a class="link" href="v-sim-surfaces-resources.html#VisuSurfacesResources" title="VisuSurfacesResources"><span class="returnvalue">VisuSurfacesResources</span></a>* isosurfacesGet_surfaceResource   (<em class="parameter"><code><a class="link" href="v-sim-surfaces.html#Surfaces" title="Surfaces"><span class="type">Surfaces</span></a> *surf</code></em>,
                                                         <em class="parameter"><code><span class="type">int</span> surf_index</code></em>);</pre>
<p>
This returns for the given <em class="parameter"><code>surf_index</code></em> its resource information.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>surf</code></em> :</span></p></td>
<td>the surface object ;
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>surf_index</code></em> :</span></p></td>
<td>the number of the surface.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> the resource of the surface or NULL, if <em class="parameter"><code>surf_index</code></em> is invalid.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="isosurfacesSet_surfaceResource ()">
<a name="isosurfacesSet-surfaceResource"></a><h3>isosurfacesSet_surfaceResource ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                isosurfacesSet_surfaceResource      (<em class="parameter"><code><a class="link" href="v-sim-surfaces.html#Surfaces" title="Surfaces"><span class="type">Surfaces</span></a> *surf</code></em>,
                                                         <em class="parameter"><code><span class="type">int</span> surf_index</code></em>,
                                                         <em class="parameter"><code><a class="link" href="v-sim-surfaces-resources.html#VisuSurfacesResources" title="VisuSurfacesResources"><span class="type">VisuSurfacesResources</span></a> *res</code></em>);</pre>
<p>
This method is used to change the resource of a surface.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>surf</code></em> :</span></p></td>
<td>the surface object ;
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>surf_index</code></em> :</span></p></td>
<td>the number of the surface ;
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>res</code></em> :</span></p></td>
<td>the new resource.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="isosurfacesGet_surfaceId ()">
<a name="isosurfacesGet-surfaceId"></a><h3>isosurfacesGet_surfaceId ()</h3>
<pre class="programlisting"><span class="returnvalue">int</span>                 isosurfacesGet_surfaceId            (<em class="parameter"><code><a class="link" href="v-sim-surfaces.html#Surfaces" title="Surfaces"><span class="type">Surfaces</span></a> *surf</code></em>,
                                                         <em class="parameter"><code><span class="type">int</span> i</code></em>);</pre>
<p>
This returns for the given <em class="parameter"><code>i</code></em> its id information.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>surf</code></em> :</span></p></td>
<td>the surface object ;
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>i</code></em> :</span></p></td>
<td>the number of the surface.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> the id of the surface or 0, if <em class="parameter"><code>i</code></em> is invalid.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="isosurfacesGet_surfaceSortedById ()">
<a name="isosurfacesGet-surfaceSortedById"></a><h3>isosurfacesGet_surfaceSortedById ()</h3>
<pre class="programlisting"><span class="returnvalue">int</span>*                isosurfacesGet_surfaceSortedById    (<em class="parameter"><code><a class="link" href="v-sim-surfaces.html#Surfaces" title="Surfaces"><span class="type">Surfaces</span></a> *surf</code></em>);</pre>
<p>
This returns the surface numbers sorted using their ids.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>surf</code></em> :</span></p></td>
<td>the surface object.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> a newly allocated array with surface numbers.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="isosurfacesGet_newId ()">
<a name="isosurfacesGet-newId"></a><h3>isosurfacesGet_newId ()</h3>
<pre class="programlisting"><span class="returnvalue">int</span>                 isosurfacesGet_newId                (<em class="parameter"><code><a class="link" href="v-sim-surfaces.html#Surfaces" title="Surfaces"><span class="type">Surfaces</span></a> *surf</code></em>);</pre>
<p>
This returns a unique id to create a new surface.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>surf</code></em> :</span></p></td>
<td>the surface object.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> a value suitable to create a new surface in this set of surfaces.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="isosurfacesGet_surfacePosition ()">
<a name="isosurfacesGet-surfacePosition"></a><h3>isosurfacesGet_surfacePosition ()</h3>
<pre class="programlisting"><span class="returnvalue">int</span>                 isosurfacesGet_surfacePosition      (<em class="parameter"><code><a class="link" href="v-sim-surfaces.html#Surfaces" title="Surfaces"><span class="type">Surfaces</span></a> *surf</code></em>,
                                                         <em class="parameter"><code><span class="type">int</span> id</code></em>);</pre>
<p>
This returns for the given <em class="parameter"><code>id</code></em> its number.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>surf</code></em> :</span></p></td>
<td>the surface object ;
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>id</code></em> :</span></p></td>
<td>the id of the surface.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> the number of the surface or 0, if <em class="parameter"><code>id</code></em> is invalid.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="isosurfacesOrder_polygons ()">
<a name="isosurfacesOrder-polygons"></a><h3>isosurfacesOrder_polygons ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                isosurfacesOrder_polygons           (<em class="parameter"><code><a class="link" href="v-sim-surfaces.html#SurfacesOrder" title="SurfacesOrder"><span class="type">SurfacesOrder</span></a> *order</code></em>,
                                                         <em class="parameter"><code><a class="link" href="v-sim-surfaces.html#Surfaces" title="Surfaces"><span class="type">Surfaces</span></a> *surf[]</code></em>);</pre>
<p>
Re-orders the polygons in back to front order.
This function should be called everytime a redraw is needed.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>order</code></em> :</span></p></td>
<td>the description of the polygons order ;
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>surf</code></em> :</span></p></td>
<td>an array of <a class="link" href="v-sim-surfaces.html#Surfaces" title="Surfaces"><span class="type">Surfaces</span></a> object, must be NULL terminated.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="isosurfacesDraw_surfaces ()">
<a name="isosurfacesDraw-surfaces"></a><h3>isosurfacesDraw_surfaces ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                isosurfacesDraw_surfaces            (<em class="parameter"><code><span class="type">int</span> openGLId</code></em>,
                                                         <em class="parameter"><code><a class="link" href="v-sim-surfaces.html#Surfaces" title="Surfaces"><span class="type">Surfaces</span></a> *surf[]</code></em>,
                                                         <em class="parameter"><code><a class="link" href="v-sim-surfaces.html#SurfacesOrder" title="SurfacesOrder"><span class="type">SurfacesOrder</span></a> *order</code></em>);</pre>
<p>
Rebuild each visible surface's list. The order in which to draw the surfaces
is given in the <em class="parameter"><code>order</code></em> argument. If the resource 'isosurfaces_drawIntra' is TRUE
then, the interior of the surfaces is drawn as color inverse.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>openGLId</code></em> :</span></p></td>
<td>an id for the OpenGL list ;
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>surf</code></em> :</span></p></td>
<td>an array of <a class="link" href="v-sim-surfaces.html#Surfaces" title="Surfaces"><span class="type">Surfaces</span></a> object, must be NULL terminated.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>order</code></em> :</span></p></td>
<td>a <a class="link" href="v-sim-surfaces.html#SurfacesOrder" title="SurfacesOrder"><span class="type">SurfacesOrder</span></a> object.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="isosurfacesDuplicate ()">
<a name="isosurfacesDuplicate"></a><h3>isosurfacesDuplicate ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                isosurfacesDuplicate                (<em class="parameter"><code><span class="type">int</span> totalList</code></em>,
                                                         <em class="parameter"><code><span class="type">int</span> simpleBlockList</code></em>,
                                                         <em class="parameter"><code><a class="link" href="v-sim-visu-data.html#VisuData"><span class="type">VisuData</span></a> *dataObj</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> reorder</code></em>);</pre>
<p>
Duplicate the list <em class="parameter"><code>simpleBlockList</code></em> using the extension of the
given <em class="parameter"><code>dataObj</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>totalList</code></em> :</span></p></td>
<td>an OpenGL identifier for the global list to create ;
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>simpleBlockList</code></em> :</span></p></td>
<td>an OpenGL identifier for the list with the
surfaces in the primitive cell ;
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>dataObj</code></em> :</span></p></td>
<td>the corresponding <a class="link" href="v-sim-visu-data.html#VisuData"><span class="type">VisuData</span></a> object ;
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>reorder</code></em> :</span></p></td>
<td>if TRUE the blocks are drawn from back to front.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="isosurfacesSet_box ()">
<a name="isosurfacesSet-box"></a><h3>isosurfacesSet_box ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                isosurfacesSet_box                  (<em class="parameter"><code><a class="link" href="v-sim-surfaces.html#Surfaces" title="Surfaces"><span class="type">Surfaces</span></a> *surf</code></em>,
                                                         <em class="parameter"><code><span class="type">double</span> box[6]</code></em>);</pre>
<p>
Copy the given <em class="parameter"><code>box</code></em> to the box of surfaces.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>surf</code></em> :</span></p></td>
<td>a <a class="link" href="v-sim-surfaces.html#Surfaces" title="Surfaces"><span class="type">Surfaces</span></a> object ;
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>box</code></em> :</span></p></td>
<td>a box definition in reduced coordinates.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="isosurfacesGet_box ()">
<a name="isosurfacesGet-box"></a><h3>isosurfacesGet_box ()</h3>
<pre class="programlisting"><span class="returnvalue">double</span>*             isosurfacesGet_box                  (<em class="parameter"><code><a class="link" href="v-sim-surfaces.html#Surfaces" title="Surfaces"><span class="type">Surfaces</span></a> *surf</code></em>);</pre>
<p>
Get the box of the surfaces.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>surf</code></em> :</span></p></td>
<td>a <a class="link" href="v-sim-surfaces.html#Surfaces" title="Surfaces"><span class="type">Surfaces</span></a> object.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> 6 floats, private, read-only.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="isosurfacesGet_floatProperty ()">
<a name="isosurfacesGet-floatProperty"></a><h3>isosurfacesGet_floatProperty ()</h3>
<pre class="programlisting"><span class="returnvalue">float</span>*              isosurfacesGet_floatProperty        (<em class="parameter"><code><a class="link" href="v-sim-surfaces.html#Surfaces" title="Surfaces"><span class="type">Surfaces</span></a> *surf</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> *name</code></em>);</pre>
<p>
Some properties can be associated to the surfaces stored in <em class="parameter"><code>surf</code></em>.
This method is used to retrieve floating point values properties.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>surf</code></em> :</span></p></td>
<td>a <a class="link" href="v-sim-surfaces.html#Surfaces" title="Surfaces"><span class="type">Surfaces</span></a> object ;
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
<td>the name of the property to look for.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> a table with the values if the property is found, NULL
           otherwise.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="isosurfacesAdd_floatProperty ()">
<a name="isosurfacesAdd-floatProperty"></a><h3>isosurfacesAdd_floatProperty ()</h3>
<pre class="programlisting"><span class="returnvalue">float</span>*              isosurfacesAdd_floatProperty        (<em class="parameter"><code><a class="link" href="v-sim-surfaces.html#Surfaces" title="Surfaces"><span class="type">Surfaces</span></a> *surf</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> *name</code></em>);</pre>
<p>
Some properties can be associated to the surfaces stored in <em class="parameter"><code>surf</code></em>.
This method is add a new property.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>surf</code></em> :</span></p></td>
<td>a <a class="link" href="v-sim-surfaces.html#Surfaces" title="Surfaces"><span class="type">Surfaces</span></a> object ;
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
<td>the name of the property to add.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> a newly allocated array that can be populated.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="isosurfacesGet_floatPropertyValue ()">
<a name="isosurfacesGet-floatPropertyValue"></a><h3>isosurfacesGet_floatPropertyValue ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            isosurfacesGet_floatPropertyValue   (<em class="parameter"><code><a class="link" href="v-sim-surfaces.html#Surfaces" title="Surfaces"><span class="type">Surfaces</span></a> *surf</code></em>,
                                                         <em class="parameter"><code><span class="type">int</span> idSurf</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> *name</code></em>,
                                                         <em class="parameter"><code><span class="type">float</span> *value</code></em>);</pre>
<p>
This method retrieves a float value stored as a property called <em class="parameter"><code>name</code></em> for
the surface defined by its number <em class="parameter"><code>idSurf</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>surf</code></em> :</span></p></td>
<td>a <a class="link" href="v-sim-surfaces.html#Surfaces" title="Surfaces"><span class="type">Surfaces</span></a> object ;
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>idSurf</code></em> :</span></p></td>
<td>a surface number ;
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
<td>the name of the property to get the value from ;
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
<td>a location to store the value.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> TRUE if a value is indeed found.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="isosurfacesHide ()">
<a name="isosurfacesHide"></a><h3>isosurfacesHide ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            isosurfacesHide                     (<em class="parameter"><code><a class="link" href="v-sim-surfaces.html#Surfaces" title="Surfaces"><span class="type">Surfaces</span></a> *surf</code></em>,
                                                         <em class="parameter"><code><a class="link" href="v-sim-plane.html#Plane"><span class="type">Plane</span></a> **planes</code></em>);</pre>
<p>
Change the visibility of polygons stored in <em class="parameter"><code>surf</code></em>, following the masking
scheme defined by the given list of <em class="parameter"><code>planes</code></em> (see <a class="link" href="v-sim-plane.html#Plane"><span class="type">Plane</span></a>).
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>surf</code></em> :</span></p></td>
<td>a <a class="link" href="v-sim-surfaces.html#Surfaces" title="Surfaces"><span class="type">Surfaces</span></a> object ;
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>planes</code></em> :</span></p></td>
<td>an array of planes (NULL terminated).
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> TRUE if the surfaces should be rebuilt (see <a class="link" href="v-sim-surfaces.html#isosurfacesDraw-surfaces" title="isosurfacesDraw_surfaces ()"><code class="function">isosurfacesDraw_surfaces()</code></a>).
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="isosurfacesRemove ()">
<a name="isosurfacesRemove"></a><h3>isosurfacesRemove ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            isosurfacesRemove                   (<em class="parameter"><code><a class="link" href="v-sim-surfaces.html#Surfaces" title="Surfaces"><span class="type">Surfaces</span></a> *surf</code></em>,
                                                         <em class="parameter"><code><span class="type">int</span> idSurf</code></em>);</pre>
<p>
Remove from memory all polygons from the given surface.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>surf</code></em> :</span></p></td>
<td>a <a class="link" href="v-sim-surfaces.html#Surfaces" title="Surfaces"><span class="type">Surfaces</span></a> object ;
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>idSurf</code></em> :</span></p></td>
<td>the id of the surf to remove.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> TRUE if the surface list is reduced to zero (and <em class="parameter"><code>surf</code></em>
         to be freed).
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="isosurfacesCheck_consistency ()">
<a name="isosurfacesCheck-consistency"></a><h3>isosurfacesCheck_consistency ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                isosurfacesCheck_consistency        (<em class="parameter"><code><a class="link" href="v-sim-surfaces.html#Surfaces" title="Surfaces"><span class="type">Surfaces</span></a> *surf</code></em>);</pre>
<p>
Check if all arrays in the structures are consistent (without
overflow).
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>surf</code></em> :</span></p></td>
<td>a <a class="link" href="v-sim-surfaces.html#Surfaces" title="Surfaces"><span class="type">Surfaces</span></a> object.
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="isosurfacesInit ()">
<a name="isosurfacesInit"></a><h3>isosurfacesInit ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                isosurfacesInit                     (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>
Method used to initialised the surface handling, should not be called.
</p>
</div>
<hr>
<div class="refsect2" title="isosurfacesSet_showAll ()">
<a name="isosurfacesSet-showAll"></a><h3>isosurfacesSet_showAll ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                isosurfacesSet_showAll              (<em class="parameter"><code><a class="link" href="v-sim-surfaces.html#Surfaces" title="Surfaces"><span class="type">Surfaces</span></a> *surf</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> show</code></em>);</pre>
<p>
Shows or hides all surfaces and check their "draw" status in the panel accordingly.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>surf</code></em> :</span></p></td>
<td>a <a class="link" href="v-sim-surfaces.html#Surfaces" title="Surfaces"><span class="type">Surfaces</span></a> object ;
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>show</code></em> :</span></p></td>
<td>TRUE to show all surfaces, FALSE to hide them.
</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.14</div>
</body>
</html>