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
/
vgdiskse.1
< prev
next >
Wrap
Text File
|
1992-07-27
|
4KB
|
131 lines
vgdiskse(1) Khoros vgdiskse(1)
PROGRAM
vgdiskse - Creates a image of a disk with the origin at the
center
SYNTAX
vgdiskse
-o output image
-t Selects data type of output image:
'integer' (choose Integer data storage
type),
or 'byte' (choose Byte data storage type)
[-trigger] trigger input
[-r] Desired number of rows in output image
[-c] Desired number of columns in output image
[-d] Diameter of circle (in pixels)
[-x] X coordinate of center of circle
[-y] Y coordinate of center of circle
[-b] Background level
[-f] Foreground level
[-V] Gives the version for vgdiskse
[-U] Gives the usage for vgdiskse
[-P] Prompts for command line options
[-A [file1]] Creates the answer file called vgdiskse.ans
or file1
[-a [file1]] Uses vgdiskse.ans or file1 as the answer file
DESCRIPTION
vgdiskse creates an image of a disk. The background inten-
sity is set by the -b argument. The foreground or circle
intensity is set by the -f argument. The circle can be
placed anywhere, and is NOT required to lie completely
within the image boundaries. The origin of the structuring
elment is placed at the center of the disk.
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 vgdiskse to re-
execute when used inside cantata. No image is read from this
input.
REQUIRED ARGUMENTS
-o type: outfile
desc: output image
-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
-r type: integer
desc: Desired number of rows in output image
default: 17
bounds: value > 0
-c type: integer
desc: Desired number of columns in output image
default: 17
bounds: value > 0
-d type: float
desc: Diameter of circle (in pixels)
default: 15
bounds: value >= 0.0
-x type: float
desc: X coordinate of center of circle
default: 7
bounds: no range checking
-y type: float
desc: Y coordinate of center of circle
default: 7
bounds: no range checking
-b type: float
desc: Background level
default: 0
bounds: no range checking
-f type: float
desc: Foreground level
default: 255
bounds: no range checking
EXAMPLES
vgdiskse -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), lvgdiskse(3)
RESTRICTIONS
vgdiskse will generate only BYTE or FLOAT images.
COPYRIGHT
Copyright 1992, University of New Mexico. All rights
reserved.
Khoros Release: 1.0 1