CW_ORIENT function creates a compound
widget that provides a means to interactively adjust the
three-dimensional drawing transformation and resets the
!P.T system variable field to reflect the changed orientation.
The returned value of this function is the widget ID of the newly-created orientation-adjustment widget.
This routine is written in the IDL language. Its source code can be found in the file
subdirectory of the IDL distribution.
Result = CW_ORIENT(
The widget ID of the parent widget.
The initial rotation in the X direction. The default is 30 degrees.
The initial rotation in the Z direction. The default is 30 degrees.
Set this keyword to draw a frame around the widget.
The title of the widget.
The "user value" to be assigned to the widget.
Determines the width of the widget. The default is 100.
Determines the height of the widget. The default is 100.
Keywords to WIDGET_CONTROL and WIDGET_INFO
The widget ID returned by most compound widgets is actually the ID of the compound widget's base widget. This means that many keywords to the WIDGET_CONTROL and WIDGET_INFO routines that affect or return information on base widgets can be used with compound widgets.
for a more complete discussion of controlling compound widgets using
Widget Events Returned by the CW_ORIENT Widget
CW_ORIENT only returns events when the three dimensional drawing transformation has been altered. The !P.T system variable field is automatically updated to reflect the new orientation.