Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts
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 54 of file itkImageBase.h.


Member Data Documentation

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

Definition at line 56 of file itkImageBase.h.


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

Generated at Mon Jul 12 2010 22:42:34 for ITK by doxygen 1.7.1 written by Dimitri van Heesch, © 1997-2000