Table of Contents

Class BindableRotateManipulator

Namespace
HelixToolkit.Wpf
Assembly
HelixToolkit.Wpf.dll

Represents a visual element containing a manipulator that can rotate around an axis.

public class BindableRotateManipulator : Manipulator, IAnimatable, IInputElement
Inheritance
BindableRotateManipulator
Implements
Inherited Members
Extension Methods

Constructors

BindableRotateManipulator()

Initializes a new instance of the BindableRotateManipulator class.

public BindableRotateManipulator()

Fields

AxisProperty

Identifies the Axis dependency property.

public static readonly DependencyProperty AxisProperty

Field Value

DependencyProperty

DiameterProperty

Identifies the Diameter dependency property.

public static readonly DependencyProperty DiameterProperty

Field Value

DependencyProperty

InnerDiameterProperty

Identifies the InnerDiameter dependency property.

public static readonly DependencyProperty InnerDiameterProperty

Field Value

DependencyProperty

LengthProperty

Identifies the Length dependency property.

public static readonly DependencyProperty LengthProperty

Field Value

DependencyProperty

PivotProperty

Identifies the Pivot dependency property.

public static readonly DependencyProperty PivotProperty

Field Value

DependencyProperty

Properties

Axis

Gets or sets the rotation axis.

public Vector3D Axis { get; set; }

Property Value

Vector3D

The axis.

Diameter

Gets or sets the diameter.

public double Diameter { get; set; }

Property Value

double

The diameter.

InnerDiameter

Gets or sets the inner diameter.

public double InnerDiameter { get; set; }

Property Value

double

The inner diameter.

InternalPivotPoint

Gets or sets the internal pivot point.

protected Point3D InternalPivotPoint { get; set; }

Property Value

Point3D

Length

Gets or sets the length of the cylinder.

public double Length { get; set; }

Property Value

double

The length.

Pivot

Gets or sets the pivot point of the manipulator.

public Point3D Pivot { get; set; }

Property Value

Point3D

The position.

Methods

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.

OnMouseMove(MouseEventArgs)

Invoked when an unhandled System.Windows.Input.Mouse.MouseMove 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 OnMouseMove(MouseEventArgs e)

Parameters

e MouseEventArgs

The MouseEventArgs that contains the event data.

PositionChanged(DependencyPropertyChangedEventArgs)

Handles changes in the Position property.

protected override void PositionChanged(DependencyPropertyChangedEventArgs e)

Parameters

e DependencyPropertyChangedEventArgs

The DependencyPropertyChangedEventArgs instance containing the event data.

UpdateGeometry()

Updates the geometry.

protected override void UpdateGeometry()

ValueChanged(DependencyPropertyChangedEventArgs)

Updates the target transform by the change in rotation value.

protected override void ValueChanged(DependencyPropertyChangedEventArgs e)

Parameters

e DependencyPropertyChangedEventArgs

The DependencyPropertyChangedEventArgs instance containing the event data.