ITK  4.4.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<class TOutputPixelType, class 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 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)
 
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)
 

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<class TOutputPixelType , class TPixelType >
typedef VariableLengthVector< TPixelType > itk::NthElementPixelAccessor< TOutputPixelType, itk::VariableLengthVector< TPixelType > >::ActualPixelType

Definition at line 122 of file itkNthElementPixelAccessor.h.

template<class TOutputPixelType , class 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 117 of file itkNthElementPixelAccessor.h.

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

Internal typedef used by the ImageAdaptor for the buffer pointer

Definition at line 120 of file itkNthElementPixelAccessor.h.

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

Definition at line 173 of file itkNthElementPixelAccessor.h.

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

Definition at line 113 of file itkNthElementPixelAccessor.h.

Constructor & Destructor Documentation

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

Definition at line 166 of file itkNthElementPixelAccessor.h.

Member Function Documentation

template<class TOutputPixelType , class TPixelType >
ExternalType itk::NthElementPixelAccessor< TOutputPixelType, itk::VariableLengthVector< TPixelType > >::Get ( const ActualPixelType input) const
inline

Definition at line 135 of file itkNthElementPixelAccessor.h.

template<class TOutputPixelType , class TPixelType >
ExternalType itk::NthElementPixelAccessor< TOutputPixelType, itk::VariableLengthVector< TPixelType > >::Get ( const InternalType input,
const SizeValueType  offset 
) const
inline

Definition at line 143 of file itkNthElementPixelAccessor.h.

template<class TOutputPixelType , class 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 150 of file itkNthElementPixelAccessor.h.

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

Get Vector lengths

Definition at line 164 of file itkNthElementPixelAccessor.h.

template<class TOutputPixelType , class TPixelType >
void itk::NthElementPixelAccessor< TOutputPixelType, itk::VariableLengthVector< TPixelType > >::Set ( ActualPixelType  output,
const ExternalType input 
) const
inline

Definition at line 124 of file itkNthElementPixelAccessor.h.

template<class TOutputPixelType , class TPixelType >
void itk::NthElementPixelAccessor< TOutputPixelType, itk::VariableLengthVector< TPixelType > >::Set ( InternalType output,
const ExternalType input,
const unsigned long  offset 
) const
inline

Definition at line 129 of file itkNthElementPixelAccessor.h.

template<class TOutputPixelType , class 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 154 of file itkNthElementPixelAccessor.h.

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

Set the length of each vector in the VectorImage

Definition at line 158 of file itkNthElementPixelAccessor.h.

Member Data Documentation

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

Definition at line 176 of file itkNthElementPixelAccessor.h.


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