SoWinFullViewerSetPopupMenuEnabled Method |
Note: This API is now obsolete.
Enables/disables the viewer popup menu (default enabled).
Namespace: OIV.Inventor.Win.Viewers
[EditorBrowsableAttribute(EditorBrowsableState.Never)] [ObsoleteAttribute("Obsolete since OpenInventor 9300. Use IsDefaultContextMenuEnabled property instead.")] public void SetPopupMenuEnabled( bool trueOrFalse )
See the viewer constructor to prevent the popup menu from being built.
The default value can be set using the environment variable OIV_VIEWER_POPUP_MENU (0 = OFF, 1 = ON).
Description or equivalent function for each submenu of this popup menu:
Functions: Manage the position of the camera:
Home see OIV.Inventor.Win.Viewers.SoWinViewer.ResetToHomePosition()
Set home see OIV.Inventor.Win.Viewers.SoWinViewer.SaveHomePosition()
View all see OIV.Inventor.Win.Viewers.SoWinViewer.ViewAll()
Seek see seekToPoint(const SbVec2s& mouseLocation)
DrawStyle: Manage the draw style and buffering style:
see OIV.Inventor.Win.Viewers.SoWinViewer.SetDrawStyle(OIV.Inventor.Win.Viewers.SoWinViewer.DrawTypes, OIV.Inventor.Win.Viewers.SoWinViewer.DrawStyles)
Viewing: see ()
Decorations: see OIV.Inventor.Win.Viewers.SoWinFullViewer.SetDecoration(System.Boolean)
FullScreen: see OIV.Inventor.Win.SoWinComponent.SetFullScreen(System.Boolean)
HeadLight: see OIV.Inventor.Win.Viewers.SoWinViewer.SetHeadlight(System.Boolean)
Preferences:
Seek to point: Enables/disables seek mode (like the 'S' key)
Auto clip planes: Enables/disables automatic clipping
Automatic interactive mode: Enables/disables automatic interactive mode
Stereo: Opens the stereo dialog
Anti-aliasing: see OIV.Inventor.Win.SoWinGLWidget.SetAntialiasing(System.Single, OIV.Inventor.SoSceneManager.AntialiasingModes)
Record: Opens the recording dialog
Rotation axes: Shows/hides the rotation axes