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

XnaGeometry from http://www.technologicalutopia.com/sourcecode/xnageometry/ More...

Inheritance diagram for XnaGeometry.Matrix:

Public Member Functions

 Matrix (double m11, double m12, double m13, double m14, double m21, double m22, double m23, double m24, double m31, double m32, double m33, double m34, double m41, double m42, double m43, double m44)
 
double Determinant ()
 
bool Equals (Matrix other)
 
override bool Equals (object obj)
 
override int GetHashCode ()
 
override string ToString ()
 
bool Decompose (out Vector3 scale, out Quaternion rotation, out Vector3 translation)
 

Static Public Member Functions

static double[] ToFloatArray (Matrix mat)
 
static Matrix Add (Matrix matrix1, Matrix matrix2)
 
static void Add (ref Matrix matrix1, ref Matrix matrix2, out Matrix result)
 
static Matrix CreateBillboard (Vector3 objectPosition, Vector3 cameraPosition, Vector3 cameraUpVector, Nullable< Vector3 > cameraForwardVector)
 
static void CreateBillboard (ref Vector3 objectPosition, ref Vector3 cameraPosition, ref Vector3 cameraUpVector, Vector3?cameraForwardVector, out Matrix result)
 
static Matrix CreateConstrainedBillboard (Vector3 objectPosition, Vector3 cameraPosition, Vector3 rotateAxis, Nullable< Vector3 > cameraForwardVector, Nullable< Vector3 > objectForwardVector)
 
static void CreateConstrainedBillboard (ref Vector3 objectPosition, ref Vector3 cameraPosition, ref Vector3 rotateAxis, Vector3?cameraForwardVector, Vector3?objectForwardVector, out Matrix result)
 
static Matrix CreateFromAxisAngle (Vector3 axis, double angle)
 
static void CreateFromAxisAngle (ref Vector3 axis, double angle, out Matrix result)
 
static Matrix CreateFromQuaternion (Quaternion quaternion)
 
static void CreateFromQuaternion (ref Quaternion quaternion, out Matrix result)
 
static Matrix CreateFromYawPitchRoll (double yaw, double pitch, double roll)
 
static void CreateFromYawPitchRoll (double yaw, double pitch, double roll, out Matrix result)
 
static Matrix CreateLookAt (Vector3 cameraPosition, Vector3 cameraTarget, Vector3 cameraUpVector)
 
static void CreateLookAt (ref Vector3 cameraPosition, ref Vector3 cameraTarget, ref Vector3 cameraUpVector, out Matrix result)
 
static Matrix CreateOrthographic (double width, double height, double zNearPlane, double zFarPlane)
 
static void CreateOrthographic (double width, double height, double zNearPlane, double zFarPlane, out Matrix result)
 
static Matrix CreateOrthographicOffCenter (double left, double right, double bottom, double top, double zNearPlane, double zFarPlane)
 
static void CreateOrthographicOffCenter (double left, double right, double bottom, double top, double zNearPlane, double zFarPlane, out Matrix result)
 
static Matrix CreatePerspective (double width, double height, double nearPlaneDistance, double farPlaneDistance)
 
static void CreatePerspective (double width, double height, double nearPlaneDistance, double farPlaneDistance, out Matrix result)
 
static Matrix CreatePerspectiveFieldOfView (double fieldOfView, double aspectRatio, double nearPlaneDistance, double farPlaneDistance)
 
static void CreatePerspectiveFieldOfView (double fieldOfView, double aspectRatio, double nearPlaneDistance, double farPlaneDistance, out Matrix result)
 
static Matrix CreatePerspectiveOffCenter (double left, double right, double bottom, double top, double nearPlaneDistance, double farPlaneDistance)
 
static void CreatePerspectiveOffCenter (double left, double right, double bottom, double top, double nearPlaneDistance, double farPlaneDistance, out Matrix result)
 
static Matrix CreateRotationX (double radians)
 
static void CreateRotationX (double radians, out Matrix result)
 
static Matrix CreateRotationY (double radians)
 
static void CreateRotationY (double radians, out Matrix result)
 
static Matrix CreateRotationZ (double radians)
 
static void CreateRotationZ (double radians, out Matrix result)
 
static Matrix CreateScale (double scale)
 
static void CreateScale (double scale, out Matrix result)
 
static Matrix CreateScale (double xScale, double yScale, double zScale)
 
static void CreateScale (double xScale, double yScale, double zScale, out Matrix result)
 
static Matrix CreateScale (Vector3 scales)
 
static void CreateScale (ref Vector3 scales, out Matrix result)
 
static Matrix CreateTranslation (double xPosition, double yPosition, double zPosition)
 
static void CreateTranslation (ref Vector3 position, out Matrix result)
 
static Matrix CreateTranslation (Vector3 position)
 
static void CreateTranslation (double xPosition, double yPosition, double zPosition, out Matrix result)
 
static Matrix CreateWorld (Vector3 position, Vector3 forward, Vector3 up)
 
static void CreateWorld (ref Vector3 position, ref Vector3 forward, ref Vector3 up, out Matrix result)
 
static Matrix Divide (Matrix matrix1, Matrix matrix2)
 
static void Divide (ref Matrix matrix1, ref Matrix matrix2, out Matrix result)
 
static Matrix Divide (Matrix matrix1, double divider)
 
static void Divide (ref Matrix matrix1, double divider, out Matrix result)
 
static Matrix Invert (Matrix matrix)
 
static void Invert (ref Matrix matrix, out Matrix result)
 
static Matrix Lerp (Matrix matrix1, Matrix matrix2, double amount)
 
static void Lerp (ref Matrix matrix1, ref Matrix matrix2, double amount, out Matrix result)
 
static Matrix Multiply (Matrix matrix1, Matrix matrix2)
 
static void Multiply (ref Matrix matrix1, ref Matrix matrix2, out Matrix result)
 
static Matrix Multiply (Matrix matrix1, double factor)
 
static void Multiply (ref Matrix matrix1, double factor, out Matrix result)
 
static Matrix Negate (Matrix matrix)
 
static void Negate (ref Matrix matrix, out Matrix result)
 
static Matrix operator+ (Matrix matrix1, Matrix matrix2)
 
static Matrix operator/ (Matrix matrix1, Matrix matrix2)
 
static Matrix operator/ (Matrix matrix, double divider)
 
static bool operator== (Matrix matrix1, Matrix matrix2)
 
static bool operator!= (Matrix matrix1, Matrix matrix2)
 
static Matrix operator* (Matrix matrix1, Matrix matrix2)
 
static Matrix operator* (Matrix matrix, double scaleFactor)
 
static Matrix operator- (Matrix matrix1, Matrix matrix2)
 
static Matrix operator- (Matrix matrix)
 
static Matrix Subtract (Matrix matrix1, Matrix matrix2)
 
static void Subtract (ref Matrix matrix1, ref Matrix matrix2, out Matrix result)
 
static Matrix Transpose (Matrix matrix)
 
static void Transpose (ref Matrix matrix, out Matrix result)
 

Public Attributes

double M11
 
double M12
 
double M13
 
double M14
 
double M21
 
double M22
 
double M23
 
double M24
 
double M31
 
double M32
 
double M33
 
double M34
 
double M41
 
double M42
 
double M43
 
double M44
 

Properties

Vector3 Backward [get, set]
 
Vector3 Down [get, set]
 
Vector3 Forward [get, set]
 
static Matrix Identity [get]
 
Vector3 Left [get, set]
 
Vector3 Right [get, set]
 
Vector3 Translation [get, set]
 
Vector3 Up [get, set]
 

Detailed Description

Constructor & Destructor Documentation

XnaGeometry.Matrix.Matrix ( double  m11,
double  m12,
double  m13,
double  m14,
double  m21,
double  m22,
double  m23,
double  m24,
double  m31,
double  m32,
double  m33,
double  m34,
double  m41,
double  m42,
double  m43,
double  m44 
)

Member Function Documentation

static Matrix XnaGeometry.Matrix.Add ( Matrix  matrix1,
Matrix  matrix2 
)
static
static void XnaGeometry.Matrix.Add ( ref Matrix  matrix1,
ref Matrix  matrix2,
out Matrix  result 
)
static
static Matrix XnaGeometry.Matrix.CreateBillboard ( Vector3  objectPosition,
Vector3  cameraPosition,
Vector3  cameraUpVector,
Nullable< Vector3 cameraForwardVector 
)
static
static void XnaGeometry.Matrix.CreateBillboard ( ref Vector3  objectPosition,
ref Vector3  cameraPosition,
ref Vector3  cameraUpVector,
Vector3 cameraForwardVector,
out Matrix  result 
)
static
static Matrix XnaGeometry.Matrix.CreateConstrainedBillboard ( Vector3  objectPosition,
Vector3  cameraPosition,
Vector3  rotateAxis,
Nullable< Vector3 cameraForwardVector,
Nullable< Vector3 objectForwardVector 
)
static
static void XnaGeometry.Matrix.CreateConstrainedBillboard ( ref Vector3  objectPosition,
ref Vector3  cameraPosition,
ref Vector3  rotateAxis,
Vector3 cameraForwardVector,
Vector3 objectForwardVector,
out Matrix  result 
)
static
static Matrix XnaGeometry.Matrix.CreateFromAxisAngle ( Vector3  axis,
double  angle 
)
static
static void XnaGeometry.Matrix.CreateFromAxisAngle ( ref Vector3  axis,
double  angle,
out Matrix  result 
)
static
static Matrix XnaGeometry.Matrix.CreateFromQuaternion ( Quaternion  quaternion)
static
static void XnaGeometry.Matrix.CreateFromQuaternion ( ref Quaternion  quaternion,
out Matrix  result 
)
static
static Matrix XnaGeometry.Matrix.CreateFromYawPitchRoll ( double  yaw,
double  pitch,
double  roll 
)
static
static void XnaGeometry.Matrix.CreateFromYawPitchRoll ( double  yaw,
double  pitch,
double  roll,
out Matrix  result 
)
static
static Matrix XnaGeometry.Matrix.CreateLookAt ( Vector3  cameraPosition,
Vector3  cameraTarget,
Vector3  cameraUpVector 
)
static
static void XnaGeometry.Matrix.CreateLookAt ( ref Vector3  cameraPosition,
ref Vector3  cameraTarget,
ref Vector3  cameraUpVector,
out Matrix  result 
)
static
static Matrix XnaGeometry.Matrix.CreateOrthographic ( double  width,
double  height,
double  zNearPlane,
double  zFarPlane 
)
static
static void XnaGeometry.Matrix.CreateOrthographic ( double  width,
double  height,
double  zNearPlane,
double  zFarPlane,
out Matrix  result 
)
static
static Matrix XnaGeometry.Matrix.CreateOrthographicOffCenter ( double  left,
double  right,
double  bottom,
double  top,
double  zNearPlane,
double  zFarPlane 
)
static
static void XnaGeometry.Matrix.CreateOrthographicOffCenter ( double  left,
double  right,
double  bottom,
double  top,
double  zNearPlane,
double  zFarPlane,
out Matrix  result 
)
static
static Matrix XnaGeometry.Matrix.CreatePerspective ( double  width,
double  height,
double  nearPlaneDistance,
double  farPlaneDistance 
)
static
static void XnaGeometry.Matrix.CreatePerspective ( double  width,
double  height,
double  nearPlaneDistance,
double  farPlaneDistance,
out Matrix  result 
)
static
static Matrix XnaGeometry.Matrix.CreatePerspectiveFieldOfView ( double  fieldOfView,
double  aspectRatio,
double  nearPlaneDistance,
double  farPlaneDistance 
)
static
static void XnaGeometry.Matrix.CreatePerspectiveFieldOfView ( double  fieldOfView,
double  aspectRatio,
double  nearPlaneDistance,
double  farPlaneDistance,
out Matrix  result 
)
static
static Matrix XnaGeometry.Matrix.CreatePerspectiveOffCenter ( double  left,
double  right,
double  bottom,
double  top,
double  nearPlaneDistance,
double  farPlaneDistance 
)
static
static void XnaGeometry.Matrix.CreatePerspectiveOffCenter ( double  left,
double  right,
double  bottom,
double  top,
double  nearPlaneDistance,
double  farPlaneDistance,
out Matrix  result 
)
static
static Matrix XnaGeometry.Matrix.CreateRotationX ( double  radians)
static
static void XnaGeometry.Matrix.CreateRotationX ( double  radians,
out Matrix  result 
)
static
static Matrix XnaGeometry.Matrix.CreateRotationY ( double  radians)
static
static void XnaGeometry.Matrix.CreateRotationY ( double  radians,
out Matrix  result 
)
static
static Matrix XnaGeometry.Matrix.CreateRotationZ ( double  radians)
static
static void XnaGeometry.Matrix.CreateRotationZ ( double  radians,
out Matrix  result 
)
static
static Matrix XnaGeometry.Matrix.CreateScale ( double  scale)
static
static void XnaGeometry.Matrix.CreateScale ( double  scale,
out Matrix  result 
)
static
static Matrix XnaGeometry.Matrix.CreateScale ( double  xScale,
double  yScale,
double  zScale 
)
static
static void XnaGeometry.Matrix.CreateScale ( double  xScale,
double  yScale,
double  zScale,
out Matrix  result 
)
static
static Matrix XnaGeometry.Matrix.CreateScale ( Vector3  scales)
static
static void XnaGeometry.Matrix.CreateScale ( ref Vector3  scales,
out Matrix  result 
)
static
static Matrix XnaGeometry.Matrix.CreateTranslation ( double  xPosition,
double  yPosition,
double  zPosition 
)
static
static void XnaGeometry.Matrix.CreateTranslation ( ref Vector3  position,
out Matrix  result 
)
static
static Matrix XnaGeometry.Matrix.CreateTranslation ( Vector3  position)
static
static void XnaGeometry.Matrix.CreateTranslation ( double  xPosition,
double  yPosition,
double  zPosition,
out Matrix  result 
)
static
static Matrix XnaGeometry.Matrix.CreateWorld ( Vector3  position,
Vector3  forward,
Vector3  up 
)
static
static void XnaGeometry.Matrix.CreateWorld ( ref Vector3  position,
ref Vector3  forward,
ref Vector3  up,
out Matrix  result 
)
static
bool XnaGeometry.Matrix.Decompose ( out Vector3  scale,
out Quaternion  rotation,
out Vector3  translation 
)
double XnaGeometry.Matrix.Determinant ( )
static Matrix XnaGeometry.Matrix.Divide ( Matrix  matrix1,
Matrix  matrix2 
)
static
static void XnaGeometry.Matrix.Divide ( ref Matrix  matrix1,
ref Matrix  matrix2,
out Matrix  result 
)
static
static Matrix XnaGeometry.Matrix.Divide ( Matrix  matrix1,
double  divider 
)
static
static void XnaGeometry.Matrix.Divide ( ref Matrix  matrix1,
double  divider,
out Matrix  result 
)
static
bool XnaGeometry.Matrix.Equals ( Matrix  other)
override bool XnaGeometry.Matrix.Equals ( object  obj)
override int XnaGeometry.Matrix.GetHashCode ( )
static Matrix XnaGeometry.Matrix.Invert ( Matrix  matrix)
static
static void XnaGeometry.Matrix.Invert ( ref Matrix  matrix,
out Matrix  result 
)
static
static Matrix XnaGeometry.Matrix.Lerp ( Matrix  matrix1,
Matrix  matrix2,
double  amount 
)
static
static void XnaGeometry.Matrix.Lerp ( ref Matrix  matrix1,
ref Matrix  matrix2,
double  amount,
out Matrix  result 
)
static
static Matrix XnaGeometry.Matrix.Multiply ( Matrix  matrix1,
Matrix  matrix2 
)
static
static void XnaGeometry.Matrix.Multiply ( ref Matrix  matrix1,
ref Matrix  matrix2,
out Matrix  result 
)
static
static Matrix XnaGeometry.Matrix.Multiply ( Matrix  matrix1,
double  factor 
)
static
static void XnaGeometry.Matrix.Multiply ( ref Matrix  matrix1,
double  factor,
out Matrix  result 
)
static
static Matrix XnaGeometry.Matrix.Negate ( Matrix  matrix)
static
static void XnaGeometry.Matrix.Negate ( ref Matrix  matrix,
out Matrix  result 
)
static
static bool XnaGeometry.Matrix.operator!= ( Matrix  matrix1,
Matrix  matrix2 
)
static
static Matrix XnaGeometry.Matrix.operator* ( Matrix  matrix1,
Matrix  matrix2 
)
static
static Matrix XnaGeometry.Matrix.operator* ( Matrix  matrix,
double  scaleFactor 
)
static
static Matrix XnaGeometry.Matrix.operator+ ( Matrix  matrix1,
Matrix  matrix2 
)
static
static Matrix XnaGeometry.Matrix.operator- ( Matrix  matrix1,
Matrix  matrix2 
)
static
static Matrix XnaGeometry.Matrix.operator- ( Matrix  matrix)
static
static Matrix XnaGeometry.Matrix.operator/ ( Matrix  matrix1,
Matrix  matrix2 
)
static
static Matrix XnaGeometry.Matrix.operator/ ( Matrix  matrix,
double  divider 
)
static
static bool XnaGeometry.Matrix.operator== ( Matrix  matrix1,
Matrix  matrix2 
)
static
static Matrix XnaGeometry.Matrix.Subtract ( Matrix  matrix1,
Matrix  matrix2 
)
static
static void XnaGeometry.Matrix.Subtract ( ref Matrix  matrix1,
ref Matrix  matrix2,
out Matrix  result 
)
static
static double [] XnaGeometry.Matrix.ToFloatArray ( Matrix  mat)
static
override string XnaGeometry.Matrix.ToString ( )
static Matrix XnaGeometry.Matrix.Transpose ( Matrix  matrix)
static
static void XnaGeometry.Matrix.Transpose ( ref Matrix  matrix,
out Matrix  result 
)
static

Member Data Documentation

double XnaGeometry.Matrix.M11
double XnaGeometry.Matrix.M12
double XnaGeometry.Matrix.M13
double XnaGeometry.Matrix.M14
double XnaGeometry.Matrix.M21
double XnaGeometry.Matrix.M22
double XnaGeometry.Matrix.M23
double XnaGeometry.Matrix.M24
double XnaGeometry.Matrix.M31
double XnaGeometry.Matrix.M32
double XnaGeometry.Matrix.M33
double XnaGeometry.Matrix.M34
double XnaGeometry.Matrix.M41
double XnaGeometry.Matrix.M42
double XnaGeometry.Matrix.M43
double XnaGeometry.Matrix.M44

Property Documentation

Vector3 XnaGeometry.Matrix.Backward
getset
Vector3 XnaGeometry.Matrix.Down
getset
Vector3 XnaGeometry.Matrix.Forward
getset
Matrix XnaGeometry.Matrix.Identity
staticget
Vector3 XnaGeometry.Matrix.Left
getset
Vector3 XnaGeometry.Matrix.Right
getset
Vector3 XnaGeometry.Matrix.Translation
getset
Vector3 XnaGeometry.Matrix.Up
getset