segment.h
上传用户:xk288cn
上传日期:2007-05-28
资源大小:4876k
文件大小:4k
源码类别:

GIS编程

开发平台:

Visual C++

  1. /*
  2.  * MODULE: segment.h
  3.  *
  4.  * FUNCTION:
  5.  * Contains function prototypes for segment drawing subroutines.
  6.  * These are used only internally, and are not to be exported to
  7.  * the user.
  8.  *
  9.  * HISTORY:
  10.  * Create by Linas Vepstas
  11.  */
  12. /* ============================================================ */
  13. extern void draw_segment_plain (int ncp,       /* number of contour points */
  14.                            gleDouble front_contour[][3],
  15.                            gleDouble back_contour[][3],
  16.                            int inext, double len);
  17. extern void draw_segment_color (int ncp,       /* number of contour points */
  18.                            gleDouble front_contour[][3],
  19.                            gleDouble back_contour[][3],
  20.                            float color_last[3],
  21.                            float color_next[3],
  22.                            int inext, double len);
  23. extern void draw_segment_edge_n (int ncp,      /* number of contour points */
  24.                            gleDouble front_contour[][3],
  25.                            gleDouble back_contour[][3],
  26.                            double norm_cont[][3],
  27.                            int inext, double len);
  28. extern void draw_segment_c_and_edge_n (int ncp,   
  29.                            gleDouble front_contour[][3],
  30.                            gleDouble back_contour[][3],
  31.                            double norm_cont[][3],
  32.                            float color_last[3],
  33.                            float color_next[3],
  34.                            int inext, double len);
  35. extern void draw_segment_facet_n (int ncp,     
  36.                            gleDouble front_contour[][3],
  37.                            gleDouble back_contour[][3],
  38.                            double norm_cont[][3],
  39.                            int inext, double len);
  40. extern void draw_segment_c_and_facet_n (int ncp,    
  41.                            gleDouble front_contour[][3],
  42.                            gleDouble back_contour[][3],
  43.                            double norm_cont[][3],
  44.                            float color_last[3],
  45.                            float color_next[3],
  46.                            int inext, double len);
  47. /* ============================================================ */
  48. extern void draw_binorm_segment_edge_n (int ncp,  
  49.                            double front_contour[][3],
  50.                            double back_contour[][3],
  51.                            double front_norm[][3],
  52.                            double back_norm[][3],
  53.                            int inext, double len);
  54. extern void draw_binorm_segment_c_and_edge_n (int ncp,   
  55.                            double front_contour[][3],
  56.                            double back_contour[][3],
  57.                            double front_norm[][3],
  58.                            double back_norm[][3],
  59.                            float color_last[3],
  60.                            float color_next[3],
  61.                            int inext, double len);
  62. extern void draw_binorm_segment_facet_n (int ncp, 
  63.                            double front_contour[][3],
  64.                            double back_contour[][3],
  65.                            double front_norm[][3],
  66.                            double back_norm[][3],
  67.                            int inext, double len);
  68. extern void draw_binorm_segment_c_and_facet_n (int ncp,    
  69.                            double front_contour[][3],
  70.                            double back_contour[][3],
  71.                            double front_norm[][3],
  72.                            double back_norm[][3],
  73.                            float color_last[3],
  74.                            float color_next[3],
  75.                            int inext, double len);
  76. extern void draw_angle_style_back_cap (int ncp,        /* number of contour points */
  77.                            gleDouble bi[3],             /* biscetor */
  78.                            gleDouble point_array[][3]);  /* polyline */
  79. /* -------------------------- end of file -------------------------------- */