C# 클래스 HelixToolkit.Wpf.RotateHandler

Handles rotation.
상속: MouseGestureHandler
파일 보기 프로젝트 열기: litdev1/LitDev 1 사용 예제들

공개 메소드들

메소드 설명
Completed ( HelixToolkit.Wpf.ManipulationEventArgs e ) : void

Occurs when the manipulation is completed.

Delta ( HelixToolkit.Wpf.ManipulationEventArgs e ) : void

Occurs when the position is changed during a manipulation.

LookAt ( System.Windows.Media.Media3D.Point3D target, double animationTime ) : void

Change the "look-at" point.

Rotate ( Point p0, Point p1, System.Windows.Media.Media3D.Point3D rotateAround ) : void

Rotate the camera around the specified point.

Rotate ( System.Windows.Vector delta ) : void

The rotate.

RotateHandler ( CameraController controller, bool changeLookAt = false ) : System

Initializes a new instance of the RotateHandler class.

RotateTurnball ( Point p1, Point p2, System.Windows.Media.Media3D.Point3D rotateAround ) : void

Rotate around three axes.

RotateTurntable ( System.Windows.Vector delta, System.Windows.Media.Media3D.Point3D rotateAround ) : void

Rotate camera using 'Turntable' rotation.

Started ( HelixToolkit.Wpf.ManipulationEventArgs e ) : void

Occurs when the manipulation is started.

보호된 메소드들

메소드 설명
CanExecute ( ) : bool

The can execute.

GetCursor ( ) : System.Windows.Input.Cursor

Gets the cursor.

OnInertiaStarting ( int elapsedTime ) : void

Called when inertia is starting.

비공개 메소드들

메소드 설명
InitTurnballRotationAxes ( Point p1 ) : void

The init turnball rotation axes.

ProjectToTrackball ( Point point, double w, double h ) : System.Windows.Media.Media3D.Vector3D

Projects a screen position to the trackball unit sphere.

RotateAroundUpAndRight ( Point p1, Point p2, System.Windows.Media.Media3D.Point3D rotateAround ) : void

Rotates around the camera up and right axes.

RotateTrackball ( Point p1, Point p2, System.Windows.Media.Media3D.Point3D rotateAround ) : void

The rotate trackball.

메소드 상세

CanExecute() 보호된 메소드

The can execute.
protected CanExecute ( ) : bool
리턴 bool

Completed() 공개 메소드

Occurs when the manipulation is completed.
public Completed ( HelixToolkit.Wpf.ManipulationEventArgs e ) : void
e HelixToolkit.Wpf.ManipulationEventArgs The instance containing the event data.
리턴 void

Delta() 공개 메소드

Occurs when the position is changed during a manipulation.
public Delta ( HelixToolkit.Wpf.ManipulationEventArgs e ) : void
e HelixToolkit.Wpf.ManipulationEventArgs The instance containing the event data.
리턴 void

GetCursor() 보호된 메소드

Gets the cursor.
protected GetCursor ( ) : System.Windows.Input.Cursor
리턴 System.Windows.Input.Cursor

LookAt() 공개 메소드

Change the "look-at" point.
public LookAt ( System.Windows.Media.Media3D.Point3D target, double animationTime ) : void
target System.Windows.Media.Media3D.Point3D /// The target. ///
animationTime double /// The animation time. ///
리턴 void

OnInertiaStarting() 보호된 메소드

Called when inertia is starting.
protected OnInertiaStarting ( int elapsedTime ) : void
elapsedTime int /// The elapsed time. ///
리턴 void

Rotate() 공개 메소드

Rotate the camera around the specified point.
public Rotate ( Point p0, Point p1, System.Windows.Media.Media3D.Point3D rotateAround ) : void
p0 Point /// The p 0. ///
p1 Point /// The p 1. ///
rotateAround System.Windows.Media.Media3D.Point3D /// The rotate around. ///
리턴 void

Rotate() 공개 메소드

The rotate.
public Rotate ( System.Windows.Vector delta ) : void
delta System.Windows.Vector /// The delta. ///
리턴 void

RotateHandler() 공개 메소드

Initializes a new instance of the RotateHandler class.
public RotateHandler ( CameraController controller, bool changeLookAt = false ) : System
controller CameraController /// The controller. ///
changeLookAt bool /// The change look at. ///
리턴 System

RotateTurnball() 공개 메소드

Rotate around three axes.
public RotateTurnball ( Point p1, Point p2, System.Windows.Media.Media3D.Point3D rotateAround ) : void
p1 Point /// The previous mouse position. ///
p2 Point /// The current mouse position. ///
rotateAround System.Windows.Media.Media3D.Point3D /// The point to rotate around. ///
리턴 void

RotateTurntable() 공개 메소드

Rotate camera using 'Turntable' rotation.
public RotateTurntable ( System.Windows.Vector delta, System.Windows.Media.Media3D.Point3D rotateAround ) : void
delta System.Windows.Vector /// The relative change in position. ///
rotateAround System.Windows.Media.Media3D.Point3D /// The point to rotate around. ///
리턴 void

Started() 공개 메소드

Occurs when the manipulation is started.
public Started ( HelixToolkit.Wpf.ManipulationEventArgs e ) : void
e HelixToolkit.Wpf.ManipulationEventArgs The instance containing the event data.
리턴 void