C# 클래스 HelixToolkit.Wpf.Manipulator

An abstract base class for manipulators.
상속: System.Windows.UIElement3D
파일 보기 프로젝트 열기: litdev1/LitDev

공개 프로퍼티들

프로퍼티 타입 설명
ColorProperty System.Windows.DependencyProperty
OffsetProperty System.Windows.DependencyProperty
PositionProperty System.Windows.DependencyProperty
TargetTransformProperty System.Windows.DependencyProperty
ValueProperty System.Windows.DependencyProperty

공개 메소드들

메소드 설명
Bind ( System.Windows.Media.Media3D.ModelVisual3D source ) : void

Binds this manipulator to a given Visual3D.

UnBind ( ) : void

Releases the binding of this manipulator.

보호된 메소드들

메소드 설명
GeometryChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Called when Geometry is changed.

GetHitPlanePoint ( Point p, System.Windows.Media.Media3D.Point3D hitPlaneOrigin, System.Windows.Media.Media3D.Vector3D hitPlaneNormal ) : Point3D?

Projects the point on the hit plane.

Manipulator ( ) : System.Windows

Initializes a new instance of the Manipulator class.

OnGeometryChanged ( ) : void

Called when the geometry changed.

OnMouseDown ( System.Windows.Input.MouseButtonEventArgs e ) : void

The on mouse down.

OnMouseUp ( System.Windows.Input.MouseButtonEventArgs e ) : void

The on mouse up.

OnPositionChanged ( System.Windows.DependencyPropertyChangedEventArgs e ) : void

Called when position is changed.

OnValueChanged ( System.Windows.DependencyPropertyChangedEventArgs e ) : void

Called when value is changed.

ToLocal ( System.Windows.Media.Media3D.Point3D worldPoint ) : System.Windows.Media.Media3D.Point3D

Transforms from world to local coordinates.

ToWorld ( System.Windows.Media.Media3D.Point3D point ) : System.Windows.Media.Media3D.Point3D

Transforms from local to world coordinates.

ToWorld ( System.Windows.Media.Media3D.Vector3D vector ) : System.Windows.Media.Media3D.Vector3D

Transforms from local to world coordinates.

비공개 메소드들

메소드 설명
ColorChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

The color changed.

OnColorChanged ( ) : void

The on color changed.

PositionChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Called when position has been changed.

ValueChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Called when value has been changed.

메소드 상세

Bind() 공개 메소드

Binds this manipulator to a given Visual3D.
public Bind ( System.Windows.Media.Media3D.ModelVisual3D source ) : void
source System.Windows.Media.Media3D.ModelVisual3D /// Source Visual3D which receives the manipulator transforms. ///
리턴 void

GeometryChanged() 보호된 정적인 메소드

Called when Geometry is changed.
protected static GeometryChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
d System.Windows.DependencyObject /// The sender. ///
e System.Windows.DependencyPropertyChangedEventArgs /// The instance containing the event data. ///
리턴 void

GetHitPlanePoint() 보호된 메소드

Projects the point on the hit plane.
protected GetHitPlanePoint ( Point p, System.Windows.Media.Media3D.Point3D hitPlaneOrigin, System.Windows.Media.Media3D.Vector3D hitPlaneNormal ) : Point3D?
p System.Windows.Point /// The p. ///
hitPlaneOrigin System.Windows.Media.Media3D.Point3D /// The hit Plane Origin. ///
hitPlaneNormal System.Windows.Media.Media3D.Vector3D /// The hit plane normal (world coordinate system). ///
리턴 Point3D?

Manipulator() 보호된 메소드

Initializes a new instance of the Manipulator class.
protected Manipulator ( ) : System.Windows
리턴 System.Windows

OnGeometryChanged() 보호된 추상적인 메소드

Called when the geometry changed.
protected abstract 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

OnMouseUp() 보호된 메소드

The on mouse up.
protected OnMouseUp ( System.Windows.Input.MouseButtonEventArgs e ) : void
e System.Windows.Input.MouseButtonEventArgs /// The event arguments. ///
리턴 void

OnPositionChanged() 보호된 메소드

Called when position is changed.
protected OnPositionChanged ( System.Windows.DependencyPropertyChangedEventArgs e ) : void
e System.Windows.DependencyPropertyChangedEventArgs /// The e. ///
리턴 void

OnValueChanged() 보호된 메소드

Called when value is changed.
protected OnValueChanged ( System.Windows.DependencyPropertyChangedEventArgs e ) : void
e System.Windows.DependencyPropertyChangedEventArgs /// The e. ///
리턴 void

ToLocal() 보호된 메소드

Transforms from world to local coordinates.
protected ToLocal ( System.Windows.Media.Media3D.Point3D worldPoint ) : System.Windows.Media.Media3D.Point3D
worldPoint System.Windows.Media.Media3D.Point3D /// The point (world coordinates). ///
리턴 System.Windows.Media.Media3D.Point3D

ToWorld() 보호된 메소드

Transforms from local to world coordinates.
protected ToWorld ( System.Windows.Media.Media3D.Point3D point ) : System.Windows.Media.Media3D.Point3D
point System.Windows.Media.Media3D.Point3D /// The point (local coordinates). ///
리턴 System.Windows.Media.Media3D.Point3D

ToWorld() 보호된 메소드

Transforms from local to world coordinates.
protected ToWorld ( System.Windows.Media.Media3D.Vector3D vector ) : System.Windows.Media.Media3D.Vector3D
vector System.Windows.Media.Media3D.Vector3D /// The vector (local coordinates). ///
리턴 System.Windows.Media.Media3D.Vector3D

UnBind() 공개 메소드

Releases the binding of this manipulator.
public UnBind ( ) : void
리턴 void

프로퍼티 상세

ColorProperty 공개적으로 정적으로 프로퍼티

Identifies the Color dependency property.
public static DependencyProperty,System.Windows ColorProperty
리턴 System.Windows.DependencyProperty

OffsetProperty 공개적으로 정적으로 프로퍼티

Identifies the Offset dependency property.
public static DependencyProperty,System.Windows OffsetProperty
리턴 System.Windows.DependencyProperty

PositionProperty 공개적으로 정적으로 프로퍼티

Identifies the Position dependency property.
public static DependencyProperty,System.Windows PositionProperty
리턴 System.Windows.DependencyProperty

TargetTransformProperty 공개적으로 정적으로 프로퍼티

Identifies the TargetTransform dependency property.
public static DependencyProperty,System.Windows TargetTransformProperty
리턴 System.Windows.DependencyProperty

ValueProperty 공개적으로 정적으로 프로퍼티

Identifies the Value dependency property.
public static DependencyProperty,System.Windows ValueProperty
리턴 System.Windows.DependencyProperty