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

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

Give access to a Vector pixel type as if it were a RGBPixel type. More...

#include <itkVectorToRGBPixelAccessor.h>

Collaboration diagram for itk::Accessor::VectorToRGBPixelAccessor< T >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef VectorToRGBPixelAccessor Self
typedef RGBPixel< T > ExternalType
typedef Vector< T, 3 > InternalType

Public Methods

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

Detailed Description

template<class T>
class itk::Accessor::VectorToRGBPixelAccessor< T >

Give access to a Vector pixel type as if it were a RGBPixel type.

This class is intended to be used as parameter of an ImageAdaptor to make an Vector image appear as being an image of RGB pixel type.

See also:
ImageAdaptor

Definition at line 43 of file itkVectorToRGBPixelAccessor.h.


Member Typedef Documentation

template<class T>
typedef RGBPixel<T> itk::Accessor::VectorToRGBPixelAccessor< T >::ExternalType
 

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

Definition at line 51 of file itkVectorToRGBPixelAccessor.h.

template<class T>
typedef Vector<T,3> itk::Accessor::VectorToRGBPixelAccessor< T >::InternalType
 

Internal typedef. It defines the internal real representation of data

Definition at line 55 of file itkVectorToRGBPixelAccessor.h.

template<class T>
typedef VectorToRGBPixelAccessor itk::Accessor::VectorToRGBPixelAccessor< T >::Self
 

Standard class typedefs.

Definition at line 47 of file itkVectorToRGBPixelAccessor.h.


Member Function Documentation

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

Read access to the VectorToRGB component

Definition at line 66 of file itkVectorToRGBPixelAccessor.h.

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

Write access to the VectorToRGB component

Definition at line 58 of file itkVectorToRGBPixelAccessor.h.


The documentation for this class was generated from the following file:
Generated at Fri May 21 01:49:36 2004 for ITK by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2000