MGED CMD view ring

From BRL-CAD
Revision as of 09:59, 18 August 2008 by Dloman (talk | contribs) (New page: Category:MGED =view_ring= :: This is a developer command. __TOC__ ==Syntax== :view_ring ''subcommand'' ==Argument(s)== : '''subcommand''' :: Valid subcommand from the below list. ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


view_ring

This is a developer command.

Syntax

view_ring subcommand


Argument(s)

subcommand
Valid subcommand from the below list.

Return Value(s)

No Return Values for this command.


Description

This manipulates the view ring for the current display manager. The view ring is a list of views owned by a display manager. Views can be added or removed and can also be traversed or queried. View_ring accepts the following subcommands:

add
This subcommand adds the current view to the view ring.
next
This subcommand makes the next view on the view ring the current view.
prev
This subcommand makes the previous view on the view ring the current view.
toggle
This subcommand toggles between the current view and the last view.
delete vid
This subcommand removes/deletes the view with a view id of vid from the view ring. The last view cannot be removed (i.e., there is always one view on the view ring).
goto vid
This subcommand makes the view with a view id of vid the current view.
get [-a]
Returns the id of the current view. If -a is specified, all view ids on the view ring are returned.

Example(s)

mged> view_ring add
Add the current view to the view ring.


mged> view_ring goto 1
Go to view 1.


mged> view_ring delete 1
Delete view 1 from the view ring.


See Also

No related commands.



Page Generated by David Loman on: 10/12/2007 at: 7:27:02 AM