#include <itkFixedArray.h>
Inheritance diagram for itk::FixedArray< TValueType, VLength >:
Public Types | |
typedef TValueType | ValueType |
typedef ValueType | CArray [VLength] |
typedef ValueType * | Iterator |
typedef const ValueType * | ConstIterator |
typedef ValueType * | pointer |
typedef const ValueType * | const_pointer |
typedef ValueType & | reference |
typedef const ValueType & | const_reference |
typedef unsigned int | SizeType |
Public Member Functions | |
itkStaticConstMacro (Length, unsigned int, VLength) | |
itkStaticConstMacro (Dimension, unsigned int, VLength) | |
~FixedArray () | |
FixedArray & | operator= (const ValueType r[VLength]) |
FixedArray () | |
FixedArray (const ValueType r[VLength]) | |
template<class TFixedArrayValueType> | FixedArray (const FixedArray< TFixedArrayValueType, VLength > &r) |
template<class TFixedArrayValueType> FixedArray & | operator= (const FixedArray< TFixedArrayValueType, VLength > &r) |
bool | operator== (const FixedArray &r) const |
bool | operator!= (const FixedArray &r) const |
reference | operator[] (short index) |
const_reference | operator[] (short index) const |
reference | operator[] (unsigned short index) |
const_reference | operator[] (unsigned short index) const |
reference | operator[] (int index) |
const_reference | operator[] (int index) const |
reference | operator[] (unsigned int index) |
const_reference | operator[] (unsigned int index) const |
reference | operator[] (long index) |
const_reference | operator[] (long index) const |
reference | operator[] (unsigned long index) |
const_reference | operator[] (unsigned long index) const |
void | SetElement (unsigned short index, const_reference value) |
const_reference | GetElement (unsigned short index) const |
ValueType * | GetDataPointer () |
const ValueType * | GetDataPointer () const |
Iterator | Begin () |
ConstIterator | Begin () const |
Iterator | End () |
ConstIterator | End () const |
ReverseIterator | rBegin () |
ConstReverseIterator | rBegin () const |
ReverseIterator | rEnd () |
ConstReverseIterator | rEnd () const |
SizeType | Size () const |
void | Fill (const ValueType &) |
Static Public Member Functions | |
FixedArray | Filled (const ValueType &) |
Simulates a standard C array, except that copy semantics are used instead of reference semantics. Also, arrays of different sizes cannot be assigned to one another, and size information is known for function returns.
Template parameters for class FixedArray:
The length of the array is fixed at compile time. If you wish to specify the length of the array at run-time, use the class itk::Array. If you wish to change to change the length of the array at run-time, you're best off using std::vector<>.
Definition at line 64 of file itkFixedArray.h.
|
A type representing the C-array version of this FixedArray. Definition at line 77 of file itkFixedArray.h. |
|
A const pointer to the ValueType. Definition at line 123 of file itkFixedArray.h. |
|
A const reference to the ValueType. Definition at line 129 of file itkFixedArray.h. |
|
|
|
A pointer to the ValueType. Definition at line 120 of file itkFixedArray.h. |
|
A reference to the ValueType. Definition at line 126 of file itkFixedArray.h. |
|
Definition at line 131 of file itkFixedArray.h. |
|
|
Constructors |
|
Constructors |
|
Constructor to initialize a fixed array from another of any data type Definition at line 141 of file itkFixedArray.h. |
|
This destructor is not virtual for performance reasons. However, this means that subclasses cannot allocate memory. |
|
Get various iterators to the array. |
|
Get various iterators to the array. Referenced by itk::FixedArray< vnl_vector_fixed< double, VImageDimension >, VCliqueSize >::FixedArray(). |
|
Get various iterators to the array. |
|
Get various iterators to the array. Referenced by itk::FixedArray< vnl_vector_fixed< double, VImageDimension >, VCliqueSize >::FixedArray(). |
|
Get various iterators to the array. Referenced by itk::MeasurementVectorTraits::SetLength(). |
|
|
|
Return a pointer to the data. Definition at line 201 of file itkFixedArray.h. |
|
Return a pointer to the data. Definition at line 200 of file itkFixedArray.h. |
|
Set/Get element methods are more convenient in wrapping languages Definition at line 196 of file itkFixedArray.h. |
|
Dimension constant |
|
Length constant |
|
Operators == and != are used to compare whether two arrays are equal. Note that arrays are equal when the number of components (size) is the same, and each component value is equal. Definition at line 172 of file itkFixedArray.h. |
|
|
|
Operator= defined for a variety of types. Definition at line 156 of file itkFixedArray.h. |
|
Operators == and != are used to compare whether two arrays are equal. Note that arrays are equal when the number of components (size) is the same, and each component value is equal. |
|
Allow the FixedArray to be indexed normally. No bounds checking is done. The separate versions are a work-around for an integer conversion bug in Visual C++. Definition at line 190 of file itkFixedArray.h. |
|
Allow the FixedArray to be indexed normally. No bounds checking is done. The separate versions are a work-around for an integer conversion bug in Visual C++. Definition at line 189 of file itkFixedArray.h. |
|
Allow the FixedArray to be indexed normally. No bounds checking is done. The separate versions are a work-around for an integer conversion bug in Visual C++. Definition at line 188 of file itkFixedArray.h. |
|
Allow the FixedArray to be indexed normally. No bounds checking is done. The separate versions are a work-around for an integer conversion bug in Visual C++. Definition at line 187 of file itkFixedArray.h. |
|
Allow the FixedArray to be indexed normally. No bounds checking is done. The separate versions are a work-around for an integer conversion bug in Visual C++. Definition at line 186 of file itkFixedArray.h. |
|
Allow the FixedArray to be indexed normally. No bounds checking is done. The separate versions are a work-around for an integer conversion bug in Visual C++. Definition at line 185 of file itkFixedArray.h. |
|
Allow the FixedArray to be indexed normally. No bounds checking is done. The separate versions are a work-around for an integer conversion bug in Visual C++. Definition at line 184 of file itkFixedArray.h. |
|
Allow the FixedArray to be indexed normally. No bounds checking is done. The separate versions are a work-around for an integer conversion bug in Visual C++. Definition at line 183 of file itkFixedArray.h. |
|
Allow the FixedArray to be indexed normally. No bounds checking is done. The separate versions are a work-around for an integer conversion bug in Visual C++. Definition at line 182 of file itkFixedArray.h. |
|
Allow the FixedArray to be indexed normally. No bounds checking is done. The separate versions are a work-around for an integer conversion bug in Visual C++. Definition at line 181 of file itkFixedArray.h. |
|
Allow the FixedArray to be indexed normally. No bounds checking is done. The separate versions are a work-around for an integer conversion bug in Visual C++. Definition at line 180 of file itkFixedArray.h. |
|
Allow the FixedArray to be indexed normally. No bounds checking is done. The separate versions are a work-around for an integer conversion bug in Visual C++. Definition at line 179 of file itkFixedArray.h. |
|
Get various iterators to the array. |
|
Get various iterators to the array. |
|
Get various iterators to the array. |
|
Get various iterators to the array. |
|
Set/Get element methods are more convenient in wrapping languages Definition at line 194 of file itkFixedArray.h. |
|
Get various iterators to the array. |