00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef __itkListSample_h
00018 #define __itkListSample_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 ListSample : public Sample< TMeasurementVector >
00040 {
00041 public:
00043 typedef ListSample Self;
00044 typedef Sample< TMeasurementVector > Superclass;
00045
00047 itkTypeMacro(ListSample, 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 ListSample() ;
00064 virtual ~ListSample() {};
00065 void PrintSelf(std::ostream& os, Indent indent) const;
00066
00067 private:
00068 ListSample(const Self&) ;
00069 void operator=(const Self&) ;
00070 };
00071
00072 }
00073 }
00074
00075 #ifndef ITK_MANUAL_INSTANTIATION
00076 #include "itkListSample.txx"
00077 #endif
00078
00079 #endif