C# Class HelixToolkit.Wpf.StereoControl

Inheritance: System.Windows.Controls.ContentControl
ファイルを表示 Open project: litdev1/LitDev

Public Properties

Property Type Description
CameraProperty System.Windows.DependencyProperty
CameraRotationModeProperty System.Windows.DependencyProperty
CopyDirectionVectorProperty System.Windows.DependencyProperty
CopyUpVectorProperty System.Windows.DependencyProperty
CrossViewingProperty System.Windows.DependencyProperty
StereoBaseProperty System.Windows.DependencyProperty

Public Methods

Method Description
BindViewports ( System.Windows.Controls.Viewport3D left, System.Windows.Controls.Viewport3D right ) : void

Binds the viewports.

BindViewports ( System.Windows.Controls.Viewport3D left, System.Windows.Controls.Viewport3D right, bool createLights, bool createCamera ) : void

Binds the viewports.

Clear ( ) : void

Clears the children collection.

ExportKerkythea ( string leftFileName, string rightFileName ) : void

Exports the views to kerkythea.

SynchronizeStereoModel ( ) : void

Synchronizes the stereo model.

UpdateCameras ( ) : void

Updates the cameras.

Protected Methods

Method Description
StereoViewChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

The stereo view changed.

Private Methods

Method Description
CameraChanged ( object sender, EventArgs e ) : void

Handle the camera changed event.

ChildrenCollectionChanged ( object sender, NotifyCollectionChangedEventArgs e ) : void

Handle changes in the children collection.

StereoControl ( ) : System

Initializes static members of the StereoControl class.

Method Details

BindViewports() public method

Binds the viewports.
public BindViewports ( System.Windows.Controls.Viewport3D left, System.Windows.Controls.Viewport3D right ) : void
left System.Windows.Controls.Viewport3D /// The left. ///
right System.Windows.Controls.Viewport3D /// The right. ///
return void

BindViewports() public method

Binds the viewports.
public BindViewports ( System.Windows.Controls.Viewport3D left, System.Windows.Controls.Viewport3D right, bool createLights, bool createCamera ) : void
left System.Windows.Controls.Viewport3D /// The left. ///
right System.Windows.Controls.Viewport3D /// The right. ///
createLights bool /// if set to true [create lights]. ///
createCamera bool /// if set to true [create camera]. ///
return void

Clear() public method

Clears the children collection.
public Clear ( ) : void
return void

ExportKerkythea() public method

Exports the views to kerkythea.
public ExportKerkythea ( string leftFileName, string rightFileName ) : void
leftFileName string /// Name of the left file. ///
rightFileName string /// Name of the right file. ///
return void

StereoViewChanged() protected static method

The stereo view changed.
protected static StereoViewChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
d System.Windows.DependencyObject /// The d. ///
e System.Windows.DependencyPropertyChangedEventArgs /// The event arguments. ///
return void

SynchronizeStereoModel() public method

Synchronizes the stereo model.
public SynchronizeStereoModel ( ) : void
return void

UpdateCameras() public method

Updates the cameras.
public UpdateCameras ( ) : void
return void

Property Details

CameraProperty public_oe static_oe property

Identifies the Camera dependency property.
public static DependencyProperty,System.Windows CameraProperty
return System.Windows.DependencyProperty

CameraRotationModeProperty public_oe static_oe property

Identifies the CameraRotationMode dependency property.
public static DependencyProperty,System.Windows CameraRotationModeProperty
return System.Windows.DependencyProperty

CopyDirectionVectorProperty public_oe static_oe property

Identifies the CopyDirectionVector dependency property.
public static DependencyProperty,System.Windows CopyDirectionVectorProperty
return System.Windows.DependencyProperty

CopyUpVectorProperty public_oe static_oe property

Identifies the CopyUpVector dependency property.
public static DependencyProperty,System.Windows CopyUpVectorProperty
return System.Windows.DependencyProperty

CrossViewingProperty public_oe static_oe property

Identifies the CrossViewing dependency property.
public static DependencyProperty,System.Windows CrossViewingProperty
return System.Windows.DependencyProperty

StereoBaseProperty public_oe static_oe property

Identifies the StereoBase dependency property.
public static DependencyProperty,System.Windows StereoBaseProperty
return System.Windows.DependencyProperty