Medical Imaging Interaction Toolkit  2024.06.99-60d9b802
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 itkIOComponentType 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 initialize the flag correctly in compile-time use the

See also
isPrimitiveType<T> trait.

Definition at line 256 of file mitkPixelTypeTraits.h.

Member Data Documentation

◆ IOComponentType

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

Definition at line 259 of file mitkPixelTypeTraits.h.

◆ IOPixelType

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

Definition at line 258 of file mitkPixelTypeTraits.h.


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