Hide Table of Contents
SetStereoSeparation Method (IModelView)

Obsolete and not superseded. Functionality no longer implemented.

.NET Syntax

Visual Basic (Declaration) 
Function SetStereoSeparation( _
   ByVal DfSeparation As System.Object _
) As System.Boolean
Visual Basic (Usage) 
Dim instance As IModelView
Dim DfSeparation As System.Object
Dim value As System.Boolean
 
value = instance.SetStereoSeparation(DfSeparation)
C# 
System.bool SetStereoSeparation( 
   System.object DfSeparation
)
C++/CLI 
System.bool SetStereoSeparation( 
&   System.Object^ 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



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:   SetStereoSeparation Method (IModelView)
*Comment:  
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:



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