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

itk::BluePixelAccessor< T > Class Template Reference
[Image Adaptors]

Give access to the Blue component of a RGBPixel type. More...

#include <itkBluePixelAccessor.h>

List of all members.

Public Types

typedef BluePixelAccessor Self
typedef T ExternalType
typedef RGBPixel< T > InternalType

Public Member Functions

void Set (InternalType &output, const ExternalType &input) const
const ExternalTypeGet (const InternalType &input) const


Detailed Description

template<class T>
class itk::BluePixelAccessor< T >

Give access to the Blue component of a RGBPixel type.

This class is intended to be used as parameter of an ImageAdaptor to make an RGBPixel image appear as being of scalar type T, showing only the Blue component.

See also:
ImageAdaptor

Definition at line 41 of file itkBluePixelAccessor.h.


Member Typedef Documentation

template<class T>
typedef T itk::BluePixelAccessor< T >::ExternalType
 

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

Definition at line 49 of file itkBluePixelAccessor.h.

Referenced by itk::BluePixelAccessor< T >::Get(), and itk::BluePixelAccessor< T >::Set().

template<class T>
typedef RGBPixel<T> itk::BluePixelAccessor< T >::InternalType
 

Internal typedef. It defines the internal real representation of data

Definition at line 53 of file itkBluePixelAccessor.h.

Referenced by itk::BluePixelAccessor< T >::Get(), and itk::BluePixelAccessor< T >::Set().

template<class T>
typedef BluePixelAccessor itk::BluePixelAccessor< T >::Self
 

Standard class typedefs.

Definition at line 45 of file itkBluePixelAccessor.h.


Member Function Documentation

template<class T>
const ExternalType& itk::BluePixelAccessor< T >::Get const InternalType input  )  const [inline]
 

Read access to the Blue component

Definition at line 60 of file itkBluePixelAccessor.h.

References itk::BluePixelAccessor< T >::ExternalType, itk::RGBPixel< TComponent >::GetBlue(), and itk::BluePixelAccessor< T >::InternalType.

template<class T>
void itk::BluePixelAccessor< T >::Set InternalType output,
const ExternalType input
const [inline]
 

Write access to the Blue component

Definition at line 56 of file itkBluePixelAccessor.h.

References itk::BluePixelAccessor< T >::ExternalType, itk::BluePixelAccessor< T >::InternalType, and itk::RGBPixel< TComponent >::SetBlue().


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