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

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

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

#include <itkRedPixelAccessor.h>

List of all members.

Public Types

typedef RedPixelAccessor 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::RedPixelAccessor< T >

Give access to the red 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 Red component.

See also:
ImageAdaptor

Definition at line 39 of file itkRedPixelAccessor.h.


Member Typedef Documentation

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

External typedef. It defines the external aspect that this class will exhibit Definition at line 47 of file itkRedPixelAccessor.h.

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

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

Internal typedef. It defines the internal real representation of data Definition at line 51 of file itkRedPixelAccessor.h.

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

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

Standard class typedefs. Definition at line 43 of file itkRedPixelAccessor.h.


Member Function Documentation

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

Read access to the Red component Definition at line 58 of file itkRedPixelAccessor.h.

References itk::RedPixelAccessor< T >::ExternalType, itk::RGBPixel< TComponent >::GetRed(), and itk::RedPixelAccessor< T >::InternalType.

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

Write access to the Red component Definition at line 54 of file itkRedPixelAccessor.h.

References itk::RedPixelAccessor< T >::ExternalType, itk::RedPixelAccessor< T >::InternalType, and itk::RGBPixel< TComponent >::SetRed().


The documentation for this class was generated from the following file:
Generated at Sun Apr 1 03:12:44 2007 for ITK by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2000