Table of Contents

Class AnaglyphView3D

Namespace
HelixToolkit.Wpf
Assembly
HelixToolkit.Wpf.dll

An anaglyph viewer control.

[Localizability(LocalizationCategory.NeverLocalize)]
public class AnaglyphView3D : StereoControl, IAnimatable, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient, IAddChild, IComponentConnector
Inheritance
AnaglyphView3D
Implements
Inherited Members
Extension Methods

Remarks

Petzold's anaglyph space station (using opacity) http://www.charlespetzold.com/3D/ Greg Schechter multi input shader effects (for the AnaglyphEffect) http://blogs.msdn.com/greg_schechter/archive/2008/09/27/a-more-useful-multi-input-effect.aspx Barcinski and Jean-Jean: Making of Part III - Anaglyph http://blog.barcinski-jeanjean.com/2008/10/17/making-of-part-iii-anaglyph/

Constructors

AnaglyphView3D()

Initializes a new instance of the AnaglyphView3D class.

public AnaglyphView3D()

Fields

HorizontalOffsetProperty

Identifies the HorizontalOffset dependency property.

public static readonly DependencyProperty HorizontalOffsetProperty

Field Value

DependencyProperty

MethodProperty

Identifies the Method dependency property.

public static readonly DependencyProperty MethodProperty

Field Value

DependencyProperty

Properties

HorizontalOffset

Gets or sets the horizontal offset.

public double HorizontalOffset { get; set; }

Property Value

double

The horizontal offset.

Method

Gets or sets the method.

public AnaglyphMethod Method { get; set; }

Property Value

AnaglyphMethod

The method.

Methods

InitializeComponent()

InitializeComponent

public void InitializeComponent()

OnKeyDown(KeyEventArgs)

Invoked when an unhandled System.Windows.Input.Keyboard.KeyDown attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

protected override void OnKeyDown(KeyEventArgs e)

Parameters

e KeyEventArgs

The KeyEventArgs that contains the event data.

OnMouseDown(MouseButtonEventArgs)

Invoked when an unhandled System.Windows.Input.Mouse.MouseDown attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

protected override void OnMouseDown(MouseButtonEventArgs e)

Parameters

e MouseButtonEventArgs

The MouseButtonEventArgs that contains the event data. This event data reports details about the mouse button that was pressed and the handled state.