C# Class HelixToolkit.Wpf.TranslateManipulator

A visual element that contains a manipulator that can translate along an axis.
Inheritance: Manipulator
Show file Open project: litdev1/LitDev Class Usage Examples

Public Properties

Property Type Description
DiameterProperty System.Windows.DependencyProperty
DirectionProperty System.Windows.DependencyProperty
LengthProperty System.Windows.DependencyProperty

Protected Methods

Method 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.

Private Methods

Method 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 method

Called when geometry has been changed.
protected OnGeometryChanged ( ) : void
return void

OnMouseDown() protected method

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

OnMouseMove() protected method

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

Property Details

DiameterProperty public static property

Identifies the Diameter dependency property.
public static DependencyProperty,System.Windows DiameterProperty
return System.Windows.DependencyProperty

DirectionProperty public static property

Identifies the Direction dependency property.
public static DependencyProperty,System.Windows DirectionProperty
return System.Windows.DependencyProperty

LengthProperty public static property

Identifies the Length dependency property.
public static DependencyProperty,System.Windows LengthProperty
return System.Windows.DependencyProperty