|
Medical Imaging Interaction Toolkit
2026.06.00
Medical Imaging Interaction Toolkit
|
MITK matrix type extending itk::Matrix with additional constructors and utility methods. More...
#include <mitkMatrix.h>


Public Types | |
| typedef Matrix | Self |
| Standard class typedefs. More... | |
| typedef itk::Matrix< T, NRows, NColumns >::InternalMatrixType | InternalMatrixType |
Public Member Functions | |
| Matrix () | |
| Default constructor. More... | |
| Matrix (const Matrix &matrix) | |
| Copy constructor. More... | |
| Matrix (const itk::Matrix< T, NRows, NColumns > &matrix) | |
| Copy constructor for itk compatibility. More... | |
| Matrix (const vnl_matrix< T > &matrix) | |
| Constructor from vnl_matrix. More... | |
| Matrix (InternalMatrixType &matrix) | |
| Constructor from internal matrix type. More... | |
| template<typename ArrayType > | |
| void | FillMatrix (const ArrayType &array) |
| Copy elements from a 2D array into this matrix. More... | |
| template<typename MatrixType > | |
| void | ToArray (MatrixType matrix) const |
| Copy the elements of this matrix into a 2D array. More... | |
MITK matrix type extending itk::Matrix with additional constructors and utility methods.
| T | Element type (e.g. double, float). |
| NRows | Number of rows (default: 3). |
| NColumns | Number of columns (default: 3). |
Definition at line 31 of file mitkMatrix.h.
| typedef itk::Matrix<T, NRows, NColumns>::InternalMatrixType mitk::Matrix< T, NRows, NColumns >::InternalMatrixType |
Definition at line 37 of file mitkMatrix.h.
| typedef Matrix mitk::Matrix< T, NRows, NColumns >::Self |
Standard class typedefs.
Definition at line 35 of file mitkMatrix.h.
|
inlineexplicit |
Default constructor.
Definition at line 40 of file mitkMatrix.h.
|
inlineexplicit |
Copy constructor.
Definition at line 42 of file mitkMatrix.h.
|
inline |
Copy constructor for itk compatibility.
Definition at line 44 of file mitkMatrix.h.
|
inline |
Constructor from vnl_matrix.
Definition at line 48 of file mitkMatrix.h.
|
inlineexplicit |
Constructor from internal matrix type.
Definition at line 50 of file mitkMatrix.h.
|
inline |
Copy elements from a 2D array into this matrix.
Note that this method will assign doubles to floats without complaining!
| [in] | array | The array whose values shall be copied. Must overload [][] operator. |
Definition at line 64 of file mitkMatrix.h.
|
inline |
Copy the elements of this matrix into a 2D array.
Definition at line 81 of file mitkMatrix.h.