Visualization LibraryA lightweight C++ OpenGL middleware for 2D/3D graphics |
[Home] [Tutorials] [All Classes] [Grouped Classes] |
#include <Matrix2.hpp>
Public Member Functions | |
| template<typename T > | |
| Matrix2 (const T &m) | |
| Matrix2 () | |
| Matrix2 (scalar_type n) | |
| Matrix2 (scalar_type e00, scalar_type e01, scalar_type e10, scalar_type e11) | |
| const Vector2< scalar_type > & | operator[] (unsigned int i) const |
| Vector2< scalar_type > & | operator[] (unsigned int i) |
| bool | operator== (const Matrix2 &m) const |
| bool | operator!= (const Matrix2 &m) const |
| Matrix2 & | operator= (const Matrix2 &m) |
| Matrix2 | operator+ (const Matrix2 &m) const |
| Matrix2 & | operator+= (const Matrix2 &m) |
| Matrix2 | operator- (const Matrix2 &m) const |
| Matrix2 & | operator-= (const Matrix2 &m) |
| Matrix2 & | operator*= (const Matrix2 &m) |
| Matrix2 | operator- () const |
| Matrix2 | operator+ (scalar_type d) const |
| Matrix2 & | operator+= (scalar_type d) |
| Matrix2 | operator- (scalar_type d) const |
| Matrix2 & | operator-= (scalar_type d) |
| Matrix2 | operator* (scalar_type d) const |
| Matrix2 & | operator*= (scalar_type d) |
| Matrix2 | operator/ (scalar_type d) const |
| Matrix2 & | operator/= (scalar_type d) |
| bool | isIdentity () const |
| scalar_type * | ptr () |
| const scalar_type * | ptr () const |
| Matrix2 & | transpose () |
| bool | isNull () const |
| void | setIdentity () |
| Matrix2 | inverse (bool *invertible=NULL) const |
| Matrix2 & | invert (bool *invertible=NULL) |
| const scalar_type & | e (int i, int j) const |
| scalar_type & | e (int i, int j) |
Protected Attributes | |
| Vector2< scalar_type > | mVec [2] |
| vl::Matrix2< scalar_type >::Matrix2 | ( | const T & | m | ) | [inline, explicit] |
| vl::Matrix2< scalar_type >::Matrix2 | ( | ) | [inline] |
| vl::Matrix2< scalar_type >::Matrix2 | ( | scalar_type | n | ) | [inline] |
| vl::Matrix2< scalar_type >::Matrix2 | ( | scalar_type | e00, | |
| scalar_type | e01, | |||
| scalar_type | e10, | |||
| scalar_type | e11 | |||
| ) | [inline, explicit] |
| const Vector2<scalar_type>& vl::Matrix2< scalar_type >::operator[] | ( | unsigned int | i | ) | const [inline] |
| Vector2<scalar_type>& vl::Matrix2< scalar_type >::operator[] | ( | unsigned int | i | ) | [inline] |
| bool vl::Matrix2< scalar_type >::operator== | ( | const Matrix2< scalar_type > & | m | ) | const [inline] |
| bool vl::Matrix2< scalar_type >::operator!= | ( | const Matrix2< scalar_type > & | m | ) | const [inline] |
| Matrix2& vl::Matrix2< scalar_type >::operator= | ( | const Matrix2< scalar_type > & | m | ) | [inline] |
| Matrix2 vl::Matrix2< scalar_type >::operator+ | ( | const Matrix2< scalar_type > & | m | ) | const [inline] |
| Matrix2& vl::Matrix2< scalar_type >::operator+= | ( | const Matrix2< scalar_type > & | m | ) | [inline] |
| Matrix2 vl::Matrix2< scalar_type >::operator- | ( | const Matrix2< scalar_type > & | m | ) | const [inline] |
| Matrix2& vl::Matrix2< scalar_type >::operator-= | ( | const Matrix2< scalar_type > & | m | ) | [inline] |
| Matrix2& vl::Matrix2< scalar_type >::operator*= | ( | const Matrix2< scalar_type > & | m | ) | [inline] |
| Matrix2 vl::Matrix2< scalar_type >::operator- | ( | ) | const [inline] |
| Matrix2 vl::Matrix2< scalar_type >::operator+ | ( | scalar_type | d | ) | const [inline] |
| Matrix2& vl::Matrix2< scalar_type >::operator+= | ( | scalar_type | d | ) | [inline] |
| Matrix2 vl::Matrix2< scalar_type >::operator- | ( | scalar_type | d | ) | const [inline] |
| Matrix2& vl::Matrix2< scalar_type >::operator-= | ( | scalar_type | d | ) | [inline] |
| Matrix2 vl::Matrix2< scalar_type >::operator* | ( | scalar_type | d | ) | const [inline] |
| Matrix2& vl::Matrix2< scalar_type >::operator*= | ( | scalar_type | d | ) | [inline] |
| Matrix2 vl::Matrix2< scalar_type >::operator/ | ( | scalar_type | d | ) | const [inline] |
| Matrix2& vl::Matrix2< scalar_type >::operator/= | ( | scalar_type | d | ) | [inline] |
| bool vl::Matrix2< scalar_type >::isIdentity | ( | ) | const [inline] |
| scalar_type* vl::Matrix2< scalar_type >::ptr | ( | ) | [inline] |
| const scalar_type* vl::Matrix2< scalar_type >::ptr | ( | ) | const [inline] |
| Matrix2& vl::Matrix2< scalar_type >::transpose | ( | ) | [inline] |
| bool vl::Matrix2< scalar_type >::isNull | ( | ) | const [inline] |
| void vl::Matrix2< scalar_type >::setIdentity | ( | ) | [inline] |
| Matrix2 vl::Matrix2< scalar_type >::inverse | ( | bool * | invertible = NULL |
) | const [inline] |
| Matrix2& vl::Matrix2< scalar_type >::invert | ( | bool * | invertible = NULL |
) | [inline] |
| const scalar_type& vl::Matrix2< scalar_type >::e | ( | int | i, | |
| int | j | |||
| ) | const [inline] |
| scalar_type& vl::Matrix2< scalar_type >::e | ( | int | i, | |
| int | j | |||
| ) | [inline] |
Vector2<scalar_type> vl::Matrix2< scalar_type >::mVec[2] [protected] |