<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><meta name="robots" content="noindex"> <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>ITK: itk::GetDimension< T > Struct Template Reference</title> <link href="DoxygenStyle.css" rel="stylesheet" type="text/css"> </head><body bgcolor="#ffffff"> <!-- Section customized for INSIGHT : Tue Jul 17 01:02:45 2001 --> <center> <a href="index.html" class="qindex">Main Page</a> <a href="modules.html" class="qindex">Groups</a> <a href="namespaces.html" class="qindex">Namespace List</a> <a href="hierarchy.html" class="qindex">Class Hierarchy</a> <a href="classes.html" class="qindex">Alphabetical List</a> <a href="annotated.html" class="qindex">Compound List</a> <a href="files.html" class="qindex">File List</a> <a href="namespacemembers.html" class="qindex">Namespace Members</a> <a href="functions.html" class="qindex">Compound Members</a> <a href="globals.html" class="qindex">File Members</a> <a href="pages.html" class="qindex">Concepts</a></center> <!-- Generated by Doxygen 1.5.9 --> <div class="navpath"><a class="el" href="namespaceitk.html">itk</a>::<a class="el" href="structitk_1_1GetDimension.html">GetDimension</a> </div> <div class="contents"> <h1>itk::GetDimension< T > Struct Template Reference</h1><!-- doxytag: class="itk::GetDimension" --><code>#include <<a class="el" href="itkVectorInterpolateImageFunction_8h_source.html">itkVectorInterpolateImageFunction.h</a>></code> <p> <p> <a href="structitk_1_1GetDimension-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="structitk_1_1GetDimension.html#85030a1500160892e00aafaf997901da">itkStaticConstMacro</a> (Dimension, int, T::Dimension)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="structitk_1_1GetDimension.html#85030a1500160892e00aafaf997901da">itkStaticConstMacro</a> (Dimension, int, T::Dimension)</td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> <h3>template<typename T><br> struct itk::GetDimension< T ></h3> 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. <p>Definition at line <a class="el" href="itkVectorInterpolateImageFunction_8h_source.html#l00033">33</a> of file <a class="el" href="itkVectorInterpolateImageFunction_8h_source.html">itkVectorInterpolateImageFunction.h</a>.</p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="85030a1500160892e00aafaf997901da"></a><!-- doxytag: member="itk::GetDimension::itkStaticConstMacro" ref="85030a1500160892e00aafaf997901da" args="(Dimension, int, T::Dimension)" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename T > </div> <table class="memname"> <tr> <td class="memname"><a class="el" href="structitk_1_1GetDimension.html">itk::GetDimension</a>< T >::itkStaticConstMacro </td> <td>(</td> <td class="paramtype">Dimension </td> <td class="paramname">, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname">, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">T::Dimension </td> <td class="paramname"></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="85030a1500160892e00aafaf997901da"></a><!-- doxytag: member="itk::GetDimension::itkStaticConstMacro" ref="85030a1500160892e00aafaf997901da" args="(Dimension, int, T::Dimension)" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename T > </div> <table class="memname"> <tr> <td class="memname"><a class="el" href="structitk_1_1GetDimension.html">itk::GetDimension</a>< T >::itkStaticConstMacro </td> <td>(</td> <td class="paramtype">Dimension </td> <td class="paramname">, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname">, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">T::Dimension </td> <td class="paramname"></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <hr>The documentation for this struct was generated from the following files:<ul> <li><a class="el" href="itkVectorInterpolateImageFunction_8h_source.html">itkVectorInterpolateImageFunction.h</a><li><a class="el" href="itkVectorCentralDifferenceImageFunction_8h_source.html">itkVectorCentralDifferenceImageFunction.h</a></ul> </div> <hr><address><small> Generated at Fri May 8 03:35:13 2009 for ITK by <a href="http://www.stack.nl/~dimitri/doxygen/index.html"> <img src="http://www.stack.nl/~dimitri/doxygen/doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53> </a> 1.5.9 written by <a href="mailto:dimitri@stack.nl">Dimitri van Heesch</a>, © 1997-2000</small></address> </body> </html>