> ISetStereoSeparation Method (IModelView)
Welcome
Getting Started
SolidWorks API Help
FeatureWorks API Help
SolidWorks Document Manager API Help
eDrawings API Help
SolidWorks Routing API Help
SolidWorks Simulation API Help
SolidWorks Utilities API Help
SolidWorks Workgroup PDM API Help
Hide Table of Contents Show Table of Contents
ISetStereoSeparation Method (IModelView)

Obsoleted and not superseded. Functionality no longer supported.

.NET Syntax

Visual Basic (Declaration) 
Function ISetStereoSeparation( _
   ByRef DfSeparation As Double _
) As Boolean
Visual Basic (Usage) 
Dim instance As IModelView
Dim DfSeparation As Double
Dim value As Boolean
 
value = instance.ISetStereoSeparation(DfSeparation)
C# 
bool ISetStereoSeparation( 
   ref double DfSeparation
)
C++/CLI 
bool ISetStereoSeparation( 
&   double% DfSeparation
) 

Parameters

DfSeparation
Array of 2 doubles representing the stereo magnitude and stereo parallax balance settings

Return Value

True if changing the stereo-value settings is successful, false if not

Remarks

This method only affects the model view's display if:

  • Display window was set up to display stereoscopically

  • Application is currently set to display stereoscopically.

ISldWorks::EnableStereoDisplay needs to be called to do these things.

There are two stereoscopic display values this method sets.

  1. Settings[0] controls the magnitude of the stereoscopic effect by specifying the stereoscopic, virtual, camera separation. Appropriate values for this setting depend on the scale of the object, the distance from the virtual camera to the object center, the perspective field of view angle, and, perhaps, an adjustment factor that is available to the user.

  2. Settings[1] controls the asymmetry of the projection frustums, thus, adjusting the parallax balance of the stereoscopic scene. It is desirable for any stereoscopic scene to comfortably balance the use of negative parallax (elements appearing to float in front of the display surface) and positive parallax (elements appearing to reside somewhere behind the display surface). Appropriate values for this setting should be arrived at experimentally.

If this method is not called, the default settings will equal 0.0, resulting in identical left-eye and right-eye renderings, and no visible stereo effect, even if stereoscopic display is currently enabled.

 

See Also



Related SolidWorks Forum Content

Provide feedback on this topic

SolidWorks welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

 
*Email:  
Subject:   Feedback on Help Topics
Page:   ISetStereoSeparation Method (IModelView)
*Comment:  
x

We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again
x

Web Help Content Version: API Help (English only) 2012 SP05

The search functionality within the web help is in a beta test phase and you may experience periodic delays or interruptions in its performance. These are the normal and ordinary features of a beta test and shall not under any circumstances give rise to any liability on the part of DS SolidWorks or its licensors. The topics within the Web-based help are not beta topics; they document API Help (English only) 2012 SP05.

To disable Web help from within SolidWorks and use local help instead, click Help > Use SolidWorks Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.