Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts
Public Types | Public Member Functions

itk::DefaultPixelAccessor< TType > Class Template Reference
[Image Adaptors]

Give access to partial aspects a type. More...

#include <itkDefaultPixelAccessor.h>

List of all members.

Public Types

typedef TType ExternalType
typedef TType InternalType

Public Member Functions

 DefaultPixelAccessor ()
const TType & Get (const TType &input) const
TType & Get (TType &input) const
void Set (TType &output, const TType &input) const
virtual ~DefaultPixelAccessor ()

Detailed Description

template<class TType>
class itk::DefaultPixelAccessor< TType >

Give access to partial aspects a type.

DefaultPixelAccessor is templated over an internal type and an external type representation. This class encapsulates a customized convertion between the internal and external type representations.

PixelAccessor is the class responsible for pixel-to-pixel transformation during image data access. The DefaultPixelAccessor is an identity operation on the pixel value. It only exist in order to standarize the way in which pixels are accessed.

PixelAccessor are used by ImageAdaptors in order to present an Image as being of a different type. The usual application of ImageAccessors is Image casting, by avoiding the overhead of an ImageFilter that performs the complete transformation

See also:
ImageAdaptor
PixelAccessor
Image

Definition at line 53 of file itkDefaultPixelAccessor.h.


Member Typedef Documentation

template<class TType >
typedef TType itk::DefaultPixelAccessor< TType >::ExternalType

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

Definition at line 62 of file itkDefaultPixelAccessor.h.

template<class TType >
typedef TType itk::DefaultPixelAccessor< TType >::InternalType

Internal typedef. It defines the internal real representation of data.

Definition at line 66 of file itkDefaultPixelAccessor.h.


Constructor & Destructor Documentation

template<class TType >
itk::DefaultPixelAccessor< TType >::DefaultPixelAccessor (  )  [inline]

Definition at line 57 of file itkDefaultPixelAccessor.h.

template<class TType >
virtual itk::DefaultPixelAccessor< TType >::~DefaultPixelAccessor (  )  [inline, virtual]

Definition at line 58 of file itkDefaultPixelAccessor.h.


Member Function Documentation

template<class TType >
TType& itk::DefaultPixelAccessor< TType >::Get ( TType &  input  )  const [inline]

Get the pixel.

Definition at line 73 of file itkDefaultPixelAccessor.h.

template<class TType >
const TType& itk::DefaultPixelAccessor< TType >::Get ( const TType &  input  )  const [inline]

Get a const reference to the pixel.

Definition at line 77 of file itkDefaultPixelAccessor.h.

template<class TType >
void itk::DefaultPixelAccessor< TType >::Set ( TType &  output,
const TType &  input 
) const [inline]

Set the pixel.

Definition at line 69 of file itkDefaultPixelAccessor.h.


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

Generated at Mon Jul 12 2010 21:53:33 for ITK by doxygen 1.7.1 written by Dimitri van Heesch, © 1997-2000