DMRITool
v0.1.1-139-g860d86b4
Diffusion MRI Tool
|
#include <itkSparseVector.h>
Represents a sparse array.
Definition at line 33 of file itkSparseVector.h.
Public Types | |
typedef TValueType | ComponentType |
typedef TKeyType | ElementIdentifier |
typedef utl_unordered_map< TKeyType, TValueType > | InternalDataType |
typedef TKeyType | KeyType |
typedef SparseVector | Self |
typedef TValueType | ValueType |
Public Member Functions | |
void | Clear () |
void | Fill (TValueType const &v) |
InternalDataType * | GetDataPointer () |
const InternalDataType * | GetDataPointer () const |
unsigned int | GetSize (void) const |
TValueType & | operator[] (unsigned int i) |
TValueType | operator[] (unsigned int i) const |
unsigned int | Size (void) const |
SparseVector () | |
~SparseVector () | |
Private Attributes | |
InternalDataType | m_Data |
ValueType | m_FillBufferValue |
typedef TValueType itk::SparseVector< TValueType, TKeyType >::ComponentType |
Definition at line 41 of file itkSparseVector.h.
typedef TKeyType itk::SparseVector< TValueType, TKeyType >::ElementIdentifier |
Definition at line 40 of file itkSparseVector.h.
typedef utl_unordered_map<TKeyType, TValueType> itk::SparseVector< TValueType, TKeyType >::InternalDataType |
Definition at line 42 of file itkSparseVector.h.
typedef TKeyType itk::SparseVector< TValueType, TKeyType >::KeyType |
Definition at line 39 of file itkSparseVector.h.
typedef SparseVector itk::SparseVector< TValueType, TKeyType >::Self |
Definition at line 43 of file itkSparseVector.h.
typedef TValueType itk::SparseVector< TValueType, TKeyType >::ValueType |
The element type stored at each location in the Array.
Definition at line 38 of file itkSparseVector.h.
|
inline |
Default constructor
Definition at line 46 of file itkSparseVector.h.
References itk::SparseVector< TValueType, TKeyType >::m_Data, and itk::SparseVector< TValueType, TKeyType >::m_FillBufferValue.
|
inline |
Destructor
Definition at line 53 of file itkSparseVector.h.
|
inline |
Clear data
Definition at line 65 of file itkSparseVector.h.
References itk::SparseVector< TValueType, TKeyType >::m_Data.
Referenced by itk::SpatiallyDenseSparseVectorImagePixelAccessor< TValueType, TKeyType >::Set().
|
inline |
Set the all the elements of the array to the specified value
Definition at line 58 of file itkSparseVector.h.
References itk::SparseVector< TValueType, TKeyType >::m_Data, and itk::SparseVector< TValueType, TKeyType >::m_FillBufferValue.
|
inline |
Pointer to internal data
Definition at line 105 of file itkSparseVector.h.
References itk::SparseVector< TValueType, TKeyType >::m_Data.
|
inline |
Definition at line 110 of file itkSparseVector.h.
References itk::SparseVector< TValueType, TKeyType >::m_Data.
|
inline |
Definition at line 94 of file itkSparseVector.h.
References itk::SparseVector< TValueType, TKeyType >::m_Data.
|
inline |
Return modifiable lvalue reference to the element at specified index. No range checking.
Definition at line 71 of file itkSparseVector.h.
References itk::SparseVector< TValueType, TKeyType >::m_Data.
|
inline |
Return constant rvalue reference to the element at specified index. No range checking.
Definition at line 77 of file itkSparseVector.h.
References itk::SparseVector< TValueType, TKeyType >::m_Data, and itk::SparseVector< TValueType, TKeyType >::m_FillBufferValue.
|
inline |
Definition at line 99 of file itkSparseVector.h.
References itk::SparseVector< TValueType, TKeyType >::m_Data.
|
private |
Definition at line 117 of file itkSparseVector.h.
Referenced by itk::SparseVector< TValueType, TKeyType >::Clear(), itk::SparseVector< TValueType, TKeyType >::Fill(), itk::SparseVector< TValueType, TKeyType >::GetDataPointer(), itk::SparseVector< TValueType, TKeyType >::GetSize(), itk::SparseVector< TValueType, TKeyType >::operator[](), itk::SparseVector< TValueType, TKeyType >::Size(), and itk::SparseVector< TValueType, TKeyType >::SparseVector().
|
private |
Definition at line 118 of file itkSparseVector.h.
Referenced by itk::SparseVector< TValueType, TKeyType >::Fill(), itk::SparseVector< TValueType, TKeyType >::operator[](), and itk::SparseVector< TValueType, TKeyType >::SparseVector().