ITK  4.2.0
Insight Segmentation and Registration Toolkit
Classes | Public Types | Public Member Functions | Static Public Member Functions | Private Attributes
itk::DefaultVectorPixelAccessorFunctor< TImageType > Class Template Reference

#include <itkDefaultVectorPixelAccessorFunctor.h>

List of all members.

Classes

struct  Rebind

Public Types

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

Public Member Functions

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

Static Public Member Functions

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

Private Attributes

InternalPixelTypem_Begin
PixelAccessorType m_PixelAccessor

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


Member Typedef Documentation

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

Definition at line 52 of file itkDefaultVectorPixelAccessorFunctor.h.

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

Definition at line 50 of file itkDefaultVectorPixelAccessorFunctor.h.

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

Definition at line 51 of file itkDefaultVectorPixelAccessorFunctor.h.

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

Definition at line 53 of file itkDefaultVectorPixelAccessorFunctor.h.

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

Definition at line 54 of file itkDefaultVectorPixelAccessorFunctor.h.


Member Function Documentation

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

Get the value from input

Definition at line 99 of file itkDefaultVectorPixelAccessorFunctor.h.

template<class TImageType >
static VectorLengthType itk::DefaultVectorPixelAccessorFunctor< TImageType >::GetVectorLength ( const ImageType image)
inlinestatic

Definition at line 74 of file itkDefaultVectorPixelAccessorFunctor.h.

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

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

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

template<class TImageType >
static void itk::DefaultVectorPixelAccessorFunctor< TImageType >::SetVectorLength ( ImageType image,
VectorLengthType  length 
)
inlinestatic

Definition at line 69 of file itkDefaultVectorPixelAccessorFunctor.h.


Member Data Documentation

template<class TImageType >
InternalPixelType* itk::DefaultVectorPixelAccessorFunctor< TImageType >::m_Begin
private

Definition at line 106 of file itkDefaultVectorPixelAccessorFunctor.h.

template<class TImageType >
PixelAccessorType itk::DefaultVectorPixelAccessorFunctor< TImageType >::m_PixelAccessor
private

Definition at line 105 of file itkDefaultVectorPixelAccessorFunctor.h.


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