#include <deprecated_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) |
Matrix33 & | FastInvert () |
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 (const Matrix44< S > &m, const int &k) | |
create from Matrix44 excluding row and column k | |
Matrix33 (const S *v) | |
create from array | |
Matrix33 (const Matrix33 &m) | |
Copy constructor. | |
Matrix33 () | |
Default constructor. | |
ScalarType | Norm () |
Point3< S > | operator* (const Point3< S > &v) const |
Matrix33 | operator* (const S t) const |
Operatore prodotto per costante. | |
Matrix33 | operator* (const Matrix33Diag< S > &t) const |
Dot product with a diagonal matrix. | |
Matrix33 | operator* (const Matrix33< S > &t) const |
Modificatore prodotto per matrice. | |
Matrix33 & | operator*= (const S t) |
Modificatore prodotto per costante. | |
void | operator*= (const Matrix33Diag< S > &t) |
Dot product modifier with a diagonal matrix. | |
void | operator*= (const Matrix33< S > &t) |
Modificatore prodotto per matrice. | |
Matrix33 | operator+ (const Matrix33Diag< S > &p) const |
Operatore addizione di matrici 3x3 con matrici diagonali. | |
Matrix33 | operator+ (const Matrix33 &m) const |
Operatore sottrazione per matrici 3x3. | |
Matrix33 & | operator+= (const Matrix33Diag< S > &p) |
Modificatore somma per matrici 3x3. | |
Matrix33 & | operator+= (const Matrix33 &m) |
Modificatore somma per matrici 3x3. | |
Matrix33 | operator- (const Matrix33Diag< S > &p) const |
Operatore sottrazione di matrici 3x3 con matrici diagonali. | |
Matrix33 | operator- (const Matrix33 &m) const |
Operatore sottrazione per matrici 3x3. | |
Matrix33 & | operator-= (const Matrix33Diag< S > &p) |
Modificatore somma 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. | |
const S * | operator[] (const int i) const |
Operatore const di indicizzazione. | |
S * | operator[] (const int i) |
Operatore di indicizzazione. | |
void | OuterProduct (Point3< S > const &p0, Point3< S > const &p1) |
unsigned int | RowsNumber () const |
Number of rows. | |
void | SetColumn (const int n, const Point3< S > v) |
Assegna l'n-simo vettore colonna. | |
void | SetColumn (const int n, 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, const Point3< S > v) |
Assegna l'n-simo vettore riga. | |
void | SetRow (const int n, S *v) |
Assegna l'n-simo vettore riga. | |
Matrix33 & | SetZero () |
void | show (FILE *fp) |
S | Trace () const |
Matrix33 | transpose () const |
Matrix33 & | Transpose () |
Funzione per eseguire la trasposta della matrice. | |
void | transposeInPlace () |
template<class STLPOINTCONTAINER , class STLREALCONTAINER > | |
void | WeightedCrossCovariance (const STLREALCONTAINER &weights, const STLPOINTCONTAINER &P, const STLPOINTCONTAINER &X, Point3< S > &bp, Point3< S > &bx) |
Private Attributes | |
S | a [9] |
Definition at line 122 of file deprecated_matrix33.h.
typedef S vcg::Matrix33::ScalarType |
Definition at line 125 of file deprecated_matrix33.h.
vcg::Matrix33::Matrix33 | ( | ) | [inline] |
Default constructor.
Definition at line 128 of file deprecated_matrix33.h.
vcg::Matrix33::Matrix33 | ( | const Matrix33 & | m | ) | [inline] |
Copy constructor.
Definition at line 131 of file deprecated_matrix33.h.
vcg::Matrix33::Matrix33 | ( | const S * | v | ) | [inline] |
create from array
Definition at line 138 of file deprecated_matrix33.h.
vcg::Matrix33::Matrix33 | ( | const Matrix44< S > & | m, | |
const int & | k | |||
) | [inline] |
create from Matrix44 excluding row and column k
Definition at line 144 of file deprecated_matrix33.h.
unsigned int vcg::Matrix33::ColumnsNumber | ( | ) | const [inline] |
Number of columns.
Definition at line 155 of file deprecated_matrix33.h.
void vcg::Matrix33::Covariance | ( | const STLPOINTCONTAINER & | points, | |
Point3< S > & | bp | |||
) | [inline] |
Definition at line 541 of file deprecated_matrix33.h.
void vcg::Matrix33::CrossCovariance | ( | const STLPOINTCONTAINER & | P, | |
const STLPOINTCONTAINER & | X, | |||
Point3< S > & | bp, | |||
Point3< S > & | bx | |||
) | [inline] |
Definition at line 571 of file deprecated_matrix33.h.
S vcg::Matrix33::Determinant | ( | ) | const [inline] |
Funzione per il calcolo del determinante.
Definition at line 466 of file deprecated_matrix33.h.
Definition at line 518 of file deprecated_matrix33.h.
Matrix33& vcg::Matrix33::FastInvert | ( | ) | [inline] |
Definition at line 476 of file deprecated_matrix33.h.
Point3<S> vcg::Matrix33::GetColumn | ( | const int | n | ) | const [inline] |
Restituisce l'n-simo vettore colonna.
Definition at line 447 of file deprecated_matrix33.h.
Point3<S> vcg::Matrix33::GetRow | ( | const int | n | ) | const [inline] |
Restituisce l'n-simo vettore riga.
Definition at line 455 of file deprecated_matrix33.h.
ScalarType vcg::Matrix33::Norm | ( | ) | [inline] |
Definition at line 527 of file deprecated_matrix33.h.
Operatore per il prodotto matrice-vettore.
v | A point in $R^{3}$ |
Definition at line 338 of file deprecated_matrix33.h.
Matrix33 vcg::Matrix33::operator* | ( | const S | t | ) | const [inline] |
Operatore prodotto per costante.
Definition at line 285 of file deprecated_matrix33.h.
Matrix33 vcg::Matrix33::operator* | ( | const Matrix33Diag< S > & | t | ) | const [inline] |
Dot product with a diagonal matrix.
Definition at line 255 of file deprecated_matrix33.h.
Modificatore prodotto per matrice.
Definition at line 232 of file deprecated_matrix33.h.
Matrix33& vcg::Matrix33::operator*= | ( | const S | t | ) | [inline] |
Modificatore prodotto per costante.
Definition at line 277 of file deprecated_matrix33.h.
void vcg::Matrix33::operator*= | ( | const Matrix33Diag< S > & | t | ) | [inline] |
Dot product modifier with a diagonal matrix.
Definition at line 268 of file deprecated_matrix33.h.
void vcg::Matrix33::operator*= | ( | const Matrix33< S > & | t | ) | [inline] |
Modificatore prodotto per matrice.
Definition at line 245 of file deprecated_matrix33.h.
Matrix33 vcg::Matrix33::operator+ | ( | const Matrix33Diag< S > & | p | ) | const [inline] |
Operatore addizione di matrici 3x3 con matrici diagonali.
Definition at line 325 of file deprecated_matrix33.h.
Operatore sottrazione per matrici 3x3.
Definition at line 315 of file deprecated_matrix33.h.
Matrix33& vcg::Matrix33::operator+= | ( | const Matrix33Diag< S > & | p | ) | [inline] |
Modificatore somma per matrici 3x3.
Definition at line 197 of file deprecated_matrix33.h.
Modificatore somma per matrici 3x3.
Definition at line 189 of file deprecated_matrix33.h.
Matrix33 vcg::Matrix33::operator- | ( | const Matrix33Diag< S > & | p | ) | const [inline] |
Operatore sottrazione di matrici 3x3 con matrici diagonali.
Definition at line 305 of file deprecated_matrix33.h.
Operatore sottrazione per matrici 3x3.
Definition at line 295 of file deprecated_matrix33.h.
Matrix33& vcg::Matrix33::operator-= | ( | const Matrix33Diag< S > & | p | ) | [inline] |
Modificatore somma per matrici 3x3.
Definition at line 214 of file deprecated_matrix33.h.
Modificatore sottrazione per matrici 3x3.
Definition at line 206 of file deprecated_matrix33.h.
Matrix33& vcg::Matrix33::operator/= | ( | const S & | s | ) | [inline] |
Modificatore divisione per scalare.
Definition at line 223 of file deprecated_matrix33.h.
Assignment operator.
Definition at line 167 of file deprecated_matrix33.h.
const S* vcg::Matrix33::operator[] | ( | const int | i | ) | const [inline] |
Operatore const di indicizzazione.
Definition at line 182 of file deprecated_matrix33.h.
S* vcg::Matrix33::operator[] | ( | const int | i | ) | [inline] |
Operatore di indicizzazione.
Definition at line 177 of file deprecated_matrix33.h.
Definition at line 348 of file deprecated_matrix33.h.
unsigned int vcg::Matrix33::RowsNumber | ( | ) | const [inline] |
Number of rows.
Definition at line 161 of file deprecated_matrix33.h.
void vcg::Matrix33::SetColumn | ( | const int | n, | |
const Point3< S > | v | |||
) | [inline] |
Assegna l'n-simo vettore colonna.
Definition at line 434 of file deprecated_matrix33.h.
void vcg::Matrix33::SetColumn | ( | const int | n, | |
S * | v | |||
) | [inline] |
Assegna l'n-simo vettore colonna.
Definition at line 421 of file deprecated_matrix33.h.
Matrix33& vcg::Matrix33::SetDiagonal | ( | S * | v | ) | [inline] |
Funzione per costruire una matrice diagonale dati i tre elem.
Definition at line 410 of file deprecated_matrix33.h.
Matrix33& vcg::Matrix33::SetIdentity | ( | ) | [inline] |
Definition at line 362 of file deprecated_matrix33.h.
Definition at line 386 of file deprecated_matrix33.h.
Definition at line 368 of file deprecated_matrix33.h.
void vcg::Matrix33::SetRow | ( | const int | n, | |
const Point3< S > | v | |||
) | [inline] |
Assegna l'n-simo vettore riga.
Definition at line 440 of file deprecated_matrix33.h.
void vcg::Matrix33::SetRow | ( | const int | n, | |
S * | v | |||
) | [inline] |
Assegna l'n-simo vettore riga.
Definition at line 427 of file deprecated_matrix33.h.
Matrix33& vcg::Matrix33::SetZero | ( | ) | [inline] |
Definition at line 358 of file deprecated_matrix33.h.
void vcg::Matrix33::show | ( | FILE * | fp | ) | [inline] |
Definition at line 503 of file deprecated_matrix33.h.
S vcg::Matrix33::Trace | ( | ) | const [inline] |
Definition at line 510 of file deprecated_matrix33.h.
Matrix33 vcg::Matrix33::transpose | ( | ) | const [inline] |
Definition at line 400 of file deprecated_matrix33.h.
Matrix33& vcg::Matrix33::Transpose | ( | ) | [inline] |
Funzione per eseguire la trasposta della matrice.
Definition at line 391 of file deprecated_matrix33.h.
void vcg::Matrix33::transposeInPlace | ( | ) | [inline] |
Definition at line 407 of file deprecated_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 594 of file deprecated_matrix33.h.
S vcg::Matrix33::a[9] [private] |
Definition at line 624 of file deprecated_matrix33.h.