Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitk::MapPixelType< T, Primitive > Struct Template Reference

Object for compile-time translation of a pixel type into an itk::ImageIOBase::IOPixelType information. More...

#include <mitkPixelTypeTraits.h>

Static Public Attributes

static const itkIOPixelType IOPixelType
 
static const int IOComponentType
 

Detailed Description

template<class T, bool Primitive>
struct mitk::MapPixelType< T, Primitive >

Object for compile-time translation of a pixel type into an itk::ImageIOBase::IOPixelType information.

The first template parameter is the pixel type to be translated, the second parameter determines the processing way. For non-primitive types the first template parameter is passed to the MapCompositePixelType object to be resolved there for primitive types the value is set to SCALAR.

To initalize the flag correctly in compile-time use the

See also
isPrimitiveType<T> trait.

Definition at line 260 of file mitkPixelTypeTraits.h.

Member Data Documentation

template<class T , bool Primitive>
const int mitk::MapPixelType< T, Primitive >::IOComponentType
static

Definition at line 263 of file mitkPixelTypeTraits.h.

template<class T , bool Primitive>
const itkIOPixelType mitk::MapPixelType< T, Primitive >::IOPixelType
static

Definition at line 262 of file mitkPixelTypeTraits.h.


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