ICSV - Image Color Similarity Visualization
Vienna Technical University - Course 'Visualization 2'. Author: Stefan Spelitz (0925601)
XnaGeometry.Quaternion Struct Reference

XnaGeometry from http://www.technologicalutopia.com/sourcecode/xnageometry/ Modified by Spelitz: Method 'ToMatrix' was incorrect. More...

Inheritance diagram for XnaGeometry.Quaternion:

Public Member Functions

 Quaternion (double x, double y, double z, double w)
 
 Quaternion (Vector3 vectorPart, double scalarPart)
 
void Conjugate ()
 
override bool Equals (object obj)
 
bool Equals (Quaternion other)
 
override int GetHashCode ()
 
double Length ()
 
double LengthSquared ()
 
void Normalize ()
 
override string ToString ()
 

Static Public Member Functions

static Quaternion Add (Quaternion quaternion1, Quaternion quaternion2)
 
static void Add (ref Quaternion quaternion1, ref Quaternion quaternion2, out Quaternion result)
 
static Quaternion Concatenate (Quaternion value1, Quaternion value2)
 
static void Concatenate (ref Quaternion value1, ref Quaternion value2, out Quaternion result)
 
static Quaternion Conjugate (Quaternion value)
 
static void Conjugate (ref Quaternion value, out Quaternion result)
 
static Quaternion CreateFromAxisAngle (Vector3 axis, double angle)
 
static void CreateFromAxisAngle (ref Vector3 axis, double angle, out Quaternion result)
 
static Quaternion CreateFromRotationMatrix (Matrix matrix)
 
static void CreateFromRotationMatrix (ref Matrix matrix, out Quaternion result)
 
static Quaternion CreateFromYawPitchRoll (double yaw, double pitch, double roll)
 
static void CreateFromYawPitchRoll (double yaw, double pitch, double roll, out Quaternion result)
 
static Quaternion Divide (Quaternion quaternion1, Quaternion quaternion2)
 
static void Divide (ref Quaternion quaternion1, ref Quaternion quaternion2, out Quaternion result)
 
static double Dot (Quaternion quaternion1, Quaternion quaternion2)
 
static void Dot (ref Quaternion quaternion1, ref Quaternion quaternion2, out double result)
 
static Quaternion Inverse (Quaternion quaternion)
 
static void Inverse (ref Quaternion quaternion, out Quaternion result)
 
static Quaternion Lerp (Quaternion quaternion1, Quaternion quaternion2, double amount)
 
static void Lerp (ref Quaternion quaternion1, ref Quaternion quaternion2, double amount, out Quaternion result)
 
static Quaternion Slerp (Quaternion quaternion1, Quaternion quaternion2, double amount)
 
static void Slerp (ref Quaternion quaternion1, ref Quaternion quaternion2, double amount, out Quaternion result)
 
static Quaternion Subtract (Quaternion quaternion1, Quaternion quaternion2)
 
static void Subtract (ref Quaternion quaternion1, ref Quaternion quaternion2, out Quaternion result)
 
static Quaternion Multiply (Quaternion quaternion1, Quaternion quaternion2)
 
static Quaternion Multiply (Quaternion quaternion1, double scaleFactor)
 
static void Multiply (ref Quaternion quaternion1, double scaleFactor, out Quaternion result)
 
static void Multiply (ref Quaternion quaternion1, ref Quaternion quaternion2, out Quaternion result)
 
static Quaternion Negate (Quaternion quaternion)
 
static void Negate (ref Quaternion quaternion, out Quaternion result)
 
static Quaternion Normalize (Quaternion quaternion)
 
static void Normalize (ref Quaternion quaternion, out Quaternion result)
 
static Quaternion operator+ (Quaternion quaternion1, Quaternion quaternion2)
 
static Quaternion operator/ (Quaternion quaternion1, Quaternion quaternion2)
 
static bool operator== (Quaternion quaternion1, Quaternion quaternion2)
 
static bool operator!= (Quaternion quaternion1, Quaternion quaternion2)
 
static Quaternion operator* (Quaternion quaternion1, Quaternion quaternion2)
 
static Quaternion operator* (Quaternion quaternion1, double scaleFactor)
 
static Quaternion operator- (Quaternion quaternion1, Quaternion quaternion2)
 
static Quaternion operator- (Quaternion quaternion)
 

Public Attributes

double X
 
double Y
 
double Z
 
double W
 

Static Public Attributes

static Quaternion identity = new Quaternion(0, 0, 0, 1)
 

Properties

static Quaternion Identity [get]
 

Detailed Description

XnaGeometry from http://www.technologicalutopia.com/sourcecode/xnageometry/ Modified by Spelitz: Method 'ToMatrix' was incorrect.

Constructor & Destructor Documentation

XnaGeometry.Quaternion.Quaternion ( double  x,
double  y,
double  z,
double  w 
)
XnaGeometry.Quaternion.Quaternion ( Vector3  vectorPart,
double  scalarPart 
)

Member Function Documentation

static Quaternion XnaGeometry.Quaternion.Add ( Quaternion  quaternion1,
Quaternion  quaternion2 
)
static
static void XnaGeometry.Quaternion.Add ( ref Quaternion  quaternion1,
ref Quaternion  quaternion2,
out Quaternion  result 
)
static
static Quaternion XnaGeometry.Quaternion.Concatenate ( Quaternion  value1,
Quaternion  value2 
)
static
static void XnaGeometry.Quaternion.Concatenate ( ref Quaternion  value1,
ref Quaternion  value2,
out Quaternion  result 
)
static
void XnaGeometry.Quaternion.Conjugate ( )
static Quaternion XnaGeometry.Quaternion.Conjugate ( Quaternion  value)
static
static void XnaGeometry.Quaternion.Conjugate ( ref Quaternion  value,
out Quaternion  result 
)
static
static Quaternion XnaGeometry.Quaternion.CreateFromAxisAngle ( Vector3  axis,
double  angle 
)
static
static void XnaGeometry.Quaternion.CreateFromAxisAngle ( ref Vector3  axis,
double  angle,
out Quaternion  result 
)
static
static Quaternion XnaGeometry.Quaternion.CreateFromRotationMatrix ( Matrix  matrix)
static
static void XnaGeometry.Quaternion.CreateFromRotationMatrix ( ref Matrix  matrix,
out Quaternion  result 
)
static
static Quaternion XnaGeometry.Quaternion.CreateFromYawPitchRoll ( double  yaw,
double  pitch,
double  roll 
)
static
static void XnaGeometry.Quaternion.CreateFromYawPitchRoll ( double  yaw,
double  pitch,
double  roll,
out Quaternion  result 
)
static
static Quaternion XnaGeometry.Quaternion.Divide ( Quaternion  quaternion1,
Quaternion  quaternion2 
)
static
static void XnaGeometry.Quaternion.Divide ( ref Quaternion  quaternion1,
ref Quaternion  quaternion2,
out Quaternion  result 
)
static
static double XnaGeometry.Quaternion.Dot ( Quaternion  quaternion1,
Quaternion  quaternion2 
)
static
static void XnaGeometry.Quaternion.Dot ( ref Quaternion  quaternion1,
ref Quaternion  quaternion2,
out double  result 
)
static
override bool XnaGeometry.Quaternion.Equals ( object  obj)
bool XnaGeometry.Quaternion.Equals ( Quaternion  other)
override int XnaGeometry.Quaternion.GetHashCode ( )
static Quaternion XnaGeometry.Quaternion.Inverse ( Quaternion  quaternion)
static
static void XnaGeometry.Quaternion.Inverse ( ref Quaternion  quaternion,
out Quaternion  result 
)
static
double XnaGeometry.Quaternion.Length ( )
double XnaGeometry.Quaternion.LengthSquared ( )
static Quaternion XnaGeometry.Quaternion.Lerp ( Quaternion  quaternion1,
Quaternion  quaternion2,
double  amount 
)
static
static void XnaGeometry.Quaternion.Lerp ( ref Quaternion  quaternion1,
ref Quaternion  quaternion2,
double  amount,
out Quaternion  result 
)
static
static Quaternion XnaGeometry.Quaternion.Multiply ( Quaternion  quaternion1,
Quaternion  quaternion2 
)
static
static Quaternion XnaGeometry.Quaternion.Multiply ( Quaternion  quaternion1,
double  scaleFactor 
)
static
static void XnaGeometry.Quaternion.Multiply ( ref Quaternion  quaternion1,
double  scaleFactor,
out Quaternion  result 
)
static
static void XnaGeometry.Quaternion.Multiply ( ref Quaternion  quaternion1,
ref Quaternion  quaternion2,
out Quaternion  result 
)
static
static Quaternion XnaGeometry.Quaternion.Negate ( Quaternion  quaternion)
static
static void XnaGeometry.Quaternion.Negate ( ref Quaternion  quaternion,
out Quaternion  result 
)
static
void XnaGeometry.Quaternion.Normalize ( )
static Quaternion XnaGeometry.Quaternion.Normalize ( Quaternion  quaternion)
static
static void XnaGeometry.Quaternion.Normalize ( ref Quaternion  quaternion,
out Quaternion  result 
)
static
static bool XnaGeometry.Quaternion.operator!= ( Quaternion  quaternion1,
Quaternion  quaternion2 
)
static
static Quaternion XnaGeometry.Quaternion.operator* ( Quaternion  quaternion1,
Quaternion  quaternion2 
)
static
static Quaternion XnaGeometry.Quaternion.operator* ( Quaternion  quaternion1,
double  scaleFactor 
)
static
static Quaternion XnaGeometry.Quaternion.operator+ ( Quaternion  quaternion1,
Quaternion  quaternion2 
)
static
static Quaternion XnaGeometry.Quaternion.operator- ( Quaternion  quaternion1,
Quaternion  quaternion2 
)
static
static Quaternion XnaGeometry.Quaternion.operator- ( Quaternion  quaternion)
static
static Quaternion XnaGeometry.Quaternion.operator/ ( Quaternion  quaternion1,
Quaternion  quaternion2 
)
static
static bool XnaGeometry.Quaternion.operator== ( Quaternion  quaternion1,
Quaternion  quaternion2 
)
static
static Quaternion XnaGeometry.Quaternion.Slerp ( Quaternion  quaternion1,
Quaternion  quaternion2,
double  amount 
)
static
static void XnaGeometry.Quaternion.Slerp ( ref Quaternion  quaternion1,
ref Quaternion  quaternion2,
double  amount,
out Quaternion  result 
)
static
static Quaternion XnaGeometry.Quaternion.Subtract ( Quaternion  quaternion1,
Quaternion  quaternion2 
)
static
static void XnaGeometry.Quaternion.Subtract ( ref Quaternion  quaternion1,
ref Quaternion  quaternion2,
out Quaternion  result 
)
static
override string XnaGeometry.Quaternion.ToString ( )

Member Data Documentation

Quaternion XnaGeometry.Quaternion.identity = new Quaternion(0, 0, 0, 1)
static
double XnaGeometry.Quaternion.W
double XnaGeometry.Quaternion.X
double XnaGeometry.Quaternion.Y
double XnaGeometry.Quaternion.Z

Property Documentation

Quaternion XnaGeometry.Quaternion.Identity
staticget