ITK  4.1.0
Insight Segmentation and Registration Toolkit
Static Public Attributes
itk::GetImageDimension< TImage > Struct Template Reference

#include <itkImageBase.h>

List of all members.

Static Public Attributes

static const unsigned int ImageDimension = TImage::ImageDimension

Detailed Description

template<typename TImage>
struct itk::GetImageDimension< TImage >

Due to a bug in MSVC, an enum value cannot be accessed out of a template parameter until the template class opens. In order for templated classes to access the dimension of an image template parameter in defining their own dimension, this class is needed as a work-around.

Definition at line 61 of file itkImageBase.h.


Member Data Documentation

template<typename TImage >
const unsigned int itk::GetImageDimension< TImage >::ImageDimension = TImage::ImageDimension [static]

Definition at line 62 of file itkImageBase.h.


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