RhinoViewport Class

Displays geometry with a given projection. In standard modeling views there
is a one to one relationship between RhinoView and RhinoViewports. In a page
layout, there may be multiple RhinoViewports for a single layout.

The value of change counter is incremented every time the view projection
or construction plane changes. The user can the mouse and nestable view
manipulation commands to change a view at any time. The value of change
counter can be used to detect these changes in code that is sensitive to
the view projection.

Gets the parent view, if there is one
Every RhinoView has an associated RhinoViewport that does all the 3d display work.
Those associated viewports return the RhinoView as their parent view. However,
RhinoViewports are used in other image creating contexts that do not have a parent
RhinoView. If you call ParentView, you MUST check for NULL return values.

Use this function to change projections of valid viewports from persective to parallel.
It will make common additional adjustments to the frustum so the resulting views are
similar. The camera location and direction will not be changed.

Use this function to change projections of valid viewports from parallel to perspective.
It will make common additional adjustments to the frustum and camera location so the
resulting views are similar. The camera direction and target point are not be changed.

Use this function to change projections of valid viewports from parallel to perspective.
It will make common additional adjustments to the frustum and camera location so the
resulting views are similar. The camera direction and target point are not be changed.

Use this function to change projections of valid viewports
to a two point perspective. It will make common additional
adjustments to the frustum and camera location and direction
so the resulting views are similar.

Use this function to change projections of valid viewports
to a two point perspective. It will make common additional
adjustments to the frustum and camera location and direction
so the resulting views are similar.

Takes a rectangle in screen coordinates and returns a transformation
that maps the 3d frustum defined by the rectangle to a -1/+1 clipping
coordinate box. This takes a single point and inflates it by
Rhino.ApplicationSettings.ModelAidSettings.MousePickBoxRadius to define
the screen rectangle.

Takes a rectangle in screen coordinates and returns a transformation
that maps the 3d frustum defined by the rectangle to a -1/+1 clipping
coordinate box. This takes a single point and inflates it by
Rhino.ApplicationSettings.ModelAidSettings.MousePickBoxRadius to define
the screen rectangle.