C# Класс HelixToolkit.Wpf.BindableTranslateManipulator

Represents a visual element that contains a manipulator that can translate along an axis.
Наследование: Manipulator
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
DiameterProperty System.Windows.DependencyProperty
DirectionProperty System.Windows.DependencyProperty
LengthProperty System.Windows.DependencyProperty

Защищенные методы

Метод Описание
OnGeometryChanged ( ) : void

Called when geometry has been 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

Updates the TargetTransform in addition to updating position.

OnValueChanged ( System.Windows.DependencyPropertyChangedEventArgs e ) : void

Moves the Manipulator position by the change in value along the direction vector.

Приватные методы

Метод Описание
GetNearestPoint ( Point position, System.Windows.Media.Media3D.Point3D hitPlaneOrigin, System.Windows.Media.Media3D.Vector3D hitPlaneNormal ) : Point3D?

Gets the nearest point on the translation axis.

Описание методов

OnGeometryChanged() защищенный Метод

Called when geometry has been changed.
protected OnGeometryChanged ( ) : void
Результат void

OnMouseDown() защищенный Метод

The on mouse down.
protected OnMouseDown ( System.Windows.Input.MouseButtonEventArgs e ) : void
e System.Windows.Input.MouseButtonEventArgs /// The event arguments. ///
Результат void

OnMouseMove() защищенный Метод

The on mouse move.
protected OnMouseMove ( System.Windows.Input.MouseEventArgs e ) : void
e System.Windows.Input.MouseEventArgs /// The event arguments. ///
Результат void

OnPositionChanged() защищенный Метод

Updates the TargetTransform in addition to updating position.
protected OnPositionChanged ( System.Windows.DependencyPropertyChangedEventArgs e ) : void
e System.Windows.DependencyPropertyChangedEventArgs /// The instance containing the event data. ///
Результат void

OnValueChanged() защищенный Метод

Moves the Manipulator position by the change in value along the direction vector.
protected OnValueChanged ( System.Windows.DependencyPropertyChangedEventArgs e ) : void
e System.Windows.DependencyPropertyChangedEventArgs /// The instance containing the event data. ///
Результат void

Описание свойств

DiameterProperty публичное статическое свойство

Identifies the Diameter dependency property.
public static DependencyProperty,System.Windows DiameterProperty
Результат System.Windows.DependencyProperty

DirectionProperty публичное статическое свойство

Identifies the Direction dependency property.
public static DependencyProperty,System.Windows DirectionProperty
Результат System.Windows.DependencyProperty

LengthProperty публичное статическое свойство

Identifies the Length dependency property.
public static DependencyProperty,System.Windows LengthProperty
Результат System.Windows.DependencyProperty