SoWinExaminerViewer Class |
Viewer component which uses a virtual trackball to view the data.
Namespace: OIV.Inventor.Win.Viewers
The SoWinExaminerViewer type exposes the following members.
Name | Description | |
---|---|---|
SoWinExaminerViewer | Calls SoWinExaminerViewer((System.Windows.Forms.Control ^)nullptr, (System.String ^)nullptr, true, OIV.Inventor.Win.Viewers.SoWinFullViewer.BuildFlags( .SoWinFullViewer.BUILD_ALL ), OIV.Inventor.Win.Viewers.SoWinViewer.Types( .SoWinViewer.BROWSER )). | |
SoWinExaminerViewer(Control) | Calls SoWinExaminerViewer(parent, (System.String ^)nullptr, true, OIV.Inventor.Win.Viewers.SoWinFullViewer.BuildFlags( .SoWinFullViewer.BUILD_ALL ), OIV.Inventor.Win.Viewers.SoWinViewer.Types( .SoWinViewer.BROWSER )). | |
SoWinExaminerViewer(Control, String) | Calls SoWinExaminerViewer(parent, name, true, OIV.Inventor.Win.Viewers.SoWinFullViewer.BuildFlags( .SoWinFullViewer.BUILD_ALL ), OIV.Inventor.Win.Viewers.SoWinViewer.Types( .SoWinViewer.BROWSER )). | |
SoWinExaminerViewer(Control, String, Boolean) | Calls SoWinExaminerViewer(parent, name, buildInsideParent, OIV.Inventor.Win.Viewers.SoWinFullViewer.BuildFlags( .SoWinFullViewer.BUILD_ALL ), OIV.Inventor.Win.Viewers.SoWinViewer.Types( .SoWinViewer.BROWSER )). | |
SoWinExaminerViewer(Control, String, Boolean, SoWinFullViewerBuildFlags) | Calls SoWinExaminerViewer(parent, name, buildInsideParent, flag, OIV.Inventor.Win.Viewers.SoWinViewer.Types( .SoWinViewer.BROWSER )). | |
SoWinExaminerViewer(Control, String, Boolean, SoWinFullViewerBuildFlags, SoWinViewerTypes) | Constructor which specifies the viewer type. |
Name | Description | |
---|---|---|
ActivateDolly | Sets the start locator for dolly camera animation. | |
ActivatePanning | Sets the start locator for pan camera animation. | |
ActivateRoll | Sets the start locator for roll camera animation. | |
ActivateSpinning | Sets the start locator for spin camera animation. | |
ActualRendering | This method is called automatically when the viewer requests that its OIV.Inventor.Components.Stereo.SoBaseStereo object perform stereo rendering. | |
AddAppPushButton | Adds application push button, which will be placed in the left hand side decoration trim. | |
AddFunctionKeyBinding | Adds a new function key binding to the viewer. | |
AddHook |
Adds an event handler that receives all messages dispatched
to this window.
(Inherited from SoWinGLWidget.) | |
AddViewingMouseBinding | Adds a new mouse binding to the viewer. | |
AdjustClippingPlanes | Obsolete. Along with the manipulation of the camera, OIV.Inventor.Components.Stereo.SoBaseStereo needs to set the scene appropriately when changing the camera settings. | |
BindNormalContext | Makes the normal rendering context the current context. | |
ConstrainCameraRotation | Calls ConstrainCameraRotation(false, false, false). | |
ConstrainCameraRotation(Boolean) | Calls ConstrainCameraRotation(x, false, false). | |
ConstrainCameraRotation(Boolean, Boolean) | Calls ConstrainCameraRotation(x, y, false). | |
ConstrainCameraRotation(Boolean, Boolean, Boolean) | Constrains the camera to spin around the specified axis. | |
CopyView | Copies the view. | |
Dispose | (Inherited from SoWinRenderArea.) | |
DollyCamera | Move the camera on the z axis based on cursor motion. | |
EnableFullRenderingWhenStill | If this flag is set, the viewer will render at full resolution when it sits still for a certain period of time. | |
EnableMouseWheelDolly | Enable/disable moving the camera with the mouse wheel, true by default. | |
EnableSeekWithOrtho | If false, the seek functionality is disabled for an OIV.Inventor.Nodes.SoOrthographicCamera. | |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
FindAppPushButton | Returns index of specified push button. | |
Flush | (Inherited from SoWinGLWidget.) | |
GetAntialiasingMode | Returns the antialiasing mode set using the setAntialiasing(float,AntialiasingMode) method. | |
GetAntialiasingParameters | Returns the antialiasing parameters set using the OIV.Inventor.Win.SoWinGLWidget.SetAntialiasing(OIV.Inventor.Antialiasing.SoAntialiasingParameters) method. | |
GetAntialiasingQuality | Returns the antialiasing quality set using the setAntialiasing(float,AntialiasingMode) method. | |
GetAutoClipTolerance | Returns the auto clipping tolerance value. | |
GetBackgroundColor | Gets the background color for this window. | |
GetBackgroundIndex | Gets the window background color when in color index mode. | |
GetBorderSize | Included for portability only. | |
GetBottomRight | Returns the position of the OpenGL drawing window in absolute screen coordinates (not relative to parent window) of the native window system (typically Y increasing downward). | |
GetBufferingType | Gets the current buffering type in the main view. | |
GetCamera | Gets the camera controlled by the viewer. | |
GetCameraSceneGraph | Gets the sub-scene graph to be viewed. | |
GetCameraType | Gets the camera type that will be created by the viewer if no cameras are found in the scene graph (see OIV.Inventor.Nodes.SoPerspectiveCamera and OIV.Inventor.Nodes.SoOrthographicCamera). | |
GetClassName | Returns the class name. | |
GetConstrainedViewingMode | Returns the current constrained viewing mode. | |
GetCurrentDecimationPercentage | Returns the Decimation Percentage the viewer used in its last render. | |
GetCursor | Obsolete. Returns the current cursor. | |
GetCursorStyle | Returns the cursor style. | |
GetDecimationStrategy | Gets strategy to use to decide on decimation value. | |
GetDepthValue | (Inherited from SoWinViewer.) | |
GetDrawStyle | Queries the current drawing style in the main view. | |
GetFastEditSavePolicy | Returns fast editing save policy used when rendering. | |
GetFeedbackSize | Returns the point of rotation feedback size in pixels. | |
GetFixedPercentage | Gets fixed percentage for the viewer to render (0.0 to 1.0) | |
GetFloatingColorBuffer | Returns true if floating point rendering is used and its precision. | |
GetGLRenderAction | Gets the current GL render action. | |
GetGoalFramesPerSecond | Gets goal frames per second for the viewer to try to render. | |
GetGoalNumberOfTriangles | Gets goal number of triangles for the viewer to try to render. | |
GetGraphicConfigTemplate | Gets the current graphics configuration template. | |
GetHashCode |
Overrides GetHashCode().
(Inherited from SoNetBase.) | |
GetHeadlight | Returns the headlight node. | |
GetIconTitle | Included for portability only. | |
GetInvalidateCacheMode | Returns the current cache invalidation mode. | |
GetMPEGRecorder | Returns the recorder used for MPEG encoding. | |
GetNormalDC | Returns the device context (which is needed for SbGlContextHelper.makeCurrent). | |
GetNormalSoContext | (Inherited from SoWinGLWidget.) | |
GetNumSamples | Gets how many frames should be timed before frames per second delegateis called. | |
GetPickRadius | Returns the current pick radius for picking and seeking actions. | |
GetPixelFormat | Returns the current pixel format. | |
GetRedrawPriority | Gets the priority of the redraw sensor. | |
GetSceneGraph | Gets the scene graph to be rendered in this component's window. | |
GetSceneManager | Gets the normal scene manager. | |
GetSeekTime | Queries the seek time. | |
GetShareContext | Returns the information needed to make OpenGL render contexts share OpenGL objects, for example, display lists and texture objects. | |
GetSize | Returns the size of the OpenGL drawing window in absolute screen coordinates (not relative to parent window) of the native window system (typically Y increasing downward). | |
GetStereoBalance | Returns the current stereo balance. | |
GetStereoOffset | Returns the stereo offset. | |
GetStereoViewType | Returns the current stereo implementation. | |
GetTitle | Gets window title. | |
GetTopLeft | Returns the position of the OpenGL drawing window in absolute screen coordinates (not relative to parent window) of the native window system (typically Y increasing downward). | |
GetTransparencyType | Gets the algorithm for rendering transparent objects. | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetViewerCamera | Returns the camera so OIV.Inventor.Components.Stereo.SoBaseStereo can manipulate it to achieve the stereo effect. | |
GetViewingMode | Gets the current viewing mode. | |
GetViewport | Returns viewport region as origin (lower-left corner) and size, given as pixel coordinates. | |
GetViewportRegion | Gets current viewport region to use for rendering. | |
GetWidgetName | Returns the window handle name. | |
Hide | This hides the component. | |
InsertAppPushButton | Adds application push button, which will be placed in the left hand side decoration trim. | |
IsAnimating | Queries if the viewer is currently animating. | |
IsAnimationEnabled | Returns whether spin animation is enabled. | |
IsAutoClipping | Queries if auto clipping is ON. | |
IsAutoRedraw | Queries whether the render area will automatically redraw whenever something in the scene graph changes. | |
IsBorder | Included for portability only. | |
IsCameraHeightAnglePreserved | Query whether the OIV.Inventor.Nodes.SoPerspectiveCamera's heightAngle is preserved if the camera is changed to an OIV.Inventor.Nodes.SoOrthographicCamera and then toggled back to an OIV.Inventor.Nodes.SoPerspectiveCamera. | |
IsClearBeforeRender | Queries whether the window will be cleared before rendering starts. | |
IsClearZBufferBeforeRender | Queries whether the depth buffer (sometimes called the Z buffer) will be cleared before rendering starts. | |
IsClientPopupMenuInstalled | Obsolete. Returns true if an application-specific popup menu is installed. | |
IsCursorEnabled | Obsolete. Queries whether the viewer is allowed to change the cursor over the renderArea window. | |
IsDecoration | Returns whether the viewer component trim is on or off. | |
IsDetailSeek | Queries whether detail seek is on. | |
IsDoubleBuffer | Returns whether double buffering is on or off. | |
IsDrawToFrontBufferEnable | Returns whether drawing to the front buffer is enabled. | |
IsFeedbackVisible | Returns the rotation feedback flag. | |
IsFullRenderingWhenStill | Queries if the viewer will render at full resolution when it sits still for a certain period of time. | |
IsFullScreen | Queries if the viewer is in fullscreen mode. | |
IsFullScreenEnable | Queries if it is possible to put the viewer in fullscreen mode. | |
IsHeadlight | Queries if the headlight is on. | |
IsPopupMenuEnabled | Obsolete. Returns whether the viewer popup menu is enabled or disabled. | |
IsSeekWithOrthoEnabled | Query whether the seek functionality is enabled for an OIV.Inventor.Nodes.SoOrthographicCamera. | |
IsStereoAbsoluteAdjustments | Returns true if stereo absolute adjustments are enabled. | |
IsStereoActive | Returns true if stereo is active. | |
IsStereoBalanceNearFrac | Returns true if the stereo balance adjustement is defined as a fraction of the camera near distance. | |
IsStereoViewing | Queries if stereo viewing is on or off on the viewer. | |
IsStereoViewReversed | Returns true if the left and right eye views are reversed. | |
IsStillNow | Returns whether the viewer is currently still. | |
IsTopLevelShell | Returns true if this component is a top level shell component (has its own window). | |
IsViewerDoubleBuffer | Returns true if viewer is double buffered. | |
IsViewing | Queries whether the viewer is turned on or off. | |
IsVisible | Returns true if this component is mapped onto the screen. | |
LengthAppPushButton | Returns number of application push buttons. | |
PanCamera | Pans the camera based on cursor motion. | |
PasteView | Pastes the view. | |
RecomputeSceneSize | This can be used to let the viewer know that the scene graph has changed so that the viewer can recompute things like speed which depend on the scene graph size. | |
RedrawOnSelectionChange | Call this convenience method to have this render area redraw whenever the selection list changes in the passed node. | |
RegisterDevice | Registers interest in devices. | |
RemoveAppPushButton | Removes specified application push button. | |
RemoveFunctionKeyBinding | Removes the specified function key binding (if it exists). | |
RemoveHook |
Removes the event handlers that were added by
AddHook.
(Inherited from SoWinGLWidget.) | |
RemoveViewingMouseBinding | Removes a mouse binding (if it exists). | |
Render | Calling this forces the render area to be redrawn now. | |
ResetToHomePosition | Restores the camera values. | |
ReverseDollyCamera | Same as dollyCamera but reversed. | |
ReverseStereoView | If true, reverse the left and right eye views. | |
RollCamera | Roll the camera based on cursor motion. | |
RotateCamera | Rotates the camera around focal point by given incremental rotation (Given rotation is concatenated onto the current camera rotation) | |
SaveHomePosition | Saves the camera values. | |
SaveSnapshot(String) | Calls SaveSnapshot(filename, true). (Inherited from SoWinGLWidget.) | |
SaveSnapshot(String, Boolean) | Save a snapshot of the current image displayed in the viewer. | |
ScheduleRedraw | Schedules a redraw to happen sometime soon (as opposed to immediately). | |
SetAnimationEnabled | Enables/disables the spin animation feature of the viewer (enabled by default). | |
SetAntialiasing(Single) | Calls SetAntialiasing(quality, OIV.Inventor.SoSceneManager.AntialiasingModes( .SoSceneManager.AUTO )). (Inherited from SoWinGLWidget.) | |
SetAntialiasing(SoAntialiasingParameters) | Enable (or disable) antialiasing with specific parameters. | |
SetAntialiasing(Single, SoSceneManagerAntialiasingModes) | Enable (or disable) antialiasing with specified quality and mode. | |
SetAutoClipping | Sets the auto clipping plane. | |
SetAutoClipTolerance | Sets the auto clipping tolerance value. | |
SetAutoRedraw | The render area will automatically redraw whenever something in the scene graph changes. | |
SetBackgroundColor | Sets the background color for this window. | |
SetBackgroundIndex | Sets the window background color when in color index mode. | |
SetBorder | Included for portability only. | |
SetBufferingType | Sets the current buffering type in the main view (default OIV.Inventor.Win.Viewers.SoWinViewer.BufferTypes.BUFFER_DOUBLE). | |
SetCamera | Sets the camera that will be controlled by the viewer. | |
SetCameraSceneGraph | Sets the sub-scene graph to be used for OIV.Inventor.Win.Viewers.SoWinViewer.ViewAll() computation. | |
SetCameraType | Sets the camera type that will be created by the viewer if no cameras are found in the scene graph (see OIV.Inventor.Nodes.SoPerspectiveCamera and OIV.Inventor.Nodes.SoOrthographicCamera). | |
SetClearBeforeRender(Boolean) | Calls SetClearBeforeRender(trueOrFalse, true). (Inherited from SoWinRenderArea.) | |
SetClearBeforeRender(Boolean, Boolean) | Enables/prevents window clearing from happening before a rendering starts (default is clear true). | |
SetColorMap | Sets the colors to use when displaying in color index mode. | |
SetConstrainedViewingMode | Sets the constrained viewing mode. | |
SetCursor | Obsolete. Sets the current cursor. | |
SetCursorEnabled | Obsolete. Sets whether the viewer is allowed to change the cursor over the renderArea window. | |
SetCursorStyle | Sets the cursor style. | |
SetDecimationStrategy | Sets strategy to use to decide on decimation value. | |
SetDecoration | Shows/hides the viewer component trim (default on). | |
SetDetailSeek | When the viewer is in seek mode, left mouse clicks initiate a pick, and the viewer changes its orientation and position to look at the picked object. | |
SetDoubleBuffer | Routine that dynamically changes between single and double buffering. | |
SetDrawStyle | Sets the current drawing style in the main view. | |
SetDrawToFrontBufferEnable | Sets drawing to the front buffer. | |
SetFastEditSavePolicy(SoGLRenderActionFastEditSavePolicies) | Calls SetFastEditSavePolicy(policy, false). (Inherited from SoWinRenderArea.) | |
SetFastEditSavePolicy(SoGLRenderActionFastEditSavePolicies, Boolean) | Sets fast editing save policy to use when rendering. | |
SetFeedbackSize | Sets the point of rotation feedback size in pixels (default 20 pix). | |
SetFeedbackVisibility | Shows/hides the point of rotation feedback, which only appears while in viewing mode (default is off). | |
SetFixedPercentage | Sets fixed percentage for the viewer to render (0.0 to 1.0) Default is 1.0. | |
SetFloatingColorBuffer(Boolean) | Calls SetFloatingColorBuffer(enable, OIV.Inventor.Win.SoWinGLWidget.FloatColorBufferSizes( .SoWinGLWidget.FLOAT_16_COLOR_BUFFER )). (Inherited from SoWinGLWidget.) | |
SetFloatingColorBuffer(Boolean, SoWinGLWidgetFloatColorBufferSizes) | Enables/disables floating point rendering using 16- or 32-bit components. | |
SetFullScreen | Switches the viewer into (or out of) fullscreen mode. | |
SetFullScreenEnable | Enables/disables fullscreen mode. | |
SetGLRenderAction | Sets the GL render action to use. | |
SetGoalFramesPerSecond | Sets goal frames per second for the viewer to try to render. | |
SetGoalNumberOfTriangles | Sets goal number of triangles for the viewer to try to render. | |
SetGraphicConfigTemplate | Sets a new graphics configuration template. | |
SetHeadlight | Turns the headlight on/off (default on). | |
SetIconTitle | Included for portability only. | |
SetInvalidateCacheMode | Enables or disables the invalidation of render caches. | |
SetMPEGRecorder | Sets the recorder used for MPEG encoding. | |
SetNumSamples | Sets how many frames should be timed before frames per second delegateis called, default is 10. | |
SetPickRadius | Sets the pick radius, in pixels, used by the viewer for picking and seeking actions. | |
SetPixelFormat | Sets the current pixel format. | |
SetPopupMenuEnabled | Obsolete. Enables/disables the viewer popup menu (default enabled). | |
SetPreserveCameraHeightAngle | If true, an OIV.Inventor.Nodes.SoPerspectiveCamera's heightAngle is preserved if the camera is changed to an OIV.Inventor.Nodes.SoOrthographicCamera and then toggled back to an OIV.Inventor.Nodes.SoPerspectiveCamera. | |
SetRedrawPriority | Sets the priority of the redraw sensor. | |
SetSceneGraph | Sets the scene graph to be rendered in this component's window. | |
SetSceneManager | Sets the normal scene manager. | |
SetSeekTime | Sets the time a seek takes to change to the new camera location. | |
SetSize | Convenience routine on the window handle. | |
SetStealFocus | By default the GLWidget "steals" focus whenever the cursor moves over it. | |
SetStereoAbsoluteAdjustments | If true, use stereo absolute adjustments. | |
SetStereoActive | If true, stero is activated. | |
SetStereoBalance(Single) | Calls SetStereoBalance(balance, false). (Inherited from SoWinViewer.) | |
SetStereoBalance(Single, Boolean) | Sets the stereo balance (the position of the zero parallax plane). | |
SetStereoOffset | Sets the stereo offset. | |
SetStereoViewing | Turns stereo viewing on/off on the viewer (default off). | |
SetStereoViewType | Set an implementation of stereo viewing to use. | |
SetTitle | Sets window title. | |
SetTransparencyType | Sets the algorithm for rendering transparent objects. | |
SetViewing | Sets whether the viewer is turned on or off. | |
SetViewingMode | Sets the viewing mode. | |
SetViewport | Sets viewport region with given origin (lower-left corner) and size, given as pixel coordinates. | |
SetViewportRegion | Sets viewport region to use for rendering. | |
Show | This shows the component. | |
SpinCamera | Spin the camera based on cursor motion. | |
SpinConstrainedCamera | Spin the constrained camera based on cursor motion. | |
StopAnimating | Stops animation, if it is occurring. | |
SwapNormalBuffers | Swaps the normal front and back buffers. | |
ToggleCameraType | This routine will toggle the current camera from perspective to orthographic, and from orthographic back to perspective. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
UnbindNormalContext | unbind the current context (previously bind with bindNormalContext ); | |
UnregisterDevice | Unregisters interest in devices. | |
ViewAll | Changes the camera position to view the entire scene (the camera zoom or orientation isn't changed). |
Name | Description | |
---|---|---|
CameraTypeChangeCallback | Defines a callback which is called each time the camera type has changed (change from OIV.Inventor.Nodes.SoPerspectiveCamera to OIV.Inventor.Nodes.SoOrthographicCamera or vice versa). | |
ContextMenu |
Gets/sets application specific contextual menu.
(Inherited from SoWinFullViewer.) | |
Cursor | Sets the current cursor. | |
CursorEnabled | Sets whether the viewer is allowed to change the cursor over the renderArea window. | |
DecimationPercentageCallback | Registers decimation percentage callback. | |
EventFunction |
Sets the event delegate that will be called
before viewer process keyboard or mouse event.
(Inherited from SoWinRenderArea.) | |
FramesPerSecondCallback | Registers frames per second callback. | |
Handle |
Implements Handle.
(Inherited from SoWinComponent.) | |
IsDefaultContextMenuEnabled | Enables/disables the viewer popup menu (default enabled). | |
PostRenderCallback | Specifies a function to be called after the Open Inventor render traversal and immediately before the OpenGL buffer swap. | |
SeekMode | Externally set the viewer into/out off seek mode (default OFF). | |
WindowCloseCallback | Sets the delegate to invoke when the user closes this component (double click in the upper left corner) - by default Hide() is called on this component, unless a delegate is specified. |
Name | Description | |
---|---|---|
FinishViewing | (Inherited from SoWinViewer.) | |
StartViewing | (Inherited from SoWinViewer.) |
The Examiner viewer component allows you to rotate the view around a point of interest using a virtual trackball. The viewer uses the camera focalDistance field to figure out the point of rotation, which is usually set to be at the center of the scene. In addition to allowing you to rotate the camera around the point of interest, this viewer also allows you to translate the camera in the viewer plane, as well as dolly (move forward and backward) to get closer to or further away from the point of interest. The viewer also supports seek to quickly move the camera to a desired object or point.
Focal point:
The center of rotation for the ExaminerViewer, called the focalPoint, is defined as a point that is focalDistance from the camera position, along the viewVector, where the viewVector is (indirectly) defined by the camera orientation. You can compute the focalPoint for the current camera settings like this:
SoCamera camera = viewer.GetCamera(); SbMatrix mx = (SbMatrix)camera.orientation.Value; SbVec3f viewVec = new SbVec3f(-mx[2, 0], -mx[2, 1], -mx[2, 2]); SbVec3f camPos = camera.position.Value; float focDist = camera.focalDistance.Value; SbVec3f focalPt = camPos + (focDist * viewVec);
To better understand the above code, remember that we can convert an OIV.Inventor.SbRotation to an OIV.Inventor.SbMatrix and, since orientation is a pure rotation matrix, we can consider the first three columns of this matrix to be the orthogonal X, Y and Z vectors defining the rotated coordinate system. Therefore the view vector is the inversion of the Z axis vector; and finally because this vector is already normalized, an offset of "dist" along this vector is simply "dist * vector". Of course if you have a focalPoint in mind, you can work backward to compute camera position or focalDistance depending on which parameters you want to keep constant.
Customize behaviors:See the OIV.Inventor.Win.Viewers.SoWinExaminerViewer.AddFunctionKeyBinding(OIV.Inventor.Events.SoKeyboardEvent.Keys, OIV.Inventor.Win.Viewers.SoWinExaminerViewer.SoViewingFunction) and OIV.Inventor.Win.Viewers.SoWinExaminerViewer.AddViewingMouseBinding(OIV.Inventor.Events.SoKeyboardEvent.Keys[], OIV.Inventor.Events.SoMouseButtonEvent.Buttons[], OIV.Inventor.Win.Viewers.SoWinExaminerViewer.SoViewingFunction) methods to customize some behaviors of the viewer.
Viewer components:For applications that need more flexibility, we recommend using the "viewer component" classes to build exactly the viewing behaviors that your application needs. Please see the OIV.Inventor.ViewerComponents.SoCameraInteractor, SceneInteractor and SceneExaminer classes.
(For 3-button mouse only.)
Left Mouse: Rotate the virtual trackball.
Middle Mouse or Ctrl + Left Mouse: Translate up, down, left, right.
Ctrl + Middle Mouse or Left + Middle Mouse: Dolly in and out (gets closer to and further away from the object) (Perspective camera) or zoom in and out (Orthographic camera).
<s> + Left Mouse: Alternative to the Seek button. Press (but do not hold down) the <s> key, then click on a target object.
Right Mouse: Open the popup menu.
ALT: When the viewer is in selection (a.k.a. pick) mode, pressing and holding the ALT key temporarily switches the viewer to viewing mode. When the ALT key is released, the viewer returns to selection mode. Note: If any of the mouse buttons are currently depressed, the ALT key has no effect.
Mouse Wheel: Dolly/zoom camera Rotating the mouse wheel does a camera "dolly" operation on a perspective camera (moving the camera closer or farther away from the scene, which visually zoom) or a camera "zoom" operation on an orthographic camera (changing the view volume height).
Note that many users find the default dolly speed with the mouse wheel to be too slow. The user can hold down the Shift key to make the mouse wheel dolly go 2X faster. To increase the base speed set the environment variable OIV_WHEEL_DELTA. Mouse wheel events contain a "delta" that is a multiple of 120. The viewer divides this value by OIV_WHEEL_DELTA to compute the camera dolly increment. The default value for OIV_WHEEL_DELTA is 120. So, for example, setting OIV_WHEEL_DELTA to 12 makes the mouse wheel dolly go 10X faster.