Public Member Functions | Static Public Member Functions | Public Attributes

GMatrix16 Class Reference

#include <GMatrix16.h>

Inheritance diagram for GMatrix16:
GMathObject GObject

List of all members.

Public Member Functions

 GMatrix16 ()
 matrix contents
 GMatrix16 (const GMatrix16 &m)
 standard constructor, create a null-matrix
 ~GMatrix16 ()
 copy constructor
GMatrix16 operator* (const GMatrix16 &m)
 standard destructor
GMatrix16 operator= (const GMatrix16 &m)
 multiplication with a matrix
GVec4f operator* (const GVec4f &v)
 assign a matrix
GMatrix16operator*= (const GMatrix16 &m)
 multiplication with a vector
GMatrix16 getGlMatrix ()
 short multiplication with a matrix

Static Public Member Functions

static GMatrix16 GetXRotationMatrix (float pitch)
 get matrix as used by openGl
static GMatrix16 GetYRotationMatrix (float yaw)
 get a matrix for rotation around the x-axis
static GMatrix16 GetZRotationMatrix (float azimuth)
 get a matrix for rotation around the y-axis
static GMatrix16 GetTranslationMatrix (float x, float y, float z)
 get a matrix for rotation around the z-axis
static GMatrix16 GetScalingMatrix (float sx, float sy, float sz)
 get a matrix for translation
static GMatrix16 GetUnityMatrix (void)
 get a matrix for scaling
static float GetDeterminant (GMatrix16 *base)
 get a unity matrix
static GMatrix16 GetInverseMatrix (GMatrix16 *base, float determinant)
 get a matrix determinant
static GMatrix16 GetTransposeMatrix (GMatrix16 *base)
 get the inverse of a matrix using a determinant

Public Attributes

float data [16]

Constructor & Destructor Documentation

GMatrix16::GMatrix16 (  ) 

matrix contents

GMatrix16::GMatrix16 ( const GMatrix16 m  ) 

standard constructor, create a null-matrix

GMatrix16::~GMatrix16 (  )  [inline]

copy constructor


Member Function Documentation

float GMatrix16::GetDeterminant ( GMatrix16 base  )  [static]

get a unity matrix

GMatrix16 GMatrix16::getGlMatrix (  ) 

short multiplication with a matrix

GMatrix16 GMatrix16::GetInverseMatrix ( GMatrix16 base,
float  determinant 
) [static]

get a matrix determinant

GMatrix16 GMatrix16::GetScalingMatrix ( float  sx,
float  sy,
float  sz 
) [static]

get a matrix for translation

GMatrix16 GMatrix16::GetTranslationMatrix ( float  x,
float  y,
float  z 
) [static]

get a matrix for rotation around the z-axis

GMatrix16 GMatrix16::GetTransposeMatrix ( GMatrix16 base  )  [static]

get the inverse of a matrix using a determinant

GMatrix16 GMatrix16::GetUnityMatrix ( void   )  [static]

get a matrix for scaling

GMatrix16 GMatrix16::GetXRotationMatrix ( float  pitch  )  [static]

get matrix as used by openGl

GMatrix16 GMatrix16::GetYRotationMatrix ( float  yaw  )  [static]

get a matrix for rotation around the x-axis

GMatrix16 GMatrix16::GetZRotationMatrix ( float  azimuth  )  [static]

get a matrix for rotation around the y-axis

GVec4f GMatrix16::operator* ( const GVec4f v  ) 

assign a matrix

GMatrix16 GMatrix16::operator* ( const GMatrix16 m  ) 

standard destructor

GMatrix16 & GMatrix16::operator*= ( const GMatrix16 m  ) 

multiplication with a vector

GMatrix16 GMatrix16::operator= ( const GMatrix16 m  ) 

multiplication with a matrix


Member Data Documentation

float GMatrix16::data[16]

The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Enumerations Enumerator Friends Defines