ITK  4.13.0
Insight Segmentation and Registration Toolkit
Public Types | Static Public Attributes | List of all members
itk::PixelTraits< TPixelType > Class Template Reference

#include <itkPixelTraits.h>

Detailed Description

template<typename 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 45 of file itkPixelTraits.h.

Public Types

typedef TPixelType::ValueType ValueType

Static Public Attributes

static const unsigned int Dimension = TPixelType::Length

Member Typedef Documentation

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

Type of a single component of a pixel.

Definition at line 52 of file itkPixelTraits.h.

Member Data Documentation

template<typename TPixelType>
const unsigned int itk::PixelTraits< TPixelType >::Dimension = TPixelType::Length

Dimension of the pixel (range).

Definition at line 49 of file itkPixelTraits.h.

The documentation for this class was generated from the following file: