home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-385-Vol-1of3.iso / m / morpho.zip / morpho / src / vgballse / vgballse.h < prev    next >
C/C++ Source or Header  |  1992-07-28  |  4KB  |  127 lines

  1.  /*
  2.   * Khoros: $Id$
  3.   */
  4.  
  5.  /*
  6.   * $Log$
  7.   */
  8.  
  9. /*
  10.  *----------------------------------------------------------------------
  11.  *
  12.  * Copyright 1992, University of New Mexico.  All rights reserved.
  13.  * Permission to copy and modify this software and its documen-
  14.  * tation only for internal use in your organization is hereby
  15.  * granted, provided that this notice is retained thereon and
  16.  * on all copies.  UNM makes no representations as to the sui-
  17.  * tability and operability of this software for any purpose.
  18.  * It is provided "as is" without express or implied warranty.
  19.  * 
  20.  * UNM DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
  21.  * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FIT-
  22.  * NESS.  IN NO EVENT SHALL UNM BE LIABLE FOR ANY SPECIAL,
  23.  * INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY OTHER DAMAGES WHAT-
  24.  * SOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER
  25.  * IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
  26.  * ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PER-
  27.  * FORMANCE OF THIS SOFTWARE.
  28.  * 
  29.  * No other rights, including, for example, the right to redis-
  30.  * tribute this software and its documentation or the right to
  31.  * prepare derivative works, are granted unless specifically
  32.  * provided in a separate license agreement.
  33.  *---------------------------------------------------------------------
  34.  */
  35.  
  36. #include "unmcopyright.h"        /* Copyright 1992 by UNM */
  37.  
  38.  
  39. /*>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>  <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
  40.  >>>>
  41.  >>>>         File Name: vgballse.h
  42.  >>>>            Author: Greg Donohoe
  43.  >>>> Date Last Updated: Tue Jul 28 16:40:31 1992
  44.  >>>> 
  45.  >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>   <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<*/
  46.  
  47. #ifndef _vgballse_h_
  48. #define _vgballse_h_
  49.  
  50. #include "vinclude.h"
  51.  
  52.  
  53. /* -include_includes */
  54. /* -include_includes_end */
  55.  
  56. char    **av,        /* argv and argc used by gparams */
  57.     *program;    /* a pointer to the program name argv[0] */
  58. int    ac;
  59.  
  60. /****************************************************************
  61. *
  62. *                    vgballse Argument Structure
  63. *
  64. ****************************************************************/
  65.  
  66. typedef struct _vgballse  {
  67.  
  68. /*
  69.  *  output image (Required outfile)
  70.  */
  71. char    *o_file;    /* output image FILENAME */
  72. int     o_flag;    /* output image FLAG */
  73.  
  74. /*
  75.  *  origin at center (Required logical)
  76.  */
  77. int     origin_logic;    /* origin at center LOGIC */
  78. int     origin_flag;      /* origin at center FLAG */
  79.  
  80. /*
  81.  * Selects data type of output image (Required string toggle - )
  82.  */
  83. char    *t_toggle;        /* Selects data type of output image STRING TOGGLE */
  84. int     t_flag;        /* Selects data type of output image FLAG */
  85.  
  86. /*
  87.  *  trigger input (Optional infile)
  88.  */
  89. char    *trigger_file;    /* trigger input FILENAME */
  90. int     trigger_flag;    /* trigger input FLAG */
  91.  
  92. /*
  93.  *  Diameter of circle (in pixels) (Optional float)
  94.  */
  95. float     d_float;    /* Diameter of circle (in pixels) FLOAT */
  96. int     d_flag;       /* Diameter of circle (in pixels) FLAG */
  97.  
  98. /*
  99.  *  X coordinate of origin (Optional float)
  100.  */
  101. float     x_float;    /* X coordinate of origin FLOAT */
  102. int     x_flag;       /* X coordinate of origin FLAG */
  103.  
  104. /*
  105.  *  Y coordinate of origin (Optional float)
  106.  */
  107. float     y_float;    /* Y coordinate of origin FLOAT */
  108. int     y_flag;       /* Y coordinate of origin FLAG */
  109.  
  110. /*
  111.  *  Background level (Optional float)
  112.  */
  113. float     b_float;    /* Background level FLOAT */
  114. int     b_flag;       /* Background level FLAG */
  115.  
  116. }  vgballse_struct;
  117.  
  118. vgballse_struct *vgballse;
  119.  
  120. /* -include_additions */
  121. /* -include_additions_end */
  122.  
  123. /* -include_macros */
  124. /* -include_macros_end */
  125.  
  126. #endif
  127.