1 #define G003 /* EUG degeneration support
4 #include <OpenGl_tgl_all.hxx>
6 #include <InterfaceGraphic_Labels.hxx>
7 #include <InterfaceGraphic_Graphic3d.hxx>
9 #include <OpenGl_tgl.hxx>
10 #include <OpenGl_tgl_funcs.hxx>
11 #include <OpenGl_tgl_subrs.hxx>
12 #include <OpenGl_tgl_util.hxx>
17 CALL_DEF_STRUCTURE * astructure
23 nameset[0] = astructure->highlight ? CALL_DEF_STRUCTHIGHLIGHTED
24 : CALL_DEF_STRUCTNOHIGHLIGHTED;
25 nameset[1] = astructure->visible ? CALL_DEF_STRUCTVISIBLE :
26 CALL_DEF_STRUCTNOVISIBLE;
27 nameset[2] = astructure->pick ? CALL_DEF_STRUCTPICKABLE :
28 CALL_DEF_STRUCTNOPICKABLE;
30 struct_defined = call_util_test_structure( astructure->Id );
33 call_func_del_struct( astructure->Id );
35 call_func_set_edit_mode( CALL_PHIGS_EDIT_INSERT );
36 call_func_open_struct( astructure->Id );
37 call_func_label( Structure_LABBegin );
38 call_func_label( Structure_LABTransformation );
40 /* ABD 29/10/04 Transform Persistence of Presentation( pan, zoom, rotate ) */
41 call_func_label( Structure_LABTransPersistence );
42 /* ABD 29/10/04 Transform Persistence of Presentation( pan, zoom, rotate ) */
44 call_func_appl_data (0);
46 call_func_label ( Structure_LABDegenerateModel );
47 call_func_offset_elem_ptr ( 1 );
48 call_func_set_degenerate_model (
49 astructure -> ContextFillArea.DegenerationMode,
50 astructure -> ContextFillArea.SkipRatio);
52 call_func_label( Structure_LABContextLine );
53 call_func_label( Structure_LABContextFillArea );
54 call_func_label( Structure_LABContextMarker );
55 call_func_label( Structure_LABContextText );
56 call_func_label( Structure_LABHighlight );
57 call_func_label( Structure_LABVisibility );
58 call_func_label( Structure_LABPick );
59 call_func_label( Structure_LABNameSet );
60 call_subr_addnameset( 3, nameset );
61 call_func_label( Structure_LABConnect );
62 call_func_label( astructure->GroupBegin );
63 call_func_label( astructure->GroupEnd );
64 call_func_close_struct();
66 /* call_togl_contextstructure( astructure ); */