Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::GetMeshDimension< TMesh > Struct Template Reference

#include <itkMesh.h>

List of all members.

Static Public Attributes

static const unsigned int MaxTopologicalDimension = TMesh::MaxTopologicalDimension
static const unsigned int PointDimension = TMesh::PointDimension

Detailed Description

template<typename TMesh>
struct itk::GetMeshDimension< TMesh >

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 44 of file itkMesh.h.


Member Data Documentation

template<typename TMesh >
const unsigned int itk::GetMeshDimension< TMesh >::MaxTopologicalDimension = TMesh::MaxTopologicalDimension [static]

Definition at line 46 of file itkMesh.h.

template<typename TMesh >
const unsigned int itk::GetMeshDimension< TMesh >::PointDimension = TMesh::PointDimension [static]

Definition at line 47 of file itkMesh.h.


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

Generated at Fri Apr 16 22:03:10 2010 for ITK by doxygen 1.6.1 written by Dimitri van Heesch, © 1997-2000