common::MATRIX Struct Reference [Math Module, Macierz]

Macierz 4 x 4. More...

`#include <Math.hpp>`

List of all members.

Public Member Functions

MATRIX ()
MATRIX (float _11, float _12, float _13, float _14, float _21, float _22, float _23, float _24, float _31, float _32, float _33, float _34, float _41, float _42, float _43, float _44)
MATRIX (const float *Array)
operator float * ()
operator const float * () const
bool operator== (const MATRIX &m) const
bool operator!= (const MATRIX &m) const
float & operator() (unsigned Row, unsigned Col)
float operator() (unsigned Row, unsigned Col) const
MATRIX operator+ () const
MATRIX operator- () const
MATRIX operator+ (const MATRIX &m) const
MATRIX operator- (const MATRIX &m) const
MATRIX operator* (const MATRIX &m) const
MATRIXoperator+= (const MATRIX &m)
MATRIXoperator-= (const MATRIX &m)
MATRIXoperator*= (const MATRIX &m)
MATRIX operator* (float s) const
MATRIX operator/ (float s) const
MATRIXoperator*= (float s)
MATRIXoperator/= (float s)

Public Attributes

union {
struct {
float   _11
float   _12
float   _13
float   _14
float   _21
float   _22
float   _23
float   _24
float   _31
float   _32
float   _33
float   _34
float   _41
float   _42
float   _43
float   _44
}
float   m [4][4]
};

Detailed Description

Macierz 4 x 4.

Elementy są indeksowane [wiersz,kolumna]. Reprezentacja tekstowa to: a11,a12,a13,a14;a21,a22,a23,a24;a31,a32,a33,a34;a41,a42,a43,a44

Constructor & Destructor Documentation

 common::MATRIX::MATRIX ( ) ` [inline]`
 common::MATRIX::MATRIX ( float _11, float _12, float _13, float _14, float _21, float _22, float _23, float _24, float _31, float _32, float _33, float _34, float _41, float _42, float _43, float _44 ) ` [inline]`
 common::MATRIX::MATRIX ( const float * Array ) ` [inline]`

Member Function Documentation

 common::MATRIX::operator const float * ( ) const` [inline]`
 common::MATRIX::operator float * ( ) ` [inline]`
 bool common::MATRIX::operator!= ( const MATRIX & m ) const` [inline]`
 float common::MATRIX::operator() ( unsigned Row, unsigned Col ) const` [inline]`
 float& common::MATRIX::operator() ( unsigned Row, unsigned Col ) ` [inline]`
 MATRIX common::MATRIX::operator* ( float s ) const
 MATRIX common::MATRIX::operator* ( const MATRIX & m ) const` [inline]`
 MATRIX& common::MATRIX::operator*= ( float s )
 MATRIX& common::MATRIX::operator*= ( const MATRIX & m )
 MATRIX common::MATRIX::operator+ ( const MATRIX & m ) const
 MATRIX common::MATRIX::operator+ ( ) const` [inline]`
 MATRIX& common::MATRIX::operator+= ( const MATRIX & m )
 MATRIX common::MATRIX::operator- ( const MATRIX & m ) const
 MATRIX common::MATRIX::operator- ( ) const
 MATRIX& common::MATRIX::operator-= ( const MATRIX & m )
 MATRIX common::MATRIX::operator/ ( float s ) const
 MATRIX& common::MATRIX::operator/= ( float s )
 bool common::MATRIX::operator== ( const MATRIX & m ) const` [inline]`

Member Data Documentation

 union { ... }
 float common::MATRIX::_11
 float common::MATRIX::_12
 float common::MATRIX::_13
 float common::MATRIX::_14
 float common::MATRIX::_21
 float common::MATRIX::_22
 float common::MATRIX::_23
 float common::MATRIX::_24
 float common::MATRIX::_31
 float common::MATRIX::_32
 float common::MATRIX::_33
 float common::MATRIX::_34
 float common::MATRIX::_41
 float common::MATRIX::_42
 float common::MATRIX::_43
 float common::MATRIX::_44
 float common::MATRIX::m[4][4]

The documentation for this struct was generated from the following file:

Generated on Wed Dec 16 20:44:55 2009 for CommonLib by  1.6.1