#include <itkDefaultVectorPixelAccessor.h>
Public Types | |
typedef unsigned int | VectorLengthType |
typedef VariableLengthVector< TType > | ExternalType |
typedef TType | InternalType |
Public Member Functions | |
VectorLengthType | GetVectorLength () const |
DefaultVectorPixelAccessor () | |
DefaultVectorPixelAccessor (VectorLengthType l) | |
virtual | ~DefaultVectorPixelAccessor () |
void | Set (InternalType &output, const ExternalType &input, const unsigned long offset) const |
ExternalType | Get (const InternalType &input, const unsigned long offset) const |
void | SetVectorLength (VectorLengthType l) |
DefaultVectorPixelAccessor is specifically meant to provide VectorImage with the same DefaultPixelAccessor
interface that DefaultPixelAccessor provides to Image.
The template paramters is the type that is contained in by the elements of a vector.
The class also contains a m_VectorLength paramter, set with the SetVectorLength method to set the length of the vectors. This must be set before the accessor can be used. This is the length of each of the vector containers.
Definition at line 48 of file itkDefaultVectorPixelAccessor.h.
|
External typedef. It defines the external aspect that this class will exhibit. Here it is an VariableLengthVector. The container does not manage the memory. In other words it is an array reference with the contents pointing to the actual data in the image. Definition at line 58 of file itkDefaultVectorPixelAccessor.h. Referenced by itk::DefaultVectorPixelAccessor< TType >::Get(), and itk::DefaultVectorPixelAccessor< TType >::Set(). |
|
Internal typedef. It defines the internal real representation of data. Definition at line 61 of file itkDefaultVectorPixelAccessor.h. Referenced by itk::DefaultVectorPixelAccessor< TType >::Set(). |
|
|
Definition at line 94 of file itkDefaultVectorPixelAccessor.h. References itk::DefaultVectorPixelAccessor< TType >::VectorLengthType. |
|
Constructor to initialize VectorLength at construction time Definition at line 97 of file itkDefaultVectorPixelAccessor.h. |
|
Definition at line 103 of file itkDefaultVectorPixelAccessor.h. References itk::DefaultVectorPixelAccessor< TType >::VectorLengthType. |
|
Get the value from input Definition at line 76 of file itkDefaultVectorPixelAccessor.h. References itk::DefaultVectorPixelAccessor< TType >::ExternalType. |
|
Get Vector lengths Definition at line 92 of file itkDefaultVectorPixelAccessor.h. |
|
Set output using the value in input Definition at line 64 of file itkDefaultVectorPixelAccessor.h. References itk::DefaultVectorPixelAccessor< TType >::ExternalType, itk::DefaultVectorPixelAccessor< TType >::InternalType, and itk::DefaultVectorPixelAccessor< TType >::VectorLengthType. |
|
Set the length of each vector in the VectorImage Definition at line 84 of file itkDefaultVectorPixelAccessor.h. |