#include <itkFixedArray.h>
Inheritance diagram for itk::FixedArray:
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 Methods | |
itkStaticConstMacro (Length, unsigned int, VLength) | |
itkStaticConstMacro (Dimension, unsigned int, VLength) | |
~FixedArray () | |
FixedArray () | |
FixedArray (const FixedArray &r) | |
FixedArray (const ValueType r[VLength]) | |
FixedArray & | operator= (const FixedArray &r) |
FixedArray & | operator= (const ValueType r[VLength]) |
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 |
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 Methods | |
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:
Definition at line 59 of file itkFixedArray.h.
|
A type representing the C-array version of this FixedArray. Definition at line 72 of file itkFixedArray.h. Referenced by itk::FixedArray< TComponent, 4 >::GetDataPointer(). |
|
A const pointer to the ValueType. Definition at line 114 of file itkFixedArray.h. |
|
A const reference to the ValueType. Definition at line 120 of file itkFixedArray.h. Referenced by itk::FixedArray< TComponent, 4 >::operator[](). |
|
A const iterator through the array. Reimplemented in itk::ContinuousIndex< TCoordRep, VIndexDimension >, itk::Point< TCoordRep, NPointDimension >, itk::Point< ScalarType, TDimension >, itk::Point< double, VImageDimension >, itk::Point< TCoordRep, VIndexDimension >, itk::Point< double, NDimensions >, and itk::Point< double, TPointDimension >. Definition at line 78 of file itkFixedArray.h. Referenced by itk::FixedArray< TComponent, 4 >::GetDataPointer(). |
|
An iterator through the array. Reimplemented in itk::ContinuousIndex< TCoordRep, VIndexDimension >, itk::Point< TCoordRep, NPointDimension >, itk::Point< ScalarType, TDimension >, itk::Point< double, VImageDimension >, itk::Point< TCoordRep, VIndexDimension >, itk::Point< double, NDimensions >, and itk::Point< double, TPointDimension >. Definition at line 75 of file itkFixedArray.h. Referenced by itk::FixedArray< TComponent, 4 >::GetDataPointer(). |
|
A pointer to the ValueType. Definition at line 111 of file itkFixedArray.h. |
|
A reference to the ValueType. Definition at line 117 of file itkFixedArray.h. Referenced by itk::FixedArray< TComponent, 4 >::operator!=(), and itk::FixedArray< TComponent, 4 >::operator[](). |
|
Definition at line 122 of file itkFixedArray.h. Referenced by itk::FixedArray< TComponent, 4 >::GetDataPointer(). |
|
|
Constructors |
|
Constructors |
|
Constructors |
|
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. |
|
Get various iterators to the array. |
|
Get various iterators to the array. |
|
Get various iterators to the array. |
|
|
|
Return a pointer to the data. Definition at line 167 of file itkFixedArray.h. |
|
Return a pointer to the data. Definition at line 166 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 144 of file itkFixedArray.h. |
|
Operator= defined for a variety of types. |
|
Operator= defined for a variety of types. |
|
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 162 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 161 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 160 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 159 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 158 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 157 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 156 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 155 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 154 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 153 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 152 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 151 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. |
|
Get various iterators to the array. |