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
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>VisuObject</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="core.html" title="Part I. Core">
<link rel="prev" href="core.html" title="Part I. Core">
<link rel="next" href="v-sim-visu-commandLine.html" title="visu_commandLine">
<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="core.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="core.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-visu-commandLine.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#VisuObject.synopsis" class="shortcut">Top</a>
|
<a href="#VisuObject.description" class="shortcut">Description</a>
|
<a href="#VisuObject.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
<a href="#VisuObject.signals" class="shortcut">Signals</a>
</td></tr>
</table>
<div class="refentry" title="VisuObject">
<a name="VisuObject"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="VisuObject.top_of_page"></a>VisuObject</span></h2>
<p>VisuObject — A general object to store the signals.</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv" title="Synopsis">
<a name="VisuObject.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">#define <a class="link" href="VisuObject.html#VISU-TYPE:CAPS" title="VISU_TYPE">VISU_TYPE</a>
#define <a class="link" href="VisuObject.html#VISU:CAPS" title="VISU()">VISU</a> (obj)
#define <a class="link" href="VisuObject.html#VISU-CLASS:CAPS" title="VISU_CLASS()">VISU_CLASS</a> (klass)
#define <a class="link" href="VisuObject.html#IS-VISU-TYPE:CAPS" title="IS_VISU_TYPE()">IS_VISU_TYPE</a> (obj)
#define <a class="link" href="VisuObject.html#IS-VISU-CLASS:CAPS" title="IS_VISU_CLASS()">IS_VISU_CLASS</a> (klass)
#define <a class="link" href="VisuObject.html#VISU-GET-CLASS:CAPS" title="VISU_GET_CLASS()">VISU_GET_CLASS</a> (obj)
<a class="link" href="VisuObject.html#VisuObject-struct" title="VisuObject">VisuObject</a>;
<a class="link" href="VisuObject.html#VisuObjectClass" title="VisuObjectClass">VisuObjectClass</a>;
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="VisuObject.html#visu-object-redraw" title="visu_object_redraw ()">visu_object_redraw</a> (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</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="VisuObject.html#visu-object-redrawForce" title="visu_object_redrawForce ()">visu_object_redrawForce</a> (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);
#define <a class="link" href="VisuObject.html#VISU-ADD-REDRAW:CAPS" title="VISU_ADD_REDRAW">VISU_ADD_REDRAW</a>
#define <a class="link" href="VisuObject.html#VISU-FORCE-REDRAW:CAPS" title="VISU_FORCE_REDRAW">VISU_FORCE_REDRAW</a>
<a href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"><span class="returnvalue">GType</span></a> <a class="link" href="VisuObject.html#visuObject-get-type" title="visuObject_get_type ()">visuObject_get_type</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
#define <a class="link" href="VisuObject.html#VISU-INSTANCE:CAPS" title="VISU_INSTANCE">VISU_INSTANCE</a>
<a class="link" href="VisuObject.html" title="VisuObject"><span class="returnvalue">VisuObject</span></a>* <a class="link" href="VisuObject.html#visuObjectGet-static" title="visuObjectGet_static ()">visuObjectGet_static</a> ();
#define <a class="link" href="VisuObject.html#VISU-SIGNALS:CAPS" title="VISU_SIGNALS">VISU_SIGNALS</a>
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="VisuObject.html#visu-object-setRendering" title="visu_object_setRendering ()">visu_object_setRendering</a> (<em class="parameter"><code><a class="link" href="VisuObject.html" title="VisuObject"><span class="type">VisuObject</span></a> *obj</code></em>,
<em class="parameter"><code><a class="link" href="VisuRendering.html" title="VisuRendering"><span class="type">VisuRendering</span></a> *method</code></em>);
<a class="link" href="VisuRendering.html" title="VisuRendering"><span class="returnvalue">VisuRendering</span></a>* <a class="link" href="VisuObject.html#visu-object-getRendering" title="visu_object_getRendering ()">visu_object_getRendering</a> (<em class="parameter"><code><a class="link" href="VisuObject.html" title="VisuObject"><span class="type">VisuObject</span></a> *obj</code></em>);
</pre>
</div>
<div class="refsect1" title="Object Hierarchy">
<a name="VisuObject.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
<a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
+----VisuObject
</pre>
</div>
<div class="refsect1" title="Signals">
<a name="VisuObject.signals"></a><h2>Signals</h2>
<pre class="synopsis">
"<a class="link" href="VisuObject.html#VisuObject-DirectoryChanged" title='The "DirectoryChanged" signal'>DirectoryChanged</a>" : Run Last / No Recursion / No Hooks
"<a class="link" href="VisuObject.html#VisuObject-OpenGLAskForReDraw" title='The "OpenGLAskForReDraw" signal'>OpenGLAskForReDraw</a>" : Run Last / No Recursion / No Hooks
"<a class="link" href="VisuObject.html#VisuObject-OpenGLForceReDraw" title='The "OpenGLForceReDraw" signal'>OpenGLForceReDraw</a>" : Run Last / No Recursion / No Hooks
"<a class="link" href="VisuObject.html#VisuObject-colorNewAvailable" title='The "colorNewAvailable" signal'>colorNewAvailable</a>" : Run Last / No Recursion / No Hooks
"<a class="link" href="VisuObject.html#VisuObject-dataLoaded" title='The "dataLoaded" signal'>dataLoaded</a>" : Run Last / No Recursion / No Hooks
"<a class="link" href="VisuObject.html#VisuObject-dataNew" title='The "dataNew" signal'>dataNew</a>" : Run Last / No Recursion / No Hooks
"<a class="link" href="VisuObject.html#VisuObject-dataReadyForRendering" title='The "dataReadyForRendering" signal'>dataReadyForRendering</a>" : Run Last / No Recursion / No Hooks
"<a class="link" href="VisuObject.html#VisuObject-renderingChanged" title='The "renderingChanged" signal'>renderingChanged</a>" : Run Last / No Recursion / No Hooks
"<a class="link" href="VisuObject.html#VisuObject-resourcesLoaded" title='The "resourcesLoaded" signal'>resourcesLoaded</a>" : Run Last / No Recursion / No Hooks
</pre>
</div>
<div class="refsect1" title="Description">
<a name="VisuObject.description"></a><h2>Description</h2>
<p>
</p>
<p>At the present time, the signals are global to all V_Sim,
owned by a variable include in each parts called visu. This is
wherre these signals are defined.</p>
<p>
</p>
</div>
<div class="refsect1" title="Details">
<a name="VisuObject.details"></a><h2>Details</h2>
<div class="refsect2" title="VISU_TYPE">
<a name="VISU-TYPE:CAPS"></a><h3>VISU_TYPE</h3>
<pre class="programlisting">#define VISU_TYPE (visuObject_get_type ())
</pre>
<p>
return the type of <a class="link" href="VisuObject.html" title="VisuObject"><span class="type">VisuObject</span></a>.
</p>
</div>
<hr>
<div class="refsect2" title="VISU()">
<a name="VISU:CAPS"></a><h3>VISU()</h3>
<pre class="programlisting">#define VISU(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VISU_TYPE, VisuObject))
</pre>
<p>
Cast the given <em class="parameter"><code>obj</code></em> into <a class="link" href="VisuObject.html" title="VisuObject"><span class="type">VisuObject</span></a> type.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>obj</code></em> :</span></p></td>
<td>a <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> to cast.
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="VISU_CLASS()">
<a name="VISU-CLASS:CAPS"></a><h3>VISU_CLASS()</h3>
<pre class="programlisting">#define VISU_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VISU_TYPE, VisuObjectClass))
</pre>
<p>
Cast the given <em class="parameter"><code>klass</code></em> into <a class="link" href="VisuObject.html#VisuObjectClass" title="VisuObjectClass"><span class="type">VisuObjectClass</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>klass</code></em> :</span></p></td>
<td>a <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObjectClass"><span class="type">GObjectClass</span></a> to cast.
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="IS_VISU_TYPE()">
<a name="IS-VISU-TYPE:CAPS"></a><h3>IS_VISU_TYPE()</h3>
<pre class="programlisting">#define IS_VISU_TYPE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VISU_TYPE))
</pre>
<p>
Test if the given <em class="parameter"><code>ogj</code></em> is of the type of <a class="link" href="VisuObject.html" title="VisuObject"><span class="type">VisuObject</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>obj</code></em> :</span></p></td>
<td>a <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> to test.
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="IS_VISU_CLASS()">
<a name="IS-VISU-CLASS:CAPS"></a><h3>IS_VISU_CLASS()</h3>
<pre class="programlisting">#define IS_VISU_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VISU_TYPE))
</pre>
<p>
Test if the given <em class="parameter"><code>klass</code></em> is of the type of <a class="link" href="VisuObject.html#VisuObjectClass" title="VisuObjectClass"><span class="type">VisuObjectClass</span></a> class.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>klass</code></em> :</span></p></td>
<td>a <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObjectClass"><span class="type">GObjectClass</span></a> to test.
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="VISU_GET_CLASS()">
<a name="VISU-GET-CLASS:CAPS"></a><h3>VISU_GET_CLASS()</h3>
<pre class="programlisting">#define VISU_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VISU_TYPE, VisuObjectClass))
</pre>
<p>
It returns the class of the given <em class="parameter"><code>obj</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>obj</code></em> :</span></p></td>
<td>a <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> to get the class of.
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="VisuObject">
<a name="VisuObject-struct"></a><h3>VisuObject</h3>
<pre class="programlisting">typedef struct _VisuObject VisuObject;</pre>
<p>
A short way to identify <a class="link" href="VisuObject.html" title="VisuObject"><span class="type">_VisuObject</span></a> structure.
</p>
</div>
<hr>
<div class="refsect2" title="VisuObjectClass">
<a name="VisuObjectClass"></a><h3>VisuObjectClass</h3>
<pre class="programlisting">typedef struct {
GObjectClass parent;
guint signals[VISU_NB_SIGNAL];
} VisuObjectClass;
</pre>
<p>
This structure describes the class <a class="link" href="VisuObject.html#VisuObjectClass" title="VisuObjectClass"><span class="type">VisuObjectClass</span></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObjectClass"><span class="type">GObjectClass</span></a> <em class="structfield"><code><a name="VisuObjectClass.parent"></a>parent</code></em>;</span></p></td>
<td>an object to inherit from (NULL here).
</td>
</tr>
<tr>
<td><p><span class="term"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="VisuObjectClass.signals"></a>signals</code></em>[VISU_NB_SIGNAL];</span></p></td>
<td>the array with the signals.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="visu_object_redraw ()">
<a name="visu-object-redraw"></a><h3>visu_object_redraw ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> visu_object_redraw (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
<p>
Call the signal OpenGLAskForReDraw. The API is adapted to the routine to be added
in the gloop. Use VISU_ADD_REDRAW instead of this routine.
</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 string.. <acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>. </td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> FALSE to stop the emission as soon as done.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="visu_object_redrawForce ()">
<a name="visu-object-redrawForce"></a><h3>visu_object_redrawForce ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> visu_object_redrawForce (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
<p>
Call the signal OpenGLForceReDraw. The API is adapted to the routine to be added
in the gloop. Use VISU_FORCE_REDRAW instead of this routine.
</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 string.. <acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>. </td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> FALSE to stop the emission as soon as done.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="VISU_ADD_REDRAW">
<a name="VISU-ADD-REDRAW:CAPS"></a><h3>VISU_ADD_REDRAW</h3>
<pre class="programlisting">#define VISU_ADD_REDRAW g_idle_add(visu_object_redraw, (gpointer)__func__)
</pre>
<p>
A macro to ask V_Sim to redraw the rendering area at next idle
time, except if the deferred redraw option is set.
</p>
</div>
<hr>
<div class="refsect2" title="VISU_FORCE_REDRAW">
<a name="VISU-FORCE-REDRAW:CAPS"></a><h3>VISU_FORCE_REDRAW</h3>
<pre class="programlisting">#define VISU_FORCE_REDRAW g_idle_add(visu_object_redrawForce, (gpointer)__func__)
</pre>
<p>
Force V_Sim to redraw at the next idle time, whatever value for the
deferred redraw option.
</p>
</div>
<hr>
<div class="refsect2" title="visuObject_get_type ()">
<a name="visuObject-get-type"></a><h3>visuObject_get_type ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"><span class="returnvalue">GType</span></a> visuObject_get_type (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>
This method returns the type of <a class="link" href="VisuObject.html" title="VisuObject"><span class="type">VisuObject</span></a>, use VISU_TYPE instead.
</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 type of <a class="link" href="VisuObject.html" title="VisuObject"><span class="type">VisuObject</span></a>.
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="VISU_INSTANCE">
<a name="VISU-INSTANCE:CAPS"></a><h3>VISU_INSTANCE</h3>
<pre class="programlisting">#define VISU_INSTANCE visuObjectGet_static()
</pre>
<p>
This routine is used to get the global <a class="link" href="VisuObject.html" title="VisuObject"><span class="type">VisuObject</span></a> object to listen
to its signals.
</p>
</div>
<hr>
<div class="refsect2" title="visuObjectGet_static ()">
<a name="visuObjectGet-static"></a><h3>visuObjectGet_static ()</h3>
<pre class="programlisting"><a class="link" href="VisuObject.html" title="VisuObject"><span class="returnvalue">VisuObject</span></a>* visuObjectGet_static ();</pre>
<p>
Internal routine to access the <a class="link" href="VisuObject.html" title="VisuObject"><span class="type">VisuObject</span></a> object instanciated by
default. Use <a class="link" href="VisuObject.html#VISU-INSTANCE:CAPS" title="VISU_INSTANCE"><span class="type">VISU_INSTANCE</span></a> instead.
</p>
</div>
<hr>
<div class="refsect2" title="VISU_SIGNALS">
<a name="VISU-SIGNALS:CAPS"></a><h3>VISU_SIGNALS</h3>
<pre class="programlisting">#define VISU_SIGNALS VISU_GET_CLASS(VISU_INSTANCE)->signals
</pre>
<p>
Get the list of signals of a <a class="link" href="VisuObject.html" title="VisuObject"><span class="type">VisuObject</span></a>.
</p>
</div>
<hr>
<div class="refsect2" title="visu_object_setRendering ()">
<a name="visu-object-setRendering"></a><h3>visu_object_setRendering ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> visu_object_setRendering (<em class="parameter"><code><a class="link" href="VisuObject.html" title="VisuObject"><span class="type">VisuObject</span></a> *obj</code></em>,
<em class="parameter"><code><a class="link" href="VisuRendering.html" title="VisuRendering"><span class="type">VisuRendering</span></a> *method</code></em>);</pre>
<p>
Choose the method used to render the data.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>obj</code></em> :</span></p></td>
<td>a <a class="link" href="VisuObject.html" title="VisuObject"><span class="type">VisuObject</span></a> object.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>method</code></em> :</span></p></td>
<td>a <a class="link" href="VisuRendering.html" title="VisuRendering"><span class="type">VisuRendering</span></a> method.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> TRUE if the rendering method of <em class="parameter"><code>obj</code></em> is actually changed.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="visu_object_getRendering ()">
<a name="visu-object-getRendering"></a><h3>visu_object_getRendering ()</h3>
<pre class="programlisting"><a class="link" href="VisuRendering.html" title="VisuRendering"><span class="returnvalue">VisuRendering</span></a>* visu_object_getRendering (<em class="parameter"><code><a class="link" href="VisuObject.html" title="VisuObject"><span class="type">VisuObject</span></a> *obj</code></em>);</pre>
<p>
Get the current method used to render the data.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>obj</code></em> :</span></p></td>
<td>a <a class="link" href="VisuObject.html" title="VisuObject"><span class="type">VisuObject</span></a> object.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> the rendering method attached to <em class="parameter"><code>obj</code></em>.
</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1" title="Signal Details">
<a name="VisuObject.signal-details"></a><h2>Signal Details</h2>
<div class="refsect2" title='The "DirectoryChanged" signal'>
<a name="VisuObject-DirectoryChanged"></a><h3>The <code class="literal">"DirectoryChanged"</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="VisuObject.html" title="VisuObject"><span class="type">VisuObject</span></a> *visuObj,
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> kind,
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : Run Last / No Recursion / No Hooks</pre>
<p>
The current directory has been changed. The kind of directory is
defined by <em class="parameter"><code>kind</code></em> (see #).
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>visuObj</code></em> :</span></p></td>
<td>the object emitting the signal.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>kind</code></em> :</span></p></td>
<td>a flag.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 3.6</p>
</div>
<hr>
<div class="refsect2" title='The "OpenGLAskForReDraw" signal'>
<a name="VisuObject-OpenGLAskForReDraw"></a><h3>The <code class="literal">"OpenGLAskForReDraw"</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="VisuObject.html" title="VisuObject"><span class="type">VisuObject</span></a> *visuObj,
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : Run Last / No Recursion / No Hooks</pre>
<p>
Internal signal, use <a class="link" href="VisuObject.html#VISU-ADD-REDRAW:CAPS" title="VISU_ADD_REDRAW"><code class="function">VISU_ADD_REDRAW()</code></a> instead.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>visuObj</code></em> :</span></p></td>
<td>the object emitting the signal.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title='The "OpenGLForceReDraw" signal'>
<a name="VisuObject-OpenGLForceReDraw"></a><h3>The <code class="literal">"OpenGLForceReDraw"</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="VisuObject.html" title="VisuObject"><span class="type">VisuObject</span></a> *visuObj,
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : Run Last / No Recursion / No Hooks</pre>
<p>
Internal signal, use <a class="link" href="VisuObject.html#VISU-FORCE-REDRAW:CAPS" title="VISU_FORCE_REDRAW"><code class="function">VISU_FORCE_REDRAW()</code></a> instead.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>visuObj</code></em> :</span></p></td>
<td>the object emitting the signal.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title='The "colorNewAvailable" signal'>
<a name="VisuObject-colorNewAvailable"></a><h3>The <code class="literal">"colorNewAvailable"</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="VisuObject.html" title="VisuObject"><span class="type">VisuObject</span></a> *visuObj,
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> color,
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : Run Last / No Recursion / No Hooks</pre>
<p>
A new <a class="link" href="v-sim-toolColor.html#ToolColor" title="ToolColor"><span class="type">ToolColor</span></a> is available.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>visuObj</code></em> :</span></p></td>
<td>the object emitting the signal.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>color</code></em> :</span></p></td>
<td>the newly created <a class="link" href="v-sim-toolColor.html#ToolColor" title="ToolColor"><span class="type">ToolColor</span></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 3.2</p>
</div>
<hr>
<div class="refsect2" title='The "dataLoaded" signal'>
<a name="VisuObject-dataLoaded"></a><h3>The <code class="literal">"dataLoaded"</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="VisuObject.html" title="VisuObject"><span class="type">VisuObject</span></a> *visuObj,
<a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *dataObj,
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : Run Last / No Recursion / No Hooks</pre>
<p>
The given <em class="parameter"><code>dataObj</code></em> is fully populated and ready for usage.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>visuObj</code></em> :</span></p></td>
<td>the object emitting the signal.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>dataObj</code></em> :</span></p></td>
<td>the newly created <a class="link" href="v-sim-visu-data.html#VisuData"><span class="type">VisuData</span></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 3.1</p>
</div>
<hr>
<div class="refsect2" title='The "dataNew" signal'>
<a name="VisuObject-dataNew"></a><h3>The <code class="literal">"dataNew"</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="VisuObject.html" title="VisuObject"><span class="type">VisuObject</span></a> *visuObj,
<a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *dataObj,
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : Run Last / No Recursion / No Hooks</pre>
<p>
A new <a class="link" href="v-sim-visu-data.html#VisuData"><span class="type">VisuData</span></a> is available.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>visuObj</code></em> :</span></p></td>
<td>the object emitting the signal.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>dataObj</code></em> :</span></p></td>
<td>the newly created <a class="link" href="v-sim-visu-data.html#VisuData"><span class="type">VisuData</span></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 3.2</p>
</div>
<hr>
<div class="refsect2" title='The "dataReadyForRendering" signal'>
<a name="VisuObject-dataReadyForRendering"></a><h3>The <code class="literal">"dataReadyForRendering"</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="VisuObject.html" title="VisuObject"><span class="type">VisuObject</span></a> *visuObj,
<a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *dataObj,
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : Run Last / No Recursion / No Hooks</pre>
<p>
The given <em class="parameter"><code>dataObj</code></em> is fully set up and ready for rendering (no
further internal modifications will occur).
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>visuObj</code></em> :</span></p></td>
<td>the object emitting the signal.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>dataObj</code></em> :</span></p></td>
<td>the newly created <a class="link" href="v-sim-visu-data.html#VisuData"><span class="type">VisuData</span></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title='The "renderingChanged" signal'>
<a name="VisuObject-renderingChanged"></a><h3>The <code class="literal">"renderingChanged"</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="VisuObject.html" title="VisuObject"><span class="type">VisuObject</span></a> *visuObj,
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> meth,
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : Run Last / No Recursion / No Hooks</pre>
<p>
The rendering method has been changed.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>visuObj</code></em> :</span></p></td>
<td>the object emitting the signal.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>meth</code></em> :</span></p></td>
<td>the newly chosen <a class="link" href="VisuRendering.html" title="VisuRendering"><span class="type">VisuRendering</span></a> method.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title='The "resourcesLoaded" signal'>
<a name="VisuObject-resourcesLoaded"></a><h3>The <code class="literal">"resourcesLoaded"</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="VisuObject.html" title="VisuObject"><span class="type">VisuObject</span></a> *visuObj,
<a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *dataObj,
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : Run Last / No Recursion / No Hooks</pre>
<p>
The resource file has been read.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>visuObj</code></em> :</span></p></td>
<td>the object emitting the signal.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>dataObj</code></em> :</span></p></td>
<td>the associated <a class="link" href="v-sim-visu-data.html#VisuData"><span class="type">VisuData</span></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.14</div>
</body>
</html>
|