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

itk::PixelTraits< TPixelType > Class Template Reference

Traits for a pixel that define the dimension and component type. More...

#include <itkPixelTraits.h>

List of all members.

Public Types

typedef TPixelType::ValueType ValueType

Public Member Functions

 itkStaticConstMacro (Dimension, unsigned int, TPixelType::Length)


Detailed Description

template<class TPixelType>
class itk::PixelTraits< TPixelType >

Traits for a pixel that define the dimension and component type.

PixelTraits determines the dimension and the component type of a pixel. The default implementation is suitable for all subclasses of itk::Array. This (will) include RGBPixel and RGBAPixel. Specialized versions of PixelTraits are defined for the standard scalar types.

Definition at line 35 of file itkPixelTraits.h.


Member Typedef Documentation

template<class TPixelType>
typedef TPixelType::ValueType itk::PixelTraits< TPixelType >::ValueType
 

Type of a single component of a pixel. Definition at line 42 of file itkPixelTraits.h.


Member Function Documentation

template<class TPixelType>
itk::PixelTraits< TPixelType >::itkStaticConstMacro Dimension  ,
unsigned  int,
TPixelType::Length 
 

Dimension of the pixel (range).


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