C# Class HelixToolkit.Wpf.BindableRotateManipulator

Represents a visual element containing a manipulator that can rotate around an axis.
Inheritance: Manipulator
Show file Open project: litdev1/LitDev

Public Properties

Property Type Description
AxisProperty System.Windows.DependencyProperty
DiameterProperty System.Windows.DependencyProperty
InnerDiameterProperty System.Windows.DependencyProperty
LengthProperty System.Windows.DependencyProperty
PivotProperty System.Windows.DependencyProperty

Public Methods

Method Description
BindableRotateManipulator ( ) : System

Initializes a new instance of the BindableRotateManipulator class.

Protected Methods

Method Description
OnGeometryChanged ( ) : void

Called when the geometry changed.

OnMouseDown ( System.Windows.Input.MouseButtonEventArgs e ) : void

The on mouse down.

OnMouseMove ( System.Windows.Input.MouseEventArgs e ) : void

The on mouse move.

OnPositionChanged ( System.Windows.DependencyPropertyChangedEventArgs e ) : void

Called when position is changed.

OnValueChanged ( System.Windows.DependencyPropertyChangedEventArgs e ) : void

Updates the target transform by the change in rotation value.

Method Details

BindableRotateManipulator() public method

Initializes a new instance of the BindableRotateManipulator class.
public BindableRotateManipulator ( ) : System
return System

OnGeometryChanged() protected method

Called when the geometry changed.
protected OnGeometryChanged ( ) : void
return void

OnMouseDown() protected method

The on mouse down.
protected OnMouseDown ( System.Windows.Input.MouseButtonEventArgs e ) : void
e System.Windows.Input.MouseButtonEventArgs /// The event arguments. ///
return void

OnMouseMove() protected method

The on mouse move.
protected OnMouseMove ( System.Windows.Input.MouseEventArgs e ) : void
e System.Windows.Input.MouseEventArgs /// The event arguments. ///
return void

OnPositionChanged() protected method

Called when position is changed.
protected OnPositionChanged ( System.Windows.DependencyPropertyChangedEventArgs e ) : void
e System.Windows.DependencyPropertyChangedEventArgs /// The instance containing the event data. ///
return void

OnValueChanged() protected method

Updates the target transform by the change in rotation value.
protected OnValueChanged ( System.Windows.DependencyPropertyChangedEventArgs e ) : void
e System.Windows.DependencyPropertyChangedEventArgs /// The instance containing the event data. ///
return void

Property Details

AxisProperty public static property

Identifies the Axis dependency property.
public static DependencyProperty,System.Windows AxisProperty
return System.Windows.DependencyProperty

DiameterProperty public static property

Identifies the Diameter dependency property.
public static DependencyProperty,System.Windows DiameterProperty
return System.Windows.DependencyProperty

InnerDiameterProperty public static property

Identifies the InnerDiameter dependency property.
public static DependencyProperty,System.Windows InnerDiameterProperty
return System.Windows.DependencyProperty

LengthProperty public static property

Identifies the Length dependency property.
public static DependencyProperty,System.Windows LengthProperty
return System.Windows.DependencyProperty

PivotProperty public static property

Identifies the Pivot dependency property.
public static DependencyProperty,System.Windows PivotProperty
return System.Windows.DependencyProperty