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

itk::Statistics::GetHistogramDimension< THistogram > Struct Template Reference

#include <itkHistogram.h>

List of all members.

Static Public Attributes

static const unsigned int HistogramDimension = THistogram::MeasurementVectorSize

Detailed Description

template<typename THistogram>
struct itk::Statistics::GetHistogramDimension< THistogram >

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 39 of file Numerics/Statistics/itkHistogram.h.


Member Data Documentation

template<typename THistogram >
static const unsigned int itk::Statistics::GetHistogramDimension< THistogram >::HistogramDimension = THistogram::MeasurementVectorSize [static]

Definition at line 41 of file Numerics/Statistics/itkHistogram.h.


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

Generated at Tue Jul 13 2010 04:03:23 for ITK by doxygen 1.7.1 written by Dimitri van Heesch, © 1997-2000