DMRITool
v0.1.1-139-g860d86b4
Diffusion MRI Tool
|
#include <itkSpatiallyDenseSparseVectorImagePixelAccessor.h>
Give access to partial aspects of a type.
SpatiallyDenseSparseVectorImagePixelAccessor is specifically meant to provide SpatiallyDenseSparseVectorImage with the same DefaultPixelAccessor
interface that DefaultPixelAccessor provides to Image.
SpatiallyDenseSparseVectorImagePixelAccessor is templated over an internal type and an external type representation. This class encapsulates a customized convertion between the internal and external type representations.
Definition at line 43 of file itkSpatiallyDenseSparseVectorImagePixelAccessor.h.
Public Types | |
typedef VariableLengthVector< TValueType > | ExternalType |
typedef SparseVector< TValueType, TKeyType > | InternalType |
typedef unsigned long | VectorLengthType |
Public Member Functions | |
ExternalType | Get (const InternalType &input, const SizeValueType offset) const |
VectorLengthType | GetVectorLength () const |
void | Set (InternalType &output, const ExternalType &input, const SizeValueType offset) const |
void | SetVectorLength (VectorLengthType length) |
SpatiallyDenseSparseVectorImagePixelAccessor () | |
SpatiallyDenseSparseVectorImagePixelAccessor (ExternalType fillBufferValue, VectorLengthType length) | |
virtual | ~SpatiallyDenseSparseVectorImagePixelAccessor () |
Private Attributes | |
ExternalType | m_FillBufferValue |
VectorLengthType | m_VectorLength |
typedef VariableLengthVector<TValueType> itk::SpatiallyDenseSparseVectorImagePixelAccessor< TValueType, TKeyType >::ExternalType |
External typedef. It defines the external aspect that this class will exhibit.
Definition at line 49 of file itkSpatiallyDenseSparseVectorImagePixelAccessor.h.
typedef SparseVector<TValueType, TKeyType> itk::SpatiallyDenseSparseVectorImagePixelAccessor< TValueType, TKeyType >::InternalType |
Internal typedef. It defines the internal real representation of data.
Definition at line 53 of file itkSpatiallyDenseSparseVectorImagePixelAccessor.h.
typedef unsigned long itk::SpatiallyDenseSparseVectorImagePixelAccessor< TValueType, TKeyType >::VectorLengthType |
Definition at line 55 of file itkSpatiallyDenseSparseVectorImagePixelAccessor.h.
|
inline |
Definition at line 106 of file itkSpatiallyDenseSparseVectorImagePixelAccessor.h.
|
inline |
Constructor to initialize slices and image size at construction time
Definition at line 109 of file itkSpatiallyDenseSparseVectorImagePixelAccessor.h.
|
inlinevirtual |
Definition at line 116 of file itkSpatiallyDenseSparseVectorImagePixelAccessor.h.
|
inline |
Get the value from input
Definition at line 73 of file itkSpatiallyDenseSparseVectorImagePixelAccessor.h.
|
inline |
Get Vector lengths
Definition at line 104 of file itkSpatiallyDenseSparseVectorImagePixelAccessor.h.
|
inline |
Set output using the value in input
Definition at line 58 of file itkSpatiallyDenseSparseVectorImagePixelAccessor.h.
References itk::SparseVector< TValueType, TKeyType >::Clear().
|
inline |
Set the length of each vector in the VectorImage
Definition at line 98 of file itkSpatiallyDenseSparseVectorImagePixelAccessor.h.
|
private |
Definition at line 116 of file itkSpatiallyDenseSparseVectorImagePixelAccessor.h.
|
private |
Definition at line 120 of file itkSpatiallyDenseSparseVectorImagePixelAccessor.h.