home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_400 / 418_02 / rasmol2 / pixutils.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-03-02  |  1.4 KB  |  59 lines

  1. /* pixutils.h
  2.  * RasMol2 Molecular Graphics
  3.  * Roger Sayle, February 1994
  4.  * Version 2.3
  5.  */
  6.  
  7. typedef struct {
  8.         int px, py, pz;
  9.         int wx, wy, wz;
  10.         int tx, ty, tz;
  11.         int cx, cy, cz;
  12.         int inten;
  13.     } Knot;
  14.  
  15. #ifdef PIXUTILS
  16. int SplineCount;
  17.  
  18. #else
  19. extern int SplineCount;
  20.  
  21. #ifdef __STDC__
  22. void PlotPoint( int, int, int, int );
  23. void PlotDeepPoint( int, int, int, int );
  24. void DrawTwinLine( int, int, int, int, int, int, int, int );
  25. void ClipTwinLine( int, int, int, int, int, int, int, int );
  26. void DrawTwinVector( int, int, int, int, int, int, int, int );
  27. void ClipTwinVector( int, int, int, int, int, int, int, int );
  28. void ClipDashVector( int, int, int, int, int, int, int, int );
  29.  
  30. void DrawCylinder( int, int, int, int, int, int, int, int, int );
  31. void ClipCylinder( int, int, int, int, int, int, int, int, int );
  32. void StrandRibbon( Knot __far*, Knot __far*, int );
  33. void SolidRibbon( Knot __far*, Knot __far*, int );
  34. void DrawSphere( int, int, int, int, int );
  35. void ClipSphere( int, int, int, int, int );
  36.  
  37. void InitialisePixUtils();
  38.  
  39. #else /* non-ANSI C compiler */
  40. void PlotPoint();
  41. void PlotDeepPoint();
  42. void DrawTwinLine();
  43. void ClipTwinLine();
  44. void DrawTwinVector();
  45. void ClipTwinVector();
  46. void ClipDashVector();
  47.  
  48. void DrawCylinder();
  49. void ClipCylinder();
  50. void StrandRibbon();
  51. void SolidRibbon();
  52. void DrawSphere();
  53. void ClipSphere();
  54. void InitialisePixUtils();
  55.  
  56. #endif
  57. #endif
  58.  
  59.