C# Class HelixToolkit.Wpf.StereoControl

Inheritance: System.Windows.Controls.ContentControl
Afficher le fichier Open project: litdev1/LitDev

Méthodes publiques

Свойство 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

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode Description
StereoViewChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

The stereo view changed.

Private Methods

Méthode 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 méthode

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. ///
Résultat void

BindViewports() public méthode

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]. ///
Résultat void

Clear() public méthode

Clears the children collection.
public Clear ( ) : void
Résultat void

ExportKerkythea() public méthode

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. ///
Résultat void

StereoViewChanged() protected static méthode

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. ///
Résultat void

SynchronizeStereoModel() public méthode

Synchronizes the stereo model.
public SynchronizeStereoModel ( ) : void
Résultat void

UpdateCameras() public méthode

Updates the cameras.
public UpdateCameras ( ) : void
Résultat void

Property Details

CameraProperty public_oe static_oe property

Identifies the Camera dependency property.
public static DependencyProperty,System.Windows CameraProperty
Résultat System.Windows.DependencyProperty

CameraRotationModeProperty public_oe static_oe property

Identifies the CameraRotationMode dependency property.
public static DependencyProperty,System.Windows CameraRotationModeProperty
Résultat System.Windows.DependencyProperty

CopyDirectionVectorProperty public_oe static_oe property

Identifies the CopyDirectionVector dependency property.
public static DependencyProperty,System.Windows CopyDirectionVectorProperty
Résultat System.Windows.DependencyProperty

CopyUpVectorProperty public_oe static_oe property

Identifies the CopyUpVector dependency property.
public static DependencyProperty,System.Windows CopyUpVectorProperty
Résultat System.Windows.DependencyProperty

CrossViewingProperty public_oe static_oe property

Identifies the CrossViewing dependency property.
public static DependencyProperty,System.Windows CrossViewingProperty
Résultat System.Windows.DependencyProperty

StereoBaseProperty public_oe static_oe property

Identifies the StereoBase dependency property.
public static DependencyProperty,System.Windows StereoBaseProperty
Résultat System.Windows.DependencyProperty