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

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

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

#include <itkGreenPixelAccessor.h>

List of all members.

Public Types

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

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

See also:
ImageAdaptor

Definition at line 42 of file itkGreenPixelAccessor.h.


Member Typedef Documentation

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

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

Definition at line 50 of file itkGreenPixelAccessor.h.

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

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

Internal typedef. It defines the internal real representation of data

Definition at line 54 of file itkGreenPixelAccessor.h.

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

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

Standard class typedefs.

Definition at line 46 of file itkGreenPixelAccessor.h.


Member Function Documentation

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

Read access to the Green component

Definition at line 61 of file itkGreenPixelAccessor.h.

References itk::GreenPixelAccessor< T >::ExternalType, itk::RGBPixel< TComponent >::GetGreen(), and itk::GreenPixelAccessor< T >::InternalType.

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

Write access to the Green component

Definition at line 57 of file itkGreenPixelAccessor.h.

References itk::GreenPixelAccessor< T >::ExternalType, itk::GreenPixelAccessor< T >::InternalType, and itk::RGBPixel< TComponent >::SetGreen().


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