Integration of OCCT 6.5.0 from SVN
[occt.git] / src / InterfaceGraphic / InterfaceGraphic_Cextern.hxx
CommitLineData
7fd59977 1
2/*
3 * Attention, ce fichier passe par InterfaceGraphic_Cextern.awk.
4 * Il faut donc respecter le format de declaration des fonctions.
5 * Voir les regles precedees par !
6 *
7 * <type_retourne> EXPORT call_<nom_fonction> (
8 * #ifdef INTERFACEGRAPHIC_PROTOTYPE ! ne pas changer son nom mais facultatif
9 * <type_argument> <nom_argument>, ! virgule collee au nom
10 * <type_argument> *<nom_pointeur> ! * collee au nom
11 * ! une declaration d'argument par ligne
12 * #endif ! facultatif
13 * ); ! ); ensembles sur une ligne
14 * ! et en premiere colonne
15 *
16 * Merci, CAL
17 *
18 * Fonctions enlevees le 6/3/97
19 *
20 * call_togl_light
21 * call_togl_plane
22 * call_togl_text3
23 * call_togl_light_exploration
24 * call_togl_build_matrix
25 * call_tox_xgrigri
26 * call_tox_set_colormap_mapping
27 * call_util_osd_getenv
28 *
29 * 5/08/97 ; PCT : ajout texture mapping
30 * 17/09/98 ; FMN/BGN : ajout (S3819) des Ponts d'entree du Triedre.
31 * 15/11/99 ; GG PRO603 Add call_togl_redraw_area
32 * 24/01/00 ; EUG G003 Add call_togl_degeneratestructure() and
33 * call_togl_backfacing() functions.
34 * 27/0302 ; GG RIC120302 Add call_togl_begin_display function
35 * 16/06/2000 : ATS : G005 : Add function call_togl_parray
36 * 23/10/01 ; SAV Add call_togl_depthtest()
37 * call_togl_isdepthtest()
38 * 25/10/01 ; SAV Add call_togl_gllight()
39 * call_togl_isgllight()
40 * 23/12/02 ; SAV Added call_togl_create_bg_texture() and
41 * call_togl_set_bg_texture_style() to set background image
42 * 15/08/05 ; SZV Added call_togl_userdraw()
43 *
44 */
45
46#ifndef InterfaceGraphic_CexternHeader
47#define InterfaceGraphic_CexternHeader
48
49#if defined (__STDC__) || defined (__cplusplus) || defined (c_plusplus)
50#define INTERFACEGRAPHIC_PROTOTYPE 1
51#endif
52
53#define InterfaceGraphic_True 1
54#define InterfaceGraphic_False 0
55
56#define InterfaceGraphic_Success 1
57#define InterfaceGraphic_Failure 0
58
59#define OCC1188 /* SAV : added methods to set background image */
60
61#include <InterfaceGraphic_X11.hxx>
62#include <InterfaceGraphic_Aspect.hxx>
63#include <InterfaceGraphic_Graphic3d.hxx>
64#include <InterfaceGraphic_Visual3d.hxx>
65
66
67#define BUC61044 /* 25/10/01 SAV ; added functionality to control gl depth testing
68 from higher API */
69#define BUC61045 /* 25/10/01 SAV ; added functionality to control gl lighting
70 from higher API */
71
72 /* Declarations des subroutines triedron */
73
74void EXPORT call_togl_ztriedron_setup (
75#ifdef INTERFACEGRAPHIC_PROTOTYPE
76 float* xcolor,
77 float* ycolor,
78 float* zcolor,
79 float sizeratio,
80 float axisdiameter,
81 int nbfacettes
82#endif
83);
84
85void EXPORT call_togl_triedron_display (
86#ifdef INTERFACEGRAPHIC_PROTOTYPE
87 CALL_DEF_VIEW * aview,
88 int APosition,
89 float r,
90 float g,
91 float b,
92 float AScale,
93 int asWireframe
94#endif
95);
96
97void EXPORT call_togl_triedron_erase (
98#ifdef INTERFACEGRAPHIC_PROTOTYPE
99 CALL_DEF_VIEW *aview
100#endif
101);
102
103void EXPORT call_togl_triedron_echo (
104#ifdef INTERFACEGRAPHIC_PROTOTYPE
105 CALL_DEF_VIEW *aview,
106 int AType
107#endif
108);
109
110 /* Declarations des subroutines mode immediat */
111
112int EXPORT call_togl_begin_ajout_mode (
113#ifdef INTERFACEGRAPHIC_PROTOTYPE
114 CALL_DEF_VIEW *aview
115#endif
116);
117
118void EXPORT call_togl_end_ajout_mode (
119);
120
121int EXPORT call_togl_begin_immediat_mode (
122#ifdef INTERFACEGRAPHIC_PROTOTYPE
123 CALL_DEF_VIEW *aview,
124 CALL_DEF_LAYER *anunderlayer,
125 CALL_DEF_LAYER *anoverlayer,
126 int doublebuffer,
127 int retainmode
128#endif
129);
130
131void EXPORT call_togl_end_immediat_mode (
132#ifdef INTERFACEGRAPHIC_PROTOTYPE
133 int synchronize
134#endif
135);
136
137void EXPORT call_togl_clear_immediat_mode (
138#ifdef INTERFACEGRAPHIC_PROTOTYPE
139 CALL_DEF_VIEW *aview,
140 int aFlush
141#endif
142);
143
144void EXPORT call_togl_transform (
145#ifdef INTERFACEGRAPHIC_PROTOTYPE
146 CALL_DEF_MATRIX4X4 amatrix,
147 int mode
148#endif
149);
150
151void EXPORT call_togl_begin_polyline (
152);
153
154void EXPORT call_togl_end_polyline (
155);
156
157void EXPORT call_togl_begin_polygon (
158);
159
160void EXPORT call_togl_end_polygon (
161);
162
163void EXPORT call_togl_begin_trianglemesh (
164);
165
166void EXPORT call_togl_end_trianglemesh (
167);
168
169void EXPORT call_togl_begin_marker (
170);
171
172void EXPORT call_togl_end_marker (
173);
174
175void EXPORT call_togl_begin_bezier (
176);
177
178void EXPORT call_togl_end_bezier (
179);
180
181void EXPORT call_togl_move (
182#ifdef INTERFACEGRAPHIC_PROTOTYPE
183 float x,
184 float y,
185 float z
186#endif
187);
188
189void EXPORT call_togl_movenormal (
190#ifdef INTERFACEGRAPHIC_PROTOTYPE
191 float x,
192 float y,
193 float z,
194 float nx,
195 float ny,
196 float nz
197#endif
198);
199
200void EXPORT call_togl_moveweight (
201#ifdef INTERFACEGRAPHIC_PROTOTYPE
202 float x,
203 float y,
204 float z,
205 float w
206#endif
207);
208
209void EXPORT call_togl_draw (
210#ifdef INTERFACEGRAPHIC_PROTOTYPE
211 float x,
212 float y,
213 float z
214#endif
215);
216
217void EXPORT call_togl_drawnormal (
218#ifdef INTERFACEGRAPHIC_PROTOTYPE
219 float x,
220 float y,
221 float z,
222 float nx,
223 float ny,
224 float nz
225#endif
226);
227
228void EXPORT call_togl_drawweight (
229#ifdef INTERFACEGRAPHIC_PROTOTYPE
230 float x,
231 float y,
232 float z,
233 float w
234#endif
235);
236
237void EXPORT call_togl_draw_text (
238#ifdef INTERFACEGRAPHIC_PROTOTYPE
239 CALL_DEF_TEXT *atext
240#endif
241);
242
243void EXPORT call_togl_draw_structure (
244#ifdef INTERFACEGRAPHIC_PROTOTYPE
245 int StructId
246#endif
247);
248
249void EXPORT call_togl_set_linecolor (
250#ifdef INTERFACEGRAPHIC_PROTOTYPE
251 float r,
252 float g,
253 float b
254#endif
255);
256
257void EXPORT call_togl_set_interiorcolor (
258#ifdef INTERFACEGRAPHIC_PROTOTYPE
259 float r,
260 float g,
261 float b
262#endif
263);
264
265void EXPORT call_togl_set_linetype (
266#ifdef INTERFACEGRAPHIC_PROTOTYPE
267 long type
268#endif
269);
270
271void EXPORT call_togl_set_interiortype (
272#ifdef INTERFACEGRAPHIC_PROTOTYPE
273 long type
274#endif
275);
276
277void EXPORT call_togl_set_linewidth (
278#ifdef INTERFACEGRAPHIC_PROTOTYPE
279 float width
280#endif
281);
282
283void EXPORT call_togl_set_textcolor (
284#ifdef INTERFACEGRAPHIC_PROTOTYPE
285 float r,
286 float g,
287 float b
288#endif
289);
290
291void EXPORT call_togl_set_textfont (
292#ifdef INTERFACEGRAPHIC_PROTOTYPE
293 char *police,
294 float factor,
295 float space
296#endif
297);
298
299void EXPORT call_togl_set_markercolor (
300#ifdef INTERFACEGRAPHIC_PROTOTYPE
301 float r,
302 float g,
303 float b
304#endif
305);
306
307void EXPORT call_togl_set_markertype (
308#ifdef INTERFACEGRAPHIC_PROTOTYPE
309 long type,
310 float scale
311#endif
312);
313
314void EXPORT call_togl_set_minmax (
315#ifdef INTERFACEGRAPHIC_PROTOTYPE
316 float x1,
317 float y1,
318 float z1,
319 float x2,
320 float y2,
321 float z2
322#endif
323);
324
325void EXPORT call_togl_set_rgb (
326#ifdef INTERFACEGRAPHIC_PROTOTYPE
327 float r,
328 float g,
329 float b
330#endif
331);
332
333 /* Declarations des subroutines appelees du C++ */
334 /* dans les packages Graphic3d et Visual3d */
335
336void EXPORT call_togl_opengroup (
337#ifdef INTERFACEGRAPHIC_PROTOTYPE
338 CALL_DEF_GROUP *agroup
339#endif
340);
341
342void EXPORT call_togl_closegroup (
343#ifdef INTERFACEGRAPHIC_PROTOTYPE
344 CALL_DEF_GROUP *agroup
345#endif
346);
347
348void EXPORT call_togl_cleargroup (
349#ifdef INTERFACEGRAPHIC_PROTOTYPE
350 CALL_DEF_GROUP *agroup
351#endif
352);
353
354void EXPORT call_togl_linecontextgroup (
355#ifdef INTERFACEGRAPHIC_PROTOTYPE
356 CALL_DEF_GROUP *agroup,
357 int noinsert
358#endif
359);
360
361void EXPORT call_togl_facecontextgroup (
362#ifdef INTERFACEGRAPHIC_PROTOTYPE
363 CALL_DEF_GROUP *agroup,
364 int noinsert
365#endif
366);
367
368void EXPORT call_togl_markercontextgroup (
369#ifdef INTERFACEGRAPHIC_PROTOTYPE
370 CALL_DEF_GROUP *agroup,
371 int noinsert
372#endif
373);
374
375void EXPORT call_togl_textcontextgroup (
376#ifdef INTERFACEGRAPHIC_PROTOTYPE
377 CALL_DEF_GROUP *agroup,
378 int noinsert
379#endif
380);
381
382void EXPORT call_togl_group (
383#ifdef INTERFACEGRAPHIC_PROTOTYPE
384 CALL_DEF_GROUP *agroup
385#endif
386);
387
388void EXPORT call_togl_marker (
389#ifdef INTERFACEGRAPHIC_PROTOTYPE
390 CALL_DEF_GROUP *agroup,
391 CALL_DEF_MARKER *amarker
392#endif
393);
394
395void EXPORT call_togl_marker_set (
396#ifdef INTERFACEGRAPHIC_PROTOTYPE
397 CALL_DEF_GROUP *agroup,
398 CALL_DEF_LISTMARKERS *almarkers
399#endif
400);
401
402void EXPORT call_togl_polyline (
403#ifdef INTERFACEGRAPHIC_PROTOTYPE
404 CALL_DEF_GROUP *agroup,
405 CALL_DEF_LISTPOINTS *alpoints
406#endif
407);
408
409void EXPORT call_togl_polygon (
410#ifdef INTERFACEGRAPHIC_PROTOTYPE
411 CALL_DEF_GROUP *agroup,
412 CALL_DEF_FACET *afacet
413#endif
414);
415
416void EXPORT call_togl_polygon_holes (
417#ifdef INTERFACEGRAPHIC_PROTOTYPE
418 CALL_DEF_GROUP *agroup,
419 CALL_DEF_LISTFACETS *alfacets
420#endif
421);
422
423void EXPORT call_togl_polygon_indices (
424#ifdef INTERFACEGRAPHIC_PROTOTYPE
425 CALL_DEF_GROUP *agroup,
426 CALL_DEF_LISTPOINTS *alpoints,
427 CALL_DEF_LISTEDGES *aledges,
428 CALL_DEF_LISTINTEGERS *albounds
429#endif
430);
431
432void EXPORT call_togl_pickid (
433#ifdef INTERFACEGRAPHIC_PROTOTYPE
434 CALL_DEF_GROUP *agroup
435#endif
436);
437
438void EXPORT call_togl_quadrangle (
439#ifdef INTERFACEGRAPHIC_PROTOTYPE
440 CALL_DEF_GROUP *agroup,
441 CALL_DEF_QUAD *aquad
442#endif
443);
444
445void EXPORT call_togl_removegroup (
446#ifdef INTERFACEGRAPHIC_PROTOTYPE
447 CALL_DEF_GROUP *agroup
448#endif
449);
450
451void EXPORT call_togl_text (
452#ifdef INTERFACEGRAPHIC_PROTOTYPE
453 CALL_DEF_GROUP *agroup,
454 CALL_DEF_TEXT *atext
455#endif
456);
457
458void EXPORT call_togl_triangle (
459#ifdef INTERFACEGRAPHIC_PROTOTYPE
460 CALL_DEF_GROUP *agroup,
461 CALL_DEF_TRIKE *atrike
462#endif
463);
464
465void EXPORT call_togl_bezier (
466#ifdef INTERFACEGRAPHIC_PROTOTYPE
467 CALL_DEF_GROUP *agroup,
468 CALL_DEF_LISTPOINTS *alpoints
469#endif
470);
471
472void EXPORT call_togl_bezier_weight (
473#ifdef INTERFACEGRAPHIC_PROTOTYPE
474 CALL_DEF_GROUP *agroup,
475 CALL_DEF_LISTPOINTS *alpoints,
476 CALL_DEF_LISTREALS *alweights
477#endif
478);
479
480void EXPORT call_togl_blink (
481#ifdef INTERFACEGRAPHIC_PROTOTYPE
482 CALL_DEF_STRUCTURE *astructure,
483 int create
484#endif
485);
486
487void EXPORT call_togl_boundarybox (
488#ifdef INTERFACEGRAPHIC_PROTOTYPE
489 CALL_DEF_STRUCTURE *astructure,
490 int create
491#endif
492);
493
494void EXPORT call_togl_clearstructure (
495#ifdef INTERFACEGRAPHIC_PROTOTYPE
496 CALL_DEF_STRUCTURE *astructure
497#endif
498);
499
500void EXPORT call_togl_contextstructure (
501#ifdef INTERFACEGRAPHIC_PROTOTYPE
502 CALL_DEF_STRUCTURE *astructure
503#endif
504);
505
506void EXPORT call_togl_highlightcolor (
507#ifdef INTERFACEGRAPHIC_PROTOTYPE
508 CALL_DEF_STRUCTURE *astructure,
509 CALL_DEF_COLOR *acolor,
510 int create
511#endif
512);
513
514void EXPORT call_togl_namesetstructure (
515#ifdef INTERFACEGRAPHIC_PROTOTYPE
516 CALL_DEF_STRUCTURE *astructure
517#endif
518);
519
520void EXPORT call_togl_removestructure (
521#ifdef INTERFACEGRAPHIC_PROTOTYPE
522 CALL_DEF_STRUCTURE *astructure
523#endif
524);
525
526void EXPORT call_togl_structure (
527#ifdef INTERFACEGRAPHIC_PROTOTYPE
528 CALL_DEF_STRUCTURE *astructure
529#endif
530);
531
532void EXPORT call_togl_transformstructure (
533#ifdef INTERFACEGRAPHIC_PROTOTYPE
534 CALL_DEF_STRUCTURE *astructure
535#endif
536);
537
538void EXPORT call_togl_degeneratestructure (
539#ifdef INTERFACEGRAPHIC_PROTOTYPE
540 CALL_DEF_STRUCTURE *astructure
541#endif
542);
543
544void EXPORT call_togl_connect (
545#ifdef INTERFACEGRAPHIC_PROTOTYPE
546 CALL_DEF_STRUCTURE *afather,
547 CALL_DEF_STRUCTURE *ason
548#endif
549);
550
551void EXPORT call_togl_disconnect (
552#ifdef INTERFACEGRAPHIC_PROTOTYPE
553 CALL_DEF_STRUCTURE *afather,
554 CALL_DEF_STRUCTURE *ason
555#endif
556);
557
558int EXPORT call_togl_begin_animation (
559#ifdef INTERFACEGRAPHIC_PROTOTYPE
560 CALL_DEF_VIEW *aview
561#endif
562);
563
564void EXPORT call_togl_end_animation (
565#ifdef INTERFACEGRAPHIC_PROTOTYPE
566 CALL_DEF_VIEW *aview
567#endif
568);
569
570int EXPORT call_togl_begin (
571#ifdef INTERFACEGRAPHIC_PROTOTYPE
572 char *adisplay
573#endif
574);
575
576/*RIC120302*/
577int EXPORT call_togl_begin_display (
578#ifdef INTERFACEGRAPHIC_PROTOTYPE
579 void *pdisplay
580#endif
581);
582/*RIC120302*/
583
584void EXPORT call_togl_end (
585#ifdef INTERFACEGRAPHIC_PROTOTYPE
586#endif
587);
588
589void EXPORT call_togl_structure_exploration (
590#ifdef INTERFACEGRAPHIC_PROTOTYPE
591 long Id,
592 long LabelBegin,
593 long LabelEnd
594#endif
595);
596
597void EXPORT call_togl_element_exploration (
598#ifdef INTERFACEGRAPHIC_PROTOTYPE
599 long Id,
600 long elem_num,
601 long *type,
602 CALL_DEF_POINT *pt,
603 CALL_DEF_NORMAL *npt,
604 CALL_DEF_COLOR *cpt,
605 CALL_DEF_NORMAL *nfa
606#endif
607);
608
609void EXPORT call_togl_element_type (
610#ifdef INTERFACEGRAPHIC_PROTOTYPE
611 long Id,
612 long elem_num,
613 long *type
614#endif
615);
616
617void EXPORT call_togl_activateview (
618#ifdef INTERFACEGRAPHIC_PROTOTYPE
619 CALL_DEF_VIEW *aview
620#endif
621);
622
623void EXPORT call_togl_antialiasing (
624#ifdef INTERFACEGRAPHIC_PROTOTYPE
625 CALL_DEF_VIEW *aview,
626 int tag
627#endif
628);
629
630void EXPORT call_togl_background (
631#ifdef INTERFACEGRAPHIC_PROTOTYPE
632 CALL_DEF_VIEW *aview
633#endif
634);
635
636void EXPORT call_togl_gradient_background
637(
638#ifdef INTERFACEGRAPHIC_PROTOTYPE
639 int ws, int type,
640 tel_colour color1,
641 tel_colour color2
642#endif
643);
644
645void EXPORT call_togl_set_gradient_type
646(
647#ifdef INTERFACEGRAPHIC_PROTOTYPE
648 int ws, int type
649#endif
650);
651
652int EXPORT call_togl_project_raster (
653#ifdef INTERFACEGRAPHIC_PROTOTYPE
654 int wsid,
655 float x,
656 float y,
657 float z,
658 int *ixr,
659 int *iyr
660#endif
661);
662
663int EXPORT call_togl_unproject_raster (
664#ifdef INTERFACEGRAPHIC_PROTOTYPE
665 int wsid,
666 int xm,
667 int ym,
668 int xM,
669 int yM,
670 int ixr,
671 int iyr,
672 float *x,
673 float *y,
674 float *z
675#endif
676);
677
678int EXPORT call_togl_unproject_raster_with_ray (
679#ifdef INTERFACEGRAPHIC_PROTOTYPE
680 int wsid,
681 int xm,
682 int ym,
683 int xM,
684 int yM,
685 int ixr,
686 int iyr,
687 float *x,
688 float *y,
689 float *z,
690 float *dx,
691 float *dy,
692 float *dz
693#endif
694);
695
696void EXPORT call_togl_cliplimit (
697#ifdef INTERFACEGRAPHIC_PROTOTYPE
698 CALL_DEF_VIEW *aview,
699 int wait
700#endif
701);
702
703void EXPORT call_togl_deactivateview (
704#ifdef INTERFACEGRAPHIC_PROTOTYPE
705 CALL_DEF_VIEW *aview
706#endif
707);
708
709void EXPORT call_togl_depthcueing (
710#ifdef INTERFACEGRAPHIC_PROTOTYPE
711 CALL_DEF_VIEW *aview,
712 int tag
713#endif
714);
715
716void EXPORT call_togl_displaystructure (
717#ifdef INTERFACEGRAPHIC_PROTOTYPE
718 CALL_DEF_VIEW *aview,
719 int StructId,
720 int Priority
721#endif
722);
723
724void EXPORT call_togl_erasestructure (
725#ifdef INTERFACEGRAPHIC_PROTOTYPE
726 int ViewId,
727 int StructId
728#endif
729);
730
731void EXPORT call_togl_init_pick (
732#ifdef INTERFACEGRAPHIC_PROTOTYPE
733#endif
734);
735
736void EXPORT call_togl_pick (
737#ifdef INTERFACEGRAPHIC_PROTOTYPE
738 CALL_DEF_PICK *apick
739#endif
740);
741
742void EXPORT call_togl_ratio_window (
743#ifdef INTERFACEGRAPHIC_PROTOTYPE
744 CALL_DEF_VIEW *aview
745#endif
746);
747
748void EXPORT call_togl_redraw (
749#ifdef INTERFACEGRAPHIC_PROTOTYPE
750 CALL_DEF_VIEW *aview,
751 CALL_DEF_LAYER *anunderlayer,
752 CALL_DEF_LAYER *anoverlayer
753#endif
754);
755
756void EXPORT call_togl_redraw_area (
757#ifdef INTERFACEGRAPHIC_PROTOTYPE
758 CALL_DEF_VIEW *aview,
759 CALL_DEF_LAYER *anunderlayer,
760 CALL_DEF_LAYER *anoverlayer,
761 int x, int y, int width, int height
762#endif
763);
764
765void EXPORT call_togl_removeview (
766#ifdef INTERFACEGRAPHIC_PROTOTYPE
767 CALL_DEF_VIEW *aview
768#endif
769);
770
771void EXPORT call_togl_setlight (
772#ifdef INTERFACEGRAPHIC_PROTOTYPE
773 CALL_DEF_VIEW *aview
774#endif
775);
776
777void EXPORT call_togl_setplane (
778#ifdef INTERFACEGRAPHIC_PROTOTYPE
779 CALL_DEF_VIEW *aview
780#endif
781);
782
783void EXPORT call_togl_setvisualisation (
784#ifdef INTERFACEGRAPHIC_PROTOTYPE
785 CALL_DEF_VIEW *aview
786#endif
787);
788
789void EXPORT call_togl_transparency (
790#ifdef INTERFACEGRAPHIC_PROTOTYPE
791 int WsId,
792 int ViewId,
793 int Activity
794#endif
795);
796
797void EXPORT call_togl_update (
798#ifdef INTERFACEGRAPHIC_PROTOTYPE
799 CALL_DEF_VIEW *aview,
800 CALL_DEF_LAYER *anunderlayer,
801 CALL_DEF_LAYER *anoverlayer
802#endif
803);
804
805int EXPORT call_togl_view (
806#ifdef INTERFACEGRAPHIC_PROTOTYPE
807 CALL_DEF_VIEW *aview
808#endif
809);
810
811int EXPORT call_togl_viewmapping (
812#ifdef INTERFACEGRAPHIC_PROTOTYPE
813 CALL_DEF_VIEW *aview,
814 int wait
815#endif
816);
817
818int EXPORT call_togl_vieworientation (
819#ifdef INTERFACEGRAPHIC_PROTOTYPE
820 CALL_DEF_VIEW *aview,
821 int wait
822#endif
823);
824
825int EXPORT call_togl_inquiretexture (
826#ifdef INTERFACEGRAPHIC_PROTOTYPE
827#endif
828);
829
830int EXPORT call_togl_inquirelight (
831#ifdef INTERFACEGRAPHIC_PROTOTYPE
832#endif
833);
834
835int EXPORT call_togl_inquireplane (
836#ifdef INTERFACEGRAPHIC_PROTOTYPE
837#endif
838);
839
840int EXPORT call_togl_inquireview (
841#ifdef INTERFACEGRAPHIC_PROTOTYPE
842#endif
843);
844
845int EXPORT call_togl_inquiremat (
846#ifdef INTERFACEGRAPHIC_PROTOTYPE
847 CALL_DEF_VIEW *aview,
848 CALL_DEF_MATRIX4X4 ori_matrix,
849 CALL_DEF_MATRIX4X4 map_matrix
850#endif
851);
852
853void EXPORT call_togl_view_exploration (
854#ifdef INTERFACEGRAPHIC_PROTOTYPE
855 long Id
856#endif
857);
858
859#ifdef OCC1188
860int EXPORT call_togl_create_texture (
861#ifdef INTERFACEGRAPHIC_PROTOTYPE
862 int Type,
863 unsigned int Width,
864 unsigned int Height,
865 unsigned char *Data,
866 char *FileName
867#endif
868);
869
870void EXPORT call_togl_create_bg_texture (
871#ifdef INTERFACEGRAPHIC_PROTOTYPE
872 CALL_DEF_VIEW *aview,
873 int width,
874 int height,
875 unsigned char *data,
876 int style
877#endif
878);
879#endif /* OCC1188 */
880
881void EXPORT call_togl_set_bg_texture_style(
882#ifdef INTERFACEGRAPHIC_PROTOTYPE
883 CALL_DEF_VIEW* aview,
884 int style
885#endif
886);
887
888void EXPORT call_togl_destroy_texture (
889#ifdef INTERFACEGRAPHIC_PROTOTYPE
890 int TexId
891#endif
892);
893
894void EXPORT call_togl_modify_texture (
895#ifdef INTERFACEGRAPHIC_PROTOTYPE
896 int TexId,
897 CALL_DEF_INIT_TEXTURE *init_tex
898#endif
899);
900
901void EXPORT call_togl_environment (
902#ifdef INTERFACEGRAPHIC_PROTOTYPE
903 CALL_DEF_VIEW *aview
904#endif
905);
906
907 /* Declarations des subroutines layer mode */
908
909void EXPORT call_togl_layer2d (
910#ifdef INTERFACEGRAPHIC_PROTOTYPE
911 CALL_DEF_LAYER *alayer
912#endif
913);
914
915void EXPORT call_togl_removelayer2d (
916#ifdef INTERFACEGRAPHIC_PROTOTYPE
917 CALL_DEF_LAYER *alayer
918#endif
919);
920
921void EXPORT call_togl_begin_layer2d (
922#ifdef INTERFACEGRAPHIC_PROTOTYPE
923 CALL_DEF_LAYER *alayer
924#endif
925);
926
927void EXPORT call_togl_end_layer2d (
928);
929
930void EXPORT call_togl_clear_layer2d (
931#ifdef INTERFACEGRAPHIC_PROTOTYPE
932 CALL_DEF_LAYER *alayer
933#endif
934);
935
936void EXPORT call_togl_begin_polyline2d (
937);
938
939void EXPORT call_togl_end_polyline2d (
940);
941
942void EXPORT call_togl_begin_polygon2d (
943);
944
945void EXPORT call_togl_end_polygon2d (
946);
947
948void EXPORT call_togl_move2d (
949#ifdef INTERFACEGRAPHIC_PROTOTYPE
950 float x,
951 float y
952#endif
953);
954
955void EXPORT call_togl_draw2d (
956#ifdef INTERFACEGRAPHIC_PROTOTYPE
957 float x,
958 float y
959#endif
960);
961
962void EXPORT call_togl_edge2d (
963#ifdef INTERFACEGRAPHIC_PROTOTYPE
964 float x,
965 float y
966#endif
967);
968
969void EXPORT call_togl_rectangle2d (
970#ifdef INTERFACEGRAPHIC_PROTOTYPE
971 float x,
972 float y,
973 float w,
974 float h
975#endif
976);
977
978void EXPORT call_togl_set_color (
979#ifdef INTERFACEGRAPHIC_PROTOTYPE
980 float r,
981 float g,
982 float b
983#endif
984);
985
986void EXPORT call_togl_set_transparency (
987#ifdef INTERFACEGRAPHIC_PROTOTYPE
988 float a
989#endif
990);
991
992void EXPORT call_togl_unset_transparency (
993);
994
995void EXPORT call_togl_set_line_attributes (
996#ifdef INTERFACEGRAPHIC_PROTOTYPE
997 long type,
998 float width
999#endif
1000);
1001
1002void EXPORT call_togl_set_text_attributes (
1003#ifdef INTERFACEGRAPHIC_PROTOTYPE
1004 char* font,
1005 long type,
1006 float r,
1007 float g,
1008 float b
1009#endif
1010);
1011
1012void EXPORT call_togl_text2d (
1013#ifdef INTERFACEGRAPHIC_PROTOTYPE
1014 char *s,
1015 float x,
1016 float y,
1017 float height
1018#endif
1019);
1020
1021void EXPORT call_togl_textsize2d (
1022#ifdef INTERFACEGRAPHIC_PROTOTYPE
1023 char *s,
1024 float height,
1025 float *width,
1026 float *ascent,
1027 float *descent
1028#endif
1029);
1030
1031void EXPORT call_togl_backfacing (
1032#ifdef INTERFACEGRAPHIC_PROTOTYPE
1033 CALL_DEF_VIEW*
1034#endif /* INTERFACEGRAPHIC_PROTOTYPE */
1035 );
1036
1037/* *** group of parray functions *** */
1038
1039void EXPORT call_togl_parray (
1040#ifdef INTERFACEGRAPHIC_PROTOTYPE
1041 CALL_DEF_GROUP *agroup,
1042 CALL_DEF_PARRAY* parray
1043#endif
1044);
1045
1046void EXPORT call_togl_userdraw (
1047#ifdef INTERFACEGRAPHIC_PROTOTYPE
1048 CALL_DEF_GROUP *agroup,
1049 CALL_DEF_USERDRAW *anobject
1050#endif
1051);
1052
1053/* ------------------------- */
1054void EXPORT call_togl_print (
1055#ifdef INTERFACEGRAPHIC_PROTOTYPE
1056 CALL_DEF_VIEW *aview,
1057 CALL_DEF_LAYER *anunderlayer,
1058 CALL_DEF_LAYER *anoverlayer,
1059 const Aspect_Drawable hPrintDC,
1060 const int background,
1061 const char* filename
1062#endif
1063);
1064
1065
1066#ifdef BUC61044
1067void EXPORT call_togl_depthtest (
1068#ifdef INTERFACEGRAPHIC_PROTOTYPE
1069 CALL_DEF_VIEW *aview,
1070 int dFlag
1071#endif
1072);
1073
1074int EXPORT call_togl_isdepthtest (
1075#ifdef INTERFACEGRAPHIC_PROTOTYPE
1076 CALL_DEF_VIEW *aview
1077#endif
1078);
1079#endif
1080
1081#ifdef BUC61045
1082void EXPORT call_togl_gllight (
1083#ifdef INTERFACEGRAPHIC_PROTOTYPE
1084 CALL_DEF_VIEW *aview,
1085 int dFlag
1086#endif
1087);
1088
1089int EXPORT call_togl_isgllight (
1090#ifdef INTERFACEGRAPHIC_PROTOTYPE
1091 CALL_DEF_VIEW *aview
1092#endif
1093);
1094void EXPORT call_togl_graduatedtrihedron_get (
1095#ifdef INTERFACEGRAPHIC_PROTOTYPE
1096 /* View id */
1097 CALL_DEF_VIEW* aview,
1098 /* Graduated trihedron data */
1099 CALL_DEF_GRADUATEDTRIHEDRON* cubic
1100#endif
1101);
1102
1103void EXPORT call_togl_graduatedtrihedron_display (
1104#ifdef INTERFACEGRAPHIC_PROTOTYPE
1105 /* View id */
1106 CALL_DEF_VIEW* aview,
1107 /* Graduated trihedron data */
1108 CALL_DEF_GRADUATEDTRIHEDRON* cubic
1109#endif
1110);
1111
1112void EXPORT call_togl_graduatedtrihedron_erase (
1113#ifdef INTERFACEGRAPHIC_PROTOTYPE
1114 /* View id */
1115 CALL_DEF_VIEW* aview
1116#endif
1117);
1118
1119void EXPORT call_togl_graduatedtrihedron_minmaxvalues (
1120#ifdef INTERFACEGRAPHIC_PROTOTYPE
1121 float xmin,
1122 float ymin,
1123 float zmin,
1124 float xmax,
1125 float ymax,
1126 float zmax
1127#endif
1128);
1129
1130#endif
1131
1132#endif /* InterfaceGraphic_CexternHeader */