#include <itkArray2D.h>


This class derives from the vnl_matrix<> class. Its size is assigned at construction time (run time) and can not be changed afterwards.
The class is templated over the type of the elements.
Template parameters for class Array2D:
Definition at line 44 of file itkArray2D.h.
Public Types | |
| typedef Array2D | Self |
| typedef TValueType | ValueType |
| typedef vnl_matrix< TValueType > | VnlMatrixType |
Public Member Functions | |
| Array2D (const VnlMatrixType &matrix) | |
| Array2D (const Self &array) | |
| Array2D (unsigned int rows, unsigned int cols) | |
| Array2D () | |
| void | Fill (TValueType const &v) |
| const Self & | operator= (const VnlMatrixType &matrix) |
| const Self & | operator= (const Self &array) |
| void | SetSize (unsigned int m, unsigned int n) |
| ~Array2D () | |
| typedef Array2D itk::Array2D< TValueType >::Self |
Definition at line 50 of file itkArray2D.h.
| typedef TValueType itk::Array2D< TValueType >::ValueType |
The element type stored at each location in the Array2D.
Definition at line 49 of file itkArray2D.h.
| typedef vnl_matrix<TValueType> itk::Array2D< TValueType >::VnlMatrixType |
Definition at line 51 of file itkArray2D.h.
| itk::Array2D< TValueType >::Array2D | ( | ) |
| itk::Array2D< TValueType >::Array2D | ( | unsigned int | rows, | |
| unsigned int | cols | |||
| ) |
| itk::Array2D< TValueType >::Array2D | ( | const Self & | array | ) |
| itk::Array2D< TValueType >::Array2D | ( | const VnlMatrixType & | matrix | ) |
| itk::Array2D< TValueType >::~Array2D | ( | ) | [inline] |
This destructor is not virtual for performance reasons. However, this means that subclasses cannot allocate memory.
Definition at line 70 of file itkArray2D.h.
| void itk::Array2D< TValueType >::Fill | ( | TValueType const & | v | ) | [inline] |
Definition at line 63 of file itkArray2D.h.
| const Self& itk::Array2D< TValueType >::operator= | ( | const VnlMatrixType & | matrix | ) |
| const Self& itk::Array2D< TValueType >::operator= | ( | const Self & | array | ) |
| void itk::Array2D< TValueType >::SetSize | ( | unsigned int | m, | |
| unsigned int | n | |||
| ) |
Destructively set the size to that given. Will lose data.
1.5.5 written by Dimitri van Heesch,
© 1997-2000