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
/
doc
/
manpages
/
vgballse.1
next >
Wrap
Text File
|
1992-07-28
|
3KB
|
115 lines
vgballse(1) Khoros vgballse(1)
PROGRAM
vgballse - Creates a image of a ball with the origin at the
center
SYNTAX
vgballse
-o output image
-origin origin at center
-t Selects data type of output image:
'integer' (choose Integer data storage
type),
or 'byte' (choose Byte data storage type)
[-trigger] trigger input
[-d] Diameter of circle (in pixels)
[-x] X coordinate of origin
[-y] Y coordinate of origin
[-b] Background level
[-V] Gives the version for vgballse
[-U] Gives the usage for vgballse
[-P] Prompts for command line options
[-A [file1]] Creates the answer file called vgballse.ans
or file1
[-a [file1]] Uses vgballse.ans or file1 as the answer file
DESCRIPTION
vgballse creates an image of a ball. The background inten-
sity is set by the -b argument. The ball can be placed any-
where, and is NOT required to lie completely within the
image boundaries. The origin of the structuring elment is
placed at the center of the sphere.
The position of the center of the circle and its diameter
can all be specified as floating point numbers, allowing
sub-pixel positioning of the circle.
The trigger input can be used to cause vgballse to re-
execute when used inside cantata. No image is read from this
input.
REQUIRED ARGUMENTS
-o type: outfile
desc: output image
-origin
type: boolean
desc: origin at center
-t type: string
desc: Selects data type of output image
allowed values:
'integer' (choose Integer data storage type),
or 'byte' (choose Byte data storage type)
OPTIONAL ARGUMENTS
-trigger
type: infile
desc: trigger input
-d type: float
desc: Diameter of circle (in pixels)
default: 15
bounds: value >= 0.0
-x type: float
desc: X coordinate of origin
default: 8
bounds: no range checking
-y type: float
desc: Y coordinate of origin
default: 8
bounds: no range checking
-b type: float
desc: Background level
default: -1
bounds: no range checking
EXAMPLES
vgballse -r 32 -c 32 -b 3.5 -f 100 -x 32 -y 16 -d 32 -t int
Creates a 32x32 image of type INT, with the background level
at 3.5 and the foreground at 107.5. The circle lies in this
case halfway off the image to the right. The diameter of
the circle is 32 pixels.
SEE ALSO
intro(1), verror(3), vgparms(3), vutils(3), lvgballse(3)
RESTRICTIONS
vgballse will generate only BYTE or FLOAT images.
COPYRIGHT
Copyright 1992, University of New Mexico. All rights
reserved.
Khoros Release: 1.0 1