home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / X / mit / demos / gpc / brf_set.h < prev    next >
Encoding:
Text File  |  1991-02-15  |  15.5 KB  |  1,040 lines

  1. /* $XConsortium: brf_set.h,v 5.1 91/02/16 10:07:18 rws Exp $ */
  2.  
  3. /*
  4.  */
  5. /*--------------------------------------------------------------------*\
  6. |
  7. |  Copyright (C) 1989,1990, 1991, National Computer Graphics Association
  8. |
  9. |  Permission is granted to any individual or institution to use, copy, or
  10. |  redistribute this software so long as it is not sold for profit, provided
  11. |  this copyright notice is retained.
  12. |
  13. |                         Developed for the
  14. |                National Computer Graphics Association
  15. |                         2722 Merrilee Drive
  16. |                         Fairfax, VA  22031
  17. |                           (703) 698-9600
  18. |
  19. |                                by
  20. |                 SimGraphics Engineering Corporation
  21. |                    1137 Huntington Drive  Unit A
  22. |                      South Pasadena, CA  91030
  23. |                           (213) 255-0900
  24. |---------------------------------------------------------------------
  25. |
  26. | Author        :    SimGraphics Engineering Corportation
  27. |
  28. | File          :    brf_set.h
  29. | Date          :    Fri Feb  9 10:46:55 PST 1990
  30. | Project       :    PLB
  31. | Description   :    Initializes the BRF structures.
  32. | Status        :    Version 1.0
  33. |
  34. | Revisions     :    
  35. |
  36. \*--------------------------------------------------------------------*/
  37. BRF_Any_With_Data total_with_data =
  38. {
  39.     NULL,
  40.     NULL,
  41.     NULL,
  42.     do_brfgeneric,
  43.     "POLY TOTALS", 0,
  44.     0,0,0,0,0,0
  45. };
  46. BRF_Label brf_label =
  47. {
  48.     LABEL,
  49.     NULL,
  50.     (union brf_all*)&total_with_data,
  51.     do_brfgeneric,
  52.     "LABEL", 0,
  53.     0,0,0,0,0,0
  54. };
  55.  
  56. BRF_Marker brf_marker =
  57. {
  58.     MARKER,
  59.     NULL,
  60.     (union brf_all*)&total_with_data,
  61.     do_brfgeneric,
  62.     "MARKER", 0,
  63.     0,0,0,0,0,0
  64. };
  65.  
  66. BRF_Marker3 brf_marker3 =
  67. {
  68.     MARKER3,
  69.     NULL,
  70.     (union brf_all*)&total_with_data,
  71.     do_brfgeneric,
  72.     "MARKER3", 0,
  73.     0,0,0,0,0,0
  74. };
  75.  
  76. BRF_Line brf_line =
  77. {
  78.     LINE,
  79.     NULL,
  80.     (union brf_all*)&total_with_data,
  81.     do_brfgeneric,
  82.     "LINE", 0,
  83.     0,0,0,0,0,0
  84. };
  85.  
  86. BRF_Line3 brf_line3 =
  87. {
  88.     LINE3,
  89.     NULL,
  90.     (union brf_all*)&total_with_data,
  91.     do_brfgeneric,
  92.     "LINE3", 0,
  93.     0,0,0,0,0,0
  94. };
  95.  
  96. BRF_Text brf_text =
  97. {
  98.     TEXT,
  99.     NULL,
  100.     (union brf_all*)&total_with_data,
  101.     do_brfgeneric,
  102.     "TEXT", 0,
  103.     0,0,0,0,0,0
  104. };
  105.  
  106. BRF_Text3 brf_text3 =
  107. {
  108.     TEXT3,
  109.     NULL,
  110.     (union brf_all*)&total_with_data,
  111.     do_brfgeneric,
  112.     "TEXT3", 0,
  113.     0,0,0,0,0,0
  114. };
  115.  
  116. BRF_Annotationtext3 brf_annotationtext3 =
  117. {
  118.     ANNOTATION_TEXT3,
  119.     NULL,
  120.     (union brf_all*)&total_with_data,
  121.     do_brfgeneric,
  122.     "ANNOTATION_TEXT3", 0,
  123.     0,0,0,0,0,0
  124. };
  125.  
  126. BRF_Pixelmap3 brf_pixelmap3 =
  127. {
  128.     PIXEL_MAP3,
  129.     NULL,
  130.     (union brf_all*)&total_with_data,
  131.     do_brfgeneric,
  132.     "PIXEL_MAP3", 0,
  133.     0,0,0,0,0,0
  134. };
  135.  
  136. BRF_Gensphere3 brf_gensphere3 =
  137. {
  138.     GEN_SPHERE3,
  139.     NULL,
  140.     (union brf_all*)&total_with_data,
  141.     do_brfgeneric,
  142.     "GEN_SPHERE3", 0,
  143.     0,0,0,0,0,0
  144. };
  145.  
  146. BRF_Gencircle brf_gencircle =
  147. {
  148.     GEN_CIRCLE,
  149.     NULL,
  150.     (union brf_all*)&total_with_data,
  151.     do_brfgeneric,
  152.     "GEN_CIRCLE", 0,
  153.     0,0,0,0,0,0
  154. };
  155.  
  156. BRF_Gencircle3 brf_gencircle3 =
  157. {
  158.     GEN_CIRCLE3,
  159.     NULL,
  160.     (union brf_all*)&total_with_data,
  161.     do_brfgeneric,
  162.     "GEN_CIRCLE3", 0,
  163.     0,0,0,0,0,0
  164. };
  165.  
  166. BRF_Polygon brf_polygon =
  167. {
  168.     POLYGON,
  169.     NULL,
  170.     (union brf_all*)&total_with_data,
  171.     do_brfpolygon,
  172.     "POLYGON", 0,
  173.     0,0,0,0,0,0
  174. };
  175.  
  176. BRF_Polygon3 brf_polygon3 =
  177. {
  178.     POLYGON3,
  179.     NULL,
  180.     (union brf_all*)&total_with_data,
  181.     do_brfpolygon3,
  182.     "POLYGON3", 0,
  183.     0,0,0,0,0,0
  184. };
  185.  
  186. BRF_Fillareaset brf_fillareaset =
  187. {
  188.     FILL_AREA_SET,
  189.     NULL,
  190.     (union brf_all*)&total_with_data,
  191.     do_brffillareaset,
  192.     "FILL_AREA_SET", 0,
  193.     0,0,0,0,0,0
  194. };
  195.  
  196. BRF_Fillareaset3 brf_fillareaset3 =
  197. {
  198.     FILL_AREA_SET3,
  199.     NULL,
  200.     (union brf_all*)&total_with_data,
  201.     do_brffillareaset3,
  202.     "FILL_AREA_SET3", 0,
  203.     0,0,0,0,0,0
  204. };
  205.  
  206. BRF_Triangle3 brf_triangle3 =
  207. {
  208.     TRIANGLE3,
  209.     NULL,
  210.     (union brf_all*)&total_with_data,
  211.     do_brftriangle3,
  212.     "TRIANGLE3", 0,
  213.     0,0,0,0,0,0
  214. };
  215.  
  216. BRF_Quadmesh3 brf_quadmesh3 =
  217. {
  218.     QUAD_MESH3,
  219.     NULL,
  220.     (union brf_all*)&total_with_data,
  221.     do_brfquadmesh3,
  222.     "QUAD_MESH3", 0,
  223.     0,0,0,0,0,0
  224. };
  225.  
  226. BRF_Indexpolygons3 brf_indexpolygons3 =
  227. {
  228.     INDEX_POLYGONS3,
  229.     NULL,
  230.     (union brf_all*)&total_with_data,
  231.     do_brfindexpolygons3,
  232.     "INDEX_POLYGONS3", 0,
  233.     0,0,0,0,0,0
  234. };
  235.  
  236. BRF_Linetype brf_linetype =
  237. {
  238.     LINE_TYPE,
  239.     NULL,
  240.     NULL,
  241.     do_brfgeneric,
  242.     "LINE_TYPE", 0,
  243. };
  244.  
  245. BRF_Interiorshading brf_interiorshading =
  246. {
  247.     INTERIOR_SHADING,
  248.     NULL,
  249.     NULL,
  250.     do_brfgeneric,
  251.     "INTERIOR_SHADING", 0,
  252. };
  253.  
  254. BRF_Interiorlighting brf_interiorlighting =
  255. {
  256.     INTERIOR_LIGHTING,
  257.     NULL,
  258.     NULL,
  259.     do_brfgeneric,
  260.     "INTERIOR_LIGHTING", 0,
  261. };
  262.  
  263. BRF_Backfaceprocessing brf_backfaceprocessing =
  264. {
  265.     BACKFACE_PROCESSING,
  266.     NULL,
  267.     NULL,
  268.     do_brfgeneric,
  269.     "BACKFACE_PROCESSING", 0,
  270. };
  271.  
  272. BRF_Edgeflag brf_edgeflag =
  273. {
  274.     EDGE_FLAG,
  275.     NULL,
  276.     NULL,
  277.     do_brfgeneric,
  278.     "EDGE_FLAG", 0,
  279. };
  280.  
  281. BRF_Textfont brf_textfont =
  282. {
  283.     TEXT_FONT,
  284.     NULL,
  285.     NULL,
  286.     do_brfgeneric,
  287.     "TEXT_FONT", 0,
  288. };
  289.  
  290. BRF_Textprec brf_textprec =
  291. {
  292.     TEXT_PREC,
  293.     NULL,
  294.     NULL,
  295.     do_brfgeneric,
  296.     "TEXT_PREC", 0,
  297. };
  298.  
  299. BRF_Lightstate brf_lightstate =
  300. {
  301.     LIGHT_STATE,
  302.     NULL,
  303.     NULL,
  304.     do_brfgeneric,
  305.     "LIGHT_STATE", 0,
  306. };
  307.  
  308. BRF_Depthcueindex brf_depthcueindex =
  309. {
  310.     DEPTHCUE_INDEX,
  311.     NULL,
  312.     NULL,
  313.     do_brfgeneric,
  314.     "DEPTHCUE_INDEX", 0,
  315. };
  316.  
  317. BRF_Hlhsremoval brf_hlhsremoval =
  318. {
  319.     HLHS_REMOVAL,
  320.     NULL,
  321.     NULL,
  322.     do_brfgeneric,
  323.     "HLHS_REMOVAL", 0,
  324. };
  325.  
  326. BRF_Readgeometryfile brf_readgeometryfile =
  327. {
  328.     READ_GEOMETRY_FILE,
  329.     NULL,
  330.     NULL,
  331.     do_brfgeneric,
  332.     "READ_GEOMETRY_FILE", 0,
  333. };
  334.  
  335. BRF_Cleargeometry brf_cleargeometry =
  336. {
  337.     CLEAR_GEOMETRY,
  338.     NULL,
  339.     NULL,
  340.     do_brfgeneric,
  341.     "CLEAR_GEOMETRY", 0,
  342. };
  343.  
  344. BRF_Beginstructure brf_beginstructure =
  345. {
  346.     BEGIN_STRUCTURE,
  347.     NULL,
  348.     NULL,
  349.     do_brfgeneric,
  350.     "BEGIN_STRUCTURE", 0,
  351. };
  352.  
  353. BRF_Endstructure brf_endstructure =
  354. {
  355.     END_STRUCTURE,
  356.     NULL,
  357.     NULL,
  358.     do_brfgeneric,
  359.     "END_STRUCTURE", 0,
  360. };
  361.  
  362. BRF_Executestructure brf_executestructure =
  363. {
  364.     EXECUTE_STRUCTURE,
  365.     NULL,
  366.     NULL,
  367.     do_brfexecutestructure,
  368.     "EXECUTE_STRUCTURE", 0,
  369. };
  370.  
  371. BRF_Callstructure brf_callstructure =
  372. {
  373.     CALL_STRUCTURE,
  374.     NULL,
  375.     NULL,
  376.     do_brfcallstructure,
  377.     "CALL_STRUCTURE", 0,
  378. };
  379.  
  380. BRF_Invokeatframe brf_invokeatframe =
  381. {
  382.     INVOKE_AT_FRAME,
  383.     NULL,
  384.     NULL,
  385.     do_brfinvokeatframe,
  386.     "INVOKE_AT_FRAME", 0,
  387. };
  388.  
  389. BRF_Defineviewspecification brf_defineviewspecification =
  390. {
  391.     DEFINE_VIEW_SPECIFICATION,
  392.     NULL,
  393.     NULL,
  394.     do_brfgeneric,
  395.     "DEFINE_VIEW_SPECIFICATION", 0,
  396. };
  397.  
  398. BRF_Definelight brf_definelight =
  399. {
  400.     DEFINE_LIGHT,
  401.     NULL,
  402.     NULL,
  403.     do_brfgeneric,
  404.     "DEFINE_LIGHT", 0,
  405. };
  406.  
  407. BRF_Markertype brf_markertype =
  408. {
  409.     MARKER_TYPE,
  410.     NULL,
  411.     NULL,
  412.     do_brfgeneric,
  413.     "MARKER_TYPE", 0,
  414. };
  415.  
  416. BRF_Markersize brf_markersize =
  417. {
  418.     MARKER_SIZE,
  419.     NULL,
  420.     NULL,
  421.     do_brfgeneric,
  422.     "MARKER_SIZE", 0,
  423. };
  424.  
  425. BRF_Markercolor brf_markercolor =
  426. {
  427.     MARKER_COLOR,
  428.     NULL,
  429.     NULL,
  430.     do_brfgeneric,
  431.     "MARKER_COLOR", 0,
  432. };
  433.  
  434. BRF_Markercolorindex brf_markercolorindex =
  435. {
  436.     MARKER_COLOR_INDEX,
  437.     NULL,
  438.     NULL,
  439.     do_brfgeneric,
  440.     "MARKER_COLOR_INDEX", 0,
  441. };
  442.  
  443. BRF_Linewidth brf_linewidth =
  444. {
  445.     LINE_WIDTH,
  446.     NULL,
  447.     NULL,
  448.     do_brfgeneric,
  449.     "LINE_WIDTH", 0,
  450. };
  451.  
  452. BRF_Linecolor brf_linecolor =
  453. {
  454.     LINE_COLOR,
  455.     NULL,
  456.     NULL,
  457.     do_brfgeneric,
  458.     "LINE_COLOR", 0,
  459. };
  460.  
  461. BRF_Linecolorindex brf_linecolorindex =
  462. {
  463.     LINE_COLOR_INDEX,
  464.     NULL,
  465.     NULL,
  466.     do_brfgeneric,
  467.     "LINE_COLOR_INDEX", 0,
  468. };
  469.  
  470. BRF_Lineshading brf_lineshading =
  471. {
  472.     LINE_SHADING,
  473.     NULL,
  474.     NULL,
  475.     do_brfgeneric,
  476.     "LINE_SHADING", 0,
  477. };
  478.  
  479. BRF_Interiorstyle brf_interiorstyle =
  480. {
  481.     INTERIOR_STYLE,
  482.     NULL,
  483.     NULL,
  484.     do_brfgeneric,
  485.     "INTERIOR_STYLE", 0,
  486. };
  487.  
  488. BRF_Interiorpatternindex brf_interiorpatternindex =
  489. {
  490.     INTERIOR_PATTERN_INDEX,
  491.     NULL,
  492.     NULL,
  493.     do_brfgeneric,
  494.     "INTERIOR_PATTERN_INDEX", 0,
  495. };
  496.  
  497. BRF_Interiorcolor brf_interiorcolor =
  498. {
  499.     INTERIOR_COLOR,
  500.     NULL,
  501.     NULL,
  502.     do_brfgeneric,
  503.     "INTERIOR_COLOR", 0,
  504. };
  505.  
  506. BRF_Interiorcolorindex brf_interiorcolorindex =
  507. {
  508.     INTERIOR_COLOR_INDEX,
  509.     NULL,
  510.     NULL,
  511.     do_brfgeneric,
  512.     "INTERIOR_COLOR_INDEX", 0,
  513. };
  514.  
  515. BRF_Backfaceinteriorcolor brf_backfaceinteriorcolor =
  516. {
  517.     BACKFACE_INTERIOR_COLOR,
  518.     NULL,
  519.     NULL,
  520.     do_brfgeneric,
  521.     "BACKFACE_INTERIOR_COLOR", 0,
  522. };
  523.  
  524. BRF_Backfaceinteriorcolorindex brf_backfaceinteriorcolorindex =
  525. {
  526.     BACKFACE_INTERIOR_COLOR_INDEX,
  527.     NULL,
  528.     NULL,
  529.     do_brfgeneric,
  530.     "BACKFACE_INTERIOR_COLOR_INDEX", 0,
  531. };
  532.  
  533. BRF_Surfaceproperties brf_surfaceproperties =
  534. {
  535.     SURFACE_PROPERTIES,
  536.     NULL,
  537.     NULL,
  538.     do_brfgeneric,
  539.     "SURFACE_PROPERTIES", 0,
  540. };
  541.  
  542. BRF_Backfaceproperties brf_backfaceproperties =
  543. {
  544.     BACKFACE_PROPERTIES,
  545.     NULL,
  546.     NULL,
  547.     do_brfgeneric,
  548.     "BACKFACE_PROPERTIES", 0,
  549. };
  550.  
  551. BRF_Edgetype brf_edgetype =
  552. {
  553.     EDGE_TYPE,
  554.     NULL,
  555.     NULL,
  556.     do_brfgeneric,
  557.     "EDGE_TYPE", 0,
  558. };
  559.  
  560. BRF_Edgewidth brf_edgewidth =
  561. {
  562.     EDGE_WIDTH,
  563.     NULL,
  564.     NULL,
  565.     do_brfgeneric,
  566.     "EDGE_WIDTH", 0,
  567. };
  568.  
  569. BRF_Edgecolor brf_edgecolor =
  570. {
  571.     EDGE_COLOR,
  572.     NULL,
  573.     NULL,
  574.     do_brfgeneric,
  575.     "EDGE_COLOR", 0,
  576. };
  577.  
  578. BRF_Edgecolorindex brf_edgecolorindex =
  579. {
  580.     EDGE_COLOR_INDEX,
  581.     NULL,
  582.     NULL,
  583.     do_brfgeneric,
  584.     "EDGE_COLOR_INDEX", 0,
  585. };
  586.  
  587. BRF_Textcolor brf_textcolor =
  588. {
  589.     TEXT_COLOR,
  590.     NULL,
  591.     NULL,
  592.     do_brfgeneric,
  593.     "TEXT_COLOR", 0,
  594. };
  595.  
  596. BRF_Textcolorindex brf_textcolorindex =
  597. {
  598.     TEXT_COLOR_INDEX,
  599.     NULL,
  600.     NULL,
  601.     do_brfgeneric,
  602.     "TEXT_COLOR_INDEX", 0,
  603. };
  604.  
  605. BRF_Textpath brf_textpath =
  606. {
  607.     TEXT_PATH,
  608.     NULL,
  609.     NULL,
  610.     do_brfgeneric,
  611.     "TEXT_PATH", 0,
  612. };
  613.  
  614. BRF_Textalign brf_textalign =
  615. {
  616.     TEXT_ALIGN,
  617.     NULL,
  618.     NULL,
  619.     do_brfgeneric,
  620.     "TEXT_ALIGN", 0,
  621. };
  622.  
  623. BRF_Charheight brf_charheight =
  624. {
  625.     CHAR_HEIGHT,
  626.     NULL,
  627.     NULL,
  628.     do_brfgeneric,
  629.     "CHAR_HEIGHT", 0,
  630. };
  631.  
  632. BRF_Charexp brf_charexp =
  633. {
  634.     CHAR_EXP,
  635.     NULL,
  636.     NULL,
  637.     do_brfgeneric,
  638.     "CHAR_EXP", 0,
  639. };
  640.  
  641. BRF_Charspace brf_charspace =
  642. {
  643.     CHAR_SPACE,
  644.     NULL,
  645.     NULL,
  646.     do_brfgeneric,
  647.     "CHAR_SPACE", 0,
  648. };
  649.  
  650. BRF_Charupvector brf_charupvector =
  651. {
  652.     CHAR_UP_VECTOR,
  653.     NULL,
  654.     NULL,
  655.     do_brfgeneric,
  656.     "CHAR_UP_VECTOR", 0,
  657. };
  658.  
  659. BRF_Annotextcharheight brf_annotextcharheight =
  660. {
  661.     ANNO_TEXT_CHAR_HEIGHT,
  662.     NULL,
  663.     NULL,
  664.     do_brfgeneric,
  665.     "ANNO_TEXT_CHAR_HEIGHT", 0,
  666. };
  667.  
  668. BRF_Annotextcharupvector brf_annotextcharupvector =
  669. {
  670.     ANNO_TEXT_CHAR_UP_VECTOR,
  671.     NULL,
  672.     NULL,
  673.     do_brfgeneric,
  674.     "ANNO_TEXT_CHAR_UP_VECTOR", 0,
  675. };
  676.  
  677. BRF_Annotextstyle brf_annotextstyle =
  678. {
  679.     ANNO_TEXT_STYLE,
  680.     NULL,
  681.     NULL,
  682.     do_brfgeneric,
  683.     "ANNO_TEXT_STYLE", 0,
  684. };
  685.  
  686. BRF_Identity3 brf_identity3 =
  687. {
  688.     IDENTITY3,
  689.     NULL,
  690.     NULL,
  691.     do_brfgeneric,
  692.     "IDENTITY3", 0,
  693. };
  694.  
  695. BRF_Concatmatrix3 brf_concatmatrix3 =
  696. {
  697.     CONCAT_MATRIX3,
  698.     NULL,
  699.     NULL,
  700.     do_brfgeneric,
  701.     "CONCAT_MATRIX3", 0,
  702. };
  703.  
  704. BRF_Invertmatrix3 brf_invertmatrix3 =
  705. {
  706.     INVERT_MATRIX3,
  707.     NULL,
  708.     NULL,
  709.     do_brfgeneric,
  710.     "INVERT_MATRIX3", 0,
  711. };
  712.  
  713. BRF_Rotate3 brf_rotate3 =
  714. {
  715.     ROTATE3,
  716.     NULL,
  717.     NULL,
  718.     do_brfgeneric,
  719.     "ROTATE3", 0,
  720. };
  721.  
  722. BRF_Rotatexyz3 brf_rotatexyz3 =
  723. {
  724.     ROTATE_XYZ3,
  725.     NULL,
  726.     NULL,
  727.     do_brfgeneric,
  728.     "ROTATE_XYZ3", 0,
  729. };
  730.  
  731. BRF_Translate3 brf_translate3 =
  732. {
  733.     TRANSLATE3,
  734.     NULL,
  735.     NULL,
  736.     do_brfgeneric,
  737.     "TRANSLATE3", 0,
  738. };
  739.  
  740. BRF_Scale3 brf_scale3 =
  741. {
  742.     SCALE3,
  743.     NULL,
  744.     NULL,
  745.     do_brfgeneric,
  746.     "SCALE3", 0,
  747. };
  748.  
  749. BRF_Matrix3 brf_matrix3 =
  750. {
  751.     MATRIX3,
  752.     NULL,
  753.     NULL,
  754.     do_brfgeneric,
  755.     "MATRIX3", 0,
  756. };
  757.  
  758. BRF_Getmatrix3 brf_getmatrix3 =
  759. {
  760.     GET_MATRIX3,
  761.     NULL,
  762.     NULL,
  763.     do_brfgeneric,
  764.     "GET_MATRIX3", 0,
  765. };
  766.  
  767. BRF_Pushmatrix3 brf_pushmatrix3 =
  768. {
  769.     PUSH_MATRIX3,
  770.     NULL,
  771.     NULL,
  772.     do_brfgeneric,
  773.     "PUSH_MATRIX3", 0,
  774. };
  775.  
  776. BRF_Popmatrix3 brf_popmatrix3 =
  777. {
  778.     POP_MATRIX3,
  779.     NULL,
  780.     NULL,
  781.     do_brfgeneric,
  782.     "POP_MATRIX3", 0,
  783. };
  784.  
  785. BRF_Globaltransformation3 brf_globaltransformation3 =
  786. {
  787.     GLOBAL_TRANSFORMATION3,
  788.     NULL,
  789.     NULL,
  790.     do_brfgeneric,
  791.     "GLOBAL_TRANSFORMATION3", 0,
  792. };
  793.  
  794. BRF_Localtransformation3 brf_localtransformation3 =
  795. {
  796.     LOCAL_TRANSFORMATION3,
  797.     NULL,
  798.     NULL,
  799.     do_brfgeneric,
  800.     "LOCAL_TRANSFORMATION3", 0,
  801. };
  802.  
  803. BRF_Applytoglobal3 brf_applytoglobal3 =
  804. {
  805.     APPLY_TO_GLOBAL3,
  806.     NULL,
  807.     NULL,
  808.     do_brfgeneric,
  809.     "APPLY_TO_GLOBAL3", 0,
  810. };
  811.  
  812. BRF_Applytolocal3 brf_applytolocal3 =
  813. {
  814.     APPLY_TO_LOCAL3,
  815.     NULL,
  816.     NULL,
  817.     do_brfgeneric,
  818.     "APPLY_TO_LOCAL3", 0,
  819. };
  820.  
  821. BRF_Vieworientation3 brf_vieworientation3 =
  822. {
  823.     VIEW_ORIENTATION3,
  824.     NULL,
  825.     NULL,
  826.     do_brfgeneric,
  827.     "VIEW_ORIENTATION3", 0,
  828. };
  829.  
  830. BRF_Viewmapping3 brf_viewmapping3 =
  831. {
  832.     VIEW_MAPPING3,
  833.     NULL,
  834.     NULL,
  835.     do_brfgeneric,
  836.     "VIEW_MAPPING3", 0,
  837. };
  838.  
  839. BRF_Activeview brf_activeview =
  840. {
  841.     ACTIVE_VIEW,
  842.     NULL,
  843.     NULL,
  844.     do_brfgeneric,
  845.     "ACTIVE_VIEW", 0,
  846. };
  847.  
  848. BRF_Begintest brf_begintest =
  849. {
  850.     BEGIN_TEST,
  851.     NULL,
  852.     NULL,
  853.     do_brfgeneric,
  854.     "BEGIN_TEST", 0,
  855. };
  856.  
  857. BRF_Endtest brf_endtest =
  858. {
  859.     END_TEST,
  860.     NULL,
  861.     NULL,
  862.     do_brfgeneric,
  863.     "END_TEST", 0,
  864. };
  865.  
  866. BRF_Pause brf_pause =
  867. {
  868.     PAUSE,
  869.     NULL,
  870.     NULL,
  871.     do_brfgeneric,
  872.     "PAUSE", 0,
  873. };
  874.  
  875. BRF_Sleep brf_sleep =
  876. {
  877.     SLEEP,
  878.     NULL,
  879.     NULL,
  880.     do_brfgeneric,
  881.     "SLEEP", 0,
  882. };
  883.  
  884. BRF_Definecolor brf_definecolor =
  885. {
  886.     DEFINE_COLOR,
  887.     NULL,
  888.     NULL,
  889.     do_brfgeneric,
  890.     "DEFINE_COLOR", 0,
  891. };
  892.  
  893. BRF_Backgroundcolor brf_backgroundcolor =
  894. {
  895.     BACKGROUND_COLOR,
  896.     NULL,
  897.     NULL,
  898.     do_brfgeneric,
  899.     "BACKGROUND_COLOR", 0,
  900. };
  901.  
  902. BRF_Backgroundcolorindex brf_backgroundcolorindex =
  903. {
  904.     BACKGROUND_COLOR_INDEX,
  905.     NULL,
  906.     NULL,
  907.     do_brfgeneric,
  908.     "BACKGROUND_COLOR_INDEX", 0,
  909. };
  910.  
  911. BRF_Defaultviewspecification brf_defaultviewspecification =
  912. {
  913.     DEFAULT_VIEW_SPECIFICATION,
  914.     NULL,
  915.     NULL,
  916.     do_brfgeneric,
  917.     "DEFAULT_VIEW_SPECIFICATION", 0,
  918. };
  919.  
  920. BRF_Definedepthcue brf_definedepthcue =
  921. {
  922.     DEFINE_DEPTHCUE,
  923.     NULL,
  924.     NULL,
  925.     do_brfgeneric,
  926.     "DEFINE_DEPTHCUE", 0,
  927. };
  928.  
  929. BRF_Configuration brf_configuration =
  930. {
  931.     CONFIGURATION,
  932.     NULL,
  933.     NULL,
  934.     do_brfgeneric,
  935.     "CONFIGURATION", 0,
  936. };
  937.  
  938.  
  939. BRF_table brf_table[] = 
  940. {
  941.     (BRF_table) &brf_beginstructure,
  942.     (BRF_table) &brf_endstructure,
  943.     (BRF_table) &brf_label,
  944.     (BRF_table) &brf_marker,
  945.     (BRF_table) &brf_marker3,
  946.     (BRF_table) &brf_line,
  947.     (BRF_table) &brf_line3,
  948.     (BRF_table) &brf_polygon,
  949.     (BRF_table) &brf_polygon3,
  950.     (BRF_table) &brf_fillareaset,
  951.     (BRF_table) &brf_fillareaset3,
  952.     (BRF_table) &brf_triangle3,
  953.     (BRF_table) &brf_quadmesh3,
  954.     (BRF_table) &brf_indexpolygons3,
  955.     (BRF_table) &brf_gensphere3,
  956.     (BRF_table) &brf_gencircle,
  957.     (BRF_table) &brf_gencircle3,
  958.     (BRF_table) &brf_text,
  959.     (BRF_table) &brf_text3,
  960.     (BRF_table) &brf_annotationtext3,
  961.     (BRF_table) &brf_pixelmap3,
  962.     (BRF_table) &brf_markertype,
  963.     (BRF_table) &brf_markersize,
  964.     (BRF_table) &brf_markercolor,
  965.     (BRF_table) &brf_markercolorindex,
  966.     (BRF_table) &brf_linetype,
  967.     (BRF_table) &brf_linewidth,
  968.     (BRF_table) &brf_linecolor,
  969.     (BRF_table) &brf_linecolorindex,
  970.     (BRF_table) &brf_lineshading,
  971.     (BRF_table) &brf_interiorstyle,
  972.     (BRF_table) &brf_interiorpatternindex,
  973.     (BRF_table) &brf_interiorcolor,
  974.     (BRF_table) &brf_interiorcolorindex,
  975.     (BRF_table) &brf_backfaceinteriorcolor,
  976.     (BRF_table) &brf_backfaceinteriorcolorindex,
  977.     (BRF_table) &brf_interiorshading,
  978.     (BRF_table) &brf_interiorlighting,
  979.     (BRF_table) &brf_surfaceproperties,
  980.     (BRF_table) &brf_backfaceproperties,
  981.     (BRF_table) &brf_backfaceprocessing,
  982.     (BRF_table) &brf_edgeflag,
  983.     (BRF_table) &brf_edgetype,
  984.     (BRF_table) &brf_edgewidth,
  985.     (BRF_table) &brf_edgecolor,
  986.     (BRF_table) &brf_edgecolorindex,
  987.     (BRF_table) &brf_textfont,
  988.     (BRF_table) &brf_textprec,
  989.     (BRF_table) &brf_textcolor,
  990.     (BRF_table) &brf_textcolorindex,
  991.     (BRF_table) &brf_textpath,
  992.     (BRF_table) &brf_textalign,
  993.     (BRF_table) &brf_charheight,
  994.     (BRF_table) &brf_charexp,
  995.     (BRF_table) &brf_charspace,
  996.     (BRF_table) &brf_charupvector,
  997.     (BRF_table) &brf_annotextcharheight,
  998.     (BRF_table) &brf_annotextcharupvector,
  999.     (BRF_table) &brf_annotextstyle,
  1000.     (BRF_table) &brf_lightstate,
  1001.     (BRF_table) &brf_depthcueindex,
  1002.     (BRF_table) &brf_hlhsremoval,
  1003.     (BRF_table) &brf_identity3,
  1004.     (BRF_table) &brf_concatmatrix3,
  1005.     (BRF_table) &brf_invertmatrix3,
  1006.     (BRF_table) &brf_rotate3,
  1007.     (BRF_table) &brf_rotatexyz3,
  1008.     (BRF_table) &brf_translate3,
  1009.     (BRF_table) &brf_scale3,
  1010.     (BRF_table) &brf_matrix3,
  1011.     (BRF_table) &brf_getmatrix3,
  1012.     (BRF_table) &brf_pushmatrix3,
  1013.     (BRF_table) &brf_popmatrix3,
  1014.     (BRF_table) &brf_globaltransformation3,
  1015.     (BRF_table) &brf_localtransformation3,
  1016.     (BRF_table) &brf_applytoglobal3,
  1017.     (BRF_table) &brf_applytolocal3,
  1018.     (BRF_table) &brf_vieworientation3,
  1019.     (BRF_table) &brf_viewmapping3,
  1020.     (BRF_table) &brf_activeview,
  1021.     (BRF_table) &brf_executestructure,
  1022.     (BRF_table) &brf_callstructure,
  1023.     (BRF_table) &brf_readgeometryfile,
  1024.     (BRF_table) &brf_cleargeometry,
  1025.     (BRF_table) &brf_begintest,
  1026.     (BRF_table) &brf_endtest,
  1027.     (BRF_table) &brf_pause,
  1028.     (BRF_table) &brf_sleep,
  1029.     (BRF_table) &brf_invokeatframe,
  1030.     (BRF_table) &brf_definecolor,
  1031.     (BRF_table) &brf_backgroundcolor,
  1032.     (BRF_table) &brf_backgroundcolorindex,
  1033.     (BRF_table) &brf_defineviewspecification,
  1034.     (BRF_table) &brf_defaultviewspecification,
  1035.     (BRF_table) &brf_definelight,
  1036.     (BRF_table) &brf_definedepthcue,
  1037.     (BRF_table) &brf_configuration};
  1038.  
  1039. int brf_table_size = (sizeof(brf_table) / sizeof(BRF_table));
  1040.