vcg::Matrix44< T > Class Template Reference

#include <deprecated_matrix44.h>

Inheritance diagram for vcg::Matrix44< T >:
Inheritance graph
[legend]

List of all members.

Public Types

typedef T ScalarType

Protected Attributes

T _a [16]

Matrix33



unsigned int ColumnsNumber () const
 Number of columns.
T Determinant () const
T ElementAt (const int row, const int col) const
TElementAt (const int row, const int col)
void FromEulerAngles (T alpha, T beta, T gamma)
template<class Matrix44Type >
void FromMatrix (const Matrix44Type &m)
Point3< TGetColumn3 (const int &i) const
Point4< TGetColumn4 (const int &i) const
Point3< TGetRow3 (const int &i) const
Point4< TGetRow4 (const int &i) const
template<class Q >
void Import (const Matrix44< Q > &m)
 Matrix44 (const T v[])
 Matrix44 (const Matrix44 &m)
 Matrix44 ()
bool operator!= (const Matrix44 &m) const
Matrix44 operator* (const T k) const
Point4< Toperator* (const Point4< T > &v) const
Matrix44 operator* (const Matrix44Diag< T > &m) const
Matrix44 operator* (const Matrix44 &m) const
void operator*= (const T k)
void operator*= (const Matrix44 &m)
Matrix44 operator+ (const Matrix44 &m) const
void operator+= (const Matrix44 &m)
Matrix44 operator- () const
Matrix44 operator- (const Matrix44 &m) const
void operator-= (const Matrix44 &m)
bool operator== (const Matrix44 &m) const
const Toperator[] (const int i) const
Toperator[] (const int i)
void print ()
unsigned int RowsNumber () const
 Number of rows.
Matrix44< T > & SetColumn (const unsigned int ii, const Point3< T > &t)
Matrix44< T > & SetColumn (const unsigned int ii, const Point4< T > &t)
void SetDiagonal (const T k)
void SetIdentity ()
Matrix44SetRotateDeg (T AngleDeg, const Point3< T > &axis)
 use radiants for angle.
Matrix44SetRotateRad (T AngleRad, const Point3< T > &axis)
Matrix44SetScale (const Point3< T > &t)
Matrix44SetScale (const T sx, const T sy, const T sz)
Matrix44SetShearXY (const T sz)
Matrix44SetShearXZ (const T sy)
Matrix44SetShearYZ (const T sx)
Matrix44SetTranslate (const T sx, const T sy, const T sz)
Matrix44SetTranslate (const Point3< T > &t)
void SetZero ()
void ToEulerAngles (T &alpha, T &beta, T &gamma)
template<class Matrix44Type >
void ToMatrix (Matrix44Type &m) const
Matrix44 transpose () const
void transposeInPlace ()
const TV () const
TV ()
 ~Matrix44 ()
template<class Q >
static Matrix44 Construct (const Matrix44< Q > &b)
static const Matrix44Identity ()

Detailed Description

template<class T>
class vcg::Matrix44< T >

This class represent a 4x4 matrix. T is the kind of element in the matrix.

Definition at line 164 of file deprecated_matrix44.h.


Member Typedef Documentation

template<class T>
typedef T vcg::Matrix44< T >::ScalarType

Definition at line 169 of file deprecated_matrix44.h.


Constructor & Destructor Documentation

template<class T>
vcg::Matrix44< T >::Matrix44 (  )  [inline]

$name Constructors No automatic casting and default constructor is empty

Definition at line 176 of file deprecated_matrix44.h.

template<class T>
vcg::Matrix44< T >::~Matrix44 (  )  [inline]

Definition at line 177 of file deprecated_matrix44.h.

template<class T >
vcg::Matrix44< T >::Matrix44 ( const Matrix44< T > &  m  )  [inline]

Definition at line 345 of file deprecated_matrix44.h.

template<class T>
vcg::Matrix44< T >::Matrix44 ( const T  v[]  )  [inline]

Definition at line 349 of file deprecated_matrix44.h.


Member Function Documentation

template<class T>
unsigned int vcg::Matrix44< T >::ColumnsNumber (  )  const [inline]

Number of columns.

Definition at line 182 of file deprecated_matrix44.h.

template<class T>
template<class Q >
static Matrix44 vcg::Matrix44< T >::Construct ( const Matrix44< Q > &  b  )  [inline, static]

Definition at line 275 of file deprecated_matrix44.h.

template<class T >
T vcg::Matrix44< T >::Determinant (  )  const [inline]

Reimplemented in vcg::LinearSolve< T >.

Definition at line 789 of file deprecated_matrix44.h.

template<class T >
T vcg::Matrix44< T >::ElementAt ( const int  row,
const int  col 
) const [inline]

Definition at line 359 of file deprecated_matrix44.h.

template<class T >
T & vcg::Matrix44< T >::ElementAt ( const int  row,
const int  col 
) [inline]

Definition at line 353 of file deprecated_matrix44.h.

template<class T>
void vcg::Matrix44< T >::FromEulerAngles ( T  alpha,
T  beta,
T  gamma 
) [inline]

Definition at line 505 of file deprecated_matrix44.h.

template<class T>
template<class Matrix44Type >
void vcg::Matrix44< T >::FromMatrix ( const Matrix44Type &  m  )  [inline]

Definition at line 249 of file deprecated_matrix44.h.

template<class T>
Point3<T> vcg::Matrix44< T >::GetColumn3 ( const int &  i  )  const [inline]

Definition at line 210 of file deprecated_matrix44.h.

template<class T>
Point4<T> vcg::Matrix44< T >::GetColumn4 ( const int &  i  )  const [inline]

Definition at line 204 of file deprecated_matrix44.h.

template<class T>
Point3<T> vcg::Matrix44< T >::GetRow3 ( const int &  i  )  const [inline]

Definition at line 221 of file deprecated_matrix44.h.

template<class T>
Point4<T> vcg::Matrix44< T >::GetRow4 ( const int &  i  )  const [inline]

Definition at line 215 of file deprecated_matrix44.h.

template<class T>
static const Matrix44& vcg::Matrix44< T >::Identity (  )  [inline, static]

Definition at line 281 of file deprecated_matrix44.h.

template<class T>
template<class Q >
void vcg::Matrix44< T >::Import ( const Matrix44< Q > &  m  )  [inline]

Definition at line 270 of file deprecated_matrix44.h.

template<class T >
bool vcg::Matrix44< T >::operator!= ( const Matrix44< T > &  m  )  const [inline]

Definition at line 440 of file deprecated_matrix44.h.

template<class T>
Matrix44< T > vcg::Matrix44< T >::operator* ( const T  k  )  const [inline]

Definition at line 455 of file deprecated_matrix44.h.

template<class T>
Point4< T > vcg::Matrix44< T >::operator* ( const Point4< T > &  v  )  const [inline]

Definition at line 421 of file deprecated_matrix44.h.

template<class T>
Matrix44< T > vcg::Matrix44< T >::operator* ( const Matrix44Diag< T > &  m  )  const [inline]

Definition at line 413 of file deprecated_matrix44.h.

template<class T >
Matrix44< T > vcg::Matrix44< T >::operator* ( const Matrix44< T > &  m  )  const [inline]

Definition at line 401 of file deprecated_matrix44.h.

template<class T>
void vcg::Matrix44< T >::operator*= ( const T  k  )  [inline]

Definition at line 491 of file deprecated_matrix44.h.

template<class T >
void vcg::Matrix44< T >::operator*= ( const Matrix44< T > &  m  )  [inline]

Definition at line 470 of file deprecated_matrix44.h.

template<class T >
Matrix44< T > vcg::Matrix44< T >::operator+ ( const Matrix44< T > &  m  )  const [inline]

Definition at line 387 of file deprecated_matrix44.h.

template<class T >
void vcg::Matrix44< T >::operator+= ( const Matrix44< T > &  m  )  [inline]

Definition at line 462 of file deprecated_matrix44.h.

template<class T >
Matrix44< T > vcg::Matrix44< T >::operator- (  )  const [inline]

Definition at line 448 of file deprecated_matrix44.h.

template<class T >
Matrix44< T > vcg::Matrix44< T >::operator- ( const Matrix44< T > &  m  )  const [inline]

Definition at line 394 of file deprecated_matrix44.h.

template<class T >
void vcg::Matrix44< T >::operator-= ( const Matrix44< T > &  m  )  [inline]

Definition at line 466 of file deprecated_matrix44.h.

template<class T >
bool vcg::Matrix44< T >::operator== ( const Matrix44< T > &  m  )  const [inline]

Definition at line 433 of file deprecated_matrix44.h.

template<class T >
const T * vcg::Matrix44< T >::operator[] ( const int  i  )  const [inline]

Definition at line 379 of file deprecated_matrix44.h.

template<class T >
T * vcg::Matrix44< T >::operator[] ( const int  i  )  [inline]

Definition at line 374 of file deprecated_matrix44.h.

template<class T>
void vcg::Matrix44< T >::print (  )  [inline]

Definition at line 296 of file deprecated_matrix44.h.

template<class T>
unsigned int vcg::Matrix44< T >::RowsNumber (  )  const [inline]

Number of rows.

Definition at line 188 of file deprecated_matrix44.h.

template<class T>
Matrix44< T > & vcg::Matrix44< T >::SetColumn ( const unsigned int  ii,
const Point3< T > &  t 
) [inline]

Definition at line 572 of file deprecated_matrix44.h.

template<class T>
Matrix44< T > & vcg::Matrix44< T >::SetColumn ( const unsigned int  ii,
const Point4< T > &  t 
) [inline]

Definition at line 580 of file deprecated_matrix44.h.

template<class T>
void vcg::Matrix44< T >::SetDiagonal ( const T  k  )  [inline]

Definition at line 539 of file deprecated_matrix44.h.

template<class T >
void vcg::Matrix44< T >::SetIdentity (  )  [inline]

Definition at line 535 of file deprecated_matrix44.h.

template<class T>
Matrix44< T > & vcg::Matrix44< T >::SetRotateDeg ( T  AngleDeg,
const Point3< T > &  axis 
) [inline]

use radiants for angle.

Definition at line 590 of file deprecated_matrix44.h.

template<class T>
Matrix44< T > & vcg::Matrix44< T >::SetRotateRad ( T  AngleRad,
const Point3< T > &  axis 
) [inline]

Definition at line 594 of file deprecated_matrix44.h.

template<class T>
Matrix44< T > & vcg::Matrix44< T >::SetScale ( const Point3< T > &  t  )  [inline]

Definition at line 547 of file deprecated_matrix44.h.

template<class T>
Matrix44< T > & vcg::Matrix44< T >::SetScale ( const T  sx,
const T  sy,
const T  sz 
) [inline]

Definition at line 551 of file deprecated_matrix44.h.

template<class T>
Matrix44< T > & vcg::Matrix44< T >::SetShearXY ( const T  sz  )  [inline]

Definition at line 639 of file deprecated_matrix44.h.

template<class T>
Matrix44< T > & vcg::Matrix44< T >::SetShearXZ ( const T  sy  )  [inline]

Definition at line 645 of file deprecated_matrix44.h.

template<class T>
Matrix44< T > & vcg::Matrix44< T >::SetShearYZ ( const T  sx  )  [inline]

Definition at line 651 of file deprecated_matrix44.h.

template<class T>
Matrix44< T > & vcg::Matrix44< T >::SetTranslate ( const T  sx,
const T  sy,
const T  sz 
) [inline]

Definition at line 564 of file deprecated_matrix44.h.

template<class T>
Matrix44< T > & vcg::Matrix44< T >::SetTranslate ( const Point3< T > &  t  )  [inline]

Definition at line 560 of file deprecated_matrix44.h.

template<class T >
void vcg::Matrix44< T >::SetZero (  )  [inline]

Definition at line 531 of file deprecated_matrix44.h.

template<class T>
void vcg::Matrix44< T >::ToEulerAngles ( T alpha,
T beta,
T gamma 
) [inline]

Definition at line 497 of file deprecated_matrix44.h.

template<class T>
template<class Matrix44Type >
void vcg::Matrix44< T >::ToMatrix ( Matrix44Type &  m  )  const [inline]

Definition at line 244 of file deprecated_matrix44.h.

template<class T>
Matrix44 vcg::Matrix44< T >::transpose (  )  const [inline]

Definition at line 288 of file deprecated_matrix44.h.

template<class T>
void vcg::Matrix44< T >::transposeInPlace (  )  [inline]

Definition at line 294 of file deprecated_matrix44.h.

template<class T >
const T * vcg::Matrix44< T >::V (  )  const [inline]

Definition at line 384 of file deprecated_matrix44.h.

template<class T >
T * vcg::Matrix44< T >::V (  )  [inline]

Definition at line 383 of file deprecated_matrix44.h.


Member Data Documentation

template<class T>
T vcg::Matrix44< T >::_a[16] [protected]

Definition at line 166 of file deprecated_matrix44.h.


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


vcglib
Author(s): Christian Bersch
autogenerated on Fri Jan 11 09:23:02 2013