ITK  4.2.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Protected Types | Private Attributes
itk::Accessor::VectorImageToImagePixelAccessor< TType > Class Template Reference

#include <itkVectorImageToImageAdaptor.h>

+ Inheritance diagram for itk::Accessor::VectorImageToImagePixelAccessor< TType >:
+ Collaboration diagram for itk::Accessor::VectorImageToImagePixelAccessor< TType >:

List of all members.

Public Types

typedef VariableLengthVector
< TType > 
ActualPixelType
typedef TType ExternalType
typedef TType InternalType
typedef unsigned int VectorLengthType

Public Member Functions

ExternalType Get (const ActualPixelType &input) const
ExternalType Get (const InternalType &input, const SizeValueType offset) const
VectorLengthType GetExtractComponentIdx () const
VectorLengthType GetVectorLength () const
void Set (ActualPixelType output, const ExternalType &input) const
void Set (InternalType &output, const ExternalType &input, const unsigned long offset) const
void SetExtractComponentIdx (VectorLengthType idx)
void SetVectorLength (VectorLengthType l)
 VectorImageToImagePixelAccessor (unsigned int length=1)

Protected Types

typedef
DefaultVectorPixelAccessor
< TType > 
Superclass

Private Attributes

VectorLengthType m_ComponentIdx

Additional Inherited Members

- Private Types inherited from itk::DefaultVectorPixelAccessor< TType >
- Private Member Functions inherited from itk::DefaultVectorPixelAccessor< TType >
 DefaultVectorPixelAccessor ()
 DefaultVectorPixelAccessor (VectorLengthType l)
virtual ~DefaultVectorPixelAccessor ()

Detailed Description

template<class TType>
class itk::Accessor::VectorImageToImagePixelAccessor< TType >

Extract components from a VectorImage.

This accessor is used to extract components from a VectorImage. It is used from VectorImageComponentExtractAdaptor. The component to extract is set using SetExtractComponentIdx.

Note:
This work is part of the National Alliance for Medical Image Computing (NAMIC), funded by the National Institutes of Health through the NIH Roadmap for Medical Research, Grant U54 EB005149.

Definition at line 44 of file itkVectorImageToImageAdaptor.h.


Member Typedef Documentation

Definition at line 58 of file itkVectorImageToImageAdaptor.h.

template<class TType>
typedef TType itk::Accessor::VectorImageToImagePixelAccessor< TType >::ExternalType

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

Reimplemented from itk::DefaultVectorPixelAccessor< TType >.

Definition at line 53 of file itkVectorImageToImageAdaptor.h.

template<class TType>
typedef TType itk::Accessor::VectorImageToImagePixelAccessor< TType >::InternalType

Internal typedef used by the ImageAdaptor for the buffer pointer

Reimplemented from itk::DefaultVectorPixelAccessor< TType >.

Definition at line 56 of file itkVectorImageToImageAdaptor.h.

template<class TType>
typedef DefaultVectorPixelAccessor< TType > itk::Accessor::VectorImageToImagePixelAccessor< TType >::Superclass
protected

Definition at line 110 of file itkVectorImageToImageAdaptor.h.

template<class TType>
typedef unsigned int itk::Accessor::VectorImageToImagePixelAccessor< TType >::VectorLengthType

Reimplemented from itk::DefaultVectorPixelAccessor< TType >.

Definition at line 49 of file itkVectorImageToImageAdaptor.h.


Constructor & Destructor Documentation

template<class TType>
itk::Accessor::VectorImageToImagePixelAccessor< TType >::VectorImageToImagePixelAccessor ( unsigned int  length = 1)
inline

Definition at line 103 of file itkVectorImageToImageAdaptor.h.


Member Function Documentation

template<class TType>
ExternalType itk::Accessor::VectorImageToImagePixelAccessor< TType >::Get ( const ActualPixelType input) const
inline

Definition at line 71 of file itkVectorImageToImageAdaptor.h.

template<class TType>
ExternalType itk::Accessor::VectorImageToImagePixelAccessor< TType >::Get ( const InternalType input,
const SizeValueType  offset 
) const
inline

Get the value from input

Reimplemented from itk::DefaultVectorPixelAccessor< TType >.

Definition at line 79 of file itkVectorImageToImageAdaptor.h.

template<class TType>
VectorLengthType itk::Accessor::VectorImageToImagePixelAccessor< TType >::GetExtractComponentIdx ( ) const
inline

Definition at line 89 of file itkVectorImageToImageAdaptor.h.

template<class TType>
VectorLengthType itk::Accessor::VectorImageToImagePixelAccessor< TType >::GetVectorLength ( ) const
inline

Get Vector lengths

Reimplemented from itk::DefaultVectorPixelAccessor< TType >.

Definition at line 101 of file itkVectorImageToImageAdaptor.h.

template<class TType>
void itk::Accessor::VectorImageToImagePixelAccessor< TType >::Set ( ActualPixelType  output,
const ExternalType input 
) const
inline

Definition at line 60 of file itkVectorImageToImageAdaptor.h.

template<class TType>
void itk::Accessor::VectorImageToImagePixelAccessor< TType >::Set ( InternalType output,
const ExternalType input,
const unsigned long  offset 
) const
inline

Set output using the value in input

Reimplemented from itk::DefaultVectorPixelAccessor< TType >.

Definition at line 65 of file itkVectorImageToImageAdaptor.h.

template<class TType>
void itk::Accessor::VectorImageToImagePixelAccessor< TType >::SetExtractComponentIdx ( VectorLengthType  idx)
inline

Definition at line 84 of file itkVectorImageToImageAdaptor.h.

template<class TType>
void itk::Accessor::VectorImageToImagePixelAccessor< TType >::SetVectorLength ( VectorLengthType  l)
inline

Set the length of each vector in the VectorImage

Reimplemented from itk::DefaultVectorPixelAccessor< TType >.

Definition at line 95 of file itkVectorImageToImageAdaptor.h.


Member Data Documentation

template<class TType>
VectorLengthType itk::Accessor::VectorImageToImagePixelAccessor< TType >::m_ComponentIdx
private

Definition at line 113 of file itkVectorImageToImageAdaptor.h.


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