C# Class HelixToolkit.Wpf.BindableTranslateManipulator

Represents a visual element that contains a manipulator that can translate along an axis.
Inheritance: Manipulator
Afficher le fichier Open project: litdev1/LitDev

Méthodes publiques

Свойство Type Description
DiameterProperty System.Windows.DependencyProperty
DirectionProperty System.Windows.DependencyProperty
LengthProperty System.Windows.DependencyProperty

Méthodes protégées

Méthode Description
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.

Private Methods

Méthode Description
GetNearestPoint ( Point position, System.Windows.Media.Media3D.Point3D hitPlaneOrigin, System.Windows.Media.Media3D.Vector3D hitPlaneNormal ) : Point3D?

Gets the nearest point on the translation axis.

Method Details

OnGeometryChanged() protected méthode

Called when geometry has been changed.
protected OnGeometryChanged ( ) : void
Résultat void

OnMouseDown() protected méthode

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

OnMouseMove() protected méthode

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

OnPositionChanged() protected méthode

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. ///
Résultat void

OnValueChanged() protected méthode

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. ///
Résultat void

Property Details

DiameterProperty public_oe static_oe property

Identifies the Diameter dependency property.
public static DependencyProperty,System.Windows DiameterProperty
Résultat System.Windows.DependencyProperty

DirectionProperty public_oe static_oe property

Identifies the Direction dependency property.
public static DependencyProperty,System.Windows DirectionProperty
Résultat System.Windows.DependencyProperty

LengthProperty public_oe static_oe property

Identifies the Length dependency property.
public static DependencyProperty,System.Windows LengthProperty
Résultat System.Windows.DependencyProperty