ITK  4.13.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Protected Types | Private Attributes | List of all members
itk::NthElementPixelAccessor< TOutputPixelType, itk::VariableLengthVector< TPixelType > > Class Template Reference

#include <itkNthElementPixelAccessor.h>

+ Inheritance diagram for itk::NthElementPixelAccessor< TOutputPixelType, itk::VariableLengthVector< TPixelType > >:
+ Collaboration diagram for itk::NthElementPixelAccessor< TOutputPixelType, itk::VariableLengthVector< TPixelType > >:

Detailed Description

template<typename TOutputPixelType, typename TPixelType>
class itk::NthElementPixelAccessor< TOutputPixelType, itk::VariableLengthVector< TPixelType > >

Definition at line 108 of file itkNthElementPixelAccessor.h.

Public Types

typedef VariableLengthVector
< TPixelType > 
ActualPixelType
 
typedef TOutputPixelType ExternalType
 
typedef TPixelType InternalType
 
typedef NthElementPixelAccessor Self
 
typedef unsigned int VectorLengthType
 

Public Member Functions

ExternalType Get (const ActualPixelType &input) const
 
ExternalType Get (const InternalType &input, const SizeValueType offset) const
 
unsigned int GetElementNumber (void) const
 
VectorLengthType GetVectorLength () const
 
 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)
 
NthElementPixelAccessoroperator= (const NthElementPixelAccessor &accessor)
 

Protected Types

typedef
DefaultVectorPixelAccessor
< TPixelType > 
Superclass
 

Private Attributes

VectorLengthType m_ElementNumber
 

Additional Inherited Members

- Private Types inherited from itk::DefaultVectorPixelAccessor< TPixelType >
typedef VariableLengthVector
< TPixelType > 
ExternalType
 
typedef TPixelType InternalType
 
typedef unsigned int VectorLengthType
 
- Private Member Functions inherited from itk::DefaultVectorPixelAccessor< TPixelType >
 DefaultVectorPixelAccessor ()
 
 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
 
virtual ~DefaultVectorPixelAccessor ()
 
void SetVectorLength (VectorLengthType l)
 

Member Typedef Documentation

template<typename TOutputPixelType , typename TPixelType >
typedef VariableLengthVector< TPixelType > itk::NthElementPixelAccessor< TOutputPixelType, itk::VariableLengthVector< TPixelType > >::ActualPixelType

Definition at line 124 of file itkNthElementPixelAccessor.h.

template<typename TOutputPixelType , typename TPixelType >
typedef TOutputPixelType itk::NthElementPixelAccessor< TOutputPixelType, itk::VariableLengthVector< TPixelType > >::ExternalType

External typedef. It defines the external aspect that this class will exhibit.

Definition at line 119 of file itkNthElementPixelAccessor.h.

template<typename TOutputPixelType , typename TPixelType >
typedef TPixelType itk::NthElementPixelAccessor< TOutputPixelType, itk::VariableLengthVector< TPixelType > >::InternalType

Internal typedef used by the ImageAdaptor for the buffer pointer

Definition at line 122 of file itkNthElementPixelAccessor.h.

template<typename TOutputPixelType , typename TPixelType >
typedef NthElementPixelAccessor itk::NthElementPixelAccessor< TOutputPixelType, itk::VariableLengthVector< TPixelType > >::Self

Standard class typedefs.

Definition at line 113 of file itkNthElementPixelAccessor.h.

template<typename TOutputPixelType , typename TPixelType >
typedef DefaultVectorPixelAccessor< TPixelType > itk::NthElementPixelAccessor< TOutputPixelType, itk::VariableLengthVector< TPixelType > >::Superclass
protected

Definition at line 195 of file itkNthElementPixelAccessor.h.

template<typename TOutputPixelType , typename TPixelType >
typedef unsigned int itk::NthElementPixelAccessor< TOutputPixelType, itk::VariableLengthVector< TPixelType > >::VectorLengthType

Definition at line 115 of file itkNthElementPixelAccessor.h.

Constructor & Destructor Documentation

template<typename TOutputPixelType , typename TPixelType >
itk::NthElementPixelAccessor< TOutputPixelType, itk::VariableLengthVector< TPixelType > >::NthElementPixelAccessor ( unsigned int  length = 1)
inline

Definition at line 172 of file itkNthElementPixelAccessor.h.

Member Function Documentation

template<typename TOutputPixelType , typename TPixelType >
ExternalType itk::NthElementPixelAccessor< TOutputPixelType, itk::VariableLengthVector< TPixelType > >::Get ( const ActualPixelType input) const
inline
template<typename TOutputPixelType , typename TPixelType >
ExternalType itk::NthElementPixelAccessor< TOutputPixelType, itk::VariableLengthVector< TPixelType > >::Get ( const InternalType input,
const SizeValueType  offset 
) const
inline
template<typename TOutputPixelType , typename TPixelType >
unsigned int itk::NthElementPixelAccessor< TOutputPixelType, itk::VariableLengthVector< TPixelType > >::GetElementNumber ( void  ) const
inline

Get the element number to access in the container

Definition at line 156 of file itkNthElementPixelAccessor.h.

References itk::NthElementPixelAccessor< T, TContainer >::m_ElementNumber.

template<typename TOutputPixelType , typename TPixelType >
VectorLengthType itk::NthElementPixelAccessor< TOutputPixelType, itk::VariableLengthVector< TPixelType > >::GetVectorLength ( ) const
inline

Get Vector lengths

Definition at line 170 of file itkNthElementPixelAccessor.h.

template<typename TOutputPixelType , typename TPixelType >
bool itk::NthElementPixelAccessor< TOutputPixelType, itk::VariableLengthVector< TPixelType > >::operator!= ( const Self accessor) const
inline

operator!=. This is needed to convert a pixel accessor to a functor.

See Also
AdaptImageFilter

Definition at line 180 of file itkNthElementPixelAccessor.h.

References itk::NthElementPixelAccessor< T, TContainer >::m_ElementNumber.

template<typename TOutputPixelType , typename TPixelType >
NthElementPixelAccessor& itk::NthElementPixelAccessor< TOutputPixelType, itk::VariableLengthVector< TPixelType > >::operator= ( const NthElementPixelAccessor< TOutputPixelType, itk::VariableLengthVector< TPixelType > > &  accessor)
inline

Assignment operator

Definition at line 186 of file itkNthElementPixelAccessor.h.

References itk::NthElementPixelAccessor< T, TContainer >::m_ElementNumber.

template<typename TOutputPixelType , typename TPixelType >
void itk::NthElementPixelAccessor< TOutputPixelType, itk::VariableLengthVector< TPixelType > >::Set ( ActualPixelType output,
const ExternalType input 
) const
inline
template<typename TOutputPixelType , typename TPixelType >
void itk::NthElementPixelAccessor< TOutputPixelType, itk::VariableLengthVector< TPixelType > >::Set ( InternalType output,
const ExternalType input,
const unsigned long  offset 
) const
inline
template<typename TOutputPixelType , typename TPixelType >
void itk::NthElementPixelAccessor< TOutputPixelType, itk::VariableLengthVector< TPixelType > >::SetElementNumber ( unsigned int  nth)
inline

Set the element number to access in the container

Definition at line 160 of file itkNthElementPixelAccessor.h.

References itk::NthElementPixelAccessor< T, TContainer >::m_ElementNumber.

template<typename TOutputPixelType , typename TPixelType >
void itk::NthElementPixelAccessor< TOutputPixelType, itk::VariableLengthVector< TPixelType > >::SetVectorLength ( VectorLengthType  l)
inline

Set the length of each vector in the VectorImage

Definition at line 164 of file itkNthElementPixelAccessor.h.

Member Data Documentation

template<typename TOutputPixelType , typename TPixelType >
VectorLengthType itk::NthElementPixelAccessor< TOutputPixelType, itk::VariableLengthVector< TPixelType > >::m_ElementNumber
private

Definition at line 198 of file itkNthElementPixelAccessor.h.


The documentation for this class was generated from the following file: