Main Page
Groups
Namespace List
Class Hierarchy
Alphabetical List
Compound List
File
List
Namespace Members
Compound Members
File Members
Concepts
Array2D class representing a 2D array with size defined at construction time.
More...
#include <itkArray2D.h>
Inheritance diagram for itk::Array2D< TValueType >:
[legend]Collaboration diagram for itk::Array2D< TValueType >:
[legend]List of all members.
Detailed Description
template<typename TValueType>
class itk::Array2D< TValueType >
Array2D class representing a 2D array with size defined at construction time.
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:
- TValueType = Element type stored at each location in the array.
Definition at line 44 of file itkArray2D.h.
Member Typedef Documentation
Constructor & Destructor Documentation
template<typename TValueType> |
itk::Array2D< TValueType >::Array2D |
( |
unsigned int |
rows, |
|
|
unsigned int |
cols |
|
) |
|
|
|
This destructor is not virtual for performance reasons. However, this means that subclasses cannot allocate memory. Definition at line 70 of file itkArray2D.h. |
Member Function Documentation
template<typename TValueType> |
void itk::Array2D< TValueType >::Fill |
( |
TValueType const & |
v |
) |
[inline] |
|
template<typename TValueType> |
const Self& itk::Array2D< TValueType >::operator= |
( |
const Self & |
array |
) |
|
|
template<typename TValueType> |
void itk::Array2D< TValueType >::SetSize |
( |
unsigned int |
m, |
|
|
unsigned int |
n |
|
) |
|
|
|
Destructively set the size to that given. Will lose data. |
The documentation for this class was generated from the following file:
Generated at Sun Apr 1 02:58:23 2007 for ITK by
1.3.8 written by Dimitri van Heesch,
© 1997-2000