ITK  4.2.0
Insight Segmentation and Registration Toolkit
Static Public Attributes
itk::GetDimension< T > Struct Template Reference

#include <itkVectorInterpolateImageFunction.h>

List of all members.

Static Public Attributes

static const int Dimension = T::Dimension

Detailed Description

template<typename T>
struct itk::GetDimension< T >

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 a template parameter in defining their own dimension, this class is needed as a work-around.

Definition at line 34 of file itkVectorInterpolateImageFunction.h.


Member Data Documentation

template<typename T >
static const int itk::GetDimension< T >::Dimension = T::Dimension
static

Definition at line 35 of file itkVectorInterpolateImageFunction.h.


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