#include <iso_math_matrix3.h>
Inherits iso::math::Matrix< Type >< Type >.
Inheritance diagram for iso::math::Matrix3< Type >:
Public Member Functions | |
Matrix3 () | |
create zero matrix | |
Matrix3 (Type pValue) | |
create matrix containing identical values | |
Matrix3 (Type *pValues) | |
create matrix | |
template<class Type2> | |
Matrix3 (Type2 *pValues) | |
create matrix | |
Matrix3 (Type p00, Type p01, Type p02, Type p10, Type p11, Type p12, Type p20, Type p21, Type p22) | |
create matrix | |
Matrix3 (const Vector3< Type > &pV0, const Vector3< Type > &pV1, const Vector3< Type > &pV2, bool pColumnMode=false) | |
create matrix | |
template<class Type2> | |
Matrix3 (const Vector3< Type2 > &pV0, const Vector3< Type2 > &pV1, const Vector3< Type2 > &pV2, bool pColumnMode=false) | |
create matrix | |
Matrix3 (const Matrix3< Type > &pMatrix) | |
copy constructor | |
template<class Type2> | |
Matrix3 (const Matrix3< Type2 > &pMatrix) | |
copy constructor | |
Matrix3 (const Matrix< Type > &pMatrix) throw (MathException) | |
copy constructor | |
template<class Type2> | |
Matrix3 (const Matrix< Type2 > &pMatrix) throw (MathException) | |
copy constructor | |
virtual | ~Matrix3 () |
destructor | |
void | set (Type p00, Type p01, Type p02, Type p10, Type p11, Type p12, Type p20, Type p21, Type p22) |
set matrix values | |
void | set (const Vector3< Type > &pV0, const Vector3< Type > &pV1, const Vector3< Type > &pV2, bool pColumnMode=false) |
set matrix values | |
template<class Type2> | |
void | set (const Vector3< Type2 > &pV0, const Vector3< Type2 > &pV1, const Vector3< Type2 > &pV2, bool pColumnMode=false) |
set matrix values | |
Static Public Attributes | |
static const Matrix3< Type > | ZERO |
zero matrix | |
static const Matrix3< Type > | IDENTITY |
identity matrix | |
Friends | |
std::ostream & | operator<< (std::ostream &pOstream, const Matrix3< Type > &pMatrix) |
print matrix information |
class
Created by Daniel Bisig on 7/16/06. Copyright 2006 Daniel Bisig All rights reserved.
iso::math::Matrix3< Type >::Matrix3 | ( | ) |
create zero matrix
iso::math::Matrix3< Type >::Matrix3 | ( | Type | pValue | ) |
create matrix containing identical values
pValue | value |
iso::math::Matrix3< Type >::Matrix3 | ( | Type * | pValues | ) |
create matrix
pValues | values (must be of correct size!) |
create matrix
pValues | values (must be of correct size!) |
iso::math::Matrix3< Type >::Matrix3 | ( | Type | p00, | |
Type | p01, | |||
Type | p02, | |||
Type | p10, | |||
Type | p11, | |||
Type | p12, | |||
Type | p20, | |||
Type | p21, | |||
Type | p22 | |||
) |
create matrix
p00 | value | |
p01 | value | |
p02 | value | |
p10 | value | |
p11 | value | |
p12 | value | |
p20 | value | |
p21 | value | |
p22 | value |
iso::math::Matrix3< Type >::Matrix3 | ( | const Vector3< Type > & | pV0, | |
const Vector3< Type > & | pV1, | |||
const Vector3< Type > & | pV2, | |||
bool | pColumnMode = false | |||
) |
create matrix
pV0 | vector | |
pV1 | vector | |
pV2 | vector | |
pColumnMode | true: vectors represent matrix columns false: vectors represent matrix rows |
iso::math::Matrix3< Type >::Matrix3 | ( | const Vector3< Type2 > & | pV0, | |
const Vector3< Type2 > & | pV1, | |||
const Vector3< Type2 > & | pV2, | |||
bool | pColumnMode = false | |||
) |
create matrix
pV0 | vector | |
pV1 | vector | |
pV2 | vector | |
pColumnMode | true: vectors represent matrix columns false: vectors represent matrix rows |
iso::math::Matrix3< Type >::Matrix3 | ( | const Matrix3< Type > & | pMatrix | ) |
copy constructor
pMatrix | matrix |
iso::math::Matrix3< Type >::Matrix3 | ( | const Matrix3< Type2 > & | pMatrix | ) |
copy constructor
pMatrix | matrix |
iso::math::Matrix3< Type >::Matrix3 | ( | const Matrix< Type > & | pMatrix | ) | throw (MathException) |
iso::math::Matrix3< Type >::Matrix3 | ( | const Matrix< Type2 > & | pMatrix | ) | throw (MathException) |
iso::math::Matrix3< Type >::~Matrix3 | ( | ) | [virtual] |
destructor
void iso::math::Matrix3< Type >::set | ( | Type | p00, | |
Type | p01, | |||
Type | p02, | |||
Type | p10, | |||
Type | p11, | |||
Type | p12, | |||
Type | p20, | |||
Type | p21, | |||
Type | p22 | |||
) |
set matrix values
p00 | value | |
p01 | value | |
p02 | value | |
p10 | value | |
p11 | value | |
p12 | value | |
p20 | value | |
p21 | value | |
p22 | value |
void iso::math::Matrix3< Type >::set | ( | const Vector3< Type > & | pV0, | |
const Vector3< Type > & | pV1, | |||
const Vector3< Type > & | pV2, | |||
bool | pColumnMode = false | |||
) |
set matrix values
pV0 | vector | |
pV1 | vector | |
pV2 | vector | |
pColumnMode | true: vectors represent matrix columns false: vectors represent matrix rows |
void iso::math::Matrix3< Type >::set | ( | const Vector3< Type2 > & | pV0, | |
const Vector3< Type2 > & | pV1, | |||
const Vector3< Type2 > & | pV2, | |||
bool | pColumnMode = false | |||
) |
set matrix values
pV0 | vector | |
pV1 | vector | |
pV2 | vector | |
pColumnMode | true: vectors represent matrix columns false: vectors represent matrix rows |
std::ostream& operator<< | ( | std::ostream & | pOstream, | |
const Matrix3< Type > & | pMatrix | |||
) | [friend] |
print matrix information
pOstream | output stream | |
pMatrix | matrix |
const Matrix3< Type > iso::math::Matrix3< Type >::ZERO [static] |
zero matrix
const Matrix3< Type > iso::math::Matrix3< Type >::IDENTITY [static] |
identity matrix