ITK  4.1.0
Insight Segmentation and Registration Toolkit
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 itkHistogram.h.


Member Data Documentation

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

Definition at line 40 of file itkHistogram.h.


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