Table of Contents

Class TranslateManipulator

Namespace
HelixToolkit.Wpf
Assembly
HelixToolkit.Wpf.dll

Represents a visual element that contains a manipulator that can translate along an axis.

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

Fields

DiameterProperty

Identifies the Diameter dependency property.

public static readonly DependencyProperty DiameterProperty

Field Value

DependencyProperty

DirectionProperty

Identifies the Direction dependency property.

public static readonly DependencyProperty DirectionProperty

Field Value

DependencyProperty

LengthProperty

Identifies the Length dependency property.

public static readonly DependencyProperty LengthProperty

Field Value

DependencyProperty

Properties

Diameter

Gets or sets the diameter of the manipulator arrow.

public double Diameter { get; set; }

Property Value

double

The diameter.

Direction

Gets or sets the direction of the translation.

public Vector3D Direction { get; set; }

Property Value

Vector3D

The direction.

Length

Gets or sets the length of the manipulator arrow.

public double Length { get; set; }

Property Value

double

The length.

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.

UpdateGeometry()

Updates the geometry.

protected override void UpdateGeometry()