Click or drag to resize
SoWinFlyViewer Class

Viewer component for flying through space, with a constant world up.

Inheritance Hierarchy

Namespace: OIV.Inventor.Win.Viewers
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 9.9.13.0 (9.9.13.0)
Syntax
public class SoWinFlyViewer : SoWinConstrainedViewer

The SoWinFlyViewer type exposes the following members.

Constructors
  NameDescription
Public methodSoWinFlyViewer
Calls SoWinFlyViewer((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 )).
Public methodSoWinFlyViewer(Control)
Calls SoWinFlyViewer(parent, (System.String ^)nullptr, true, OIV.Inventor.Win.Viewers.SoWinFullViewer.BuildFlags( .SoWinFullViewer.BUILD_ALL ), OIV.Inventor.Win.Viewers.SoWinViewer.Types( .SoWinViewer.BROWSER )).
Public methodSoWinFlyViewer(Control, String)
Calls SoWinFlyViewer(parent, name, true, OIV.Inventor.Win.Viewers.SoWinFullViewer.BuildFlags( .SoWinFullViewer.BUILD_ALL ), OIV.Inventor.Win.Viewers.SoWinViewer.Types( .SoWinViewer.BROWSER )).
Public methodSoWinFlyViewer(Control, String, Boolean)
Calls SoWinFlyViewer(parent, name, buildInsideParent, OIV.Inventor.Win.Viewers.SoWinFullViewer.BuildFlags( .SoWinFullViewer.BUILD_ALL ), OIV.Inventor.Win.Viewers.SoWinViewer.Types( .SoWinViewer.BROWSER )).
Public methodSoWinFlyViewer(Control, String, Boolean, SoWinFullViewerBuildFlags)
Calls SoWinFlyViewer(parent, name, buildInsideParent, flag, OIV.Inventor.Win.Viewers.SoWinViewer.Types( .SoWinViewer.BROWSER )).
Public methodSoWinFlyViewer(Control, String, Boolean, SoWinFullViewerBuildFlags, SoWinViewerTypes)

Constructor which specifies the viewer type.

Top
Methods
  NameDescription
Public methodActualRendering

This method is called automatically when the viewer requests that its SoBaseStereo object perform stereo rendering.

(Inherited from SoWinViewer.)
Public methodAddAppPushButton

Adds application push button, which will be placed in the left hand side decoration trim.

(Inherited from SoWinFullViewer.)
Public methodAddFinishCallback(SoWinViewerViewerCB) Obsolete.
Adds finish delegate on the viewer. Start callbacks are called whenever the user starts doing interactive viewing (for example, mouse down), and finish delegates are called when user is done doing interactive work (for example, mouse up).
(Inherited from SoWinViewer.)
Public methodAddFinishCallback(SoWinViewerViewerUserDataCB, Object) Obsolete.
Use FinishViewing event instead.
(Inherited from SoWinViewer.)
Public methodCode exampleAddHook
Adds an event handler that receives all messages dispatched to this window.
(Inherited from SoWinGLWidget.)
Public methodAddStartCallback(SoWinViewerViewerCB) Obsolete.
Use StartViewing event instead. Adds start delegate on the viewer. Start delegates are called whenever the user starts doing interactive viewing (for example, mouse down), and finish delegates are called when user is done doing interactive work (for example, mouse up).
(Inherited from SoWinViewer.)
Public methodAddStartCallback(SoWinViewerViewerUserDataCB, Object) Obsolete.
Use StartViewing event instead.
(Inherited from SoWinViewer.)
Public methodAdjustClippingPlanes Obsolete.

Along with the manipulation of the camera, SoBaseStereo needs to set the scene appropriately when changing the camera settings.

(Inherited from SoWinViewer.)
Public methodBindNormalContext

Makes the normal rendering context the current context.

(Inherited from SoWinGLWidget.)
Public methodCopyView

Copies the view.

(Inherited from SoWinViewer.)
Public methodCopyWindowBits
(Inherited from SoWinGLWidget.)
Public methodDispose
(Inherited from SoWinRenderArea.)
Public methodEnableDirectViz

Enable or disable DirectViz viewing .

(Inherited from SoWinViewer.)
Public methodEnableFullRenderingWhenStill

If this flag is set, the viewer will render at full resolution when it sits still for a certain period of time.

(Inherited from SoWinViewer.)
Public methodEnableMouseWheelDolly

Enable/disable moving the camera with the mouse wheel, true by default.

(Inherited from SoWinViewer.)
Public methodEnableSeekWithOrtho

If false, the seek functionality is disabled for an SoOrthographicCamera.

(Inherited from SoWinViewer.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodFindAppPushButton

Returns index of specified push button.

(Inherited from SoWinFullViewer.)
Public methodFlush
(Inherited from SoWinGLWidget.)
Public methodGetAntialiasing Obsolete.

Gets the antialiasing used for rendering.

(Inherited from SoWinRenderArea.)
Public methodGetAntialiasingMode

Returns the antialiasing mode set using the setAntialiasing(float,AntialiasingMode) method.

(Inherited from SoWinGLWidget.)
Public methodGetAntialiasingParameters

Returns the antialiasing parameters set using the setAntialiasing(SoAntialiasingParameters*) method.

(Inherited from SoWinGLWidget.)
Public methodGetAntialiasingQuality

Returns the antialiasing quality set using the setAntialiasing(float,AntialiasingMode) method.

(Inherited from SoWinGLWidget.)
Public methodGetAutoClipTolerance

Returns the auto clipping tolerance value.

(Inherited from SoWinViewer.)
Public methodGetBackgroundColor

Gets the background color for this window.

(Inherited from SoWinRenderArea.)
Public methodGetBackgroundIndex

Gets the window background color when in color index mode.

(Inherited from SoWinRenderArea.)
Public methodGetBorderSize

Included for portability only.

(Inherited from SoWinGLWidget.)
Public methodGetBottomRight

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).

(Inherited from SoWinViewer.)
Public methodGetBufferingType

Gets the current buffering type in the main view.

(Inherited from SoWinViewer.)
Public methodGetCamera

Gets the edited camera.

(Inherited from SoWinViewer.)
Public methodGetCameraSceneGraph

Gets the sub-scene graph to be viewed.

(Inherited from SoWinViewer.)
Public methodGetCameraType

Gets the camera type that will be created by the viewer if no cameras are found in the scene graph (see SoPerspectiveCamera and SoOrthographicCamera).

(Inherited from SoWinViewer.)
Public methodGetClassName

Returns the class name.

(Inherited from SoWinComponent.)
Public methodGetCurrentDC Obsolete.

Returns the current device context used by this viewer.

(Inherited from SoWinViewer.)
Public methodGetCurrentDecimationPercentage

Returns the Decimation Percentage the viewer used in its last render.

(Inherited from SoWinViewer.)
Public methodGetCursor Obsolete.

Returns the current cursor.

(Inherited from SoWinGLWidget.)
Public methodGetCursorStyle

Returns the cursor style.

(Inherited from SoWinViewer.)
Public methodGetDecimationStrategy

Gets strategy to use to decide on decimation value.

(Inherited from SoWinViewer.)
Public methodGetDepthValue
(Inherited from SoWinViewer.)
Public methodGetDrawStyle

Queries the current drawing style in the main view.

(Inherited from SoWinViewer.)
Public methodGetFastEditSavePolicy

Returns fast editing save policy used when rendering.

(Inherited from SoWinRenderArea.)
Public methodGetFixedPercentage

Gets fixed percentage for the viewer to render (0.0 to 1.0)

(Inherited from SoWinViewer.)
Public methodGetFloatingColorBuffer

Returns true if floating point rendering is used and its precision.

(Inherited from SoWinRenderArea.)
Public methodGetFullSceneAntialiasing Obsolete.

Returns true if FSAA is currently enabled.

(Inherited from SoWinGLWidget.)
Public methodGetGLRenderAction

Gets the GL render action to use.

(Inherited from SoWinRenderArea.)
Public methodGetGoalFramesPerSecond

Gets goal frames per second for the viewer to try to render.

(Inherited from SoWinViewer.)
Public methodGetGoalNumberOfTriangles

Gets goal number of triangles for the viewer to try to render.

(Inherited from SoWinViewer.)
Public methodGetGraphicConfigTemplate
(Inherited from SoWinGLWidget.)
Public methodGetHashCode
Overrides GetHashCode().
(Inherited from SoNetBase.)
Public methodGetHeadlight

Returns the headlight node.

(Inherited from SoWinViewer.)
Public methodGetIconTitle

Included for portability only.

(Inherited from SoWinComponent.)
Public methodGetInvalidateCacheMode

Returns the current cache invalidation mode.

(Inherited from SoWinRenderArea.)
Public methodGetMinSpeed
Public methodGetMPEGRecorder

Returns the recorder used for MPEG encoding.

(Inherited from SoWinRenderArea.)
Public methodGetNormalDC

Returns the device context (which is needed for SbGlContextHelper.makeCurrent).

(Inherited from SoWinGLWidget.)
Public methodGetNormalSoContext
(Inherited from SoWinGLWidget.)
Public methodGetNumSamples

Gets how many frames should be timed before frames per second delegateis called.

(Inherited from SoWinViewer.)
Public methodGetOverlayBackgroundIndex Obsolete.

Gets the overlay window background color index.

(Inherited from SoWinRenderArea.)
Public methodGetOverlayDC Obsolete.

Returns the overlay device context (which is needed for SbGlContextHelper.makeCurrent).

(Inherited from SoWinGLWidget.)
Public methodGetOverlayGLRenderAction Obsolete.

Gets the GL render action for the overlay window.

(Inherited from SoWinRenderArea.)
Public methodGetOverlaySceneGraph Obsolete.

Gets the scene graph to be rendered in the overlay plane.

(Inherited from SoWinRenderArea.)
Public methodGetOverlaySceneManager Obsolete.

Gets the overlay plane scene manager.

(Inherited from SoWinRenderArea.)
Public methodGetOverlaySoContext Obsolete.

Obsoletesince Open Inventor 9610 Overlay feature is legacy, and no longer makes sense with current hardware.

(Inherited from SoWinGLWidget.)
Public methodGetPickRadius

Returns the current pick radius for picking and seeking actions.

(Inherited from SoWinViewer.)
Public methodGetPixelFormat

Returns the current pixel format.

(Inherited from SoWinGLWidget.)
Public methodGetRedrawPriority

Gets the priority of the redraw sensor.

(Inherited from SoWinRenderArea.)
Public methodGetSceneGraph

Gets the scene graph to be rendered in this component's window.

(Inherited from SoWinRenderArea.)
Public methodGetSceneManager

Gets the normal scene manager.

(Inherited from SoWinRenderArea.)
Public methodGetSeekTime

Queries the seek time.

(Inherited from SoWinViewer.)
Public methodGetShareContext
(Inherited from SoWinRenderArea.)
Public methodGetSize

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).

(Inherited from SoWinViewer.)
Public methodGetSortedTrianglesNumCaches

Returns the maximum number of caches allowed for the sorted triangles transparency types.

(Inherited from SoWinRenderArea.)
Public methodGetSortedTrianglesSortFrequency

Returns the sort frequency used for the SORTED_TRIANGLES_XXX and SORTED_OBJECT_TRIANGLES_XXX transparency types.

(Inherited from SoWinRenderArea.)
Public methodGetSpeedMultiplier
Public methodGetStereoBalance

Returns the current stereo balance.

(Inherited from SoWinViewer.)
Public methodGetStereoOffset

Returns the stereo offset.

(Inherited from SoWinViewer.)
Public methodGetStereoViewType

Returns the current stereo implementation.

(Inherited from SoWinViewer.)
Public methodGetTitle

Gets window title.

(Inherited from SoWinComponent.)
Public methodGetTopLeft

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).

(Inherited from SoWinViewer.)
Public methodGetTransparencyType

Gets the algorithm for rendering transparent objects.

(Inherited from SoWinRenderArea.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetUpDirection

Returns the upward direction of the viewer.

(Inherited from SoWinConstrainedViewer.)
Public methodGetViewerCamera

Returns the camera so SoBaseStereo can manipulate it to achieve the stereo effect.

(Inherited from SoWinViewer.)
Public methodGetViewport

Returns viewport region as origin (lower-left corner) and size, given as pixel coordinates.

(Inherited from SoWinViewer.)
Public methodGetViewportRegion

Gets current viewport region to use for rendering.

(Inherited from SoWinRenderArea.)
Public methodGetWidgetName

Returns the window handle name.

(Inherited from SoWinComponent.)
Public methodHide

This hides the component.

(Inherited from SoWinComponent.)
Public methodInsertAppPushButton

Adds application push button, which will be placed in the left hand side decoration trim.

(Inherited from SoWinFullViewer.)
Public methodIsAutoClipping

Queries if auto clipping is ON.

(Inherited from SoWinViewer.)
Public methodIsAutoRedraw

Queries whether the render area will automatically redraw whenever something in the scene graph changes.

(Inherited from SoWinRenderArea.)
Public methodIsBorder

Included for portability only.

(Inherited from SoWinGLWidget.)
Public methodIsCameraHeightAnglePreserved

Query whether the SoPerspectiveCamera's heightAngle is preserved if the camera is changed to an SoOrthographicCamera and then toggled back to an SoPerspectiveCamera.

(Inherited from SoWinViewer.)
Public methodIsClearBeforeOverlayRender Obsolete.

Queries whether the overlay window will be cleared before rendering starts.

(Inherited from SoWinRenderArea.)
Public methodIsClearBeforeRender

Queries whether the window will be cleared before rendering starts.

(Inherited from SoWinRenderArea.)
Public methodIsClearZBufferBeforeRender

Queries whether the depth buffer (sometimes called the Z buffer) will be cleared before rendering starts.

(Inherited from SoWinRenderArea.)
Public methodIsClientPopupMenuInstalled Obsolete.

Returns true if an application-specific popup menu is installed.

(Inherited from SoWinFullViewer.)
Public methodIsCursorEnabled Obsolete.

Queries whether the viewer is allowed to change the cursor over the renderArea window.

(Inherited from SoWinViewer.)
Public methodIsDecoration

Returns whether the viewer component trim is on or off.

(Inherited from SoWinFullViewer.)
Public methodIsDetailSeek

Queries whether detail seek is on.

(Inherited from SoWinViewer.)
Public methodIsDirectVizEnabled

Queries whether the viewer is in DirectViz mode.

(Inherited from SoWinViewer.)
Public methodIsDoubleBuffer

Returns whether double buffering is on or off.

(Inherited from SoWinGLWidget.)
Public methodIsDrawToFrontBufferEnable

Returns whether drawing to the front buffer is enabled.

(Inherited from SoWinGLWidget.)
Public methodIsFsaaSupported Obsolete.

Obsoletesince Open Inventor 8100 Method has been renamed.

(Inherited from SoWinGLWidget.)
Public methodIsFullRenderingWhenStill

Queries if the viewer will render at full resolution when it sits still for a certain period of time.

(Inherited from SoWinViewer.)
Public methodIsFullSceneAntialiasingAvailable Obsolete.

Returns true if FSAA is supported by current pixel format.

(Inherited from SoWinGLWidget.)
Public methodIsFullSceneAntialiasingEnabled Obsolete.

Returns true, if full-scene antialiasing (FSAA) is enabled.

(Inherited from SoWinGLWidget.)
Public methodIsFullSceneAntialiasingHQAvailable Obsolete.

Returns true if high quality full-scene antialiasing (FSAA) is available.

(Inherited from SoWinGLWidget.)
Public methodIsFullSceneAntialiasingHQEnabled Obsolete.

Returns true if the high quality mode for full-scene antialiasing (FSAA) is enabled.

(Inherited from SoWinGLWidget.)
Public methodIsFullScreen

Queries if the viewer is in fullscreen mode.

(Inherited from SoWinComponent.)
Public methodIsFullScreenEnable

Queries if it is possible to put the viewer in fullscreen mode.

(Inherited from SoWinComponent.)
Public methodIsHeadlight

Queries if the headlight is on.

(Inherited from SoWinViewer.)
Public methodIsPopupMenuEnabled Obsolete.

Returns whether the viewer popup menu is enabled or disabled.

(Inherited from SoWinFullViewer.)
Public methodIsSeekWithOrthoEnabled

Query whether the seek functionality is enabled for an SoOrthographicCamera.

(Inherited from SoWinViewer.)
Public methodIsStereoAbsoluteAdjustments

Returns true if stereo absolute adjustments are enabled.

(Inherited from SoWinViewer.)
Public methodIsStereoActive

Returns true if stereo is active.

(Inherited from SoWinViewer.)
Public methodIsStereoBalanceNearFrac

Returns true if the stereo balance adjustement is defined as a fraction of the camera near distance.

(Inherited from SoWinViewer.)
Public methodIsStereoViewing

Queries if stereo viewing is on or off on the viewer.

(Inherited from SoWinViewer.)
Public methodIsStereoViewReversed

Returns true if the left and right eye views are reversed.

(Inherited from SoWinViewer.)
Public methodIsStillNow

Returns whether the viewer is currently still.

(Inherited from SoWinViewer.)
Public methodIsTopLevelShell

Returns true if this component is a top level shell component (has its own window).

(Inherited from SoWinComponent.)
Public methodIsViewerDoubleBuffer

Returns true if viewer is double buffered.

(Inherited from SoWinViewer.)
Public methodIsViewing

Queries whether the viewer is turned on or off.

(Inherited from SoWinViewer.)
Public methodIsVisible

Returns true if this component is mapped onto the screen.

(Inherited from SoWinComponent.)
Public methodLengthAppPushButton

Returns number of application push buttons.

(Inherited from SoWinFullViewer.)
Public methodMakeNormalCurrent Obsolete.

Makes the normal rendering context the current context.

(Inherited from SoWinGLWidget.)
Public methodPasteView

Pastes the view.

(Inherited from SoWinViewer.)
Public methodRecomputeSceneSize

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.

(Inherited from SoWinViewer.)
Public methodRedrawOnSelectionChange

Call this convenience method to have this render area redraw whenever the selection list changes in the passed node.

(Inherited from SoWinRenderArea.)
Public methodRedrawOverlayOnSelectionChange Obsolete.

Call this convenience method to have this render area overlay planes redraw whenever the selection list changes in the passed node.

(Inherited from SoWinRenderArea.)
Public methodRegisterDevice

Registers interest in devices.

(Inherited from SoWinRenderArea.)
Public methodRemoveAppPushButton

Removes specified application push button.

(Inherited from SoWinFullViewer.)
Public methodRemoveFinishCallback(SoWinViewerViewerCB) Obsolete.
Use FinishViewing event instead. Removes finish delegate from the viewer
(Inherited from SoWinViewer.)
Public methodRemoveFinishCallback(SoWinViewerViewerUserDataCB) Obsolete.
Use FinishViewing event instead.
(Inherited from SoWinViewer.)
Public methodRemoveHook
Removes the event handlers that were added by AddHook.
(Inherited from SoWinGLWidget.)
Public methodRemoveStartCallback(SoWinViewerViewerCB) Obsolete.
Use StartViewing event instead. Removes start delegate from the viewer
(Inherited from SoWinViewer.)
Public methodRemoveStartCallback(SoWinViewerViewerUserDataCB) Obsolete.
Use StartViewing event instead.
(Inherited from SoWinViewer.)
Public methodRender

Calling this forces the render area to be redrawn now.

(Inherited from SoWinRenderArea.)
Public methodRenderOverlay Obsolete.

Calling this forces the render area overlay planes to be redrawn now.

(Inherited from SoWinRenderArea.)
Public methodResetToHomePosition

Restores the camera values.

(Inherited from SoWinViewer.)
Public methodReverseStereoView

If true, reverse the left and right eye views.

(Inherited from SoWinViewer.)
Public methodSaveHomePosition

Saves the camera values.

(Inherited from SoWinViewer.)
Public methodSaveSceneGraph
(Inherited from SoWinViewer.)
Public methodSaveSnapshot(String)
Calls SaveSnapshot(filename, true).
(Inherited from SoWinGLWidget.)
Public methodSaveSnapshot(String, Boolean)

Save a snapshot of the current image displayed in the viewer.

(Inherited from SoWinGLWidget.)
Public methodScheduleOverlayRedraw Obsolete.

Schedules a redraw of the overlay planes to happen sometime soon (as opposed to immediately).

(Inherited from SoWinRenderArea.)
Public methodScheduleRedraw

Schedules a redraw to happen sometime soon (as opposed to immediately).

(Inherited from SoWinRenderArea.)
Public methodSetAntialiasing(Single)
Calls SetAntialiasing(quality, OIV.Inventor.SoSceneManager.AntialiasingModes( .SoSceneManager.AUTO )).
(Inherited from SoWinGLWidget.)
Public methodSetAntialiasing(SoAntialiasingParameters)

Enable (or disable) antialiasing with specific parameters.

(Inherited from SoWinGLWidget.)
Public methodSetAntialiasing(Single, SoSceneManagerAntialiasingModes)

Enable (or disable) antialiasing with specified quality and mode.

(Inherited from SoWinGLWidget.)
Public methodSetAntialiasing(Boolean, Int32) Obsolete.

Enables smoothing and/or multi-pass antialiasing for rendering.

(Inherited from SoWinRenderArea.)
Public methodSetAutoClipping

Sets the auto clipping plane.

(Inherited from SoWinViewer.)
Public methodSetAutoClipTolerance

Sets the auto clipping tolerance value.

(Inherited from SoWinViewer.)
Public methodSetAutoRedraw

The render area will automatically redraw whenever something in the scene graph changes.

(Inherited from SoWinRenderArea.)
Public methodSetBackgroundColor

Sets the background color for this window.

(Inherited from SoWinRenderArea.)
Public methodSetBackgroundIndex

Sets the window background color when in color index mode.

(Inherited from SoWinRenderArea.)
Public methodSetBorder

Included for portability only.

(Inherited from SoWinGLWidget.)
Public methodSetBufferingType
(Inherited from SoWinFullViewer.)
Public methodSetCamera

Sets the edited camera.

(Inherited from SoWinViewer.)
Public methodSetCameraSceneGraph

Sets the sub-scene graph to be used for viewAll computation.

(Inherited from SoWinViewer.)
Public methodSetCameraType

Sets the camera type that will be created by the viewer if no cameras are found in the scene graph (see SoPerspectiveCamera and SoOrthographicCamera).

(Inherited from SoWinViewer.)
Public methodSetCameraTypeChangeCallback(SoWinViewerCameraTypeChangeCB) Obsolete.
Use CameraTypeChangeCallback property instead. Register camera type changed delegate
(Inherited from SoWinViewer.)
Public methodSetCameraTypeChangeCallback(SoWinViewerCameraTypeChangeUserDataCB, Object) Obsolete.
Use CameraTypeChangeCallback property instead.
(Inherited from SoWinViewer.)
Public methodSetClearBeforeOverlayRender Obsolete.

Enables/prevents overlay window clearing from happening before a rendering starts (default is clear true).

(Inherited from SoWinRenderArea.)
Public methodSetClearBeforeRender(Boolean)
Calls SetClearBeforeRender(trueOrFalse, true).
(Inherited from SoWinRenderArea.)
Public methodSetClearBeforeRender(Boolean, Boolean)

Enables/prevents window clearing from happening before a rendering starts (default is clear true).

(Inherited from SoWinRenderArea.)
Public methodSetColorMap

Sets the colors to use when displaying in color index mode.

(Inherited from SoWinRenderArea.)
Public methodSetCursor Obsolete.

Sets the current cursor.

(Inherited from SoWinGLWidget.)
Public methodSetCursorEnabled Obsolete.

Sets whether the viewer is allowed to change the cursor over the renderArea window.

(Inherited from SoWinViewer.)
Public methodSetCursorStyle

Sets the cursor style.

(Inherited from SoWinViewer.)
Public methodSetDecimationPercentageCallback(SoWinViewerDecimationPercentageCB) Obsolete.
Use DecimationPercentageCallback property instead. Register decimation percentage delegate
(Inherited from SoWinViewer.)
Public methodSetDecimationPercentageCallback(SoWinViewerDecimationPercentageUserDataCB, Object) Obsolete.
Use DecimationPercentageCallback property instead.
(Inherited from SoWinViewer.)
Public methodSetDecimationStrategy

Sets strategy to use to decide on decimation value.

(Inherited from SoWinViewer.)
Public methodSetDecoration

Shows/hides the viewer component trim (default on).

(Inherited from SoWinFullViewer.)
Public methodSetDetailSeek

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.

(Inherited from SoWinViewer.)
Public methodSetDoubleBuffer
(Inherited from SoWinViewer.)
Public methodSetDrawStyle
(Inherited from SoWinFullViewer.)
Public methodSetDrawToFrontBufferEnable

Sets drawing to the front buffer.

(Inherited from SoWinGLWidget.)
Public methodSetEventCallback(SoWinRenderAreaEventCallback) Obsolete. (Inherited from SoWinRenderArea.)
Public methodSetEventCallback(SoWinRenderAreaEventUserDataCallback, Object) Obsolete. (Inherited from SoWinRenderArea.)
Public methodSetFastEditSavePolicy(SoGLRenderActionFastEditSavePolicies)
Calls SetFastEditSavePolicy(policy, false).
(Inherited from SoWinRenderArea.)
Public methodSetFastEditSavePolicy(SoGLRenderActionFastEditSavePolicies, Boolean)

Sets fast editing save policy to use when rendering.

(Inherited from SoWinRenderArea.)
Public methodSetFixedPercentage

Sets fixed percentage for the viewer to render (0.0 to 1.0) Default is 1.0.

(Inherited from SoWinViewer.)
Public methodSetFloatingColorBuffer(Boolean)
Calls SetFloatingColorBuffer(enable, OIV.Inventor.Win.SoWinGLWidget.FloatColorBufferSizes( .SoWinGLWidget.FLOAT_16_COLOR_BUFFER )).
(Inherited from SoWinRenderArea.)
Public methodSetFloatingColorBuffer(Boolean, SoWinGLWidgetFloatColorBufferSizes)

Enables/disables floating point rendering using 16- or 32-bit components.

(Inherited from SoWinRenderArea.)
Public methodSetFramesPerSecondCallback(SoWinViewerFramePerSecondCB) Obsolete.
Use FramesPerSecondCallback property instead. Register frame per second delegate
(Inherited from SoWinViewer.)
Public methodSetFramesPerSecondCallback(SoWinViewerFramePerSecondUserDataCB, Object) Obsolete.
Use FramesPerSecondCallback property instead.
(Inherited from SoWinViewer.)
Public methodSetFullSceneAntialiasing(Boolean) Obsolete.
Calls SetFullSceneAntialiasing(enable, -1.0, SoFullSceneAntialiasing.ALL).
(Inherited from SoWinGLWidget.)
Public methodSetFullSceneAntialiasing(Boolean, Single) Obsolete.
Calls SetFullSceneAntialiasing(enable, quality, SoFullSceneAntialiasing.ALL).
(Inherited from SoWinGLWidget.)
Public methodSetFullSceneAntialiasing(Boolean, Single, Int32) Obsolete.
(Inherited from SoWinGLWidget.)
Public methodSetFullSceneAntialiasingHQ Obsolete.

Enables or disables the high quality mode for full-scene antialiasing (FSAA).

(Inherited from SoWinGLWidget.)
Public methodSetFullScreen

Switches the viewer into (or out of) fullscreen mode.

(Inherited from SoWinComponent.)
Public methodSetFullScreenEnable

Enables/disables fullscreen mode.

(Inherited from SoWinComponent.)
Public methodSetGLRenderAction

Sets the GL render action to use.

(Inherited from SoWinRenderArea.)
Public methodSetGoalFramesPerSecond

Sets goal frames per second for the viewer to try to render.

(Inherited from SoWinViewer.)
Public methodSetGoalNumberOfTriangles

Sets goal number of triangles for the viewer to try to render.

(Inherited from SoWinViewer.)
Public methodSetGraphicConfigTemplate

Sets a new graphics configuration template.

(Inherited from SoWinGLWidget.)
Public methodSetHeadlight
(Inherited from SoWinFullViewer.)
Public methodSetIconTitle

Included for portability only.

(Inherited from SoWinComponent.)
Public methodSetInvalidateCacheMode

Enables or disables the invalidation of render caches.

(Inherited from SoWinRenderArea.)
Public methodSetMinSpeed
Public methodSetMPEGRecorder

Sets the recorder used for MPEG encoding.

(Inherited from SoWinRenderArea.)
Public methodSetNumSamples

Sets how many frames should be timed before frames per second delegateis called, default is 10.

(Inherited from SoWinViewer.)
Public methodSetOverlayBackgroundIndex Obsolete.

Sets the overlay window background color index.

(Inherited from SoWinRenderArea.)
Public methodSetOverlayColorMap Obsolete.

Sets the colors to use for overlay bit planes.

(Inherited from SoWinRenderArea.)
Public methodSetOverlayGLRenderAction Obsolete.

Sets the GL render action for the overlay window.

(Inherited from SoWinRenderArea.)
Public methodSetOverlaySceneGraph Obsolete.

Sets the scene graph to be rendered in the overlay plane.

(Inherited from SoWinRenderArea.)
Public methodSetOverlaySceneManager Obsolete.

Sets the overlay plane scene manager.

(Inherited from SoWinRenderArea.)
Public methodSetPickRadius

Sets the pick radius, in pixels, used by the viewer for picking and seeking actions.

(Inherited from SoWinViewer.)
Public methodSetPixelFormat

Sets the current pixel format.

(Inherited from SoWinGLWidget.)
Public methodSetPopupMenuEnabled Obsolete.

Enables/disables the viewer popup menu (default enabled).

(Inherited from SoWinFullViewer.)
Public methodSetPostRenderCallback(SoWinRenderAreaRenderCallback) Obsolete.
Use PostRenderCallback property instead.
(Inherited from SoWinRenderArea.)
Public methodSetPostRenderCallback(SoWinRenderAreaRenderUserDataCallback, Object) Obsolete. (Inherited from SoWinRenderArea.)
Public methodSetPreserveCameraHeightAngle

If true, an SoPerspectiveCamera's heightAngle is preserved if the camera is changed to an SoOrthographicCamera and then toggled back to an SoPerspectiveCamera.

(Inherited from SoWinViewer.)
Public methodSetRedrawPriority

Sets the priority of the redraw sensor.

(Inherited from SoWinRenderArea.)
Public methodSetSceneGraph

Sets the scene graph to be rendered in this component's window.

(Inherited from SoWinRenderArea.)
Public methodSetSceneManager

Sets the normal scene manager.

(Inherited from SoWinRenderArea.)
Public methodSetSeekTime

Sets the time a seek takes to change to the new camera location.

(Inherited from SoWinViewer.)
Public methodSetSize

Convenience routine on the window handle.

(Inherited from SoWinComponent.)
Public methodSetSortedTrianglesNumCaches

Sets the number of caches to use when the transparency type is SORTED_TRIANGLES_XXX or SORTED_OBJECT_TRIANGLES_XXX.

(Inherited from SoWinRenderArea.)
Public methodSetSortedTrianglesSortFrequency

This method specifies the angle between each sorting axis when using the transparency type SORTED_TRIANGLES_XXX or SORTED_OBJECT_TRIANGLES_XXX.

(Inherited from SoWinRenderArea.)
Public methodSetSpeedMultiplier
Public methodSetStealFocus

By default the GLWidget "steals" focus whenever the cursor moves over it.

(Inherited from SoWinGLWidget.)
Public methodSetStereoAbsoluteAdjustments

If true, use stereo absolute adjustments.

(Inherited from SoWinViewer.)
Public methodSetStereoActive

If true, stero is activated.

(Inherited from SoWinViewer.)
Public methodSetStereoBalance(Single)
Calls SetStereoBalance(balance, false).
(Inherited from SoWinViewer.)
Public methodSetStereoBalance(Single, Boolean)

Sets the stereo balance (the position of the zero parallax plane).

(Inherited from SoWinViewer.)
Public methodSetStereoOffset

Sets the stereo offset.

(Inherited from SoWinViewer.)
Public methodSetStereoViewing

Turns stereo viewing on/off on the viewer (default off).

(Inherited from SoWinViewer.)
Public methodSetStereoViewType

Set an implementation of stereo viewing to use.

(Inherited from SoWinViewer.)
Public methodSetTitle

Sets window title.

(Inherited from SoWinComponent.)
Public methodSetTransparencyType

Sets the algorithm for rendering transparent objects.

(Inherited from SoWinRenderArea.)
Public methodSetUpDirection

Specifies the upward direction of the viewer.

(Inherited from SoWinConstrainedViewer.)
Public methodSetViewing

Sets whether the viewer is turned on or off.

(Inherited from SoWinViewer.)
Public methodSetViewport

Sets viewport region with given origin (lower-left corner) and size, given as pixel coordinates.

(Inherited from SoWinViewer.)
Public methodSetViewportRegion

Sets viewport region to use for rendering.

(Inherited from SoWinRenderArea.)
Public methodShow

This shows the component.

(Inherited from SoWinComponent.)
Public methodShowDirectVizDialog

Hide or show DirectViz control dialog.

(Inherited from SoWinViewer.)
Public methodSwapNormalBuffers

Swaps the normal front and back buffers.

(Inherited from SoWinGLWidget.)
Public methodSwapOverlayBuffers Obsolete.

Swaps the overlay front and back buffers.

(Inherited from SoWinGLWidget.)
Public methodToggleCameraType

This routine will toggle the current camera from perspective to orthographic, and from orthographic back to perspective.

(Inherited from SoWinViewer.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUnbindNormalContext

unbind the current context (previously bind with bindNormalContext );

(Inherited from SoWinGLWidget.)
Public methodUnregisterDevice

Unregisters interest in devices.

(Inherited from SoWinRenderArea.)
Public methodViewAll

Changes the camera position to view the entire scene (the camera zoom or orientation isn't changed).

(Inherited from SoWinViewer.)
Top
Properties
  NameDescription
Public propertyCameraTypeChangeCallback

Defines a callback which is called each time the camera type has changed (change from SoPerspectiveCamera to SoOrthographicCamera or vice versa).

(Inherited from SoWinViewer.)
Public propertyContextMenu
Gets/sets application specific contextual menu.
(Inherited from SoWinFullViewer.)
Public propertyCursor

Sets the current cursor.

(Inherited from SoWinGLWidget.)
Public propertyCursorEnabled

Sets whether the viewer is allowed to change the cursor over the renderArea window.

(Inherited from SoWinViewer.)
Public propertyDecimationPercentageCallback

Registers decimation percentage callback.

(Inherited from SoWinViewer.)
Public propertyEventFunction
Sets the event delegate that will be called before viewer process keyboard or mouse event.
(Inherited from SoWinRenderArea.)
Public propertyFramesPerSecondCallback

Registers frames per second callback.

(Inherited from SoWinViewer.)
Public propertyHandle
Implements Handle.
(Inherited from SoWinComponent.)
Public propertyIsDefaultContextMenuEnabled

Enables/disables the viewer popup menu (default enabled).

(Inherited from SoWinFullViewer.)
Public propertyPostRenderCallback

Specifies a function to be called after the Open Inventor render traversal and immediately before the OpenGL buffer swap.

(Inherited from SoWinRenderArea.)
Public propertySeekMode

Externally set the viewer into/out off seek mode (default OFF).

(Inherited from SoWinViewer.)
Public propertyWindowCloseCallback

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.

(Inherited from SoWinComponent.)
Top
Events
  NameDescription
Public eventfinishCB Obsolete.
Use FinishViewing event instead. Finish ViewerCB delegate list
(Inherited from SoWinViewer.)
Public eventFinishViewing
(Inherited from SoWinViewer.)
Public eventstartCB Obsolete.
Use FinishViewing event instead. Start ViewerCB delegate list
(Inherited from SoWinViewer.)
Public eventStartViewing
(Inherited from SoWinViewer.)
Top
Remarks

Fly Viewer - this viewer is intended to simulate flight through space, with a constant world up direction. The viewer only constrains the camera to keep the user from flying upside down. No mouse buttons need to be pressed in order to fly. The mouse position is used only for steering, while mouse clicks are used to increase or decrease the viewer speed.

The viewer allows you to tilt your head up/down/right/left and move in the direction you are looking (forward or backward). The viewer also supports seek to quickly move the camera to a desired object or point.

USAGE

(For 3-button mouse only.)

Left Mouse: Click to increase speed.

"s" + Left Mouse: Alternative to the Seek button. Press (but do not hold down) the <s> key, then click on a target object.

"u" + Left Mouse: Press (but do not hold down) the "u" key, then click on a target object to set the "up" direction to the surface normal. By default +y is the "up" direction.

Middle Mouse: Click to decrease speed.

Left and Middle Mouse: Click both simultaneously to stop.

Ctrl: Hold the key down to stop and rotate the viewpoint.

Right Mouse: Open the popup menu.

ALT: (Win32) 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.

See Also