File: v-sim-panelSurfaces.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 (425 lines) | stat: -rw-r--r-- 25,497 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
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>panelSurfaces</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="ch11.html" title="Panel add-ons">
<link rel="prev" href="ch11.html" title="Panel add-ons">
<link rel="next" href="v-sim-panelElements.html" title="panelElements">
<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="ch11.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="ch11.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-panelElements.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-panelSurfaces.synopsis" class="shortcut">Top</a>
                   | 
                  <a href="#v-sim-panelSurfaces.description" class="shortcut">Description</a>
</td></tr>
</table>
<div class="refentry" title="panelSurfaces">
<a name="v-sim-panelSurfaces"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="v-sim-panelSurfaces.top_of_page"></a>panelSurfaces</span></h2>
<p>panelSurfaces — Gtk interface to load isosurfaces.</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv" title="Synopsis">
<a name="v-sim-panelSurfaces.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis"><a class="link" href="v-sim-gtk-toolPanelWidget.html#ToolPanel"><span class="returnvalue">ToolPanel</span></a>*          <a class="link" href="v-sim-panelSurfaces.html#panelIsosurfacesInit" title="panelIsosurfacesInit ()">panelIsosurfacesInit</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-panelSurfaces.html#panelIsosurfacesSet-used" title="panelIsosurfacesSet_used ()">panelIsosurfacesSet_used</a>            (<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> used</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-panelSurfaces.html#panelIsosurfacesLoad-file" title="panelIsosurfacesLoad_file ()">panelIsosurfacesLoad_file</a>           (<em class="parameter"><code>const <span class="type">char</span> *file_name</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> fit_to_box</code></em>,
                                                         <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 href="/usr/share/gtk-doc/html/glib/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> *table</code></em>,
                                                         <em class="parameter"><code><span class="type">double</span> **box</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-panelSurfaces.html#panelIsosurfacesParse-XMLFile" title="panelIsosurfacesParse_XMLFile ()">panelIsosurfacesParse_XMLFile</a>       (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *filename</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>);
<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-panelSurfaces.html#panelIsosurfacesShow-all" title="panelIsosurfacesShow_all ()">panelIsosurfacesShow_all</a>            (<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>);
<span class="returnvalue">void</span>                <a class="link" href="v-sim-panelSurfaces.html#panelIsosurfacesEdit-surfaceProperties" title="panelIsosurfacesEdit_surfaceProperties ()">panelIsosurfacesEdit_surfaceProperties</a>
                                                        (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk/GtkTreeModel.html#GtkTreeIter"><span class="type">GtkTreeIter</span></a> *iter</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="v-sim-panelSurfaces.html#panelIsosurfacesAdd-withValue" title="panelIsosurfacesAdd_withValue ()">panelIsosurfacesAdd_withValue</a>       (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *filename</code></em>,
                                                         <em class="parameter"><code><span class="type">float</span> value</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);
enum                <a class="link" href="v-sim-panelSurfaces.html#PanelIsosurfacesColumnId" title="enum PanelIsosurfacesColumnId">PanelIsosurfacesColumnId</a>;
<a href="/usr/share/gtk-doc/html/gtk/GtkListStore.html"><span class="returnvalue">GtkListStore</span></a>*       <a class="link" href="v-sim-panelSurfaces.html#panelIsosurfacesGet-listStore" title="panelIsosurfacesGet_listStore ()">panelIsosurfacesGet_listStore</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-panelSurfaces.html#panelIsosurfacesHide" title="panelIsosurfacesHide ()">panelIsosurfacesHide</a>                (<em class="parameter"><code><a class="link" href="v-sim-plane.html#Plane"><span class="type">Plane</span></a> **planes</code></em>);
#define             <a class="link" href="v-sim-panelSurfaces.html#SURFACE-NAME-STR:CAPS" title="SURFACE_NAME_STR">SURFACE_NAME_STR</a>
#define             <a class="link" href="v-sim-panelSurfaces.html#SURFACE-NAME-CHOOSE:CAPS" title="SURFACE_NAME_CHOOSE">SURFACE_NAME_CHOOSE</a>
<a href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a>*          <a class="link" href="v-sim-panelSurfaces.html#panelIsosurfacesGenerate-isoValues" title="panelIsosurfacesGenerate_isoValues ()">panelIsosurfacesGenerate_isoValues</a>  (<em class="parameter"><code><span class="type">int</span> *nbValues</code></em>,
                                                         <em class="parameter"><code><span class="type">float</span> **values</code></em>,
                                                         <em class="parameter"><code><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> minVal</code></em>,
                                                         <em class="parameter"><code><span class="type">float</span> maxVal</code></em>);
</pre>
</div>
<div class="refsect1" title="Description">
<a name="v-sim-panelSurfaces.description"></a><h2>Description</h2>
<p>
</p>
<p>This module contains the panel used to draw isosurfaces. From
it, you can draw isosurfaces on screen after they are loaded
through the <a class="link" href="v-sim-surfaces.html" title="surfaces">surfaces</a>
module. You can also access tools to manage and create .surf files,
these tools are related to the <a class="link" href="v-sim-panelSurfacesTools.html" title="panelSurfacesTools">panelSurfacesTools</a>
module.</p>
<p>
</p>
</div>
<div class="refsect1" title="Details">
<a name="v-sim-panelSurfaces.details"></a><h2>Details</h2>
<div class="refsect2" title="panelIsosurfacesInit ()">
<a name="panelIsosurfacesInit"></a><h3>panelIsosurfacesInit ()</h3>
<pre class="programlisting"><a class="link" href="v-sim-gtk-toolPanelWidget.html#ToolPanel"><span class="returnvalue">ToolPanel</span></a>*          panelIsosurfacesInit                ();</pre>
</div>
<hr>
<div class="refsect2" title="panelIsosurfacesSet_used ()">
<a name="panelIsosurfacesSet-used"></a><h3>panelIsosurfacesSet_used ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            panelIsosurfacesSet_used            (<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> used</code></em>);</pre>
<p>
Change the status of the isosurface extension, drawn 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>dataObj</code></em> :</span></p></td>
<td>the current <a class="link" href="v-sim-visu-data.html#VisuData"><span class="type">VisuData</span></a> (can be NULL) ;
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>used</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 the OpenGLAskForReDraw signal should be emitted.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="panelIsosurfacesLoad_file ()">
<a name="panelIsosurfacesLoad-file"></a><h3>panelIsosurfacesLoad_file ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            panelIsosurfacesLoad_file           (<em class="parameter"><code>const <span class="type">char</span> *file_name</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> fit_to_box</code></em>,
                                                         <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 href="/usr/share/gtk-doc/html/glib/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> *table</code></em>,
                                                         <em class="parameter"><code><span class="type">double</span> **box</code></em>);</pre>
<p>
Tries to load the given <em class="parameter"><code>file_name</code></em>  and if it succeeds, adds loaded surfaces 
to the isosurfaces panel. In all cases, all previously loaded surfaces are 
removed from the panel (and from memory).
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>file_name</code></em> :</span></p></td>
<td>the file you want to try to load
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>fit_to_box</code></em> :</span></p></td>
<td>whether these isosurfaces should be resized in order 
to fit to the current VisuBox ;
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
<td>the <a class="link" href="v-sim-visu-data.html#VisuData"><span class="type">VisuData</span></a> to fit the box to (can be NULL if <em class="parameter"><code>fit_to_box</code></em>
       is false ;
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>table</code></em> :</span></p></td>
<td>a set of different <a href="v-sim-toolOptions.html#Option"><span class="type">Option</span></a> (can be NULL).
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>box</code></em> :</span></p></td>
<td>a location to store the 6 values defining the loaded box (can
be NULL).
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> TRUE in case of success.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="panelIsosurfacesParse_XMLFile ()">
<a name="panelIsosurfacesParse-XMLFile"></a><h3>panelIsosurfacesParse_XMLFile ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            panelIsosurfacesParse_XMLFile       (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *filename</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 routine reads an XML file and setup the resources and the
isovalues to the selected row accordingly.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
<td>a location to read the XML data.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
<td>a location to store possible error.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> TRUE on success.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="panelIsosurfacesShow_all ()">
<a name="panelIsosurfacesShow-all"></a><h3>panelIsosurfacesShow_all ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            panelIsosurfacesShow_all            (<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>show</code></em> :</span></p></td>
<td>TRUE to show all surfaces, FALSE to hide them.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> TRUE if surface list should be rebuild and redraw.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="panelIsosurfacesEdit_surfaceProperties ()">
<a name="panelIsosurfacesEdit-surfaceProperties"></a><h3>panelIsosurfacesEdit_surfaceProperties ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                panelIsosurfacesEdit_surfaceProperties
                                                        (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk/GtkTreeModel.html#GtkTreeIter"><span class="type">GtkTreeIter</span></a> *iter</code></em>);</pre>
<p>
Opens a new window allowing to edit surface properties.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
<td>the currently selected row iter (or NULL).
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="panelIsosurfacesAdd_withValue ()">
<a name="panelIsosurfacesAdd-withValue"></a><h3>panelIsosurfacesAdd_withValue ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                panelIsosurfacesAdd_withValue       (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *filename</code></em>,
                                                         <em class="parameter"><code><span class="type">float</span> value</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);</pre>
<p>
Create and add a surface created from the given scalar field. This
field must already be loaded. If <em class="parameter"><code>name</code></em> is not given, the surface will
be called "Isosurface id" where id is an increasing counter.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
<td>the name of the scalar field from which to add a surface ;
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
<td>the iso value ;
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
<td>the name used to identify the new surface (can be NULL).
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="enum PanelIsosurfacesColumnId">
<a name="PanelIsosurfacesColumnId"></a><h3>enum PanelIsosurfacesColumnId</h3>
<pre class="programlisting">typedef enum
  {
    COLUMN_FIELD_LABEL,
    COLUMN_FIELD_POINTER,
    NB_COLUMN_FIELD
  } PanelIsosurfacesColumnId;
</pre>
<p>
Thesse are the description of the columns stored in the <a href="/usr/share/gtk-doc/html/gtk/GtkListStore.html"><span class="type">GtkListStore</span></a>
of this panel. See <a class="link" href="v-sim-panelSurfaces.html#panelIsosurfacesGet-listStore" title="panelIsosurfacesGet_listStore ()"><code class="function">panelIsosurfacesGet_listStore()</code></a> to access this liststore.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><a name="COLUMN-FIELD-LABEL:CAPS"></a><span class="term"><code class="literal">COLUMN_FIELD_LABEL</code></span></p></td>
<td>a string, the description of the scalar field.
</td>
</tr>
<tr>
<td><p><a name="COLUMN-FIELD-POINTER:CAPS"></a><span class="term"><code class="literal">COLUMN_FIELD_POINTER</code></span></p></td>
<td>the pointer to the <a class="link" href="v-sim-scalarFields.html#ScalarField" title="ScalarField"><span class="type">ScalarField</span></a> object.
</td>
</tr>
<tr>
<td><p><a name="NB-COLUMN-FIELD:CAPS"></a><span class="term"><code class="literal">NB_COLUMN_FIELD</code></span></p></td>
<td>the number of columns.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="panelIsosurfacesGet_listStore ()">
<a name="panelIsosurfacesGet-listStore"></a><h3>panelIsosurfacesGet_listStore ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gtk/GtkListStore.html"><span class="returnvalue">GtkListStore</span></a>*       panelIsosurfacesGet_listStore       ();</pre>
<p>
This method gives read access to the <a href="/usr/share/gtk-doc/html/gtk/GtkListStore.html"><span class="type">GtkListStore</span></a> used to store
the scalar field files.
</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/gtk/GtkListStore.html"><span class="type">GtkListStore</span></a> used by this panel to store its scalar fields.
         It should be considered read-only.
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="panelIsosurfacesHide ()">
<a name="panelIsosurfacesHide"></a><h3>panelIsosurfacesHide ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            panelIsosurfacesHide                (<em class="parameter"><code><a class="link" href="v-sim-plane.html#Plane"><span class="type">Plane</span></a> **planes</code></em>);</pre>
<p>
Must be called after the initialisation of the plane subpanel. It applies the
masking scheme of planes on current surfaces.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>planes</code></em> :</span></p></td>
<td>an array of planes to be applied (NULL terminated).
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> TRUE if the surface should be rebuilt.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="SURFACE_NAME_STR">
<a name="SURFACE-NAME-STR:CAPS"></a><h3>SURFACE_NAME_STR</h3>
<pre class="programlisting">#define SURFACE_NAME_STR    "Choose an id name"
</pre>
<p>
The default string used to name surfaces that are not associated to
any public surface ressource.
</p>
</div>
<hr>
<div class="refsect2" title="SURFACE_NAME_CHOOSE">
<a name="SURFACE-NAME-CHOOSE:CAPS"></a><h3>SURFACE_NAME_CHOOSE</h3>
<pre class="programlisting">#define SURFACE_NAME_CHOOSE "&lt;span size=\"smaller\"&gt;&lt;i&gt;"SURFACE_NAME_STR"&lt;/i&gt;&lt;/span&gt;"
</pre>
<p>
The string used in the tree view to represent the surfaces that
don't share surface resources.
</p>
</div>
<hr>
<div class="refsect2" title="panelIsosurfacesGenerate_isoValues ()">
<a name="panelIsosurfacesGenerate-isoValues"></a><h3>panelIsosurfacesGenerate_isoValues ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a>*          panelIsosurfacesGenerate_isoValues  (<em class="parameter"><code><span class="type">int</span> *nbValues</code></em>,
                                                         <em class="parameter"><code><span class="type">float</span> **values</code></em>,
                                                         <em class="parameter"><code><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> minVal</code></em>,
                                                         <em class="parameter"><code><span class="type">float</span> maxVal</code></em>);</pre>
<p>
This method opens a little dialog window that is made to help the
user enter a list of values for creation of iso-surfaces. These values
are generated between <em class="parameter"><code>minVal</code></em> and <em class="parameter"><code>maxVal</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>nbValues</code></em> :</span></p></td>
<td>a location of an integer to store the number of generated values ;
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>values</code></em> :</span></p></td>
<td>a pointer on a float array. The target of this pointer must be
         NULL and it will be allocated after a call to this method. Use
         <a href="/usr/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a> after use to free it.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
<td>a pointer to store a name. The target of this pointer must be
       NULL on enter. It is associated only if a name is given.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>minVal</code></em> :</span></p></td>
<td>the minimum value for the range ;
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>maxVal</code></em> :</span></p></td>
<td>the maximum value for the range.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> the dialog widget.
</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.14</div>
</body>
</html>