00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef __itkListSampleBase_h
00018 #define __itkListSampleBase_h
00019
00020 #include "itkSample.h"
00021
00022 #include <vector>
00023
00024 namespace itk{
00025 namespace Statistics{
00026
00038 template< class TMeasurementVector >
00039 class ITK_EXPORT ListSampleBase : public Sample< TMeasurementVector >
00040 {
00041 public:
00043 typedef ListSampleBase Self;
00044 typedef Sample< TMeasurementVector > Superclass;
00045
00047 itkTypeMacro(ListSampleBase, Sample);
00048
00053 typedef typename Superclass::MeasurementVectorType MeasurementVectorType;
00054 typedef typename Superclass::MeasurementType MeasurementType;
00055 typedef typename Superclass::FrequencyType FrequencyType ;
00056 typedef typename Superclass::InstanceIdentifier InstanceIdentifier;
00057
00059 itkStaticConstMacro(MeasurementVectorSize, unsigned int,
00060 TMeasurementVector::Length);
00061
00062 protected:
00063 ListSampleBase() {}
00064 virtual ~ListSampleBase() {}
00065
00066 private:
00067 ListSampleBase(const Self&) ;
00068 void operator=(const Self&) ;
00069 };
00070
00071 }
00072 }
00073
00074 #endif