Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::DefaultVectorPixelAccessorFunctor< TImageType > Class Template Reference
[Image Adaptors]

This class provides a common API for pixel accessors for Image and VectorImage. (between the DefaultVectorPixelAccessor and DefaultPixelAccessor). More...

#include <itkDefaultVectorPixelAccessorFunctor.h>

List of all members.

Public Types

typedef TImageType ImageType
typedef ImageType::InternalPixelType InternalPixelType
typedef ImageType::PixelType ExternalPixelType
typedef ImageType::AccessorType PixelAccessorType
typedef unsigned int VectorLengthType

Public Member Functions

void SetPixelAccessor (PixelAccessorType &accessor)
void SetBegin (const InternalPixelType *begin)
void Set (InternalPixelType &output, const ExternalPixelType &input) const
ExternalPixelType Get (const InternalPixelType &input) const

Static Public Member Functions

void SetVectorLength (ImageType *image, VectorLengthType length)
VectorLengthType GetVectorLength (const ImageType *image)


Detailed Description

template<class TImageType>
class itk::DefaultVectorPixelAccessorFunctor< TImageType >

This class provides a common API for pixel accessors for Image and VectorImage. (between the DefaultVectorPixelAccessor and DefaultPixelAccessor).

The pixel accessor is set with the SetPixelAccessor method. This accessor is meant to be used only for VectorImage and not for Image. Prior to use, the start of the VectorImage buffer must also be set with the SetBegin method.

See also:
DefaultVectorPixelAccessor

DefaultPixelAccessor

DefaultPixelAccessorFunctor

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 42 of file itkDefaultVectorPixelAccessorFunctor.h.


Member Typedef Documentation

template<class TImageType>
typedef ImageType::PixelType itk::DefaultVectorPixelAccessorFunctor< TImageType >::ExternalPixelType
 

Definition at line 48 of file itkDefaultVectorPixelAccessorFunctor.h.

Referenced by itk::DefaultVectorPixelAccessorFunctor< TImageType >::Get(), and itk::DefaultVectorPixelAccessorFunctor< TImageType >::Set().

template<class TImageType>
typedef TImageType itk::DefaultVectorPixelAccessorFunctor< TImageType >::ImageType
 

Definition at line 46 of file itkDefaultVectorPixelAccessorFunctor.h.

Referenced by itk::DefaultVectorPixelAccessorFunctor< TImageType >::GetVectorLength(), and itk::DefaultVectorPixelAccessorFunctor< TImageType >::SetVectorLength().

template<class TImageType>
typedef ImageType::InternalPixelType itk::DefaultVectorPixelAccessorFunctor< TImageType >::InternalPixelType
 

Definition at line 47 of file itkDefaultVectorPixelAccessorFunctor.h.

Referenced by itk::DefaultVectorPixelAccessorFunctor< TImageType >::Get(), itk::DefaultVectorPixelAccessorFunctor< TImageType >::Set(), and itk::DefaultVectorPixelAccessorFunctor< TImageType >::SetBegin().

template<class TImageType>
typedef ImageType::AccessorType itk::DefaultVectorPixelAccessorFunctor< TImageType >::PixelAccessorType
 

Definition at line 49 of file itkDefaultVectorPixelAccessorFunctor.h.

Referenced by itk::DefaultVectorPixelAccessorFunctor< TImageType >::SetPixelAccessor().

template<class TImageType>
typedef unsigned int itk::DefaultVectorPixelAccessorFunctor< TImageType >::VectorLengthType
 

Definition at line 50 of file itkDefaultVectorPixelAccessorFunctor.h.

Referenced by itk::DefaultVectorPixelAccessorFunctor< TImageType >::GetVectorLength(), and itk::DefaultVectorPixelAccessorFunctor< TImageType >::SetVectorLength().


Member Function Documentation

template<class TImageType>
ExternalPixelType itk::DefaultVectorPixelAccessorFunctor< TImageType >::Get const InternalPixelType input  )  const [inline]
 

Get the value from input

Definition at line 82 of file itkDefaultVectorPixelAccessorFunctor.h.

References itk::DefaultVectorPixelAccessorFunctor< TImageType >::ExternalPixelType, and itk::DefaultVectorPixelAccessorFunctor< TImageType >::InternalPixelType.

template<class TImageType>
VectorLengthType itk::DefaultVectorPixelAccessorFunctor< TImageType >::GetVectorLength const ImageType image  )  [inline, static]
 

Definition at line 57 of file itkDefaultVectorPixelAccessorFunctor.h.

References itk::DefaultVectorPixelAccessorFunctor< TImageType >::ImageType, and itk::DefaultVectorPixelAccessorFunctor< TImageType >::VectorLengthType.

template<class TImageType>
void itk::DefaultVectorPixelAccessorFunctor< TImageType >::Set InternalPixelType output,
const ExternalPixelType input
const [inline]
 

Set output using the value in input

Definition at line 76 of file itkDefaultVectorPixelAccessorFunctor.h.

References itk::DefaultVectorPixelAccessorFunctor< TImageType >::ExternalPixelType, and itk::DefaultVectorPixelAccessorFunctor< TImageType >::InternalPixelType.

template<class TImageType>
void itk::DefaultVectorPixelAccessorFunctor< TImageType >::SetBegin const InternalPixelType begin  )  [inline]
 

Set the pointer index to the start of the buffer.

Definition at line 72 of file itkDefaultVectorPixelAccessorFunctor.h.

References itk::DefaultVectorPixelAccessorFunctor< TImageType >::InternalPixelType.

template<class TImageType>
void itk::DefaultVectorPixelAccessorFunctor< TImageType >::SetPixelAccessor PixelAccessorType accessor  )  [inline]
 

Set the PixelAccessor. This is set at construction time by the image iterators. The type PixelAccessorType is obtained from the ImageType over which the iterators are templated.

Definition at line 66 of file itkDefaultVectorPixelAccessorFunctor.h.

References itk::DefaultVectorPixelAccessorFunctor< TImageType >::PixelAccessorType.

template<class TImageType>
void itk::DefaultVectorPixelAccessorFunctor< TImageType >::SetVectorLength ImageType image,
VectorLengthType  length
[inline, static]
 

Definition at line 52 of file itkDefaultVectorPixelAccessorFunctor.h.

References itk::DefaultVectorPixelAccessorFunctor< TImageType >::ImageType, and itk::DefaultVectorPixelAccessorFunctor< TImageType >::VectorLengthType.


The documentation for this class was generated from the following file:
Generated at Thu May 25 00:46:01 2006 for ITK by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2000