![]() |
ITK
5.4.0
Insight Toolkit
|
#include <itkNthElementPixelAccessor.h>
Public Types | |
using | ActualPixelType = VariableLengthVector< TPixelType > |
using | ExternalType = TOutputPixelType |
using | InternalType = TPixelType |
using | Self = NthElementPixelAccessor |
using | VectorLengthType = unsigned int |
Public Member Functions | |
ExternalType | Get (const ActualPixelType &input) const |
ExternalType | Get (const InternalType &input, const SizeValueType offset) const |
unsigned int | GetElementNumber () const |
VectorLengthType | GetVectorLength () const |
ITK_UNEQUAL_OPERATOR_MEMBER_FUNCTION (Self) | |
NthElementPixelAccessor (unsigned int length=1) | |
bool | operator== (const Self &accessor) const |
void | Set (ActualPixelType &output, const ExternalType &input) const |
void | Set (InternalType &output, const ExternalType &input, const unsigned long offset) const |
void | SetElementNumber (unsigned int nth) |
void | SetVectorLength (VectorLengthType l) |
NthElementPixelAccessor & | operator= (const NthElementPixelAccessor &accessor) |
Protected Types | |
using | Superclass = DefaultVectorPixelAccessor< TPixelType > |
Private Attributes | |
VectorLengthType | m_ElementNumber { 0 } |
Additional Inherited Members | |
![]() | |
using | ExternalType = VariableLengthVector< TPixelType > |
using | InternalType = TPixelType |
using | VectorLengthType = unsigned int |
![]() | |
DefaultVectorPixelAccessor ()=default | |
DefaultVectorPixelAccessor (VectorLengthType l) | |
ExternalType | Get (const InternalType &input, const SizeValueType offset) const |
VectorLengthType | GetVectorLength () const |
void | Set (InternalType &output, const ExternalType &input, const unsigned long offset) const |
~DefaultVectorPixelAccessor ()=default | |
void | SetVectorLength (VectorLengthType l) |
Definition at line 122 of file itkNthElementPixelAccessor.h.
using itk::NthElementPixelAccessor< TOutputPixelType, itk::VariableLengthVector< TPixelType > >::ActualPixelType = VariableLengthVector<TPixelType> |
Definition at line 138 of file itkNthElementPixelAccessor.h.
using itk::NthElementPixelAccessor< TOutputPixelType, itk::VariableLengthVector< TPixelType > >::ExternalType = TOutputPixelType |
External type alias. It defines the external aspect that this class will exhibit.
Definition at line 133 of file itkNthElementPixelAccessor.h.
using itk::NthElementPixelAccessor< TOutputPixelType, itk::VariableLengthVector< TPixelType > >::InternalType = TPixelType |
Internal type alias used by the ImageAdaptor for the buffer pointer
Definition at line 136 of file itkNthElementPixelAccessor.h.
using itk::NthElementPixelAccessor< TOutputPixelType, itk::VariableLengthVector< TPixelType > >::Self = NthElementPixelAccessor |
Standard class type aliases.
Definition at line 127 of file itkNthElementPixelAccessor.h.
|
protected |
Definition at line 223 of file itkNthElementPixelAccessor.h.
using itk::NthElementPixelAccessor< TOutputPixelType, itk::VariableLengthVector< TPixelType > >::VectorLengthType = unsigned int |
Definition at line 129 of file itkNthElementPixelAccessor.h.
|
inline |
Definition at line 200 of file itkNthElementPixelAccessor.h.
|
inline |
Definition at line 157 of file itkNthElementPixelAccessor.h.
References itk::NthElementPixelAccessor< T, TContainer >::m_ElementNumber.
|
inline |
Definition at line 166 of file itkNthElementPixelAccessor.h.
References itk::NthElementPixelAccessor< T, TContainer >::Get().
|
inline |
Get the element number to access in the container
Definition at line 174 of file itkNthElementPixelAccessor.h.
References itk::NthElementPixelAccessor< T, TContainer >::m_ElementNumber.
|
inline |
Get Vector lengths
Definition at line 195 of file itkNthElementPixelAccessor.h.
itk::NthElementPixelAccessor< TOutputPixelType, itk::VariableLengthVector< TPixelType > >::ITK_UNEQUAL_OPERATOR_MEMBER_FUNCTION | ( | Self | ) |
|
inline |
Assignment operator
Definition at line 214 of file itkNthElementPixelAccessor.h.
References itk::NthElementPixelAccessor< T, TContainer >::m_ElementNumber.
|
inline |
This is needed to convert a pixel accessor to a functor.
Definition at line 205 of file itkNthElementPixelAccessor.h.
References itk::NthElementPixelAccessor< T, TContainer >::m_ElementNumber.
|
inline |
Definition at line 141 of file itkNthElementPixelAccessor.h.
References itk::NthElementPixelAccessor< T, TContainer >::m_ElementNumber.
|
inline |
Definition at line 147 of file itkNthElementPixelAccessor.h.
References itk::NthElementPixelAccessor< T, TContainer >::Set().
|
inline |
Set the element number to access in the container
Definition at line 181 of file itkNthElementPixelAccessor.h.
References itk::NthElementPixelAccessor< T, TContainer >::m_ElementNumber.
|
inline |
Set the length of each vector in the VectorImage
Definition at line 188 of file itkNthElementPixelAccessor.h.
|
private |
Definition at line 226 of file itkNthElementPixelAccessor.h.