#include <itkArray.h>
Inheritance diagram for itk::Array:
Public Types | |
typedef TValueType | ValueType |
Public Methods | |
Array () | |
Array (unsigned int dimension) | |
void | Fill (TValueType const &v) |
~Array () | |
unsigned int | Size (void) const |
unsigned int | GetNumberOfElements (void) const |
This class derives from the vnl_vector<> class. Its size is assigned at construction time (run time) and can not be changed afterwards except by using assignment to another Array.
The class is templated over the type of the elements.
Template parameters for class Array:
Definition at line 44 of file itkArray.h.
|
The element type stored at each location in the Array. Definition at line 49 of file itkArray.h. |
|
Default constructor. It is created with an empty array it has to be allocated later by assignment |
|
Constructor with size. Size can only be changed by assignment |
|
This destructor is not virtual for performance reasons. However, this means that subclasses cannot allocate memory. Definition at line 72 of file itkArray.h. |
|
Set the all the elements of the array to the specified value Definition at line 61 of file itkArray.h. |
|
Return the number of elements in the Array Definition at line 66 of file itkArray.h. |
|
Return the number of elements in the Array Definition at line 64 of file itkArray.h. |