PoBaseViewGetView Method |
Returns the view (if any) that contains the given mouse cursor position.
Namespace: OIV.Inventor.Gui.View
If the viewports of multiple views overlap, the chosen view is the last view drawn (i.e. last view node traversed). Only a sensitive view (see OIV.Inventor.Gui.View.PoBaseView.SensitiveOnEvents(System.Boolean) method) can be selected, others are ignored during the search. (See Chapter 10 of the Open Inventor Mentor, page 266-268, for the method for getting mouse coordinates).
Note: For portability, this method does not take a system dependent viewer class, e.g. SoXtViewer, as its parameter. The SoGuiViewer associated with a viewer can be retrieved using the viewer's getGuiViewer() method.