Table of Contents
_________________________________________________________________
View - create and manipulate a View object.
View viewName ?options?
None
- Command-Line Switch:
- -aet
Specifies the view orientation (i.e. azimuth, elevation and twist).
The default is (0, 90, 0).
- Command-Line Switch:
- -center
Specifies the view center. The default is (0, 0, 0).
- Command-Line Switch:
- -perspective_angle
Specifies the perspective angle. The default is 90.
- Command-Line Switch:
- -size
Specifies the view size in millimeters. The default
is 1000.
The View command creates a new view object (given by the
viewName argument) that can be used to manipulate
view parameters. Additional arguments, described above, may be
specified on the command line to configure aspects of the view.
The View command returns its viewName argument. At the
time this command is invoked, there must not exist a view object
named viewName.
The View command creates a new Tcl command whose name
is viewName. This command may be used to invoke various
operations on the View object. It has the following general
form:
viewName option ?arg arg ...?
Option and the args determine the exact behavior of the command.
The following commands are possible for View objects:
- cget configure isa info
Methods associated with
LIBRT's view object:
- aet center model2view observer perspective
pmodel2view rot size slew tra zoom
- viewName get_viewname
- Return the name of the associated LIBRT view object.
The View class wraps LIBRT's view object.
At present, only the most basic commands of LIBRT's view object are available.
cwish> View view1
view1
cwish> view1 aet 35 25 0
35 25 0
cwish> view1 center 100 200 300
100 200 300
Mark L. Ulferts <mulferts@austin.dsccc.com>
Basic layout for documenting classes.
Robert G. Parker
Table of Contents