/usr/include/oce/InterfaceGraphic_Cextern.hxx is in liboce-visualization-dev 0.9.1-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 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 | /*
* Attention, ce fichier passe par InterfaceGraphic_Cextern.awk.
* Il faut donc respecter le format de declaration des fonctions.
* Voir les regles precedees par !
*
* <type_retourne> EXPORT call_<nom_fonction> (
* #ifdef INTERFACEGRAPHIC_PROTOTYPE ! ne pas changer son nom mais facultatif
* <type_argument> <nom_argument>, ! virgule collee au nom
* <type_argument> *<nom_pointeur> ! * collee au nom
* ! une declaration d'argument par ligne
* #endif ! facultatif
* ); ! ); ensembles sur une ligne
* ! et en premiere colonne
*
* Merci, CAL
*
* Fonctions enlevees le 6/3/97
*
* call_togl_light
* call_togl_plane
* call_togl_text3
* call_togl_light_exploration
* call_togl_build_matrix
* call_tox_xgrigri
* call_tox_set_colormap_mapping
* call_util_osd_getenv
*
* 5/08/97 ; PCT : ajout texture mapping
* 17/09/98 ; FMN/BGN : ajout (S3819) des Ponts d'entree du Triedre.
* 15/11/99 ; GG PRO603 Add call_togl_redraw_area
* 24/01/00 ; EUG G003 Add call_togl_degeneratestructure() and
* call_togl_backfacing() functions.
* 27/0302 ; GG RIC120302 Add call_togl_begin_display function
* 16/06/2000 : ATS : G005 : Add function call_togl_parray
* 23/10/01 ; SAV Add call_togl_depthtest()
* call_togl_isdepthtest()
* 25/10/01 ; SAV Add call_togl_gllight()
* call_togl_isgllight()
* 23/12/02 ; SAV Added call_togl_create_bg_texture() and
* call_togl_set_bg_texture_style() to set background image
* 15/08/05 ; SZV Added call_togl_userdraw()
*
*/
#ifndef InterfaceGraphic_CexternHeader
#define InterfaceGraphic_CexternHeader
#if defined (__STDC__) || defined (__cplusplus) || defined (c_plusplus)
#define INTERFACEGRAPHIC_PROTOTYPE 1
#endif
#define InterfaceGraphic_True 1
#define InterfaceGraphic_False 0
#define InterfaceGraphic_Success 1
#define InterfaceGraphic_Failure 0
#define OCC1188 /* SAV : added methods to set background image */
#include <InterfaceGraphic_X11.hxx>
#include <InterfaceGraphic_Aspect.hxx>
#include <InterfaceGraphic_Graphic3d.hxx>
#include <InterfaceGraphic_Visual3d.hxx>
#include <Graphic3d_CGraduatedTrihedron.hxx>
#define BUC61044 /* 25/10/01 SAV ; added functionality to control gl depth testing
from higher API */
#define BUC61045 /* 25/10/01 SAV ; added functionality to control gl lighting
from higher API */
/* Declarations des subroutines triedron */
void EXPORT call_togl_ztriedron_setup (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
float* xcolor,
float* ycolor,
float* zcolor,
float sizeratio,
float axisdiameter,
int nbfacettes
#endif
);
void EXPORT call_togl_triedron_display (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
CALL_DEF_VIEW * aview,
int APosition,
float r,
float g,
float b,
float AScale,
int asWireframe
#endif
);
void EXPORT call_togl_triedron_erase (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
CALL_DEF_VIEW *aview
#endif
);
void EXPORT call_togl_triedron_echo (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
CALL_DEF_VIEW *aview,
int AType
#endif
);
/* Declarations des subroutines mode immediat */
int EXPORT call_togl_begin_ajout_mode (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
CALL_DEF_VIEW *aview
#endif
);
void EXPORT call_togl_end_ajout_mode (
);
int EXPORT call_togl_begin_immediat_mode (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
CALL_DEF_VIEW *aview,
CALL_DEF_LAYER *anunderlayer,
CALL_DEF_LAYER *anoverlayer,
int doublebuffer,
int retainmode
#endif
);
void EXPORT call_togl_end_immediat_mode (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
int synchronize
#endif
);
void EXPORT call_togl_clear_immediat_mode (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
CALL_DEF_VIEW *aview,
int aFlush
#endif
);
void EXPORT call_togl_transform (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
CALL_DEF_MATRIX4X4 amatrix,
int mode
#endif
);
void EXPORT call_togl_begin_polyline (
);
void EXPORT call_togl_end_polyline (
);
void EXPORT call_togl_begin_polygon (
);
void EXPORT call_togl_end_polygon (
);
void EXPORT call_togl_begin_trianglemesh (
);
void EXPORT call_togl_end_trianglemesh (
);
void EXPORT call_togl_begin_marker (
);
void EXPORT call_togl_end_marker (
);
void EXPORT call_togl_begin_bezier (
);
void EXPORT call_togl_end_bezier (
);
void EXPORT call_togl_move (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
float x,
float y,
float z
#endif
);
void EXPORT call_togl_movenormal (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
float x,
float y,
float z,
float nx,
float ny,
float nz
#endif
);
void EXPORT call_togl_moveweight (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
float x,
float y,
float z,
float w
#endif
);
void EXPORT call_togl_draw (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
float x,
float y,
float z
#endif
);
void EXPORT call_togl_drawnormal (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
float x,
float y,
float z,
float nx,
float ny,
float nz
#endif
);
void EXPORT call_togl_drawweight (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
float x,
float y,
float z,
float w
#endif
);
void EXPORT call_togl_draw_text (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
CALL_DEF_TEXT *atext
#endif
);
void EXPORT call_togl_draw_structure (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
int StructId
#endif
);
void EXPORT call_togl_set_linecolor (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
float r,
float g,
float b
#endif
);
void EXPORT call_togl_set_interiorcolor (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
float r,
float g,
float b
#endif
);
void EXPORT call_togl_set_linetype (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
long type
#endif
);
void EXPORT call_togl_set_interiortype (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
long type
#endif
);
void EXPORT call_togl_set_linewidth (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
float width
#endif
);
void EXPORT call_togl_set_textcolor (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
float r,
float g,
float b
#endif
);
void EXPORT call_togl_set_textfont (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
char *police,
float factor,
float space
#endif
);
void EXPORT call_togl_set_markercolor (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
float r,
float g,
float b
#endif
);
void EXPORT call_togl_set_markertype (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
long type,
float scale
#endif
);
void EXPORT call_togl_set_minmax (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
float x1,
float y1,
float z1,
float x2,
float y2,
float z2
#endif
);
void EXPORT call_togl_set_rgb (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
float r,
float g,
float b
#endif
);
/* Declarations des subroutines appelees du C++ */
/* dans les packages Graphic3d et Visual3d */
void EXPORT call_togl_opengroup (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
CALL_DEF_GROUP *agroup
#endif
);
void EXPORT call_togl_closegroup (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
CALL_DEF_GROUP *agroup
#endif
);
void EXPORT call_togl_cleargroup (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
CALL_DEF_GROUP *agroup
#endif
);
void EXPORT call_togl_linecontextgroup (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
CALL_DEF_GROUP *agroup,
int noinsert
#endif
);
void EXPORT call_togl_facecontextgroup (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
CALL_DEF_GROUP *agroup,
int noinsert
#endif
);
void EXPORT call_togl_markercontextgroup (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
CALL_DEF_GROUP *agroup,
int noinsert
#endif
);
void EXPORT call_togl_textcontextgroup (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
CALL_DEF_GROUP *agroup,
int noinsert
#endif
);
void EXPORT call_togl_group (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
CALL_DEF_GROUP *agroup
#endif
);
void EXPORT call_togl_marker (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
CALL_DEF_GROUP *agroup,
CALL_DEF_MARKER *amarker
#endif
);
void EXPORT call_togl_marker_set (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
CALL_DEF_GROUP *agroup,
CALL_DEF_LISTMARKERS *almarkers
#endif
);
void EXPORT call_togl_polyline (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
CALL_DEF_GROUP *agroup,
CALL_DEF_LISTPOINTS *alpoints
#endif
);
void EXPORT call_togl_polygon (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
CALL_DEF_GROUP *agroup,
CALL_DEF_FACET *afacet
#endif
);
void EXPORT call_togl_polygon_holes (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
CALL_DEF_GROUP *agroup,
CALL_DEF_LISTFACETS *alfacets
#endif
);
void EXPORT call_togl_polygon_indices (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
CALL_DEF_GROUP *agroup,
CALL_DEF_LISTPOINTS *alpoints,
CALL_DEF_LISTEDGES *aledges,
CALL_DEF_LISTINTEGERS *albounds
#endif
);
void EXPORT call_togl_pickid (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
CALL_DEF_GROUP *agroup
#endif
);
void EXPORT call_togl_quadrangle (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
CALL_DEF_GROUP *agroup,
CALL_DEF_QUAD *aquad
#endif
);
void EXPORT call_togl_removegroup (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
CALL_DEF_GROUP *agroup
#endif
);
void EXPORT call_togl_text (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
CALL_DEF_GROUP *agroup,
CALL_DEF_TEXT *atext
#endif
);
void EXPORT call_togl_triangle (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
CALL_DEF_GROUP *agroup,
CALL_DEF_TRIKE *atrike
#endif
);
void EXPORT call_togl_bezier (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
CALL_DEF_GROUP *agroup,
CALL_DEF_LISTPOINTS *alpoints
#endif
);
void EXPORT call_togl_bezier_weight (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
CALL_DEF_GROUP *agroup,
CALL_DEF_LISTPOINTS *alpoints,
CALL_DEF_LISTREALS *alweights
#endif
);
void EXPORT call_togl_blink (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
CALL_DEF_STRUCTURE *astructure,
int create
#endif
);
void EXPORT call_togl_boundarybox (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
CALL_DEF_STRUCTURE *astructure,
int create
#endif
);
void EXPORT call_togl_clearstructure (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
CALL_DEF_STRUCTURE *astructure
#endif
);
void EXPORT call_togl_contextstructure (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
CALL_DEF_STRUCTURE *astructure
#endif
);
void EXPORT call_togl_highlightcolor (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
CALL_DEF_STRUCTURE *astructure,
CALL_DEF_COLOR *acolor,
int create
#endif
);
void EXPORT call_togl_namesetstructure (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
CALL_DEF_STRUCTURE *astructure
#endif
);
void EXPORT call_togl_removestructure (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
CALL_DEF_STRUCTURE *astructure
#endif
);
void EXPORT call_togl_structure (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
CALL_DEF_STRUCTURE *astructure
#endif
);
void EXPORT call_togl_transformstructure (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
CALL_DEF_STRUCTURE *astructure
#endif
);
void EXPORT call_togl_degeneratestructure (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
CALL_DEF_STRUCTURE *astructure
#endif
);
void EXPORT call_togl_connect (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
CALL_DEF_STRUCTURE *afather,
CALL_DEF_STRUCTURE *ason
#endif
);
void EXPORT call_togl_disconnect (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
CALL_DEF_STRUCTURE *afather,
CALL_DEF_STRUCTURE *ason
#endif
);
int EXPORT call_togl_begin_animation (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
CALL_DEF_VIEW *aview
#endif
);
void EXPORT call_togl_end_animation (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
CALL_DEF_VIEW *aview
#endif
);
int EXPORT call_togl_begin (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
char *adisplay
#endif
);
/*RIC120302*/
int EXPORT call_togl_begin_display (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
void *pdisplay
#endif
);
/*RIC120302*/
void EXPORT call_togl_end (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
#endif
);
void EXPORT call_togl_structure_exploration (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
long Id,
long LabelBegin,
long LabelEnd
#endif
);
void EXPORT call_togl_element_exploration (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
long Id,
long elem_num,
long *type,
CALL_DEF_POINT *pt,
CALL_DEF_NORMAL *npt,
CALL_DEF_COLOR *cpt,
CALL_DEF_NORMAL *nfa
#endif
);
void EXPORT call_togl_element_type (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
long Id,
long elem_num,
long *type
#endif
);
void EXPORT call_togl_activateview (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
CALL_DEF_VIEW *aview
#endif
);
void EXPORT call_togl_antialiasing (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
CALL_DEF_VIEW *aview,
int tag
#endif
);
void EXPORT call_togl_background (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
CALL_DEF_VIEW *aview
#endif
);
void EXPORT call_togl_gradient_background
(
#ifdef INTERFACEGRAPHIC_PROTOTYPE
int ws, int type,
tel_colour color1,
tel_colour color2
#endif
);
void EXPORT call_togl_set_gradient_type
(
#ifdef INTERFACEGRAPHIC_PROTOTYPE
int ws, int type
#endif
);
int EXPORT call_togl_project_raster (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
int wsid,
float x,
float y,
float z,
int *ixr,
int *iyr
#endif
);
int EXPORT call_togl_unproject_raster (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
int wsid,
int xm,
int ym,
int xM,
int yM,
int ixr,
int iyr,
float *x,
float *y,
float *z
#endif
);
int EXPORT call_togl_unproject_raster_with_ray (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
int wsid,
int xm,
int ym,
int xM,
int yM,
int ixr,
int iyr,
float *x,
float *y,
float *z,
float *dx,
float *dy,
float *dz
#endif
);
void EXPORT call_togl_cliplimit (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
CALL_DEF_VIEW *aview,
int wait
#endif
);
void EXPORT call_togl_deactivateview (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
CALL_DEF_VIEW *aview
#endif
);
void EXPORT call_togl_depthcueing (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
CALL_DEF_VIEW *aview,
int tag
#endif
);
void EXPORT call_togl_displaystructure (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
CALL_DEF_VIEW *aview,
int StructId,
int Priority
#endif
);
void EXPORT call_togl_erasestructure (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
int ViewId,
int StructId
#endif
);
void EXPORT call_togl_init_pick (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
#endif
);
void EXPORT call_togl_pick (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
CALL_DEF_PICK *apick
#endif
);
void EXPORT call_togl_ratio_window (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
CALL_DEF_VIEW *aview
#endif
);
void EXPORT call_togl_redraw (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
CALL_DEF_VIEW *aview,
CALL_DEF_LAYER *anunderlayer,
CALL_DEF_LAYER *anoverlayer
#endif
);
void EXPORT call_togl_redraw_area (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
CALL_DEF_VIEW *aview,
CALL_DEF_LAYER *anunderlayer,
CALL_DEF_LAYER *anoverlayer,
int x, int y, int width, int height
#endif
);
void EXPORT call_togl_removeview (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
CALL_DEF_VIEW *aview
#endif
);
void EXPORT call_togl_setlight (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
CALL_DEF_VIEW *aview
#endif
);
void EXPORT call_togl_setplane (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
CALL_DEF_VIEW *aview
#endif
);
void EXPORT call_togl_setvisualisation (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
CALL_DEF_VIEW *aview
#endif
);
void EXPORT call_togl_transparency (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
int WsId,
int ViewId,
int Activity
#endif
);
void EXPORT call_togl_update (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
CALL_DEF_VIEW *aview,
CALL_DEF_LAYER *anunderlayer,
CALL_DEF_LAYER *anoverlayer
#endif
);
int EXPORT call_togl_view (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
CALL_DEF_VIEW *aview
#endif
);
int EXPORT call_togl_viewmapping (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
CALL_DEF_VIEW *aview,
int wait
#endif
);
int EXPORT call_togl_vieworientation (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
CALL_DEF_VIEW *aview,
int wait
#endif
);
int EXPORT call_togl_inquiretexture (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
#endif
);
int EXPORT call_togl_inquirelight (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
#endif
);
int EXPORT call_togl_inquireplane (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
#endif
);
int EXPORT call_togl_inquireview (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
#endif
);
int EXPORT call_togl_inquiremat (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
CALL_DEF_VIEW *aview,
CALL_DEF_MATRIX4X4 ori_matrix,
CALL_DEF_MATRIX4X4 map_matrix
#endif
);
void EXPORT call_togl_view_exploration (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
long Id
#endif
);
#ifdef OCC1188
int EXPORT call_togl_create_texture (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
int Type,
unsigned int Width,
unsigned int Height,
unsigned char *Data,
char *FileName
#endif
);
void EXPORT call_togl_create_bg_texture (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
CALL_DEF_VIEW *aview,
int width,
int height,
unsigned char *data,
int style
#endif
);
#endif /* OCC1188 */
void EXPORT call_togl_set_bg_texture_style(
#ifdef INTERFACEGRAPHIC_PROTOTYPE
CALL_DEF_VIEW* aview,
int style
#endif
);
void EXPORT call_togl_destroy_texture (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
int TexId
#endif
);
void EXPORT call_togl_modify_texture (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
int TexId,
CALL_DEF_INIT_TEXTURE *init_tex
#endif
);
void EXPORT call_togl_environment (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
CALL_DEF_VIEW *aview
#endif
);
/* Declarations des subroutines layer mode */
void EXPORT call_togl_layer2d (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
CALL_DEF_LAYER *alayer
#endif
);
void EXPORT call_togl_removelayer2d (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
CALL_DEF_LAYER *alayer
#endif
);
void EXPORT call_togl_begin_layer2d (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
CALL_DEF_LAYER *alayer
#endif
);
void EXPORT call_togl_end_layer2d (
);
void EXPORT call_togl_clear_layer2d (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
CALL_DEF_LAYER *alayer
#endif
);
void EXPORT call_togl_begin_polyline2d (
);
void EXPORT call_togl_end_polyline2d (
);
void EXPORT call_togl_begin_polygon2d (
);
void EXPORT call_togl_end_polygon2d (
);
void EXPORT call_togl_move2d (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
float x,
float y
#endif
);
void EXPORT call_togl_draw2d (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
float x,
float y
#endif
);
void EXPORT call_togl_edge2d (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
float x,
float y
#endif
);
void EXPORT call_togl_rectangle2d (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
float x,
float y,
float w,
float h
#endif
);
void EXPORT call_togl_set_color (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
float r,
float g,
float b
#endif
);
void EXPORT call_togl_set_transparency (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
float a
#endif
);
void EXPORT call_togl_unset_transparency (
);
void EXPORT call_togl_set_line_attributes (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
long type,
float width
#endif
);
void EXPORT call_togl_set_text_attributes (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
char* font,
long type,
float r,
float g,
float b
#endif
);
void EXPORT call_togl_text2d (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
char *s,
float x,
float y,
float height
#endif
);
void EXPORT call_togl_textsize2d (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
char *s,
float height,
float *width,
float *ascent,
float *descent
#endif
);
void EXPORT call_togl_backfacing (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
CALL_DEF_VIEW*
#endif /* INTERFACEGRAPHIC_PROTOTYPE */
);
/* *** group of parray functions *** */
void EXPORT call_togl_parray (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
CALL_DEF_GROUP *agroup,
CALL_DEF_PARRAY* parray
#endif
);
void EXPORT call_togl_userdraw (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
CALL_DEF_GROUP *agroup,
CALL_DEF_USERDRAW *anobject
#endif
);
/* ------------------------- */
void EXPORT call_togl_print (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
CALL_DEF_VIEW *aview,
CALL_DEF_LAYER *anunderlayer,
CALL_DEF_LAYER *anoverlayer,
const Aspect_Drawable hPrintDC,
const int background,
const char* filename
#endif
);
#ifdef BUC61044
void EXPORT call_togl_depthtest (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
CALL_DEF_VIEW *aview,
int dFlag
#endif
);
int EXPORT call_togl_isdepthtest (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
CALL_DEF_VIEW *aview
#endif
);
#endif
#ifdef BUC61045
void EXPORT call_togl_gllight (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
CALL_DEF_VIEW *aview,
int dFlag
#endif
);
int EXPORT call_togl_isgllight (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
CALL_DEF_VIEW *aview
#endif
);
void EXPORT call_togl_graduatedtrihedron_display (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
/* View id */
CALL_DEF_VIEW* aview,
/* Graduated trihedron data */
const Graphic3d_CGraduatedTrihedron &cubic
#endif
);
void EXPORT call_togl_graduatedtrihedron_erase (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
/* View id */
CALL_DEF_VIEW* aview
#endif
);
void EXPORT call_togl_graduatedtrihedron_minmaxvalues (
#ifdef INTERFACEGRAPHIC_PROTOTYPE
float xmin,
float ymin,
float zmin,
float xmax,
float ymax,
float zmax
#endif
);
#endif
#endif /* InterfaceGraphic_CexternHeader */
|