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 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>VisuRendering</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="v-sim-opengl.html" title="opengl">
<link rel="next" href="v-sim-visu-configFile.html" title="visu_configFile">
<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-opengl.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-configFile.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#VisuRendering.synopsis" class="shortcut">Top</a>
|
<a href="#VisuRendering.description" class="shortcut">Description</a>
|
<a href="#VisuRendering.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
<a href="#VisuRendering.properties" class="shortcut">Properties</a>
|
<a href="#VisuRendering.signals" class="shortcut">Signals</a>
</td></tr>
</table>
<div class="refentry" title="VisuRendering">
<a name="VisuRendering"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="VisuRendering.top_of_page"></a>VisuRendering</span></h2>
<p>VisuRendering — Methods to create and add new rendering
methods.</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv" title="Synopsis">
<a name="VisuRendering.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">#define <a class="link" href="VisuRendering.html#VISU-ERROR-RENDERING:CAPS" title="VISU_ERROR_RENDERING">VISU_ERROR_RENDERING</a>
<a href="/usr/share/gtk-doc/html/glib/glib-Quarks.html#GQuark"><span class="returnvalue">GQuark</span></a> <a class="link" href="VisuRendering.html#visuRenderingClassGet-quark" title="visuRenderingClassGet_quark ()">visuRenderingClassGet_quark</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
enum <a class="link" href="VisuRendering.html#RenderingErrorFlag" title="enum RenderingErrorFlag">RenderingErrorFlag</a>;
#define <a class="link" href="VisuRendering.html#VISU-RENDERING-TYPE:CAPS" title="VISU_RENDERING_TYPE">VISU_RENDERING_TYPE</a>
#define <a class="link" href="VisuRendering.html#VISU-RENDERING:CAPS" title="VISU_RENDERING()">VISU_RENDERING</a> (obj)
#define <a class="link" href="VisuRendering.html#VISU-RENDERING-CLASS:CAPS" title="VISU_RENDERING_CLASS()">VISU_RENDERING_CLASS</a> (klass)
#define <a class="link" href="VisuRendering.html#IS-VISU-RENDERING-TYPE:CAPS" title="IS_VISU_RENDERING_TYPE()">IS_VISU_RENDERING_TYPE</a> (obj)
#define <a class="link" href="VisuRendering.html#IS-VISU-RENDERING-CLASS:CAPS" title="IS_VISU_RENDERING_CLASS()">IS_VISU_RENDERING_CLASS</a> (klass)
#define <a class="link" href="VisuRendering.html#VISU-RENDERING-GET-CLASS:CAPS" title="VISU_RENDERING_GET_CLASS()">VISU_RENDERING_GET_CLASS</a> (obj)
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> (<a class="link" href="VisuRendering.html#VisuRenderingLoadFormatFunc" title="VisuRenderingLoadFormatFunc ()">*VisuRenderingLoadFormatFunc</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>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 class="link" href="v-sim-toolFileFormat.html#ToolFileFormat" title="ToolFileFormat"><span class="type">ToolFileFormat</span></a> *format</code></em>,
<em class="parameter"><code><span class="type">int</span> nSet</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">int</span> (<a class="link" href="VisuRendering.html#VisuRenderingCreateElementFunc" title="VisuRenderingCreateElementFunc ()">*VisuRenderingCreateElementFunc</a>) (<em class="parameter"><code><a class="link" href="v-sim-visu-elements.html#VisuElement"><span class="type">VisuElement</span></a> *ele</code></em>,
<em class="parameter"><code><a class="link" href="v-sim-view.html#VisuOpenGLCamera" title="VisuOpenGLCamera"><span class="type">VisuOpenGLCamera</span></a> *camera</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> winSize</code></em>);
<span class="returnvalue">void</span> (<a class="link" href="VisuRendering.html#VisuRenderingCreateNodeFunc" title="VisuRenderingCreateNodeFunc ()">*VisuRenderingCreateNodeFunc</a>) (<em class="parameter"><code><a class="link" href="v-sim-visu-data.html#VisuData"><span class="type">VisuData</span></a> *visuData</code></em>,
<em class="parameter"><code><a class="link" href="v-sim-visu-nodes.html#VisuNode" title="VisuNode"><span class="type">VisuNode</span></a> *node</code></em>,
<em class="parameter"><code><a class="link" href="v-sim-visu-elements.html#VisuElement"><span class="type">VisuElement</span></a> *ele</code></em>);
<span class="returnvalue">float</span> (<a class="link" href="VisuRendering.html#VisuRenderingGetNodeExtendFunc" title="VisuRenderingGetNodeExtendFunc ()">*VisuRenderingGetNodeExtendFunc</a>) (<em class="parameter"><code><a class="link" href="v-sim-visu-elements.html#VisuElement"><span class="type">VisuElement</span></a> *ele</code></em>);
<a class="link" href="VisuRendering.html#VisuRenderingPriv" title="VisuRenderingPriv">VisuRenderingPriv</a>;
<a class="link" href="VisuRendering.html#VisuRendering-struct" title="VisuRendering">VisuRendering</a>;
<a class="link" href="VisuRendering.html#VisuRenderingClass" title="VisuRenderingClass">VisuRenderingClass</a>;
<a href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"><span class="returnvalue">GType</span></a> <a class="link" href="VisuRendering.html#visu-rendering-get-type" title="visu_rendering_get_type ()">visu_rendering_get_type</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
<span class="returnvalue">void</span> <a class="link" href="VisuRendering.html#visu-rendering-addFileFormat" title="visu_rendering_addFileFormat ()">visu_rendering_addFileFormat</a> (<em class="parameter"><code><a class="link" href="VisuRendering.html" title="VisuRendering"><span class="type">VisuRendering</span></a> *method</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> fileType</code></em>,
<em class="parameter"><code><a class="link" href="v-sim-toolFileFormat.html#ToolFileFormat" title="ToolFileFormat"><span class="type">ToolFileFormat</span></a> *fmt</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> priority</code></em>,
<em class="parameter"><code><a class="link" href="VisuRendering.html#VisuRenderingLoadFormatFunc" title="VisuRenderingLoadFormatFunc ()"><span class="type">VisuRenderingLoadFormatFunc</span></a> loadFunc</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> notify</code></em>);
<span class="returnvalue">void</span> <a class="link" href="VisuRendering.html#visu-rendering-setFileTypeLabel" title="visu_rendering_setFileTypeLabel ()">visu_rendering_setFileTypeLabel</a> (<em class="parameter"><code><a class="link" href="VisuRendering.html" title="VisuRendering"><span class="type">VisuRendering</span></a> *method</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> fileType</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">void</span> <a class="link" href="VisuRendering.html#visu-rendering-setFileFormat" title="visu_rendering_setFileFormat ()">visu_rendering_setFileFormat</a> (<em class="parameter"><code><a class="link" href="VisuRendering.html" title="VisuRendering"><span class="type">VisuRendering</span></a> *meth</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> fileType</code></em>,
<em class="parameter"><code><a class="link" href="VisuRendering.html" title="VisuRendering"><span class="type">VisuRendering</span></a> *from</code></em>);
<span class="returnvalue">void</span> <a class="link" href="VisuRendering.html#visu-rendering-setIcon" title="visu_rendering_setIcon ()">visu_rendering_setIcon</a> (<em class="parameter"><code><a class="link" href="VisuRendering.html" title="VisuRendering"><span class="type">VisuRendering</span></a> *method</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> *path</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="VisuRendering.html#visu-rendering-load" title="visu_rendering_load ()">visu_rendering_load</a> (<em class="parameter"><code><a class="link" href="VisuRendering.html" title="VisuRendering"><span class="type">VisuRendering</span></a> *method</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 class="link" href="v-sim-toolFileFormat.html#ToolFileFormat" title="ToolFileFormat"><span class="type">ToolFileFormat</span></a> *format</code></em>,
<em class="parameter"><code><span class="type">int</span> nSet</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>);
const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a>* <a class="link" href="VisuRendering.html#visu-rendering-getName" title="visu_rendering_getName ()">visu_rendering_getName</a> (<em class="parameter"><code><a class="link" href="VisuRendering.html" title="VisuRendering"><span class="type">VisuRendering</span></a> *method</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> UTF8</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="VisuRendering.html#visu-rendering-getDescription" title="visu_rendering_getDescription ()">visu_rendering_getDescription</a> (<em class="parameter"><code><a class="link" href="VisuRendering.html" title="VisuRendering"><span class="type">VisuRendering</span></a> *method</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> <a class="link" href="VisuRendering.html#visu-rendering-getNFileTypes" title="visu_rendering_getNFileTypes ()">visu_rendering_getNFileTypes</a> (<em class="parameter"><code><a class="link" href="VisuRendering.html" title="VisuRendering"><span class="type">VisuRendering</span></a> *method</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a>* <a class="link" href="VisuRendering.html#visu-rendering-getFileFormat" title="visu_rendering_getFileFormat ()">visu_rendering_getFileFormat</a> (<em class="parameter"><code><a class="link" href="VisuRendering.html" title="VisuRendering"><span class="type">VisuRendering</span></a> *method</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> fileType</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="VisuRendering.html#visu-rendering-getFileTypeName" title="visu_rendering_getFileTypeName ()">visu_rendering_getFileTypeName</a> (<em class="parameter"><code><a class="link" href="VisuRendering.html" title="VisuRendering"><span class="type">VisuRendering</span></a> *method</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> fileType</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="VisuRendering.html#visu-rendering-getIconPath" title="visu_rendering_getIconPath ()">visu_rendering_getIconPath</a> (<em class="parameter"><code><a class="link" href="VisuRendering.html" title="VisuRendering"><span class="type">VisuRendering</span></a> *method</code></em>);
<span class="returnvalue">float</span> <a class="link" href="VisuRendering.html#visu-rendering-getSizeOfElement" title="visu_rendering_getSizeOfElement ()">visu_rendering_getSizeOfElement</a> (<em class="parameter"><code><a class="link" href="VisuRendering.html" title="VisuRendering"><span class="type">VisuRendering</span></a> *method</code></em>,
<em class="parameter"><code><a class="link" href="v-sim-visu-elements.html#VisuElement"><span class="type">VisuElement</span></a> *ele</code></em>);
<span class="returnvalue">int</span> <a class="link" href="VisuRendering.html#visu-rendering-createElement" title="visu_rendering_createElement ()">visu_rendering_createElement</a> (<em class="parameter"><code><a class="link" href="VisuRendering.html" title="VisuRendering"><span class="type">VisuRendering</span></a> *method</code></em>,
<em class="parameter"><code><a class="link" href="v-sim-visu-elements.html#VisuElement"><span class="type">VisuElement</span></a> *element</code></em>,
<em class="parameter"><code><a class="link" href="v-sim-view.html#VisuOpenGLCamera" title="VisuOpenGLCamera"><span class="type">VisuOpenGLCamera</span></a> *camera</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> winSize</code></em>);
<span class="returnvalue">void</span> <a class="link" href="VisuRendering.html#visu-rendering-createNode" title="visu_rendering_createNode ()">visu_rendering_createNode</a> (<em class="parameter"><code><a class="link" href="VisuRendering.html" title="VisuRendering"><span class="type">VisuRendering</span></a> *method</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 class="link" href="v-sim-visu-nodes.html#VisuNode" title="VisuNode"><span class="type">VisuNode</span></a> *node</code></em>,
<em class="parameter"><code><a class="link" href="v-sim-visu-elements.html#VisuElement"><span class="type">VisuElement</span></a> *ele</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a>* <a class="link" href="VisuRendering.html#visu-rendering-getAllObjects" title="visu_rendering_getAllObjects ()">visu_rendering_getAllObjects</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
<a class="link" href="VisuRendering.html" title="VisuRendering"><span class="returnvalue">VisuRendering</span></a>* <a class="link" href="VisuRendering.html#visu-rendering-getByName" title="visu_rendering_getByName ()">visu_rendering_getByName</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> *name</code></em>);
</pre>
</div>
<div class="refsect1" title="Object Hierarchy">
<a name="VisuRendering.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>
+----VisuRendering
+----<a class="link" href="v-sim-renderingAtomic.html#VisuRenderingAtomic">VisuRenderingAtomic</a>
+----<a class="link" href="v-sim-renderingSpin.html#VisuRenderingSpin">VisuRenderingSpin</a>
</pre>
</div>
<div class="refsect1" title="Properties">
<a name="VisuRendering.properties"></a><h2>Properties</h2>
<pre class="synopsis">
"<a class="link" href="VisuRendering.html#VisuRendering--description" title='The "description" property'>description</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
"<a class="link" href="VisuRendering.html#VisuRendering--label" title='The "label" property'>label</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
"<a class="link" href="VisuRendering.html#VisuRendering--nFiles" title='The "nFiles" property'>nFiles</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write / Construct Only
"<a class="link" href="VisuRendering.html#VisuRendering--name" title='The "name" property'>name</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write / Construct Only
</pre>
</div>
<div class="refsect1" title="Signals">
<a name="VisuRendering.signals"></a><h2>Signals</h2>
<pre class="synopsis">
"<a class="link" href="VisuRendering.html#VisuRendering-elementSizeChanged" title='The "elementSizeChanged" signal'>elementSizeChanged</a>" : Run Last / No Recursion
"<a class="link" href="VisuRendering.html#VisuRendering-fileTypeChanged" title='The "fileTypeChanged" signal'>fileTypeChanged</a>" : Run Last / No Recursion / No Hooks
</pre>
</div>
<div class="refsect1" title="Description">
<a name="VisuRendering.description"></a><h2>Description</h2>
<p>
</p>
<p> The way visu renders its data is done by modules. They are
called rendering methods and they describes how data are drawn on
the screen. Many can be defined but only one is used at a time to
render the data.</p>
<p>
</p>
<p>
</p>
<p>One or more file type are associated with a rendering
method. And a rendering method must specify the way to load the
data it needs. Taking the example of a spin system representation,
there are two kinds of file. The first kind describes the position
the spin and the second contains their orientations.</p>
<p>
</p>
<p>
</p>
<p>To create a new rendering method, subclass
<a class="link" href="VisuRendering.html" title="VisuRendering"><span class="type">VisuRendering</span></a>. The name is mandatory and must be
unique. The description is not compulsory. The number of file kinds
is also required. Use <a href="v-sim-visu-rendering.html#renderingMethodSet-fileType"><code class="function">renderingMethodSet_fileType()</code></a> to associated a
<a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> of <a class="link" href="v-sim-toolFileFormat.html#ToolFileFormat" title="ToolFileFormat"><span class="type">ToolFileFormat</span></a>. In our example of spin system, the first
kind of file is about positions, and the associated file formats
are *.ascii, *.d3 and *.xyz.</p>
<p>
</p>
<p>
</p>
<p>The <a class="link" href="VisuRendering.html#VisuRendering-struct" title="VisuRendering"><span class="type">VisuRendering_struct</span></a> has to two pointers on methods
that are important. The first, <a href="v-sim-visu-rendering.html#createOpenGLElementFunc"><code class="function">createOpenGLElementFunc()</code></a> is called
when V_Sim needs to create an OpenGL list corresponding to the
<a class="link" href="v-sim-visu-elements.html#VisuElement"><span class="type">VisuElement</span></a> given as argument. This list then can be used to
render each node and thus accelerating the rendering
operations. The second method is <a href="v-sim-visu-rendering.html#createOpenGLNodeFunc"><code class="function">createOpenGLNodeFunc()</code></a> and is
called by V_Sim for each node of the system when the main OpenGL
list (the one for the nodes) is created. Thus, in the contrary of
the first method, thios one should not create an OpenGL list but
directly call OpenGL routines to draw the node. This method is also
responsible to put the node at the right position. Use
<a class="link" href="v-sim-visu-data.html#visu-data-getNodePosition" title="visu_data_getNodePosition ()"><code class="function">visu_data_getNodePosition()</code></a> to retrieve the position and translate
the node accordingly.</p>
<p>
</p>
</div>
<div class="refsect1" title="Details">
<a name="VisuRendering.details"></a><h2>Details</h2>
<div class="refsect2" title="VISU_ERROR_RENDERING">
<a name="VISU-ERROR-RENDERING:CAPS"></a><h3>VISU_ERROR_RENDERING</h3>
<pre class="programlisting">#define VISU_ERROR_RENDERING visuRenderingClassGet_quark()
</pre>
</div>
<hr>
<div class="refsect2" title="visuRenderingClassGet_quark ()">
<a name="visuRenderingClassGet-quark"></a><h3>visuRenderingClassGet_quark ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Quarks.html#GQuark"><span class="returnvalue">GQuark</span></a> visuRenderingClassGet_quark (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>
Internal function to handle error.
</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 <a href="/usr/share/gtk-doc/html/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> for <a class="link" href="VisuRendering.html" title="VisuRendering"><span class="type">VisuRendering</span></a> method errors.
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="enum RenderingErrorFlag">
<a name="RenderingErrorFlag"></a><h3>enum RenderingErrorFlag</h3>
<pre class="programlisting">typedef enum
{
RENDERING_ERROR_METHOD, /* Error from the rendering method. */
RENDERING_ERROR_FILE, /* Error when opening. */
RENDERING_ERROR_FORMAT, /* Wrongness in format. */
RENDERING_ERROR_CANCEL /* Cancellation asked. */
} RenderingErrorFlag;
</pre>
<p>
Thiese are flags used when reading a file with a rendering method.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><a name="RENDERING-ERROR-METHOD:CAPS"></a><span class="term"><code class="literal">RENDERING_ERROR_METHOD</code></span></p></td>
<td>Error from the rendering method.
</td>
</tr>
<tr>
<td><p><a name="RENDERING-ERROR-FILE:CAPS"></a><span class="term"><code class="literal">RENDERING_ERROR_FILE</code></span></p></td>
<td>Error when opening.
</td>
</tr>
<tr>
<td><p><a name="RENDERING-ERROR-FORMAT:CAPS"></a><span class="term"><code class="literal">RENDERING_ERROR_FORMAT</code></span></p></td>
<td>Wrongness in format.
</td>
</tr>
<tr>
<td><p><a name="RENDERING-ERROR-CANCEL:CAPS"></a><span class="term"><code class="literal">RENDERING_ERROR_CANCEL</code></span></p></td>
<td>the rendering operation has been cancelled.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="VISU_RENDERING_TYPE">
<a name="VISU-RENDERING-TYPE:CAPS"></a><h3>VISU_RENDERING_TYPE</h3>
<pre class="programlisting">#define VISU_RENDERING_TYPE (visu_rendering_get_type ())
</pre>
<p>
return the type of <a class="link" href="VisuRendering.html" title="VisuRendering"><span class="type">VisuRendering</span></a>.
</p>
</div>
<hr>
<div class="refsect2" title="VISU_RENDERING()">
<a name="VISU-RENDERING:CAPS"></a><h3>VISU_RENDERING()</h3>
<pre class="programlisting">#define VISU_RENDERING(obj) (G_TYPE_CHECK_INSTANCE_CAST(obj, VISU_RENDERING_TYPE, VisuRendering))
</pre>
<p>
Cast the given <em class="parameter"><code>obj</code></em> into <a class="link" href="VisuRendering.html" title="VisuRendering"><span class="type">VisuRendering</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_RENDERING_CLASS()">
<a name="VISU-RENDERING-CLASS:CAPS"></a><h3>VISU_RENDERING_CLASS()</h3>
<pre class="programlisting">#define VISU_RENDERING_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST(klass, VISU_RENDERING_TYPE, VisuRenderingClass))
</pre>
<p>
Cast the given <em class="parameter"><code>klass</code></em> into <a class="link" href="VisuRendering.html#VisuRenderingClass" title="VisuRenderingClass"><span class="type">VisuRenderingClass</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_RENDERING_TYPE()">
<a name="IS-VISU-RENDERING-TYPE:CAPS"></a><h3>IS_VISU_RENDERING_TYPE()</h3>
<pre class="programlisting">#define IS_VISU_RENDERING_TYPE(obj) (G_TYPE_CHECK_INSTANCE_TYPE(obj, VISU_RENDERING_TYPE))
</pre>
<p>
Test if the given <em class="parameter"><code>ogj</code></em> is of the type of <a class="link" href="VisuRendering.html" title="VisuRendering"><span class="type">VisuRendering</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_RENDERING_CLASS()">
<a name="IS-VISU-RENDERING-CLASS:CAPS"></a><h3>IS_VISU_RENDERING_CLASS()</h3>
<pre class="programlisting">#define IS_VISU_RENDERING_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE(klass, VISU_RENDERING_TYPE))
</pre>
<p>
Test if the given <em class="parameter"><code>klass</code></em> is of the type of <a class="link" href="VisuRendering.html#VisuRenderingClass" title="VisuRenderingClass"><span class="type">VisuRenderingClass</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_RENDERING_GET_CLASS()">
<a name="VISU-RENDERING-GET-CLASS:CAPS"></a><h3>VISU_RENDERING_GET_CLASS()</h3>
<pre class="programlisting">#define VISU_RENDERING_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, VISU_RENDERING_TYPE, VisuRenderingClass))
</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="VisuRenderingLoadFormatFunc ()">
<a name="VisuRenderingLoadFormatFunc"></a><h3>VisuRenderingLoadFormatFunc ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> (*VisuRenderingLoadFormatFunc) (<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>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 class="link" href="v-sim-toolFileFormat.html#ToolFileFormat" title="ToolFileFormat"><span class="type">ToolFileFormat</span></a> *format</code></em>,
<em class="parameter"><code><span class="type">int</span> nSet</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 is an interface for a generic load method. This method read the file
positionned on <em class="parameter"><code>filename</code></em> and populate or change the arrays in
<em class="parameter"><code>data</code></em>. When enter this method, the <em class="parameter"><code>data</code></em> argument is already
allocated but its arrays may be empty and unallocated (depending on
context). If the load method fails (because the format is wrong or
anything else), the <em class="parameter"><code>data</code></em> argument should not be modified. If some
errors occur, the pointer <em class="parameter"><code>error</code></em> will be instanciated. A
<a class="link" href="VisuRendering.html" title="VisuRendering"><span class="type">VisuRendering</span></a> can have several <a class="link" href="VisuRendering.html#VisuRenderingLoadFormatFunc" title="VisuRenderingLoadFormatFunc ()"><span class="type">VisuRenderingLoadFormatFunc</span></a> methods
for each format they support. The <em class="parameter"><code>nSet</code></em> argument is used to load a
specific set of nodes if the input format supports it. If <em class="parameter"><code>nSet</code></em> is
0, then the default set of nodes is loaded.
</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>filename</code></em> :</span></p></td>
<td>the access to the file to load ;
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>format</code></em> :</span></p></td>
<td>a <a class="link" href="v-sim-toolFileFormat.html#ToolFileFormat" title="ToolFileFormat"><span class="type">ToolFileFormat</span></a> object (can be NULL) ;
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>nSet</code></em> :</span></p></td>
<td>an integer ;
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
<td>a pointer to store possible errors.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> FALSE if <em class="parameter"><code>data</code></em> is unchanged (wrong format), TRUE otherwise (even if
some minor errors have happened).
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="VisuRenderingCreateElementFunc ()">
<a name="VisuRenderingCreateElementFunc"></a><h3>VisuRenderingCreateElementFunc ()</h3>
<pre class="programlisting"><span class="returnvalue">int</span> (*VisuRenderingCreateElementFunc) (<em class="parameter"><code><a class="link" href="v-sim-visu-elements.html#VisuElement"><span class="type">VisuElement</span></a> *ele</code></em>,
<em class="parameter"><code><a class="link" href="v-sim-view.html#VisuOpenGLCamera" title="VisuOpenGLCamera"><span class="type">VisuOpenGLCamera</span></a> *camera</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> winSize</code></em>);</pre>
<p>
Such functions are called whenever a newElement is registered.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>ele</code></em> :</span></p></td>
<td>a <a class="link" href="v-sim-visu-elements.html#VisuElement"><span class="type">VisuElement</span></a> object ;
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>camera</code></em> :</span></p></td>
<td>a <a class="link" href="v-sim-view.html#VisuOpenGLCamera" title="VisuOpenGLCamera"><span class="type">VisuOpenGLCamera</span></a> object ;
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>winSize</code></em> :</span></p></td>
<td>the minimum size of the rendering area.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> an id representing an OpenGL list in which the element
has been created.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="VisuRenderingCreateNodeFunc ()">
<a name="VisuRenderingCreateNodeFunc"></a><h3>VisuRenderingCreateNodeFunc ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> (*VisuRenderingCreateNodeFunc) (<em class="parameter"><code><a class="link" href="v-sim-visu-data.html#VisuData"><span class="type">VisuData</span></a> *visuData</code></em>,
<em class="parameter"><code><a class="link" href="v-sim-visu-nodes.html#VisuNode" title="VisuNode"><span class="type">VisuNode</span></a> *node</code></em>,
<em class="parameter"><code><a class="link" href="v-sim-visu-elements.html#VisuElement"><span class="type">VisuElement</span></a> *ele</code></em>);</pre>
<p>
Such functions are called when the OpenGl list of all the nodes is created.
The <em class="parameter"><code>ele</code></em> parameter is the <a class="link" href="v-sim-visu-elements.html#VisuElement"><span class="type">VisuElement</span></a> of the given <em class="parameter"><code>node</code></em> and the <em class="parameter"><code>visuData</code></em> one
points to the <a class="link" href="v-sim-visu-data.html#VisuData"><span class="type">VisuData</span></a> object that contains this node.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>visuData</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>node</code></em> :</span></p></td>
<td>a <a class="link" href="v-sim-visu-elements.html#VisuElement"><span class="type">VisuElement</span></a> ;
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>ele</code></em> :</span></p></td>
<td>a <a class="link" href="v-sim-visu-elements.html#VisuElement"><span class="type">VisuElement</span></a>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="VisuRenderingGetNodeExtendFunc ()">
<a name="VisuRenderingGetNodeExtendFunc"></a><h3>VisuRenderingGetNodeExtendFunc ()</h3>
<pre class="programlisting"><span class="returnvalue">float</span> (*VisuRenderingGetNodeExtendFunc) (<em class="parameter"><code><a class="link" href="v-sim-visu-elements.html#VisuElement"><span class="type">VisuElement</span></a> *ele</code></em>);</pre>
<p>
This function is required to inform the OpenGL drawer
and to adapt the maximum size of the drawing area.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>ele</code></em> :</span></p></td>
<td>a <em class="parameter"><code>VisuElement</code></em>.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> the geometrical size of the element.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="VisuRenderingPriv">
<a name="VisuRenderingPriv"></a><h3>VisuRenderingPriv</h3>
<pre class="programlisting">typedef struct _VisuRenderingPriv VisuRenderingPriv;</pre>
<p>
An opaque structure.
</p>
<p class="since">Since 3.6</p>
</div>
<hr>
<div class="refsect2" title="VisuRendering">
<a name="VisuRendering-struct"></a><h3>VisuRendering</h3>
<pre class="programlisting">typedef struct _VisuRendering VisuRendering;</pre>
<p>
This structure is used to describe a rendering method. Besides
names, representing icon... this structure stores pointers to
method technically used to draw elements with this method.
</p>
</div>
<hr>
<div class="refsect2" title="VisuRenderingClass">
<a name="VisuRenderingClass"></a><h3>VisuRenderingClass</h3>
<pre class="programlisting">typedef struct {
GObjectClass parent;
VisuRenderingCreateElementFunc createElement;
VisuRenderingCreateNodeFunc createNode;
VisuRenderingGetNodeExtendFunc getNodeExtend;
} VisuRenderingClass;
</pre>
<p>
The structure for the <a class="link" href="VisuRendering.html#VisuRenderingClass" title="VisuRenderingClass"><span class="type">VisuRenderingClass</span></a> class.
</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="VisuRenderingClass.parent"></a>parent</code></em>;</span></p></td>
<td>the parent class.
</td>
</tr>
<tr>
<td><p><span class="term"><a class="link" href="VisuRendering.html#VisuRenderingCreateElementFunc" title="VisuRenderingCreateElementFunc ()"><span class="type">VisuRenderingCreateElementFunc</span></a> <em class="structfield"><code><a name="VisuRenderingClass.createElement"></a>createElement</code></em>;</span></p></td>
<td>a virtual method to create OpenGL shape for a given
<a class="link" href="v-sim-visu-elements.html#VisuElement"><span class="type">VisuElement</span></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><a class="link" href="VisuRendering.html#VisuRenderingCreateNodeFunc" title="VisuRenderingCreateNodeFunc ()"><span class="type">VisuRenderingCreateNodeFunc</span></a> <em class="structfield"><code><a name="VisuRenderingClass.createNode"></a>createNode</code></em>;</span></p></td>
<td>a virtual method to position and draw a specific
<a class="link" href="v-sim-visu-nodes.html#VisuNode" title="VisuNode"><span class="type">VisuNode</span></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><a class="link" href="VisuRendering.html#VisuRenderingGetNodeExtendFunc" title="VisuRenderingGetNodeExtendFunc ()"><span class="type">VisuRenderingGetNodeExtendFunc</span></a> <em class="structfield"><code><a name="VisuRenderingClass.getNodeExtend"></a>getNodeExtend</code></em>;</span></p></td>
<td>a virtual method to get the size of a given <a class="link" href="v-sim-visu-elements.html#VisuElement"><span class="type">VisuElement</span></a>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="visu_rendering_get_type ()">
<a name="visu-rendering-get-type"></a><h3>visu_rendering_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> visu_rendering_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="VisuRendering.html" title="VisuRendering"><span class="type">VisuRendering</span></a>, use VISU_RENDERING_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="VisuRendering.html" title="VisuRendering"><span class="type">VisuRendering</span></a>.
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="visu_rendering_addFileFormat ()">
<a name="visu-rendering-addFileFormat"></a><h3>visu_rendering_addFileFormat ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> visu_rendering_addFileFormat (<em class="parameter"><code><a class="link" href="VisuRendering.html" title="VisuRendering"><span class="type">VisuRendering</span></a> *method</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> fileType</code></em>,
<em class="parameter"><code><a class="link" href="v-sim-toolFileFormat.html#ToolFileFormat" title="ToolFileFormat"><span class="type">ToolFileFormat</span></a> *fmt</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> priority</code></em>,
<em class="parameter"><code><a class="link" href="VisuRendering.html#VisuRenderingLoadFormatFunc" title="VisuRenderingLoadFormatFunc ()"><span class="type">VisuRenderingLoadFormatFunc</span></a> loadFunc</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> notify</code></em>);</pre>
<p>
Add a file format descriptor to the list of already known file formats
of the key <em class="parameter"><code>fileType</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>method</code></em> :</span></p></td>
<td>a method ;
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>fileType</code></em> :</span></p></td>
<td>an integer used as a key, must >= 0 and < method->nFiles.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>fmt</code></em> :</span></p></td>
<td>a <a class="link" href="v-sim-toolFileFormat.html#ToolFileFormat" title="ToolFileFormat"><span class="type">ToolFileFormat</span></a> ;
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>priority</code></em> :</span></p></td>
<td>the priority (lower sooner) ;
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>loadFunc</code></em> :</span></p></td>
<td>the loading routine ;
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>notify</code></em> :</span></p></td>
<td>not used.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="visu_rendering_setFileTypeLabel ()">
<a name="visu-rendering-setFileTypeLabel"></a><h3>visu_rendering_setFileTypeLabel ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> visu_rendering_setFileTypeLabel (<em class="parameter"><code><a class="link" href="VisuRendering.html" title="VisuRendering"><span class="type">VisuRendering</span></a> *method</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> fileType</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>
Store a list of <a class="link" href="v-sim-toolFileFormat.html#ToolFileFormat" title="ToolFileFormat"><span class="type">ToolFileFormat</span></a> for the kind of file <em class="parameter"><code>fileType</code></em>. The <em class="parameter"><code>name</code></em>
argument is copied. but warning, the <em class="parameter"><code>fileTypeList</code></em> GList* is not copied.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>method</code></em> :</span></p></td>
<td>a method ;
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>fileType</code></em> :</span></p></td>
<td>an integer used as a key, must >= 0 and < method->nFiles ;
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
<td>a string to shortly describe the kind of file type (not NULL).
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="visu_rendering_setFileFormat ()">
<a name="visu-rendering-setFileFormat"></a><h3>visu_rendering_setFileFormat ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> visu_rendering_setFileFormat (<em class="parameter"><code><a class="link" href="VisuRendering.html" title="VisuRendering"><span class="type">VisuRendering</span></a> *meth</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> fileType</code></em>,
<em class="parameter"><code><a class="link" href="VisuRendering.html" title="VisuRendering"><span class="type">VisuRendering</span></a> *from</code></em>);</pre>
<p>
It copies the <a class="link" href="v-sim-toolFileFormat.html#ToolFileFormat" title="ToolFileFormat"><span class="type">ToolFileFormat</span></a> of method <em class="parameter"><code>from</code></em> to <em class="parameter"><code>meth</code></em> for the
given <em class="parameter"><code>fileType</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>meth</code></em> :</span></p></td>
<td>a <a class="link" href="VisuRendering.html" title="VisuRendering"><span class="type">VisuRendering</span></a> object.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>fileType</code></em> :</span></p></td>
<td>a file kind id.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>from</code></em> :</span></p></td>
<td>a <a class="link" href="VisuRendering.html" title="VisuRendering"><span class="type">VisuRendering</span></a> object.
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 3.6</p>
</div>
<hr>
<div class="refsect2" title="visu_rendering_setIcon ()">
<a name="visu-rendering-setIcon"></a><h3>visu_rendering_setIcon ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> visu_rendering_setIcon (<em class="parameter"><code><a class="link" href="VisuRendering.html" title="VisuRendering"><span class="type">VisuRendering</span></a> *method</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> *path</code></em>);</pre>
<p>
This method is used to set the path to an icon for the specified method.
The path is copied, and the given name can be freed freely after a call to
this method.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>method</code></em> :</span></p></td>
<td>a method ;
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>path</code></em> :</span></p></td>
<td>a path to an image file.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="visu_rendering_load ()">
<a name="visu-rendering-load"></a><h3>visu_rendering_load ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> visu_rendering_load (<em class="parameter"><code><a class="link" href="VisuRendering.html" title="VisuRendering"><span class="type">VisuRendering</span></a> *method</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 class="link" href="v-sim-toolFileFormat.html#ToolFileFormat" title="ToolFileFormat"><span class="type">ToolFileFormat</span></a> *format</code></em>,
<em class="parameter"><code><span class="type">int</span> nSet</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>
Call the load routine of <em class="parameter"><code>method</code></em>. Filenames to read from should
have been set to <em class="parameter"><code>data</code></em> using <a class="link" href="v-sim-visu-data.html#visu-data-addFile" title="visu_data_addFile ()"><code class="function">visu_data_addFile()</code></a>. If <em class="parameter"><code>format</code></em> is
NULL, an automatic detection is used, trying all available file
formats.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<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"><em class="parameter"><code>data</code></em> :</span></p></td>
<td>a new <a class="link" href="v-sim-visu-data.html#VisuData"><span class="type">VisuData</span></a> object to load into.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>format</code></em> :</span></p></td>
<td>a <a class="link" href="v-sim-toolFileFormat.html#ToolFileFormat" title="ToolFileFormat"><span class="type">ToolFileFormat</span></a> to read input files from (can be NULL).
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>nSet</code></em> :</span></p></td>
<td>the set id to read from.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
<td>a location for 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="visu_rendering_getName ()">
<a name="visu-rendering-getName"></a><h3>visu_rendering_getName ()</h3>
<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a>* visu_rendering_getName (<em class="parameter"><code><a class="link" href="VisuRendering.html" title="VisuRendering"><span class="type">VisuRendering</span></a> *method</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> UTF8</code></em>);</pre>
<p>
Get its name (in <em class="parameter"><code>UTF8</code></em> 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>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"><em class="parameter"><code>UTF8</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> a string, owned by V_Sim.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="visu_rendering_getDescription ()">
<a name="visu-rendering-getDescription"></a><h3>visu_rendering_getDescription ()</h3>
<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a>* visu_rendering_getDescription (<em class="parameter"><code><a class="link" href="VisuRendering.html" title="VisuRendering"><span class="type">VisuRendering</span></a> *method</code></em>);</pre>
<p>
Get its description (in UTF8).
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<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> a string, owned by V_Sim.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="visu_rendering_getNFileTypes ()">
<a name="visu-rendering-getNFileTypes"></a><h3>visu_rendering_getNFileTypes ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> visu_rendering_getNFileTypes (<em class="parameter"><code><a class="link" href="VisuRendering.html" title="VisuRendering"><span class="type">VisuRendering</span></a> *method</code></em>);</pre>
<p>
This method is used to get the number of kind of files needed to
render a set of data.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>method</code></em> :</span></p></td>
<td>a method.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> how many kind of files are handled by the given VisuRendering.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="visu_rendering_getFileFormat ()">
<a name="visu-rendering-getFileFormat"></a><h3>visu_rendering_getFileFormat ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a>* visu_rendering_getFileFormat (<em class="parameter"><code><a class="link" href="VisuRendering.html" title="VisuRendering"><span class="type">VisuRendering</span></a> *method</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> fileType</code></em>);</pre>
<p>
This method is used to get the file formats associated to a kind of input file
handled by the rendering method.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>method</code></em> :</span></p></td>
<td>this <a class="link" href="VisuRendering.html" title="VisuRendering"><span class="type">VisuRendering</span></a> object.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>fileType</code></em> :</span></p></td>
<td>the file kind of filee format to get from.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> a
GList* with the <a class="link" href="v-sim-toolFileFormat.html#ToolFileFormat" title="ToolFileFormat"><span class="type">ToolFileFormat</span></a>. This GList should been considered
read-only.
. <acronym title="Free data container after the code is done."><span class="acronym">transfer container</span></acronym>. <acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> ToolFileFormat*. </td>
</tr>
</tbody>
</table></div>
<p class="since">Since 3.6</p>
</div>
<hr>
<div class="refsect2" title="visu_rendering_getFileTypeName ()">
<a name="visu-rendering-getFileTypeName"></a><h3>visu_rendering_getFileTypeName ()</h3>
<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a>* visu_rendering_getFileTypeName (<em class="parameter"><code><a class="link" href="VisuRendering.html" title="VisuRendering"><span class="type">VisuRendering</span></a> *method</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> fileType</code></em>);</pre>
<p>
This method is used to get the name associated to a kind of input file
handled by the rendering method.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>method</code></em> :</span></p></td>
<td>a method ;
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>fileType</code></em> :</span></p></td>
<td>an integer used as a key, must >= 0 and < method->priv->nFiles.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> a string own by V_Sim. This string should been considered read-only.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="visu_rendering_getIconPath ()">
<a name="visu-rendering-getIconPath"></a><h3>visu_rendering_getIconPath ()</h3>
<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a>* visu_rendering_getIconPath (<em class="parameter"><code><a class="link" href="VisuRendering.html" title="VisuRendering"><span class="type">VisuRendering</span></a> *method</code></em>);</pre>
<p>
Get the location where to find the icon of the method.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<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> a string, owned by V_Sim.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="visu_rendering_getSizeOfElement ()">
<a name="visu-rendering-getSizeOfElement"></a><h3>visu_rendering_getSizeOfElement ()</h3>
<pre class="programlisting"><span class="returnvalue">float</span> visu_rendering_getSizeOfElement (<em class="parameter"><code><a class="link" href="VisuRendering.html" title="VisuRendering"><span class="type">VisuRendering</span></a> *method</code></em>,
<em class="parameter"><code><a class="link" href="v-sim-visu-elements.html#VisuElement"><span class="type">VisuElement</span></a> *ele</code></em>);</pre>
<p>
This method is used to retrieve the radius of the sphere that contains
the <em class="parameter"><code>ele</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>method</code></em> :</span></p></td>
<td>a method ;
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>ele</code></em> :</span></p></td>
<td>a <a class="link" href="v-sim-visu-elements.html#VisuElement"><span class="type">VisuElement</span></a> to get the size of.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> the radius of the given element.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="visu_rendering_createElement ()">
<a name="visu-rendering-createElement"></a><h3>visu_rendering_createElement ()</h3>
<pre class="programlisting"><span class="returnvalue">int</span> visu_rendering_createElement (<em class="parameter"><code><a class="link" href="VisuRendering.html" title="VisuRendering"><span class="type">VisuRendering</span></a> *method</code></em>,
<em class="parameter"><code><a class="link" href="v-sim-visu-elements.html#VisuElement"><span class="type">VisuElement</span></a> *element</code></em>,
<em class="parameter"><code><a class="link" href="v-sim-view.html#VisuOpenGLCamera" title="VisuOpenGLCamera"><span class="type">VisuOpenGLCamera</span></a> *camera</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> winSize</code></em>);</pre>
<p>
Use the create element function of <em class="parameter"><code>method</code></em> to render <em class="parameter"><code>element</code></em> for
the given zoom level.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<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"><em class="parameter"><code>element</code></em> :</span></p></td>
<td>a <a class="link" href="v-sim-visu-elements.html#VisuElement"><span class="type">VisuElement</span></a> object.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>camera</code></em> :</span></p></td>
<td>a <a class="link" href="v-sim-view.html#VisuOpenGLCamera" title="VisuOpenGLCamera"><span class="type">VisuOpenGLCamera</span></a> object.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>winSize</code></em> :</span></p></td>
<td>the window size.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> the OpenGL list id of this element.
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 3.6</p>
</div>
<hr>
<div class="refsect2" title="visu_rendering_createNode ()">
<a name="visu-rendering-createNode"></a><h3>visu_rendering_createNode ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> visu_rendering_createNode (<em class="parameter"><code><a class="link" href="VisuRendering.html" title="VisuRendering"><span class="type">VisuRendering</span></a> *method</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 class="link" href="v-sim-visu-nodes.html#VisuNode" title="VisuNode"><span class="type">VisuNode</span></a> *node</code></em>,
<em class="parameter"><code><a class="link" href="v-sim-visu-elements.html#VisuElement"><span class="type">VisuElement</span></a> *ele</code></em>);</pre>
<p>
Create <em class="parameter"><code>node</code></em> at the right position calling OpenGL routines.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<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"><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> object the <em class="parameter"><code>node</code></em> is taken from.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>node</code></em> :</span></p></td>
<td>a <a class="link" href="v-sim-visu-nodes.html#VisuNode" title="VisuNode"><span class="type">VisuNode</span></a> of <em class="parameter"><code>data</code></em>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>ele</code></em> :</span></p></td>
<td>the <a class="link" href="v-sim-visu-elements.html#VisuElement"><span class="type">VisuElement</span></a> of <em class="parameter"><code>node</code></em>.
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 3.6</p>
</div>
<hr>
<div class="refsect2" title="visu_rendering_getAllObjects ()">
<a name="visu-rendering-getAllObjects"></a><h3>visu_rendering_getAllObjects ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a>* visu_rendering_getAllObjects (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>
This method gives a GList with pointers to each rendering method.
Warning : the returned GList is not a copy, it must not be modified,
just read.
</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 GList containing all the registered rendering methods.
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="visu_rendering_getByName ()">
<a name="visu-rendering-getByName"></a><h3>visu_rendering_getByName ()</h3>
<pre class="programlisting"><a class="link" href="VisuRendering.html" title="VisuRendering"><span class="returnvalue">VisuRendering</span></a>* visu_rendering_getByName (<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>
Get the corresponding <a class="link" href="VisuRendering.html" title="VisuRendering"><span class="type">VisuRendering</span></a> method to <em class="parameter"><code>name</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>name</code></em> :</span></p></td>
<td> a string.. type filename</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
. <acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>. </td>
</tr>
</tbody>
</table></div>
<p class="since">Since 3.6</p>
</div>
</div>
<div class="refsect1" title="Property Details">
<a name="VisuRendering.property-details"></a><h2>Property Details</h2>
<div class="refsect2" title='The "description" property'>
<a name="VisuRendering--description"></a><h3>The <code class="literal">"description"</code> property</h3>
<pre class="programlisting"> "description" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write</pre>
<p>Description of the method.</p>
<p>Default value: ""</p>
</div>
<hr>
<div class="refsect2" title='The "label" property'>
<a name="VisuRendering--label"></a><h3>The <code class="literal">"label"</code> property</h3>
<pre class="programlisting"> "label" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write</pre>
<p>Label of the method.</p>
<p>Default value: ""</p>
</div>
<hr>
<div class="refsect2" title='The "nFiles" property'>
<a name="VisuRendering--nFiles"></a><h3>The <code class="literal">"nFiles"</code> property</h3>
<pre class="programlisting"> "nFiles" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write / Construct Only</pre>
<p>Required number of input files to read to load a data.</p>
<p>Allowed values: [1,100]</p>
<p>Default value: 1</p>
</div>
<hr>
<div class="refsect2" title='The "name" property'>
<a name="VisuRendering--name"></a><h3>The <code class="literal">"name"</code> property</h3>
<pre class="programlisting"> "name" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write / Construct Only</pre>
<p>Name of the method.</p>
<p>Default value: ""</p>
</div>
</div>
<div class="refsect1" title="Signal Details">
<a name="VisuRendering.signal-details"></a><h2>Signal Details</h2>
<div class="refsect2" title='The "elementSizeChanged" signal'>
<a name="VisuRendering-elementSizeChanged"></a><h3>The <code class="literal">"elementSizeChanged"</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="VisuRendering.html" title="VisuRendering"><span class="type">VisuRendering</span></a> *obj,
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> size,
<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</pre>
<p>
Emitted when the size of a element is changed.
</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>the object emitting the signal.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>size</code></em> :</span></p></td>
<td>the new size.
</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 "fileTypeChanged" signal'>
<a name="VisuRendering-fileTypeChanged"></a><h3>The <code class="literal">"fileTypeChanged"</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="VisuRendering.html" title="VisuRendering"><span class="type">VisuRendering</span></a> *obj,
<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>
TODO
</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>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>
<p class="since">Since 3.6</p>
</div>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.14</div>
</body>
</html>
|