#include <matrix33.h>
Public Types | |
typedef S | ScalarType |
Public Member Functions | |
unsigned int | ColumnsNumber () const |
Number of columns. | |
template<class STLPOINTCONTAINER > | |
void | Covariance (const STLPOINTCONTAINER &points, Point3< S > &bp) |
template<class STLPOINTCONTAINER > | |
void | CrossCovariance (const STLPOINTCONTAINER &P, const STLPOINTCONTAINER &X, Point3< S > &bp, Point3< S > &bx) |
S | Determinant () const |
Funzione per il calcolo del determinante. | |
void | ExternalProduct (const Point3< S > &a, const Point3< S > &b) |
template<class EigenMatrix33Type > | |
void | FromEigenMatrix (const EigenMatrix33Type &m) |
Point3< S > | GetColumn (const int n) const |
Restituisce l'n-simo vettore colonna. | |
Point3< S > | GetRow (const int n) const |
Restituisce l'n-simo vettore riga. | |
Matrix33 () | |
Default constructor. | |
Matrix33 (const Matrix33 &m) | |
Copy constructor. | |
Matrix33 (const S *v) | |
create from array | |
Matrix33 (const Matrix44< S > &m, const int &k) | |
create from Matrix44 excluding row and column k | |
ScalarType | Norm () |
Matrix33 | operator* (const Matrix33< S > &t) const |
Modificatore prodotto per matrice. | |
Matrix33 | operator* (const S t) const |
Operatore prodotto per costante. | |
Point3< S > | operator* (const Point3< S > &v) const |
void | operator*= (const Matrix33< S > &t) |
Modificatore prodotto per matrice. | |
Matrix33 & | operator*= (const S t) |
Modificatore prodotto per costante. | |
Matrix33 | operator+ (const Matrix33 &m) const |
Operatore sottrazione per matrici 3x3. | |
Matrix33 & | operator+= (const Matrix33 &m) |
Modificatore somma per matrici 3x3. | |
Matrix33 | operator- (const Matrix33 &m) const |
Operatore sottrazione per matrici 3x3. | |
Matrix33 & | operator-= (const Matrix33 &m) |
Modificatore sottrazione per matrici 3x3. | |
Matrix33 & | operator/= (const S &s) |
Modificatore divisione per scalare. | |
Matrix33 & | operator= (const Matrix33 &m) |
Assignment operator. | |
S * | operator[] (const int i) |
Operatore di indicizzazione. | |
const S * | operator[] (const int i) const |
Operatore const di indicizzazione. | |
void | OuterProduct (Point3< S > const &p0, Point3< S > const &p1) |
unsigned int | RowsNumber () const |
Number of rows. | |
void | SetColumn (const int n, S *v) |
Assegna l'n-simo vettore colonna. | |
void | SetColumn (const int n, const Point3< S > v) |
Assegna l'n-simo vettore colonna. | |
Matrix33 & | SetDiagonal (S *v) |
Funzione per costruire una matrice diagonale dati i tre elem. | |
Matrix33 & | SetIdentity () |
Matrix33 & | SetRotateDeg (S angle, const Point3< S > &axis) |
Matrix33 & | SetRotateRad (S angle, const Point3< S > &axis) |
void | SetRow (const int n, S *v) |
Assegna l'n-simo vettore riga. | |
void | SetRow (const int n, const Point3< S > v) |
Assegna l'n-simo vettore riga. | |
Matrix33 & | SetZero () |
template<class EigenMatrix33Type > | |
void | ToEigenMatrix (EigenMatrix33Type &m) const |
S | Trace () const |
Matrix33 & | Transpose () |
Funzione per eseguire la trasposta della matrice. | |
Matrix33 | transpose () const |
void | transposeInPlace () |
template<class STLPOINTCONTAINER , class STLREALCONTAINER > | |
void | WeightedCrossCovariance (const STLREALCONTAINER &weights, const STLPOINTCONTAINER &P, const STLPOINTCONTAINER &X, Point3< S > &bp, Point3< S > &bx) |
Static Public Member Functions | |
static const Matrix33 & | Identity () |
Private Attributes | |
S | a [9] |
Definition at line 39 of file matrix33.h.
typedef S vcg::Matrix33::ScalarType |
Definition at line 42 of file matrix33.h.
vcg::Matrix33::Matrix33 | ( | ) | [inline] |
Default constructor.
Definition at line 45 of file matrix33.h.
vcg::Matrix33::Matrix33 | ( | const Matrix33 & | m | ) | [inline] |
Copy constructor.
Definition at line 48 of file matrix33.h.
vcg::Matrix33::Matrix33 | ( | const S * | v | ) | [inline] |
create from array
Definition at line 55 of file matrix33.h.
vcg::Matrix33::Matrix33 | ( | const Matrix44< S > & | m, |
const int & | k | ||
) | [inline] |
create from Matrix44 excluding row and column k
Definition at line 61 of file matrix33.h.
unsigned int vcg::Matrix33::ColumnsNumber | ( | ) | const [inline] |
Number of columns.
Definition at line 92 of file matrix33.h.
void vcg::Matrix33::Covariance | ( | const STLPOINTCONTAINER & | points, |
Point3< S > & | bp | ||
) | [inline] |
Definition at line 382 of file matrix33.h.
void vcg::Matrix33::CrossCovariance | ( | const STLPOINTCONTAINER & | P, |
const STLPOINTCONTAINER & | X, | ||
Point3< S > & | bp, | ||
Point3< S > & | bx | ||
) | [inline] |
Definition at line 412 of file matrix33.h.
S vcg::Matrix33::Determinant | ( | ) | const [inline] |
Funzione per il calcolo del determinante.
Definition at line 343 of file matrix33.h.
void vcg::Matrix33::ExternalProduct | ( | const Point3< S > & | a, |
const Point3< S > & | b | ||
) | [inline] |
Definition at line 359 of file matrix33.h.
void vcg::Matrix33::FromEigenMatrix | ( | const EigenMatrix33Type & | m | ) | [inline] |
Definition at line 79 of file matrix33.h.
Point3<S> vcg::Matrix33::GetColumn | ( | const int | n | ) | const [inline] |
Restituisce l'n-simo vettore colonna.
Definition at line 324 of file matrix33.h.
Point3<S> vcg::Matrix33::GetRow | ( | const int | n | ) | const [inline] |
Restituisce l'n-simo vettore riga.
Definition at line 332 of file matrix33.h.
static const Matrix33& vcg::Matrix33::Identity | ( | ) | [inline, static] |
Definition at line 85 of file matrix33.h.
ScalarType vcg::Matrix33::Norm | ( | ) | [inline] |
Definition at line 368 of file matrix33.h.
Modificatore prodotto per matrice.
Definition at line 152 of file matrix33.h.
Matrix33 vcg::Matrix33::operator* | ( | const S | t | ) | const [inline] |
Operatore prodotto per costante.
Definition at line 184 of file matrix33.h.
Operatore per il prodotto matrice-vettore.
v | A point in $R^{3}$ |
Definition at line 215 of file matrix33.h.
void vcg::Matrix33::operator*= | ( | const Matrix33< S > & | t | ) | [inline] |
Modificatore prodotto per matrice.
Definition at line 165 of file matrix33.h.
Matrix33& vcg::Matrix33::operator*= | ( | const S | t | ) | [inline] |
Modificatore prodotto per costante.
Definition at line 176 of file matrix33.h.
Operatore sottrazione per matrici 3x3.
Definition at line 203 of file matrix33.h.
Modificatore somma per matrici 3x3.
Definition at line 126 of file matrix33.h.
Operatore sottrazione per matrici 3x3.
Definition at line 194 of file matrix33.h.
Modificatore sottrazione per matrici 3x3.
Definition at line 135 of file matrix33.h.
Matrix33& vcg::Matrix33::operator/= | ( | const S & | s | ) | [inline] |
Modificatore divisione per scalare.
Definition at line 143 of file matrix33.h.
Assignment operator.
Definition at line 104 of file matrix33.h.
S* vcg::Matrix33::operator[] | ( | const int | i | ) | [inline] |
Operatore di indicizzazione.
Definition at line 114 of file matrix33.h.
const S* vcg::Matrix33::operator[] | ( | const int | i | ) | const [inline] |
Operatore const di indicizzazione.
Definition at line 119 of file matrix33.h.
void vcg::Matrix33::OuterProduct | ( | Point3< S > const & | p0, |
Point3< S > const & | p1 | ||
) | [inline] |
Definition at line 225 of file matrix33.h.
unsigned int vcg::Matrix33::RowsNumber | ( | ) | const [inline] |
Number of rows.
Definition at line 98 of file matrix33.h.
void vcg::Matrix33::SetColumn | ( | const int | n, |
S * | v | ||
) | [inline] |
Assegna l'n-simo vettore colonna.
Definition at line 298 of file matrix33.h.
void vcg::Matrix33::SetColumn | ( | const int | n, |
const Point3< S > | v | ||
) | [inline] |
Assegna l'n-simo vettore colonna.
Definition at line 311 of file matrix33.h.
Matrix33& vcg::Matrix33::SetDiagonal | ( | S * | v | ) | [inline] |
Funzione per costruire una matrice diagonale dati i tre elem.
Definition at line 287 of file matrix33.h.
Matrix33& vcg::Matrix33::SetIdentity | ( | ) | [inline] |
Definition at line 239 of file matrix33.h.
Matrix33& vcg::Matrix33::SetRotateDeg | ( | S | angle, |
const Point3< S > & | axis | ||
) | [inline] |
Definition at line 263 of file matrix33.h.
Matrix33& vcg::Matrix33::SetRotateRad | ( | S | angle, |
const Point3< S > & | axis | ||
) | [inline] |
Definition at line 245 of file matrix33.h.
void vcg::Matrix33::SetRow | ( | const int | n, |
S * | v | ||
) | [inline] |
Assegna l'n-simo vettore riga.
Definition at line 304 of file matrix33.h.
void vcg::Matrix33::SetRow | ( | const int | n, |
const Point3< S > | v | ||
) | [inline] |
Assegna l'n-simo vettore riga.
Definition at line 317 of file matrix33.h.
Matrix33& vcg::Matrix33::SetZero | ( | ) | [inline] |
Definition at line 235 of file matrix33.h.
void vcg::Matrix33::ToEigenMatrix | ( | EigenMatrix33Type & | m | ) | const [inline] |
Definition at line 72 of file matrix33.h.
S vcg::Matrix33::Trace | ( | ) | const [inline] |
Definition at line 351 of file matrix33.h.
Matrix33& vcg::Matrix33::Transpose | ( | ) | [inline] |
Funzione per eseguire la trasposta della matrice.
Definition at line 268 of file matrix33.h.
Matrix33 vcg::Matrix33::transpose | ( | ) | const [inline] |
Definition at line 277 of file matrix33.h.
void vcg::Matrix33::transposeInPlace | ( | ) | [inline] |
Definition at line 284 of file matrix33.h.
void vcg::Matrix33::WeightedCrossCovariance | ( | const STLREALCONTAINER & | weights, |
const STLPOINTCONTAINER & | P, | ||
const STLPOINTCONTAINER & | X, | ||
Point3< S > & | bp, | ||
Point3< S > & | bx | ||
) | [inline] |
Definition at line 435 of file matrix33.h.
S vcg::Matrix33::a[9] [private] |
Definition at line 465 of file matrix33.h.