SoWinFullViewerSetPopupMenuEnabled Method |
Note: This API is now obsolete.
Enables/disables the viewer popup menu (default enabled).
Namespace: OIV.Inventor.Win.Viewers
[ObsoleteAttribute("Use IsDefaultContextMenuEnabled property instead.")] [EditorBrowsableAttribute(EditorBrowsableState.Never)] 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 resetToHomePosition()
Set home see saveHomePosition()
View all see viewAll()
Seek see seekToPoint(const SbVec2s& mouseLocation)
DrawStyle: Manage the draw style and buffering style:
see setDrawStyle(DrawType type, DrawStyle style)
Viewing: see setViewing()
Decorations: see setDecoration()
FullScreen: see setFullScreen()
HeadLight: see setHeadlight()
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
Full scene antialiasing: see setFullSceneAntialiasing()
Record: Opens the recording dialog
DirectViz: Opens the DirectViz ray tracing dialog
Rotation axes: Shows/hides the rotation axes