Goblin - A Platform for 3D AR and VR Applications

ArcBall Members

ArcBall overview

Public Static Methods

QuaternionFromBallPoints Computes a quaternion from ball points

Public Instance Constructors

ArcBall Constructor Create new instance of the arcball class

Public Instance Properties

CurrentQuaternionGets or sets the current quaternion
IsBeingDraggedGets the dragging state
RotationMatrixGets the rotation matrix
TranslationDeltaMatrixGets the translation delta matrix
TranslationMatrixGets the translation matrix

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
HandleMessages Handle messages from the window
OnBegin Begin the arcball 'dragging'
OnEnd Done dragging the arcball
OnMove The arcball is 'moving'
Reset Resets the arcball
ScreenToVector Convert a screen point to a vector
SetWindowOverloaded. Set window paramters
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Fields

center 
currentPt 
downPt 
downQuat 
height 
isDragging 
lastMousePosition 
nowQuat 
radius 
radiusTranslation 
rotation 
translation 
translationDelta 
width 

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

ArcBall Class | Microsoft.Samples.DirectX.UtilityToolkit Namespace