ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkMatrix.h>
Public Types | |
typedef Matrix< T, NColumns, NColumns > | CompatibleSquareMatrixType |
typedef T | ComponentType |
typedef vnl_matrix_fixed< T, NRows, NColumns > | InternalMatrixType |
typedef Matrix | Self |
typedef T | ValueType |
Public Member Functions | |
void | Fill (const T &value) |
vnl_matrix_fixed< T, NColumns, NRows > | GetTranspose (void) const |
InternalMatrixType & | GetVnlMatrix (void) |
const InternalMatrixType & | GetVnlMatrix (void) const |
Matrix (const vnl_matrix< T > &matrix) | |
Matrix (const InternalMatrixType &matrix) | |
Matrix () | |
Matrix (const Self &matrix) | |
bool | operator!= (const Self &matrix) const |
T & | operator() (unsigned int row, unsigned int col) |
const T & | operator() (unsigned int row, unsigned int col) const |
Vector< T, NRows > | operator* (const Vector< T, NColumns > &vector) const |
Point< T, NRows > | operator* (const Point< T, NColumns > &vector) const |
CovariantVector< T, NRows > | operator* (const CovariantVector< T, NColumns > &vector) const |
Self | operator* (const CompatibleSquareMatrixType &matrix) const |
vnl_matrix< T > | operator* (const vnl_matrix< T > &matrix) const |
vnl_vector< T > | operator* (const vnl_vector< T > &matrix) const |
Self | operator* (const T &value) |
void | operator*= (const CompatibleSquareMatrixType &matrix) |
void | operator*= (const vnl_matrix< T > &matrix) |
void | operator*= (const T &value) |
Self | operator+ (const Self &matrix) const |
const Self & | operator+= (const Self &matrix) |
Self | operator- (const Self &matrix) const |
const Self & | operator-= (const Self &matrix) |
Self | operator/ (const T &value) |
void | operator/= (const T &value) |
const Self & | operator= (const vnl_matrix< T > &matrix) |
const Self & | operator= (const InternalMatrixType &matrix) |
const Self & | operator= (const Self &matrix) |
bool | operator== (const Self &matrix) const |
T * | operator[] (unsigned int i) |
const T * | operator[] (unsigned int i) const |
void | SetIdentity (void) |
vnl_matrix_fixed< T, NColumns, NRows > | GetInverse (void) const |
Static Public Attributes | |
static const unsigned int | RowDimensions = NRows |
static const unsigned int | ColumnDimensions = NColumns |
Private Attributes | |
InternalMatrixType | m_Matrix |
A templated class holding a M x N size Matrix.
This class contains a vnl_matrix_fixed in order to make all the vnl mathematical methods available.
Definition at line 46 of file itkMatrix.h.
typedef Matrix<T, NColumns, NColumns> itk::Matrix< T, NRows, NColumns >::CompatibleSquareMatrixType |
Compatible square matrix. This is currently used by operator* to help with wrapping.
Definition at line 67 of file itkMatrix.h.
typedef T itk::Matrix< T, NRows, NColumns >::ComponentType |
Definition at line 54 of file itkMatrix.h.
typedef vnl_matrix_fixed< T, NRows, NColumns > itk::Matrix< T, NRows, NColumns >::InternalMatrixType |
Internal matrix type
Definition at line 62 of file itkMatrix.h.
typedef Matrix itk::Matrix< T, NRows, NColumns >::Self |
Standard class typedefs.
Definition at line 50 of file itkMatrix.h.
typedef T itk::Matrix< T, NRows, NColumns >::ValueType |
Component value type
Definition at line 53 of file itkMatrix.h.
itk::Matrix< T, NRows, NColumns >::Matrix | ( | const vnl_matrix< T > & | matrix | ) | [inline] |
For every operator=, there should be an equivalent copy constructor.
Definition at line 188 of file itkMatrix.h.
itk::Matrix< T, NRows, NColumns >::Matrix | ( | const InternalMatrixType & | matrix | ) | [inline, explicit] |
For every operator=, there should be an equivalent copy constructor.
Definition at line 224 of file itkMatrix.h.
itk::Matrix< T, NRows, NColumns >::Matrix | ( | ) | [inline] |
Default constructor.
Definition at line 255 of file itkMatrix.h.
itk::Matrix< T, NRows, NColumns >::Matrix | ( | const Self & | matrix | ) | [inline] |
Copy constructor.
Definition at line 258 of file itkMatrix.h.
void itk::Matrix< T, NRows, NColumns >::Fill | ( | const T & | value | ) | [inline] |
Fill the matrix with a value.
Definition at line 175 of file itkMatrix.h.
Referenced by itk::LevelSetBase< TInput, VDimension, TOutput, TDomain >::LevelSetDataType::LevelSetDataType().
vnl_matrix_fixed< T, NColumns, NRows > itk::Matrix< T, NRows, NColumns >::GetInverse | ( | void | ) | const [inline] |
Return the inverse matrix.
Definition at line 237 of file itkMatrix.h.
vnl_matrix_fixed< T, NColumns, NRows > itk::Matrix< T, NRows, NColumns >::GetTranspose | ( | void | ) | const [inline] |
Return the transposed matrix.
Definition at line 249 of file itkMatrix.h.
InternalMatrixType& itk::Matrix< T, NRows, NColumns >::GetVnlMatrix | ( | void | ) | [inline] |
Return the matrix.
Definition at line 157 of file itkMatrix.h.
const InternalMatrixType& itk::Matrix< T, NRows, NColumns >::GetVnlMatrix | ( | void | ) | const [inline] |
Return the matrix.
Definition at line 163 of file itkMatrix.h.
bool itk::Matrix< T, NRows, NColumns >::operator!= | ( | const Self & | matrix | ) | const [inline] |
Definition at line 212 of file itkMatrix.h.
T& itk::Matrix< T, NRows, NColumns >::operator() | ( | unsigned int | row, |
unsigned int | col | ||
) | [inline] |
Return an element of the matrix.
Definition at line 133 of file itkMatrix.h.
const T& itk::Matrix< T, NRows, NColumns >::operator() | ( | unsigned int | row, |
unsigned int | col | ||
) | const [inline] |
Return an element of the matrix.
Definition at line 139 of file itkMatrix.h.
Vector< T, NRows > itk::Matrix< T, NRows, NColumns >::operator* | ( | const Vector< T, NColumns > & | vector | ) | const |
Point< T, NRows > itk::Matrix< T, NRows, NColumns >::operator* | ( | const Point< T, NColumns > & | vector | ) | const |
CovariantVector< T, NRows > itk::Matrix< T, NRows, NColumns >::operator* | ( | const CovariantVector< T, NColumns > & | vector | ) | const |
Matrix by CovariantVector multiplication.
Self itk::Matrix< T, NRows, NColumns >::operator* | ( | const CompatibleSquareMatrixType & | matrix | ) | const |
vnl_matrix< T > itk::Matrix< T, NRows, NColumns >::operator* | ( | const vnl_matrix< T > & | matrix | ) | const |
Matrix by vnl_matrix multiplication.
vnl_vector< T > itk::Matrix< T, NRows, NColumns >::operator* | ( | const vnl_vector< T > & | matrix | ) | const |
Matrix by vnl_vector multiplication.
Self itk::Matrix< T, NRows, NColumns >::operator* | ( | const T & | value | ) | [inline] |
Matrix by scalar multiplication.
Definition at line 109 of file itkMatrix.h.
void itk::Matrix< T, NRows, NColumns >::operator*= | ( | const CompatibleSquareMatrixType & | matrix | ) |
void itk::Matrix< T, NRows, NColumns >::operator*= | ( | const vnl_matrix< T > & | matrix | ) |
Matrix by vnl_matrix multiplication.
void itk::Matrix< T, NRows, NColumns >::operator*= | ( | const T & | value | ) | [inline] |
Matrix by scalar multiplication.
Definition at line 105 of file itkMatrix.h.
Self itk::Matrix< T, NRows, NColumns >::operator+ | ( | const Self & | matrix | ) | const |
Matrix addition.
const Self& itk::Matrix< T, NRows, NColumns >::operator+= | ( | const Self & | matrix | ) |
Self itk::Matrix< T, NRows, NColumns >::operator- | ( | const Self & | matrix | ) | const |
Matrix addition.
const Self& itk::Matrix< T, NRows, NColumns >::operator-= | ( | const Self & | matrix | ) |
Self itk::Matrix< T, NRows, NColumns >::operator/ | ( | const T & | value | ) | [inline] |
Matrix by scalar division.
Definition at line 124 of file itkMatrix.h.
void itk::Matrix< T, NRows, NColumns >::operator/= | ( | const T & | value | ) | [inline] |
Matrix by scalar division.
Definition at line 118 of file itkMatrix.h.
const Self& itk::Matrix< T, NRows, NColumns >::operator= | ( | const vnl_matrix< T > & | matrix | ) | [inline] |
Assignment operator.
Definition at line 181 of file itkMatrix.h.
Referenced by itk::Matrix< ScalarType, itkGetStaticConstMacro(ImageDimension), itkGetStaticConstMacro(ImageDimension) >::Matrix().
const Self& itk::Matrix< T, NRows, NColumns >::operator= | ( | const InternalMatrixType & | matrix | ) | [inline] |
Definition at line 217 of file itkMatrix.h.
const Self& itk::Matrix< T, NRows, NColumns >::operator= | ( | const Self & | matrix | ) | [inline] |
Assignment operator.
Definition at line 230 of file itkMatrix.h.
bool itk::Matrix< T, NRows, NColumns >::operator== | ( | const Self & | matrix | ) | const [inline] |
Comparison operators.
Definition at line 194 of file itkMatrix.h.
Referenced by itk::Matrix< ScalarType, itkGetStaticConstMacro(ImageDimension), itkGetStaticConstMacro(ImageDimension) >::operator!=().
T* itk::Matrix< T, NRows, NColumns >::operator[] | ( | unsigned int | i | ) | [inline] |
Return a row of the matrix.
Definition at line 145 of file itkMatrix.h.
const T* itk::Matrix< T, NRows, NColumns >::operator[] | ( | unsigned int | i | ) | const [inline] |
Return a row of the matrix.
Definition at line 151 of file itkMatrix.h.
void itk::Matrix< T, NRows, NColumns >::SetIdentity | ( | void | ) | [inline] |
Set the matrix to identity.
Definition at line 169 of file itkMatrix.h.
const unsigned int itk::Matrix< T, NRows, NColumns >::ColumnDimensions = NColumns [static] |
Number Of Columns and Rows.
Definition at line 58 of file itkMatrix.h.
InternalMatrixType itk::Matrix< T, NRows, NColumns >::m_Matrix [private] |
Definition at line 260 of file itkMatrix.h.
Referenced by itk::Matrix< ScalarType, itkGetStaticConstMacro(ImageDimension), itkGetStaticConstMacro(ImageDimension) >::Fill(), itk::Matrix< ScalarType, itkGetStaticConstMacro(ImageDimension), itkGetStaticConstMacro(ImageDimension) >::GetInverse(), itk::Matrix< ScalarType, itkGetStaticConstMacro(ImageDimension), itkGetStaticConstMacro(ImageDimension) >::GetTranspose(), itk::Matrix< ScalarType, itkGetStaticConstMacro(ImageDimension), itkGetStaticConstMacro(ImageDimension) >::GetVnlMatrix(), itk::Matrix< ScalarType, itkGetStaticConstMacro(ImageDimension), itkGetStaticConstMacro(ImageDimension) >::operator()(), itk::Matrix< ScalarType, itkGetStaticConstMacro(ImageDimension), itkGetStaticConstMacro(ImageDimension) >::operator*=(), itk::Matrix< ScalarType, itkGetStaticConstMacro(ImageDimension), itkGetStaticConstMacro(ImageDimension) >::operator/=(), itk::Matrix< ScalarType, itkGetStaticConstMacro(ImageDimension), itkGetStaticConstMacro(ImageDimension) >::operator=(), itk::Matrix< ScalarType, itkGetStaticConstMacro(ImageDimension), itkGetStaticConstMacro(ImageDimension) >::operator==(), itk::Matrix< ScalarType, itkGetStaticConstMacro(ImageDimension), itkGetStaticConstMacro(ImageDimension) >::operator[](), and itk::Matrix< ScalarType, itkGetStaticConstMacro(ImageDimension), itkGetStaticConstMacro(ImageDimension) >::SetIdentity().
const unsigned int itk::Matrix< T, NRows, NColumns >::RowDimensions = NRows [static] |
Number Of Columns and Rows.
Definition at line 57 of file itkMatrix.h.