Public Types | Protected Attributes
vcg::Matrix44< T > Class Template Reference

#include <matrix44.h>

List of all members.

Public Types

typedef T ScalarType

Protected Attributes

T _a [16]
 Matrix44 ()
 ~Matrix44 ()
 Matrix44 (const Matrix44 &m)
 Matrix44 (const T v[])
TElementAt (const int row, const int col)
T ElementAt (const int row, const int col) const
TV ()
const TV () const
Toperator[] (const int i)
const Toperator[] (const int i) const
Point4< TGetColumn4 (const int &i) const
Point3< TGetColumn3 (const int &i) const
Point4< TGetRow4 (const int &i) const
Point3< TGetRow3 (const int &i) const
Matrix44 operator+ (const Matrix44 &m) const
Matrix44 operator- (const Matrix44 &m) const
Matrix44 operator* (const Matrix44 &m) const
Point4< Toperator* (const Point4< T > &v) const
bool operator== (const Matrix44 &m) const
bool operator!= (const Matrix44 &m) const
Matrix44 operator- () const
Matrix44 operator* (const T k) const
void operator+= (const Matrix44 &m)
void operator-= (const Matrix44 &m)
void operator*= (const Matrix44 &m)
void operator*= (const T k)
template<class Matrix44Type >
void ToMatrix (Matrix44Type &m) const
void ToEulerAngles (T &alpha, T &beta, T &gamma)
template<class Matrix44Type >
void FromMatrix (const Matrix44Type &m)
template<class EigenMatrix44Type >
void ToEigenMatrix (EigenMatrix44Type &m) const
template<class EigenMatrix44Type >
void FromEigenMatrix (const EigenMatrix44Type &m)
void FromEulerAngles (T alpha, T beta, T gamma)
void SetZero ()
void SetIdentity ()
void SetDiagonal (const T k)
Matrix44SetScale (const T sx, const T sy, const T sz)
Matrix44SetScale (const Point3< T > &t)
Matrix44< T > & SetColumn (const unsigned int ii, const Point4< T > &t)
Matrix44< T > & SetColumn (const unsigned int ii, const Point3< T > &t)
Matrix44SetTranslate (const Point3< T > &t)
Matrix44SetTranslate (const T sx, const T sy, const T sz)
Matrix44SetShearXY (const T sz)
Matrix44SetShearXZ (const T sy)
Matrix44SetShearYZ (const T sx)
Matrix44SetRotateDeg (T AngleDeg, const Point3< T > &axis)
 use radiants for angle.
Matrix44SetRotateRad (T AngleRad, const Point3< T > &axis)
T Determinant () const
template<class Q >
void Import (const Matrix44< Q > &m)
Matrix44 transpose () const
void transposeInPlace ()
void print ()
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 74 of file matrix44.h.


Member Typedef Documentation

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

Definition at line 79 of file 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 86 of file matrix44.h.

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

Definition at line 87 of file matrix44.h.

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

Definition at line 240 of file matrix44.h.

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

Definition at line 244 of file matrix44.h.


Member Function Documentation

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

Definition at line 187 of file matrix44.h.

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

Definition at line 627 of file matrix44.h.

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

Definition at line 248 of file matrix44.h.

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

Definition at line 254 of file matrix44.h.

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

Definition at line 156 of file matrix44.h.

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

Definition at line 381 of file matrix44.h.

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

Definition at line 146 of file matrix44.h.

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

Definition at line 108 of file matrix44.h.

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

Definition at line 102 of file matrix44.h.

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

Definition at line 119 of file matrix44.h.

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

Definition at line 113 of file matrix44.h.

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

Definition at line 193 of file matrix44.h.

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

Definition at line 182 of file matrix44.h.

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

Definition at line 327 of file matrix44.h.

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

Definition at line 296 of file matrix44.h.

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

Definition at line 308 of file matrix44.h.

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

Definition at line 342 of file matrix44.h.

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

Definition at line 357 of file matrix44.h.

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

Definition at line 367 of file matrix44.h.

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

Definition at line 282 of file matrix44.h.

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

Definition at line 349 of file matrix44.h.

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

Definition at line 289 of file matrix44.h.

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

Definition at line 335 of file matrix44.h.

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

Definition at line 353 of file matrix44.h.

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

Definition at line 320 of file matrix44.h.

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

Definition at line 269 of file matrix44.h.

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

Definition at line 274 of file matrix44.h.

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

Definition at line 208 of file matrix44.h.

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

Definition at line 456 of file matrix44.h.

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

Definition at line 448 of file matrix44.h.

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

Definition at line 415 of file matrix44.h.

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

Definition at line 411 of file matrix44.h.

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

use radiants for angle.

Definition at line 466 of file matrix44.h.

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

Definition at line 470 of file matrix44.h.

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

Definition at line 427 of file matrix44.h.

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

Definition at line 423 of file matrix44.h.

template<class T>
Matrix44& vcg::Matrix44< T >::SetShearXY ( const T  sz)
template<class T>
Matrix44& vcg::Matrix44< T >::SetShearXZ ( const T  sy)
template<class T>
Matrix44& vcg::Matrix44< T >::SetShearYZ ( const T  sx)
template<class T>
Matrix44< T > & vcg::Matrix44< T >::SetTranslate ( const Point3< T > &  t)

Definition at line 436 of file matrix44.h.

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

Definition at line 440 of file matrix44.h.

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

Definition at line 407 of file matrix44.h.

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

Definition at line 149 of file matrix44.h.

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

Definition at line 373 of file matrix44.h.

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

Definition at line 141 of file matrix44.h.

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

Definition at line 200 of file matrix44.h.

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

Definition at line 206 of file matrix44.h.

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

Definition at line 278 of file matrix44.h.

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

Definition at line 279 of file matrix44.h.


Member Data Documentation

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

Definition at line 76 of file matrix44.h.


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


shape_reconstruction
Author(s): Roberto Martín-Martín
autogenerated on Sat Jun 8 2019 18:41:19