Class RotateManipulator
- Namespace
- HelixToolkit.Wpf
- Assembly
- HelixToolkit.Wpf.dll
Represents a visual element containing a manipulator that can rotate around an axis.
public class RotateManipulator : Manipulator, IAnimatable, IInputElement
- Inheritance
-
RotateManipulator
- Implements
- Inherited Members
- Extension Methods
Fields
AxisProperty
Identifies the Axis dependency property.
public static readonly DependencyProperty AxisProperty
Field Value
DiameterProperty
Identifies the Diameter dependency property.
public static readonly DependencyProperty DiameterProperty
Field Value
InnerDiameterProperty
Identifies the InnerDiameter dependency property.
public static readonly DependencyProperty InnerDiameterProperty
Field Value
LengthProperty
Identifies the Length dependency property.
public static readonly DependencyProperty LengthProperty
Field Value
PivotProperty
Identifies the Pivot dependency property.
public static readonly DependencyProperty PivotProperty
Field Value
Properties
Axis
Gets or sets the rotation axis.
public Vector3D Axis { get; set; }
Property Value
- Vector3D
The axis.
Diameter
Gets or sets the outer diameter of the manipulator.
public double Diameter { get; set; }
Property Value
- double
The outer diameter.
InnerDiameter
Gets or sets the inner diameter of the manipulator.
public double InnerDiameter { get; set; }
Property Value
- double
The inner diameter.
Length
Gets or sets the length (thickness) of the manipulator.
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
eMouseButtonEventArgsThe 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
eMouseEventArgsThe MouseEventArgs that contains the event data.
UpdateGeometry()
Updates the geometry.
protected override void UpdateGeometry()