Gets/sets query ray characteristics. Without a subcommand, the usage message is printed. The qray command accepts the following subcommands:
Prints a list of all query ray variables.
If str is specified, then set basename to str. Otherwise, return the basename. Note that the basename is the name used to create the fake shape names corresponding to the query ray. There will be one fake shape for every color used along the ray.
Set or get the type of effects that will occur when firing a query ray. The effects of firing a ray can be either t for textual output, g for graphical output, or b for both textual and graphical.
Sets or gets the value of echo. If set to 1, the actual nirt command used will be echoed to the screen.
Sets or gets the color of odd partitions.
Sets or gets the color of even partitions.
Sets or gets the color of areas where the ray passes through nothing.
Sets or gets the color of areas that overlap.
Sets or gets the format string(s). See the man page of nirt for more details.
Sets or gets the nirt script string.
Prints the usage message.
The four examples show the use of the qray command without a subcommand and with three of the listed subcommands.
Example 3. Return the rgb color used to color odd partitions.
mged>
qray oddcolor
Returns the rgb color used to color odd partitions.
Example 4. Set the odd partition color to red.
mged>
qray oddcolor 255 0 0
Sets the odd partition color to red.
Reports of bugs or problems should be submitted via electronic
mail to <devs@brlcad.org>